Bump-my-version

Latest version: v1.0.0

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

Scan your dependencies

Page 1 of 13

1.0.0

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

Breaking Changes

- Updated the Readme. [5a621c3](https://github.com/callowayproject/bump-my-version/commit/5a621c3ad28bb71e5e3d34fdae35769679c47f1b)

New

- Added breaking change parsing. [00c4e7b](https://github.com/callowayproject/bump-my-version/commit/00c4e7bcaa68040c71123d16c61aae89b525b13f)

0.33.0

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

Fixes

- Fixed warnings in documentation. [782077d](https://github.com/callowayproject/bump-my-version/commit/782077dc438007d4b585991788efe7c5a5c8c19f)

- Refactored PEP621 tests into a class. [2a4f12a](https://github.com/callowayproject/bump-my-version/commit/2a4f12a68067bacf81ec536b884e9ec3afb16751)

The tests are pretty much the same but renamed for clarity.
- Fixed: allow omitting the current version in sample-config. [6b369fe](https://github.com/callowayproject/bump-my-version/commit/6b369fec76e9a45b919e32a85d0b894752f6374d)

If the current version is explicitly left empty during the
`sample-config` questionnaire, the resulting `tool.bumpversion` table
now lacks a `current_version` key, and will fall back to PEP 621
`project.version` (if not dynamic). The instruction text specifically
hints at this new functionality.
New

- Add test for moveable tags. [df787f1](https://github.com/callowayproject/bump-my-version/commit/df787f153f1dcde8268e83ef3f035d018735e7bb)

- New feature: retrieve and update the PEP 621 project version, if possible. [3032450](https://github.com/callowayproject/bump-my-version/commit/3032450098f14abeb0661c62442d1ca03b222e09)

When determining the current version, and if
`tool.bumpversion.current_version` is not set, attempt to retrieve the
version from `project.version` à la PEP 621. If that setting is not
set, or if the version is explicitly marked as dynamically set, then
continue with querying SCM tags.

When updating the configuration during bumping, if we previously
successfully retrieved a PEP 621 version, then update the
`project.version` field in `pyproject.toml` as well. We always update,
even if the true current version was read from
`tool.bumpversion.current_version` instead of `project.version`.

The docs have been updated; specifically, the "multiple replacements in
one file" howto and the reference for `current_version`.

The tests have been adapted: the new `pep621_info` property would
otherwise trip up the old test output, and the `None` default would trip
up the TOML serializer. Additionally, new tests assert that
`project.version` (and correspondingly, the `pep621_info` property) is
correctly honored or ignored, depending on the other circumstances.
Other

- [pre-commit.ci] pre-commit autoupdate. [59e8634](https://github.com/callowayproject/bump-my-version/commit/59e863415d9a9f7ef082978ccee7b27c36112ea1)

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

Updates

- Updated documentation. [8162dd8](https://github.com/callowayproject/bump-my-version/commit/8162dd852b874e36626ad01ad72ea892499a9817)

0.32.2

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

Fixes

- Fixed coverage issue. [b0c46a3](https://github.com/callowayproject/bump-my-version/commit/b0c46a37ff265b5306abf005b5742a85c4281ea2)

- Refactor SCMInfo and Config imports. [49995c6](https://github.com/callowayproject/bump-my-version/commit/49995c6a9b2ad59c65cb6c1e27362b1254ce7fb4)

- Fixes 300 incompatibility with Nuitka compiling
Other

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

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

0.32.1

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

Fixes

- Fix rich-click deprecation. [e1fb9fa](https://github.com/callowayproject/bump-my-version/commit/e1fb9fa52b466f70ebced8f192d4411a5804da60)

- Fix Python 3.8 support. [9b2d894](https://github.com/callowayproject/bump-my-version/commit/9b2d894c6ae3fc621789e52dd8b53e088d87f00f)

0.32.0

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

Fixes

- Refactor CLI config-file option to use config_option decorator. [cd06cbd](https://github.com/callowayproject/bump-my-version/commit/cd06cbda61e54eea05b27eda734efc956d81a28a)

Replaced the manual `--config-file` option setup with the `config_option` decorator for cleaner and reusable configuration management. This change simplifies the code and enhances maintainability by consolidating the configuration logic.
New

- Added pytest-localserver as a test dependency. [c84243d](https://github.com/callowayproject/bump-my-version/commit/c84243dba710feebdb571b93ea3cfb120703fd4e)

- Add ConfigOption for flexible configuration. [1625248](https://github.com/callowayproject/bump-my-version/commit/1625248c492c8719d6591af38d3ae2799e9f168f)

Introduce `ConfigOption` and related utilities in `bumpversion.click_config` to handle configuration file paths or URLs. Includes tests for processing options, resolving paths/URLs, and handling errors in `resolve_conf_location` and `download_url`.
- Added httpx as a dependency. [450154e](https://github.com/callowayproject/bump-my-version/commit/450154ea19a321e0de44ef764e029abaafd1535a)

Other

- [pre-commit.ci] pre-commit autoupdate. [17e8301](https://github.com/callowayproject/bump-my-version/commit/17e8301e5a3750b349c97cebcbcc5953f32f9af1)

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

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

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


Updates `actions/setup-python` from 5.3.0 to 5.4.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.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

- Updated other subcommands with the new config_option. [279838a](https://github.com/callowayproject/bump-my-version/commit/279838af100dbf3ffc84f500710967944af05f46)

- Improve config resolution and add error handling for paths. [43f0435](https://github.com/callowayproject/bump-my-version/commit/43f04357788bfc11bec4c087e69366f8ba38c3e6)

Refactor `process_value` to handle `None` values and raise a `BumpVersionError` for non-existent files. Update related tests to ensure correct behavior for missing, existing, and URL-based config paths. These changes enhance robustness and user feedback in handling configuration inputs.

0.31.1

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

Fixes

- Fix type hinting incompatibility in Python 3.9. [96b29f5](https://github.com/callowayproject/bump-my-version/commit/96b29f5ff561586e5dfb2da6e51172930bb717bc)

Refactor to use Pathlike type alias for path representation

Unified path type handling across the codebase by introducing the `Pathlike` type alias (`Union[str, Path]`). This improves readability and consistency in path-related functions and methods, reducing redundancy. Updated corresponding type annotations, imports, and tests accordingly.

Page 1 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.