pypi bump-my-version 1.8.0

3 hours ago

Compare the full difference.

Fixes

  • Fix allow_dirty_files for renames and fold duplicated tag mismatch tests. 128dba0

    A git rename is only ignored when both the old and new paths match.

  • Fix lint findings in new tests. 61132ba

  • Fix YY and 0Y calver formatting and parsing for years 2000 and 2100+. 7edb0c1

    YY is now the year minus 2000, as calver.org specifies, so 2106 renders
    as 106. The parse patterns accept the values they render, including 0
    for the year 2000.

    Refs #346

New

  • Add tests for uncomparable and equal tag mismatch versions. 74990b1

  • Add allow_dirty_files setting to exempt files from the dirty check. d70acda

    Files matching these glob patterns no longer make the working directory
    dirty, so generated files like a changelog don't require --allow-dirty.

    Refs #237

Updates

  • Change tag mismatch warning to fire only when the version is behind the tag. 6088a9f

    A current version ahead of the last tag is normal during development, so
    that case, and versions that can't be compared, now log at debug level.

    Refs #318

  • Update pre-commit hooks to latest versions: Ruff v0.17.3, MyPy v2.4.1, PyDocLint v0.12.0, and Rumdl v0.3.2. 972ffcf

Don't miss a new bump-my-version release

NewReleases is sending notifications on new releases.