Changelog for plugins


#1

As a plugin developer I would love the ability to provide a changelog, that would be showed for the user inside the package manager, when a new version is available, and not just show the new version number.


#2

It could be nice, if, like you can with README.md, could provide a CHANGELOG.md which would also have a link in the package view.


#3

Nice idea, I completely agree, and in that regard, it could be great to set some kind of convention regarding changelog generation. I have used the Angular Commit Covention for a while now and I must say it really work well.

It would be great if APM could provides this kind of feature out of box (since it’s already managing versions and tags). Each time you run apm publish ... it could run the default changelog generation script (unless one was defined for the project) and append the output to CHANGELOG.md.


#4

While I like the idea of having changelog support in the package view, I’m not in support of having to format my commits in a particular way to get it. The thing that I like about apm publish is that it reduces the amount of bookkeeping and drudgery I have to do in order to publish a package. The Angular Commit Convention increases it, in my opinion.

I’m actually using GitHub’s Releases feature for my changelog: https://github.com/lee-dohm/tabs-to-spaces/releases


#5

did a pull request for this feature:


#6

Some times, I used History.md.
We can add a changelog field in package.json.


#7

For those interested, I wrote a small tool to generate changelog from git commits in the same way the angular changelog.js script does but with much more flexibility in the way you can match significant commits:

You can also generate a changelog starting with the first commit of your repo (in case you hadn’t created a changelog yet) or from basically any commit or tag.


#8

Looking good. Im using the git-extras changelig command