git-semver icon indicating copy to clipboard operation
git-semver copied to clipboard

[Suggestions] Improve changelog and version increments

Open qvistgaard opened this issue 5 years ago • 1 comments

Hi, I just stumbled upon you project at it looks pretty promising. I would like to use for a project i'm working on. However I think that there are some small changes that I would like to see in your project. I would love to submit a pull request, but before I do, I want to ask if you like me to do so.

  • Markdown changelog only includes feat and fix, I think it should include everyting
  • Each commit should trigger at least a minor bump. it could be a commandline flag

What do you think?

qvistgaard avatar Nov 12 '20 21:11 qvistgaard

Hi @qvistgaard,

sorry for answering this late. I missed this issue somehow :-/

Markdown changelog only includes feat and fix, I think it should include everyting

Yes I also thought about introducing a command line option to toggle this behavior. I guess it would be nice to configure which commit types should be included in such a changelog. I think users would be also interested in changes of the types perf or docs, while the types refactor or ci are not really interesting for them.

Each commit should trigger at least a minor bump. it could be a commandline flag

I think the default should stay to bump only on the commit types feat, fix and any commits with breaking changes as I would like to stay compliant to the conventional commits spec. I would be ok with introducing one or multiple command line options here. Maybe one to generally bump the patch version on any commits and another one to whitelist commit types which should trigger a patch version bump. The minor version should keep to be only incremented on feature changes.

PSanetra avatar Dec 08 '20 21:12 PSanetra