v1.1.118
New Features
- Add additional default location for the configuration file
- Templates: Improve indentation of html output
- Add option to override a commit's message through files.
- Add 'generate' subcommand
Bug Fixes
- Ignore duplicate version if it refers to the same commit
- Templates: Fix escaping of URLs in Markdown and Html output
Details
Add additional default location for the configuration file
Read configuration file from '.config/changelog/settings.json' if it exists.
If a configuration file exists at the already supported default location (changelog.settings.json) exists, it takes precedence and the file under .config is ignored.
- See Also: https://github.com/ap0llo/changelog/blob/master/docs/configuration/sources.md#configuration-file
- Commit:
dcc7ea3
Templates: Improve indentation of html output
Properly indent the generated html when rendering the change log using the Html template.
- Commit:
5563e76
Add option to override a commit's message through files.
Extend the "Commit Message Overrides" feature with the option to use files instead of git notes.
- See Also: https://github.com/ap0llo/changelog/blob/master/docs/message-overrides.md
- Pull Request: #314
- Commit:
9ebcd44
Add 'generate' subcommand
Add a 'generate' sub command that generates a change log from a git repository (corresponding to the only function of the application up until now) to enable adding further sub commands in the future.
For backwards-compatibility, the generate command will also be run when no command name is specified.
Ignore duplicate version if it refers to the same commit
When a "current version" is specified that also exists in the versions loaded from git tags, do not abort with an error if it refers to the same git commit as the version loaded from tags.
If the version refers to a different commit, continue to abort with an error.
- Commit:
0161a06
Templates: Fix escaping of URLs in Markdown and Html output
When generating links in either Markdown (Default, GitHubRelease and GitLabRelease templates) or Html, properly escape whitespace characters to avoid rendering errors, especially in the Markdown output
- Commit:
b770707