Skip to content

Releases: mtkennerly/dunamai

v0.9.0 (2019-10-22)

22 Oct 17:08
Compare
Choose a tag to compare
  • 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)

30 Aug 09:19
Compare
Choose a tag to compare
  • Fixed handling of annotated Git tags, which were previously ignored.

v0.8.0 (2019-06-05)

30 Aug 09:19
Compare
Choose a tag to compare
  • Changed Version.from_any_vcs to accept the tag_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)

16 May 22:47
Compare
Choose a tag to compare
  • Fixed issue on Linux where shell commands were not interpreted correctly.

v0.7.0 (2019-04-16)

17 Apr 02:59
Compare
Choose a tag to compare
  • Added Bazaar support.
  • Added the dunamai check command and the corresponding check_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 and with_dirty arguments of Version.serialize
    to metadata and dirty respectively.
  • Fixed the equality and ordering of Version to consider all attributes.
    dirty and commit were ignored previously if neither post nor dev
    were set, and dirty=None and dirty=False were not distinguished.

v0.6.0 (2019-04-14)

14 Apr 19:12
Compare
Choose a tag to compare
  • Added Subversion support.
  • Added support for the PVP style.
  • Changed the type of the style argument in Version.serialize from str to Style.

v0.5.0 (2019-03-31)

01 Apr 07:08
Compare
Choose a tag to compare
  • 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)

01 Apr 07:10
Compare
Choose a tag to compare
  • Added support for custom serialization formats.

v0.3.0 (2019-03-29)

01 Apr 07:09
Compare
Choose a tag to compare
  • Added Mercurial support.
  • Added a CLI.
  • Renamed Version.from_git_describe to Version.from_git.
  • Changed behavior of Version.serialize argument with_metadata so that,
    by default, metadata is excluded when post and dev are not set.
  • Added with_dirty argument to Version.serialize and removed flag_dirty
    argument from Version.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 of Version since some VCSes may require multiple
    commands in conjunction and therefore not have a single source string.

v0.2.0 (2019-03-26)

01 Apr 07:09
Compare
Choose a tag to compare
  • Fixed a wrong Git command being used.
  • Made metadata serialization opt-in.