Releases: mtkennerly/dunamai
Releases · mtkennerly/dunamai
v1.14.1 (2022-11-15)
- Fixed Git 2.7.0 compatibility by changing
git log --no-show-signature
togit -c log.showsignature=false log
.
v1.14.0 (2022-11-07)
- Added a
strict
option to prevent falling back to0.0.0
when there are no tags. - Added support for
.git_archival.json
files created bygit archive
. - Added support for
.hg_archival.txt
files created byhg archive
.
v1.13.2 (2022-10-14)
- Fixed an error when parsing Git output with
showSignature = true
configured. (Contributed by riton)
v1.13.1 (2022-09-25)
- 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)
- Added support for Pijul.
v1.12.0 (2022-05-07)
- 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 thev
prefix.
- Added
tag_branch
option (CLI:--tag-branch
) for Git repositories. This is particularly useful for Gitflow without fast forward, wheredevelop
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 thev
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.
v1.11.1 (2022-04-05)
- Fixed the
--bump
CLI option and thebump
argument ofVersion.serialize
bumping even on a commit with a version tag. Now, no bumping occurs on such a commit.
v1.11.0 (2022-03-15)
- Explicitly specified
Optional[...]
typing on arguments with a default ofNone
. (Contributed by jonathangreen) - Made
VERSION_SOURCE_PATTERN
public for consumption by other tools.
v1.10.0 (2022-03-08)
-
Added
branch
andtimestamp
to theVersion
class, along with associated format placeholders (branch
,branch_escaped
,timestamp
). Branch info is not populated for Darcs and Subversion repositories. -
Fixed validation for PEP 440, where the local segment was allowed to contain any characters.
-
Fixed validation for Semantic Versioning, where some segments were allowed to contain these additional characters:
[ \ ] ^ _ `
v1.9.0 (2022-02-20)
- Changed
Version.serialize
'sformat
argument to support passing a callback. (Contributed by marnikow) - Added
ignore
option toget_version()
. (Contributed by marnikow) - Added
parser
option toget_version()
. - Added
Version.parse()
. (Contributed by marnikow) - Added
Version.bump()
. (Contributed by marnikow)