Skip to content

Releases: mtkennerly/dunamai

v1.10.0 (2022-03-08)

09 Mar 02:21
ef95542
Compare
Choose a tag to compare
  • Added branch and timestamp to the Version 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)

20 Feb 18:51
Compare
Choose a tag to compare

v1.8.0 (2022-01-27)

27 Jan 16:54
Compare
Choose a tag to compare
  • Changed the build backend to poetry-core. (Contributed by fabaff)
  • Clarified serialization options that are ignored when using a custom format.
  • Relaxed dependency range of importlib-metadata for compatibility with Poetry.
  • Added epoch to Version class, default tag pattern, and format placeholders.
  • Fixed PEP 440 validation to allow multiple digits in the epoch.
  • Improved parsing of optional pattern groups so that we don't stop checking at the first one that's omitted.
  • Fixed handling of tags with post/dev stages so that they are serialized and bumped correctly when using PEP 440.

v1.7.0 (2021-10-31)

31 Oct 12:34
Compare
Choose a tag to compare
  • Broadened the default version tag pattern to allow more separator styles recognized in PEP 440 pre-normalized forms (-, ., and _).
  • Enhanced serialize_pep440() to normalize the alternative prerelease names (alpha -> a, beta -> b, c/pre/preview -> rc) and capitalizations (RC -> rc, etc).
  • Added a py.typed file for PEP-561. (Contributed by wwuck)
  • Replaced pkg_resources dependency with packaging and importlib_metadata. (Contributed by flying-sheep)
  • Added some missing public items to __all__.

v1.6.0 (2021-08-09)

09 Aug 18:33
Compare
Choose a tag to compare
  • Fixed an oversight where the default version tag pattern would only find tags with exactly three parts in the base (e.g., v1.0.0 and v1.2.3). This is now relaxed so that v1, v1.2.3.4, and so on are also recognized.

    If you prefer the old default, you can pass a custom --pattern on the command line or a custom pattern to the Version.from_* methods. Specifically, the previous default used ^v(?P<base>\d+\.\d+\.\d+) instead of the new ^v(?P<base>\d+(\.\d+)*), but the rest of the pattern is the same in both defaults.

  • Added support for execution via python -m dunamai. (Contributed by jstriebel)

v1.5.5 (2021-04-26)

27 Apr 02:00
Compare
Choose a tag to compare

v1.5.4 (2021-01-20)

21 Jan 02:37
Compare
Choose a tag to compare
  • Fixed handling of Git tags that contain commas.

v1.5.3 (2021-01-13)

13 Jan 23:42
Compare
Choose a tag to compare
  • Fixed Semantic Versioning enforcement to allow metadata segments with more than two dot-separated identifiers.

v1.5.2 (2020-12-17)

17 Dec 11:52
Compare
Choose a tag to compare
  • For Git, avoided use of --decorate-refs to maintain compatibility with older Git versions.

v1.5.1 (2020-12-16)

17 Dec 04:28
Compare
Choose a tag to compare