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 1 of 11

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)

0.28.0

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

New

- Added container labels and version hooks. [d4cb8f2](https://github.com/callowayproject/bump-my-version/commit/d4cb8f2231dbe5faa4bc68b769a00ea199beed8e)

- Add Docker support and configure Dependabot for Docker updates. [0315db4](https://github.com/callowayproject/bump-my-version/commit/0315db458db260653180ba95a106cecad8eea425)

Introduce a Dockerfile for containerized environments and add a .dockerignore file to exclude unnecessary files. Also, update dependabot.yml to include daily checks for Docker image updates.
- Add `inputs` section in GHA workflow example. [813e7f5](https://github.com/callowayproject/bump-my-version/commit/813e7f526479e278ab12db2bc8a873c9f7fc2dd7)

Other

- Switch from ADD to COPY in Dockerfile. [a5fc5c0](https://github.com/callowayproject/bump-my-version/commit/a5fc5c0e595530650059dd6ab821927933f0ef58)

This change updates the Dockerfile to use the COPY instruction instead of ADD. COPY is preferred when only copying files because it is more explicit and simpler.
- [pre-commit.ci] pre-commit autoupdate. [7c48f98](https://github.com/callowayproject/bump-my-version/commit/7c48f987fd782b1c5665e49dd9e0e491416d39cd)

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

Updates

- Changed dependency manager to uv. [cce9e1d](https://github.com/callowayproject/bump-my-version/commit/cce9e1dead3507791e866c0daf5e3f6818a55e14)

0.27.0

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

Fixes

- Fixed test to look for warning logs. [538c420](https://github.com/callowayproject/bump-my-version/commit/538c4205c1d711daf732027719f5fa67e0418d5e)

- Refactor and enhance error handling. [c84bfa7](https://github.com/callowayproject/bump-my-version/commit/c84bfa7dcb5914c4adbfa9213d377fd705949501)

Updated subprocess calls to disable check, refined lint configurations, fixed type annotations and exceptions, and improved dictionary path validation.
New

- Add HookError for failed hook execution with tests. [39fc233](https://github.com/callowayproject/bump-my-version/commit/39fc233163222070d5a7c4549e59ea2b292c6ba5)

Raise HookError when a hook script exits with a non-zero status. Modified logger to display warnings instead of debug messages in such scenarios. Added tests to ensure exceptions are raised for failed hooks.
Other

- [pre-commit.ci] pre-commit autoupdate. [130478d](https://github.com/callowayproject/bump-my-version/commit/130478d664e7ed9abe88a9882b00e7d5e4a5c37a)

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

- Create FUNDING.yml. [2bda200](https://github.com/callowayproject/bump-my-version/commit/2bda20037cf10d714fb906fa05b73103c56bb6c3)

0.26.1

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

Fixes

- Fixed missing new version info in some hook environments. [24a9bdc](https://github.com/callowayproject/bump-my-version/commit/24a9bdc0c8264b1d756d444367f4e6282f38c07f)

Introduce the `new_version_env` function and update existing functions (`get_setup_hook_env` and `get_pre_commit_hook_env`) to include new version environment variables. Added new tests for verifying the inclusion of OS, SCM, current, and new version information in hook environments.
New

- Add current and previous version outputs to the GHA. [0650ca8](https://github.com/callowayproject/bump-my-version/commit/0650ca8cd4d1a4d155616865ef2cbac39c60c616)

- Add environment variable to README example. [88c9790](https://github.com/callowayproject/bump-my-version/commit/88c9790b4cac778d17abe8e3bbeead7adad11274)

- Add GitHub action with support for commit/tag push workflow trigger. [2cdb742](https://github.com/callowayproject/bump-my-version/commit/2cdb7420264810396b42d35827291d1dc080d416)

Other

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

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

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

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

Updates

- Updated pre-commit versions. [6f5d56b](https://github.com/callowayproject/bump-my-version/commit/6f5d56b2e5a55171d79a4c14d06f3e15e9174711)

- Update example to better showcase the GHA capabilities. [e3ff9a1](https://github.com/callowayproject/bump-my-version/commit/e3ff9a1bf201c440037d9d26b01c7da9941d32c6)

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

0.26.0

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

Fixes

- Fix issues with environment test on windows. [04a98d0](https://github.com/callowayproject/bump-my-version/commit/04a98d00793e80bca2c11e354672168a8a6de9cd)

- Fixed redundant tests for SCM. [e50e991](https://github.com/callowayproject/bump-my-version/commit/e50e991fe481ff25791a25987e4c4af133f50817)

New

- Added hook suite documentation. [b73a6e1](https://github.com/callowayproject/bump-my-version/commit/b73a6e120122d1fe28e52c2b9b13eeed95f20a51)

- Added hooks to bump command. [3b638e0](https://github.com/callowayproject/bump-my-version/commit/3b638e088edee304d2f0a8305e332eff2eba85e0)

- Added tests for hooks. [8446567](https://github.com/callowayproject/bump-my-version/commit/844656717e3799fc418e76ef2b9e3b12116ca0d5)

- Add hooks configuration fields. [d6b24f0](https://github.com/callowayproject/bump-my-version/commit/d6b24f01b22fcbfe719ae9954c47e03ec1df3072)

Introduced `setup_hooks`, `pre_bump_hooks`, and `post_bump_hooks` fields to configuration models. Updated corresponding test fixtures to verify these new fields.
- Add current_tag field to scm_info. [304c599](https://github.com/callowayproject/bump-my-version/commit/304c59985d5f71f44754615fee2ded600de237b0)

Updated the scm_info structure to include a new field, current_tag, across various configuration files and source code. This ensures that the current tag is tracked and represented in the output formats correctly.
Other

- Enhance hook handling and testing across hook types. [49f1953](https://github.com/callowayproject/bump-my-version/commit/49f1953c476a09cc9e7332af6347914935ee982c)

- Introduced unified handling for setup, pre-commit, and post-commit hooks, including dry-run support.

- Added comprehensive tests to ensure the correct behavior for all hook phases, including cases where no hooks are specified or in dry run mode.

- Updated environment setup to use a common version environment function.
- [pre-commit.ci] pre-commit autoupdate. [4342198](https://github.com/callowayproject/bump-my-version/commit/434219853b2824cbfff926e3cc79aa1b0ba10b3d)

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

Updates

- Changed the terminology for hooks. [049b470](https://github.com/callowayproject/bump-my-version/commit/049b4704f245f4ec5c258eb5fc2f10e2b564655a)

Change pre-bump and post-bump to pre-commit and post-commit to better indicate their order of operations.

0.25.4

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

Fixes

- Fixed terminology in tests. [0338da2](https://github.com/callowayproject/bump-my-version/commit/0338da2b674e3f960fd026485a9ddbb2648dff30)

Updated test parameter and assertion messages to use "version component" instead of "version part" for clarity and consistency. This change affects the test cases that detect bad or missing version inputs.
- Fixed documentation layout. [57958ea](https://github.com/callowayproject/bump-my-version/commit/57958eaed527447bd63e100c08763c8810e4dc8e)

- Fixed inconsistent terms in docstrings. [dfdf23e](https://github.com/callowayproject/bump-my-version/commit/dfdf23e04fe6a75341a8943f674c79897f5e0712)

- Switched from using both version parts and version components to simply version components.
Updates

- Updated documentation. [5aedd64](https://github.com/callowayproject/bump-my-version/commit/5aedd64391ffc6e49ec6cb4ddace847a31ff72fe)

- Removed old requirements. [ec95eef](https://github.com/callowayproject/bump-my-version/commit/ec95eef8ddef229eb84577cfac301bf92fd8eceb)

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.