phly / keep-a-changelog

Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing.
https://phly.github.io/keep-a-changelog/
BSD 2-Clause "Simplified" License
182 stars 23 forks source link

Allow creating and promoting "Unreleased" versions #75

Closed weierophinney closed 4 years ago

weierophinney commented 4 years ago

Per the 1.0 version of the Keep-A-Changelog specification, changelogs may optionally have an "Unreleased" version at the top of the file. The version should not have a date, but otherwise has the same format as other changelogs. Doing so allows developers to choose the release version only when ready to release (e.g., when unsure if a new version will be a new minor or a new major version).

This patch provides support in the changelog parser for identifying and retrieving "Unreleased" versions, ensuring that when one is present, all commands (e.g., version:show, version:edit, version:list, etc.) continue to work.

Additionally, it provides the following new commands:

Closes #68