Skip to content

Releases: mtkennerly/dunamai

v1.25.0 (2025-07-04)

04 Jul 19:26
50cce70
Compare
Choose a tag to compare
  • Added commit_prefix option to Version.serialize() to insert a prefix when serializing commit IDs.
  • Added escape_with option to Version.serialize() to customize how branch names are escaped.

v1.24.1 (2025-05-09)

09 May 13:49
c6ebd09
Compare
Choose a tag to compare

v1.24.0 (2025-05-07)

08 May 00:36
aaef31b
Compare
Choose a tag to compare
  • Changed: Previously, for Git 2.7+, if the initial commit were both tagged and empty, Dunamai would raise an exception due to Git not reporting that tag in git log --simplify-by-decoration. Now, if a tag is missing from that list, Dunamai treats it as the oldest tag.

v1.23.2 (2025-05-06)

06 May 16:08
b51c8e1
Compare
Choose a tag to compare
  • Fixed: Version.from_git would fail if the GIT_TRACE environment variable were set, due to unexpected output from Git.

v1.23.1 (2025-03-20)

21 Mar 02:26
a9c22a4
Compare
Choose a tag to compare
  • Fixed: Version.__lt__ checked if all fields were less than the other instance, rather than using the proper field precedence and version ordering.

v1.23.0 (2024-11-17)

18 Nov 00:01
d770650
Compare
Choose a tag to compare
  • Added: {major}, {minor}, and {patch} format placeholders.

v1.22.0 (2024-08-07)

07 Aug 04:12
d6a0e3f
Compare
Choose a tag to compare
  • Fixed: The --ignore-untracked CLI flag was ignored.
  • Added: --commit-length option.

v1.21.2 (2024-06-26)

27 Jun 03:59
12d7c57
Compare
Choose a tag to compare
  • Fixed: Some timestamps could fail to parse on Python 3.5 and 3.6.

v1.21.1 (2024-05-03)

04 May 02:34
924f7a6
Compare
Choose a tag to compare
  • Fixed: Distance was calculated inconsistently for Git when there were some tags and none matched the version pattern.

v1.21.0 (2024-04-29)

29 Apr 23:23
e6d28dd
Compare
Choose a tag to compare
  • Generally, when Dunamai can detect the VCS in use, but there's no version set yet, then Dunamai uses 0.0.0 as a fallback, unless strict mode is enabled. This is useful for new projects that do not yet have a release.

    However, if there were some tags and none matched the version pattern, then Dunamai would yield an error. That wouldn't be helpful for a new project with some non-version tag, and it could be incorrect for a monorepo with different tags for different packages.

    Now, Dunamai will use 0.0.0 in this case as well, unless strict mode is enabled.

  • You can now specify a pattern prefix. For example, --pattern default --pattern-prefix some-package- would match tags like some-package-v1.2.3. This is useful if you just want a custom prefix without writing a whole pattern.

  • Added --ignore-untracked option to control checking whether the repository is dirty.