Compare with v0.5.0
-
Upgrade Jinja2 to 3.0.3 (2f3f6bd)
-
Allow sorting of types when rendering a template (95eb4fe)
The new "type_order" configuration key allows users to specify the order commit types are dprovided in when rendering a template.
- templates: Fix up the conventional-commit template (3fae8b1)
- Update formatting and add missing typing (3199c6b)
- Change flake8 to be a dev-dependency (4538ba5)
Compare with v0.4.1
-
api: Update internal API to be more user-friendly (cf53788)
-
cli: Add "version" subcommand (6ca1e53)
-
templates: Add conventional-commit template (alpha) (9aefe89)
This template aims to allow for rendering parsed data in a Conventional Commit format. This can be used to round-trip and standardise Conventional Commits, as well as allow for manipulating commit data and re-rendering it.
Compare with v0.4.0
- Return exit code 1 if no commits to template (dc9003d)
Compare with v0.3.0
-
docs: Update README with new properties for default templates (434a81a)
-
slack: Add support for compare and version patterns (2658093)
-
Add --template-name flag (72ac63f)
The
--template-name
flag can be used to pick which template is used by thetemplate
command. -
Add
template.directory
config property (70a0b61)The
template.directory
property can be used to specify a folder which can contain templates. May be a single string, or a list of strings. -
examples: Add example script for creating a release (18cac15)
- Correct type of --unreleased-version flag (31ff1eb)
- Correct the calculation of which version a commit is in (43f5cda)
Compare with v0.2.0
-
Refactor CLI library, update changelog template, add examples (b91ea2c)
This commit replaces the Click library with Typer, adds new functionality to the default changelog template, and also adds some examples of how
conventional
can be used with other command-line tools.Changes:
- When
conventional
is run from within a git repository, the root of the repository is checked for a.conventional.yaml
file and, if it exists, the file is loaded as a configuration file. - The
--config-file
parameter can now be specified multiple times to load multiple configuration files. Each time the parameter is specified, properties in the given configuration file will override those in earlier files. - The
template
command supports setting the heading for unreleased changes via the--unreleased-version
parameter. For template authors, this sets thetag["name"]
property other properties on thetag
object for unreleased commits are left asNone
. A new testunreleased
has been added to test if a tag is for an unreleased version. - The default changelog templates support linking to Github / Bitbucket
/ etc. for showing the source at a given version and comparing two
versions. This is configured via the
version-link-pattern
, used to generate a link to the source for a given version, andcompare-link-pattern
, used to link to a comparison between two versions. - The default
changelog.md
template also supports rendering "BREAKING CHANGE" footers.
BREAKING CHANGE: The
--path
parameter has been removed. The command now need to be run from within a git repository if using any of the commands which interact with git (eg.list-commits
). - When
Compare with v0.1.0
- Add documentation and help text (ee25481)