Skip to content

v1.12.0 (2022-05-07)

Compare
Choose a tag to compare
@mtkennerly mtkennerly released this 06 May 19:43
· 95 commits to master since this release
99b85dd
  • Added Pattern type for named pattern presets. Currently, this includes:
    • Pattern.Default (CLI: --pattern default) for the existing default.
    • Pattern.DefaultUnprefixed (CLI: --pattern default-unprefixed) for the existing default, but without requiring the v prefix.
  • Added tag_branch option (CLI: --tag-branch) for Git repositories. This is particularly useful for Gitflow without fast forward, where develop does not contain the tag history, so you can specify --tag-branch master.
  • Added full_commit option (CLI: --full-commit) for Git and Mercurial repositories to obtain the full commit hash instead of the short form.
  • Fixed Version.parse so that it better handles versions without the v prefix when the pattern does not (or may not) require it.
  • Fixed error reporting when a custom pattern is an invalid regular expression, as well as when a custom format is malformed.
    It was fine when Dunamai was used as a library, but the error message lacked context on the CLI.
  • Fixed from any not passing the --tag-dir option along for Subversion repositories.