Bump-my-version

Latest version: v1.1.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 14

0.30.1

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.30.0...0.30.1)

Fixes

- Fixing issues with 3.9 compatibility. [cd2b193](https://github.com/callowayproject/bump-my-version/commit/cd2b193412b87ef47c3b9129b527eaa826429270)

- Fixes 284. Add UTF-8 encoding to subprocess.run in run_command. [6c856b6](https://github.com/callowayproject/bump-my-version/commit/6c856b6db40300de2ba0583bbd092b25d01b0004)

Explicitly set the encoding to "utf-8" in the subprocess.run call to ensure consistent handling of command output. This prevents potential encoding-related issues when processing command results.

0.30.0

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.29.0...0.30.0)

Fixes

- Fixed normalized paths in is_subpath. [d1c180b](https://github.com/callowayproject/bump-my-version/commit/d1c180b55cf19a5d3d8212bb102318f6b24a5cab)

- Fix formatting in docs. [5fe387c](https://github.com/callowayproject/bump-my-version/commit/5fe387ccf3ea8ce1a4e7b3b9d06f6f4446790cda)

New

- Add handling for git path addition with new test coverage. [8ad5c82](https://github.com/callowayproject/bump-my-version/commit/8ad5c82182ec510ecc426656a8be1a41f3ce28f5)

Enhances the `Git` class by adding the `add_path` method, improving control over tracked files. Includes comprehensive test cases to validate subpath handling, handle command failures, and ensure robustness against invalid inputs. Also includes minor refactoring with updated exception handling and code comments.
- Added tests for `utils.is_subpath`. [4e993ed](https://github.com/callowayproject/bump-my-version/commit/4e993ed423e05a8550342bd1d8b8ca82d4c17cb3)

- Add support for 'moveable_tags' configuration option. [2a2f1e6](https://github.com/callowayproject/bump-my-version/commit/2a2f1e6abe4c0d3e34440eacacc4b51bdb49f2df)

This update introduces a new 'moveable_tags' field in the configuration model, with appropriate defaults. Test fixture files have been updated to reflect this change. This allows better handling of tags that can be relocated during versioning operations.
- Add support for 'moveable_tags' configuration option. [dd1efa5](https://github.com/callowayproject/bump-my-version/commit/dd1efa5026db2843f9ec06bcbb691a38a878fdc4)

This update introduces a new 'moveable_tags' field in the configuration model, with appropriate defaults. Test fixture files have been updated to reflect this change. This allows better handling of tags that can be relocated during versioning operations.
- Added additional logging verbosity configuration in setup_logging. [2b420b8](https://github.com/callowayproject/bump-my-version/commit/2b420b82201b7b5ad129f4a6f64e99e446f0e492)

Updated the logging verbosity levels to include formatting options for different verbosity levels. Added a new level (3) with detailed output including file path and line number. Refactored setup_logging to properly handle verbosity and log format settings.
Other

- Merge remote-tracking branch 'origin/moving-tags' into moving-tags. [a2b7bd1](https://github.com/callowayproject/bump-my-version/commit/a2b7bd152a684234091c5e03c5dd55f50042fcd8)

- [pre-commit.ci] pre-commit autoupdate. [d03b1da](https://github.com/callowayproject/bump-my-version/commit/d03b1da16140836ef2c4c0daad12a616fedff498)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.2)

- [pre-commit.ci] pre-commit autoupdate. [584711b](https://github.com/callowayproject/bump-my-version/commit/584711b7317a03683e442fdd908a55ee70846cca)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.6)

- [pre-commit.ci] pre-commit autoupdate. [c583694](https://github.com/callowayproject/bump-my-version/commit/c58369411fea04f1979b5dd590862317cdccab9f)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4)

- Bump softprops/action-gh-release from 1 to 2 in the github-actions group. [787c241](https://github.com/callowayproject/bump-my-version/commit/787c241236c1f4da2512868135aca75a81558cca)

Bumps the github-actions group with 1 update: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
**updated-dependencies:** - dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions

**signed-off-by:** dependabot[bot] <supportgithub.com>

Updates

- Updated some tests. [4013d86](https://github.com/callowayproject/bump-my-version/commit/4013d863c3762fee1802b012689af62a0184d85a)

- Remove legacy SCM implementation and add new SCM tests. [ddbe21e](https://github.com/callowayproject/bump-my-version/commit/ddbe21e4a29963caa063e554b84592d4c7a8222f)

Replaced the outdated `scm_old.py` with a focused and updated SCM implementation. Added extensive tests for the new `SCMInfo` behavior, path handling, and commit/tag logic, ensuring robust functionality for Git and Mercurial. Updated fixtures and test configurations accordingly.
- Rename `scm.py` to `scm_old.py` and add new utility functions. [dac965d](https://github.com/callowayproject/bump-my-version/commit/dac965d485802668fedc8c6e329bf10d04f7c795)

Refactored SCM-related imports to use the renamed `scm_old.py` for better module organization. Introduced `is_subpath` utility to simplify path checks and added support for moveable tags in version control systems. These changes improve code structure and extend functionality for tagging.

0.29.0

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.28.3...0.29.0)

New

- Add support for specifying current version in `do_show`. [878197f](https://github.com/callowayproject/bump-my-version/commit/878197f186defabf036ddeb940eb91dfed172d0b)

This update introduces a `--current-version` option to the `show` command and passes it into the `do_show` function. If provided, the `current_version` is added to the configuration, allowing more control over version display or manipulation.
Updates

- Update README to clarify pre_n handling with distance_to_latest_tag. [c027879](https://github.com/callowayproject/bump-my-version/commit/c0278791fad3de1c3d66ab06b49118b2b8314933)

Revised the `parse` expression to exclude `pre_n` and updated `serialize` examples to use `distance_to_latest_tag` instead. Fixes 272

0.28.3

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.28.2...0.28.3)

Fixes

- Fixed tag-name output. [0e773ec](https://github.com/callowayproject/bump-my-version/commit/0e773ecc5812a066b8c0f049a597e092722f138b)

- Fixed PACKAGE env variable. [76c31c4](https://github.com/callowayproject/bump-my-version/commit/76c31c419759d15d8ea74fce94cee5353056ba76)

- Fixed syntax errors in scripts. [56dfac0](https://github.com/callowayproject/bump-my-version/commit/56dfac09a191d3a519bf2de6c0a0b6d0c4e456ba)

- Fixes missing runs-on in workflow. [5fe8ce5](https://github.com/callowayproject/bump-my-version/commit/5fe8ce5b1af1d0c915ee7937b664202fec342dca)

- Fix: resolve config path to align with the actual repository root. [c872315](https://github.com/callowayproject/bump-my-version/commit/c8723155465cf42d97ef505c54ee983b9880eefb)

- Fixed docs. [1d26b55](https://github.com/callowayproject/bump-my-version/commit/1d26b55dd1f37f9559daa6a4ac3a0dbdf167099c)

- Fixed doc generation. [aa95762](https://github.com/callowayproject/bump-my-version/commit/aa95762a30648c1afb0e26176041f26a25c26dab)

New

- Added release workflow step. [d56650a](https://github.com/callowayproject/bump-my-version/commit/d56650a26d878e4cfab331004cc7d383bf955131)

- Added write permissions for contents in github action. [85f19df](https://github.com/callowayproject/bump-my-version/commit/85f19dfeb7c751fa6ba5a06b79694ca27529da2f)

Other

- Debugging the release workflow. [db2eb9e](https://github.com/callowayproject/bump-my-version/commit/db2eb9ef177d7fcd55c832a3f1f9993b7b19bd4a)

- [pre-commit.ci] pre-commit autoupdate. [37c21a4](https://github.com/callowayproject/bump-my-version/commit/37c21a4bc668935a98de931762d1a6b6ffc17311)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.8.3)

- Bump actions/setup-python in the github-actions group. [3dd6666](https://github.com/callowayproject/bump-my-version/commit/3dd666668ad099a9ee712bf4679296c7b1df16fb)

Bumps the github-actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/setup-python` from 5.1.1 to 5.3.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.1.1...v5.3.0)

---
**updated-dependencies:** - dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions

**signed-off-by:** dependabot[bot] <supportgithub.com>

Updates

- Removed debug stuff. [c0e7ad4](https://github.com/callowayproject/bump-my-version/commit/c0e7ad4b84bcac847039b02ed245b3b9b2b37200)

0.28.2

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.28.1...0.28.2)

Fixes

- Fixed Ruff errors and workflow permissions. [11c1e42](https://github.com/callowayproject/bump-my-version/commit/11c1e42954281dac9febcac80f10d3775fcfcbbc)

- Fixed more uv run workflows. [d829276](https://github.com/callowayproject/bump-my-version/commit/d829276347c5391a9d2233e56e30300b69172d14)

- Fixed installation of test dependencies. [cbf10f2](https://github.com/callowayproject/bump-my-version/commit/cbf10f23c33e8d62d4851f11579f93a359553bff)

- Fixed issue with python install. [6e2da8d](https://github.com/callowayproject/bump-my-version/commit/6e2da8d54ad79ed3b46976af57d3721b3e50b370)

- Fixed GitHub workflows. [86a0a3b](https://github.com/callowayproject/bump-my-version/commit/86a0a3bdbebbde81e17df687bc4d7303d27d490f)

- Refactor warning display with Rich formatting. [2b7c905](https://github.com/callowayproject/bump-my-version/commit/2b7c905c792e1cbe22040a5ba890c4440990f99b)

Replace plain click-based warnings with styled Rich panels for better visibility. This enhances user experience by providing clearer and more visually organized warnings.
- Refactored dependencies config. [39fed07](https://github.com/callowayproject/bump-my-version/commit/39fed070669258650cdf5d2a4c180399bf256ad6)

- Changed `project.optional-dependencies` to `dependency-groups`
New

- Add branch selection for github-push-action. [4ecc07c](https://github.com/callowayproject/bump-my-version/commit/4ecc07cefa435964d0b1476cf95916c56885bdce)

Other

- [pre-commit.ci] auto fixes from pre-commit.com hooks. [183a6f2](https://github.com/callowayproject/bump-my-version/commit/183a6f29a8781eb76029f677aa83678a2ed1d505)

for more information, see https://pre-commit.ci
- [pre-commit.ci] pre-commit autoupdate. [075d0da](https://github.com/callowayproject/bump-my-version/commit/075d0da09b12c91be27ac3f28ba587c308e0c78e)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.2)

- [pre-commit.ci] pre-commit autoupdate. [6ed9f0e](https://github.com/callowayproject/bump-my-version/commit/6ed9f0e03e83407d8dca0cdf8d9ec920d8479564)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.4)

- Bump codecov/codecov-action from 4 to 5 in the github-actions group. [4194af8](https://github.com/callowayproject/bump-my-version/commit/4194af89ca515f894447180152c87ef1f3c9be2a)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 4 to 5
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
**updated-dependencies:** - dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions

**signed-off-by:** dependabot[bot] <supportgithub.com>

Updates

- Updated uv.lock. [09b825b](https://github.com/callowayproject/bump-my-version/commit/09b825b57f71ffdd08ddd50c655097812d5b8987)

- Update setup section in contributing guide. [4bc279b](https://github.com/callowayproject/bump-my-version/commit/4bc279b7946b5eebf6ce9509ff02636bed6b83f9)

Use extra dependencies specifier (referring to pyproject.toml) in the instructions, instead of requirements txt files (which were removed in previous commits).

0.28.1

[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.28.0...0.28.1)

Fixes

- Fix format arg help text for show command. [cf65ec2](https://github.com/callowayproject/bump-my-version/commit/cf65ec27ae68e2bf5b397591ff00fc86d2eab21f)

Other

- [pre-commit.ci] pre-commit autoupdate. [9fb0347](https://github.com/callowayproject/bump-my-version/commit/9fb03472d5cfa16281e2e3f049b660dc503eb167)

**updates:** - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.1)

- Output hooks scripts by default. [0a042aa](https://github.com/callowayproject/bump-my-version/commit/0a042aaa8fabd5c64ea5ffd153c959ccdacf80c6)

- Skip scm tests if the command is not installed. [2e68517](https://github.com/callowayproject/bump-my-version/commit/2e68517f890e1da7520486baf102c559ed2f40ea)

Page 3 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.