github callowayproject/bump-my-version 0.26.0

latest releases: 0.28.1, 0.28.0, 0.27.0...
2 months ago

Compare the full difference.

Fixes

  • Fix issues with environment test on windows. 04a98d0

  • Fixed redundant tests for SCM. e50e991

New

  • Added hook suite documentation. b73a6e1

  • Added hooks to bump command. 3b638e0

  • Added tests for hooks. 8446567

  • Add hooks configuration fields. d6b24f0

    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

    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

    • 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

    updates: - github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7

Updates

  • Changed the terminology for hooks. 049b470

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

Don't miss a new bump-my-version release

NewReleases is sending notifications on new releases.