Bump-my-version

Latest version: v0.28.1

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

Scan your dependencies

Page 3 of 11

0.24.1

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

Fixes

- Refactor error handling in SCM and add error handling test. [7ca6356](https://github.com/callowayproject/bump-my-version/commit/7ca63568ef1db9bb7ac3508d02f897c2415b5a5c)

This commit includes a new test in test_scm.py to verify the correct formatting and raising of subprocess errors in the SCM module. Additionally, the subprocess error handling has been refactored in the SCM module to include a new method, format_and_raise_error, for improved code readability and reusability.
Other

- [pre-commit.ci] pre-commit autoupdate. [60acc2d](https://github.com/callowayproject/bump-my-version/commit/60acc2d42b0acd1f7e6222b27ecdb349346784cf)

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

0.24.0

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

New

- Add VersionNotFoundError test in test_bump.py. [cb050a8](https://github.com/callowayproject/bump-my-version/commit/cb050a87ae26421024025010a38d9e9a0cdd6f44)

The code in test_bump.py file has been modified to include a test for VersionNotFoundError exception. This ensures that the implementation properly handles cases where a specified version could not be found.
- Add test for no commit on modification error. [7527029](https://github.com/callowayproject/bump-my-version/commit/75270290e412dacf8ce30586059f919d0cf53838)

A test has been added to the bumpversion library to ensure that no commit and tag is made if there is an error modification. Specifically, the test checks the "do_bump" function and asserts that "mock_commit_and_tag" and "mock_update_config_file" are not called under these conditions.
Other

- [pre-commit.ci] pre-commit autoupdate. [0e3a154](https://github.com/callowayproject/bump-my-version/commit/0e3a154b71b40bb4cae31ec72e35156fef423919)

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

Updates

- Improve error message for SCM command failures. [8f72f86](https://github.com/callowayproject/bump-my-version/commit/8f72f868045d5f715e11404ed82455c8d5de6eca)

The error message for failures in the SCM command execution has been enhanced. Now it displays not only the command's return code but also the standard output and error, improving the debugging process.

0.23.0

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

Fixes

- Refactor valid_bumps and invalid_bumps to include_bumps and exclude_bumps. [2df57cc](https://github.com/callowayproject/bump-my-version/commit/2df57cc05433c3d2698afa6a76028af6bea7d7fc)

The configuration parameters `valid_bumps` and `invalid_bumps` were renamed to `include_bumps` and `exclude_bumps` respectively. This new naming better denotes their function, and the changes were consistently applied across all related files and tests. Numerous fixture outputs were also updated to reflect these changes.
- Fixed spelling in CODE_OF_CONDUCT.md. [254ea44](https://github.com/callowayproject/bump-my-version/commit/254ea44c963352a74965eb602e0c4dd56eea665a)

New

- Add file filtering based on valid and invalid bumps. [f9f7f96](https://github.com/callowayproject/bump-my-version/commit/f9f7f96bd5e467666b9a59e3fa8a6dedfaca838a)

This commit introduces the ability to filter files based on whether the specified bump type is valid or not. It adds `valid_bumps` and `invalid_bumps` lists in the file configurations and adjusts the bumping process to consider these configurations. Tests are updated to reflect these new handling of valid and invalid bumps.
- Add new files to .gitignore. [34e4dc1](https://github.com/callowayproject/bump-my-version/commit/34e4dc14b3948a01552685402c0ca71ae23d5975)

Several new file types have been added to .gitignore for ignoring during commits. These include '.python-version', 'requirements-dev.lock', and 'requirements.lock' files.
- Add valid_bumps and invalid_bumps to file configuration. [9458851](https://github.com/callowayproject/bump-my-version/commit/94588518ae96b3c1bdc996d61cf6cdc1c684ac1d)

Updated the configuration file model to support valid_bumps and invalid_bumps. This feature provides control over which version section updates can trigger file changes. Adjusted various test fixtures and cleaned up tests to match these changes. Also, some updates were made to the documentation accordingly.
Other

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

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

Updates

- Update documentation for clarification. [2224808](https://github.com/callowayproject/bump-my-version/commit/2224808b652143c5179c49848cf2ce91d26ecdbe)

The changes made update the wording in the documentation to clarify the roles of `include_bumps` and `exclude_bumps` in the bump-my-version configuration. Additionally, unnecessary repetition was removed and overlapping examples were also corrected.
- Update docs/reference/configuration.md. [7c801c0](https://github.com/callowayproject/bump-my-version/commit/7c801c0be10f8031cbf04814bc0ead407bb9477c)

**co-authored-by:** wkoot <3715211+wkootusers.noreply.github.com>

0.22.0

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

New

- Add extensive documentation for the 'show' subcommand. [91409d8](https://github.com/callowayproject/bump-my-version/commit/91409d81d647a6dc1e39d3cfbc1e0e95a5c67a82)

This commit adds extensive documentation for the `show` subcommand in the program's reference. It also includes smaller updates and corrections to other parts of the documentation. An in-depth example usage of `show` is added both to the dedicated `show.md` file and in the function's docstring.
Updates

- Renamed version workflow to release. [68f9eee](https://github.com/callowayproject/bump-my-version/commit/68f9eee8f953c23d30b8ef77a3cedf9355ce55a0)

0.21.1

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

Other

- [pre-commit.ci] auto fixes from pre-commit.com hooks. [1b57c2b](https://github.com/callowayproject/bump-my-version/commit/1b57c2b3e5b687e541d611b88b3d5fae4ce8826b)

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

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

- [pre-commit.ci] pre-commit autoupdate. [05a0dd6](https://github.com/callowayproject/bump-my-version/commit/05a0dd65f31f3962e1ff4d2ee03ee99b2062ea5f)

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

Updates

- Update README.md. [cad7096](https://github.com/callowayproject/bump-my-version/commit/cad7096c615f646a75c5d23bae745cd1a8e0adb5)

0.21.0

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

Fixes

- Fixed a bug in the glob tests. [1041fe9](https://github.com/callowayproject/bump-my-version/commit/1041fe9b363fc79cb0bb95c301c1c9badb5da9cc)

Was not properly looking in the correct relative directories.
- Fixed test for Windows glob paths. [ea45c4c](https://github.com/callowayproject/bump-my-version/commit/ea45c4c4d156c1b0807a019f4b04982fda195e8f)

- Fixed exclusion logic with wcmatch. [1c391be](https://github.com/callowayproject/bump-my-version/commit/1c391beca888797ce669a947373bca907c78dbfa)

- Refactored glob matching to use the wcmatch library. [bbf4ae0](https://github.com/callowayproject/bump-my-version/commit/bbf4ae0c9b4c77d78fb534f166c0165dffcb8c76)

New

- Adds `glob_exclude` file specification parameter. [420e3bd](https://github.com/callowayproject/bump-my-version/commit/420e3bd42bf01c3c540ef72c67b55354fd8780e7)

User can prune the files resolved via the `glob` parameter.

Fixes 184
Other

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

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

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.