Releases: mtkennerly/dunamai
Releases · mtkennerly/dunamai
v0.9.0 (2019-10-22)
- Added Fossil support.
- Fixed case with Git/Mercurial/Subversion/Bazaar where, if you checked out an older commit, then Dunamai would consider tags for commits both before and after the commit that was checked out. It now only considers tags for the checked out commit or one of its ancestors, making the results more deterministic.
- Changed VCS detection to be based on the result of VCS commands rather than looking for VCS-specific directories/files. This avoids the risk of false positives and simplifies cases with inconsistent VCS files (e.g., Fossil uses
.fslckout
on Linux and_FOSSIL_
on Windows)
v0.8.1 (2019-08-30)
- Fixed handling of annotated Git tags, which were previously ignored.
v0.8.0 (2019-06-05)
- Changed
Version.from_any_vcs
to accept thetag_dir
argument,
which will only be used if Subversion is the detected VCS.
Likewise,dunamai from any
now accepts--tag-dir
. - Added
Version.from_vcs
to make it easier for other tools to map from a
user's VCS configuration to the appropriate function.
v0.7.1 (2019-05-16)
- Fixed issue on Linux where shell commands were not interpreted correctly.
v0.7.0 (2019-04-16)
- Added Bazaar support.
- Added the
dunamai check
command and the correspondingcheck_version
function. - Added the option to check just the latest tag or to keep checking tags
until a match is found. The default behavior is now to keep checking. - Added enforcement of Semantic Versioning rule against numeric segments
with a leading zero. - Renamed the
with_metadata
andwith_dirty
arguments ofVersion.serialize
tometadata
anddirty
respectively. - Fixed the equality and ordering of
Version
to consider all attributes.
dirty
andcommit
were ignored previously if neitherpost
nordev
were set, anddirty=None
anddirty=False
were not distinguished.
v0.6.0 (2019-04-14)
- Added Subversion support.
- Added support for the PVP style.
- Changed the type of the
style
argument inVersion.serialize
fromstr
toStyle
.
v0.5.0 (2019-03-31)
- Added built-in Semantic Versioning output style in addition to PEP 440.
- Added style validation for custom output formats.
- Added Darcs support.
v0.4.0 (2019-03-29)
- Added support for custom serialization formats.
v0.3.0 (2019-03-29)
- Added Mercurial support.
- Added a CLI.
- Renamed
Version.from_git_describe
toVersion.from_git
. - Changed behavior of
Version.serialize
argumentwith_metadata
so that,
by default, metadata is excluded when post and dev are not set. - Added
with_dirty
argument toVersion.serialize
and removedflag_dirty
argument fromVersion.from_git
. The information should always be collected,
and it is up to the serialization step to decide what to do with it. - Added
Version.from_any_vcs
. - Removed
source
attribute ofVersion
since some VCSes may require multiple
commands in conjunction and therefore not have a single source string.
v0.2.0 (2019-03-26)
- Fixed a wrong Git command being used.
- Made metadata serialization opt-in.