/oss · 2 merged

callowayproject/bump-my-version

A command line tool that updates every version string in a project's code and can commit and tag the release.

the project on GitHub (opens in a new tab)
  1. 1 Dec 2026

    Version in pyproject.toml is no longer written twice

    What was broken
    Bumping 1.2 to 1.2.1 wrote 1.2.1.1 into pyproject.toml, while the commit and tag said 1.2.1. The package was built with the wrong version.
    What I changed
    A version that already holds the new value is now left alone.
    Why it matters
    The released package carries the same version as its tag.

    see the code, #471 (opens in a new tab)

  2. 26 Nov 2026

    Backslashes in version replacements are written as typed

    What was broken
    A replacement with a backslash, like a LaTeX command or a Windows path, was mangled into control characters or stopped the version bump with an error.
    What I changed
    The replacement text is now written exactly as configured; only the search pattern is treated as a pattern.
    Why it matters
    Projects that keep a version in LaTeX files or Windows paths can bump it without corrupting the file.

    see the code, #466 (opens in a new tab)

← every project