Skip to content

Releases: mtkennerly/dunamai

v1.17.0 (2023-05-19)

19 May 09:24
3e00ba3
Compare
Choose a tag to compare
  • The from command will print a warning for shallow Git repositories. This becomes an error with --strict.
  • The Version class has a new concerns field to indicate warnings with the version. Right now, the only possibility is Concern.ShallowRepository.

v1.16.1 (2023-05-13)

13 May 15:29
d3b583c
Compare
Choose a tag to compare
  • Fixed outdated reference to pkg_resources in the docstring for get_version.
  • CHANGELOG.md and tests are now included in sdists.

v1.16.0 (2023-02-21)

21 Feb 05:35
fe69436
Compare
Choose a tag to compare
  • Updated Version.parse to better handle PEP 440 versions produced by Dunamai itself. Specifically, in 1.2.3.post4.dev5, the post number becomes the distance and the dev number is ignored. In 1.2.3.dev5, the dev number becomes the distance.
  • Added increment argument to bump_version and Version.bump. (Contributed by legendof-selda)
  • Fixed Git detection when there is a "dubious ownership" error. Previously, from git would report that it was not a Git project, and from any would report that it could not detect a VCS. Now, both commands report that there is dubious ownership.
  • Improved error reporting for from any VCS detection. The error now specifies which VCSes were checked and which were not found to be installed.

v1.15.0 (2022-12-02)

02 Dec 13:16
2f5230d
Compare
Choose a tag to compare
  • Added compatibility with Git versions as old as 1.8.2.3.

v1.14.1 (2022-11-15)

14 Nov 23:30
316c45a
Compare
Choose a tag to compare
  • Fixed Git 2.7.0 compatibility by changing git log --no-show-signature to git -c log.showsignature=false log.

v1.14.0 (2022-11-07)

07 Nov 00:54
1904644
Compare
Choose a tag to compare
  • Added a strict option to prevent falling back to 0.0.0 when there are no tags.
  • Added support for .git_archival.json files created by git archive.
  • Added support for .hg_archival.txt files created by hg archive.

v1.13.2 (2022-10-14)

14 Oct 10:24
19c1860
Compare
Choose a tag to compare
  • Fixed an error when parsing Git output with showSignature = true configured. (Contributed by riton)

v1.13.1 (2022-09-25)

25 Sep 07:56
646acfa
Compare
Choose a tag to compare
  • Made pattern-related error messages more readable by moving the pattern after the primary message instead of mixing them.

v1.13.0 (2022-08-21)

21 Aug 08:31
501a769
Compare
Choose a tag to compare
  • Added support for Pijul.

v1.12.0 (2022-05-07)

06 May 19:43
99b85dd
Compare
Choose a tag to compare
  • 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.