Questions tagged [conventional-commits]

See the "Conventional Commits" specification homepage

40 questions
3
votes
2 answers

NPM standard-version patch version problem

I'm trying to use standard-version in my javascript project. I added the release script to my package.json: "scripts": { ... "release": "standard-version" } My problem is that I added a commit to my git repo with the following…
2
votes
2 answers

Flutter and Automatic Versioning

I was wondering whether is it possible to have automatic versioning (following the SemVer convention) in Flutter, set in a GitLab/GitHub/BitBucket pipeline. Obviously, all git commits will follow the Conventional Commits structure. I searched a lot…
1
vote
1 answer

When should you update release notes/changelogs?

Looking to automate our changelogs and release notes with conventional commits and Azure DevOps pipelines, and the process seems "simple" based on all of the documentation and videos I've consumed over the past few weeks. However, everything I've…
1
vote
1 answer

Conventional commits when to use Fix vs Feat

So according to conventional commits fix is used to patch a bug in the codebase while feat introduces a new feature to the codebase, which is straightforward enough. What if I have a commit that is something that's not really a bug but not a…
Murphstar
  • 99
  • 6
1
vote
1 answer

Conventional commits. How to avoid fixes in release notes during feature development

Just trying to understand how to work with semantic releases. I use node release-it library, but I don't think it matters. Question is general about semantic releases and commits. So... For example I have a juicer which can make an apple juice. It…
acidernt
  • 2,173
  • 2
  • 19
  • 33
1
vote
1 answer

How to automatically generate versions for python packages in a monorepo?

When it comes to generate versions using conventional commits from a repo that contains only one python package things are easy, you just need to use one tool that loops through all the repo commits and compute the version by parsing these…
BPL
  • 9,632
  • 9
  • 59
  • 117
1
vote
1 answer

Semver minor and patch digit update logic

I'm writing a script that bumps up the package version based on the difference in commits between the master and current branch. I'm using conventional commits to decide which number to update. Let's say, I have 1.0.0 by default BREAKING CHANGE:…
1
vote
0 answers

Conventional Commit tools for non-JS projects

Is there a way to enforce conventional commits in a non-node/non-npm/non-js project?? (Other than pre-commit hooks as they can be easily overridden)
MrFamousKK
  • 34
  • 5
1
vote
1 answer

Recommendation for maven plugin to automatically bump the project.version based on conventional commits

When working with nx monorepos I can make use of a plugin (https://github.com/jscutlery/semver) that automatically bumps the package.json versions using semver 2.0.0 based on the commit messages made. Is there something similar for maven?
user15013406
  • 124
  • 1
  • 7
1
vote
2 answers

Commitlint - Allow '/' in scope-enum

In my Angular project, I want to extend @commitlint/config-conventional with some pre-defined scopes. The Angular project has a library for UI components (generated via ng generate library) and a default app which consumes the UI library. In…
andreivictor
  • 7,628
  • 3
  • 48
  • 75
0
votes
0 answers

Is it possible to make cz-customizable questions required?

I use the cz-customizable package to have conventional commits in the project; I use a customized configuration file named .cz-customize.js, and I've changed some defaults too. Is it possible to make the questions required, or is there any option…
siavash bashiri
  • 420
  • 1
  • 5
  • 18
0
votes
1 answer

Including issue code in the commit message header according to Conventional Commits

I am following the Conventional Commits guidelines v1.0.0 for my project and I have a question about including the issue code in the commit message header. Let's say I have an issue with code "SPAN-500". Although the specification does not mention…
Amorim
  • 15
  • 9
0
votes
0 answers

Prevent trigger recursion when using automatic changelog with standard version in azure pipeline

I generate an changelog based on my commit history using standard-version. This are my azure pipeline steps to generate the changelog: git checkout -b $(Build.SourceBranchName) npm run release git push --follow-tags origin…
0
votes
1 answer

what is the difference between a simple commit and conventional commit

I'm new with the git and i'm working on my own project and what i do every time is git add . then git commit -m "message " with a message and then i push but recently i learnt about commit conventional but i didn't understand what is the…
ing23
  • 69
  • 1
  • 1
  • 7
0
votes
1 answer

Lexing token ambiguity in ANTLR4

I have a very interesting problem with parsing the following grammar (of Convnetional Commits) - which is a convention how git commit messages should be formatted. [optional scope]: [optional body] [optional footer(s)] the…
Michael
  • 860
  • 7
  • 19