Skip to content

Releases: callowayproject/bump-my-version

0.28.3

17 Dec 17:58
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed tag-name output. 0e773ec

  • Fixed PACKAGE env variable. 76c31c4

  • Fixed syntax errors in scripts. 56dfac0

  • Fixes missing runs-on in workflow. 5fe8ce5

  • Fix: resolve config path to align with the actual repository root. c872315

  • Fixed docs. 1d26b55

  • Fixed doc generation. aa95762

New

  • Added release workflow step. d56650a

  • Added write permissions for contents in github action. 85f19df

Other

Updates

0.28.2

14 Dec 23:30
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed Ruff errors and workflow permissions. 11c1e42

  • Fixed more uv run workflows. d829276

  • Fixed installation of test dependencies. cbf10f2

  • Fixed issue with python install. 6e2da8d

  • Fixed GitHub workflows. 86a0a3b

  • Refactor warning display with Rich formatting. 2b7c905

    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

    • Changed project.optional-dependencies to dependency-groups

New

  • Add branch selection for github-push-action. 4ecc07c

Other

Updates

  • Updated uv.lock. 09b825b

  • Update setup section in contributing guide. 4bc279b

    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

03 Nov 13:23
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fix format arg help text for show command. cf65ec2

Other

0.28.0

16 Oct 12:20
Compare
Choose a tag to compare

Compare the full difference.

New

  • Added container labels and version hooks. d4cb8f2

  • Add Docker support and configure Dependabot for Docker updates. 0315db4

    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

Other

Updates

  • Changed dependency manager to uv. cce9e1d

0.27.0

06 Oct 13:24
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed test to look for warning logs. 538c420

  • Refactor and enhance error handling. c84bfa7

    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

    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

0.26.1

14 Sep 13:36
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed missing new version info in some hook environments. 24a9bdc

    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

  • Add environment variable to README example. 88c9790

  • Add GitHub action with support for commit/tag push workflow trigger. 2cdb742

Other

Updates

  • Updated pre-commit versions. 6f5d56b

  • Update example to better showcase the GHA capabilities. e3ff9a1

  • Update README.md. f280371

0.26.0

19 Aug 14:13
Compare
Choose a tag to compare

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.

0.25.4

14 Aug 14:13
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed terminology in tests. 0338da2

    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

  • Fixed inconsistent terms in docstrings. dfdf23e

    • Switched from using both version parts and version components to simply version components.

Updates

0.25.3

13 Aug 19:35
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Refactor version parsing in visualize function. 5f25300

    Simplify the version parsing process by utilizing the raise_error parameter in the parse method, removing the need for a separate error check. This change ensures that parsing errors are immediately raised and handled cleanly within the visualize function.

  • Refactor and rename version_part to versioning.version_config. 5b90817

    Moved version_part.py to versioning/version_config.py and updated all import statements accordingly. Enhanced error handling in VersionConfig by adding raise_error flag and relevant exception raising for invalid version strings. Refined tests to reflect these changes.

  • Fix version visualization and add verbose logging. ad46978

    Raise an exception for unparsable versions and aggregate visualization output in a list before printing. Add a verbose logging option to the show_bump command for detailed logging control.

0.25.2

11 Aug 13:12
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fix JSON serialization. d3f3022

    Extended the default_encoder function to handle Path objects by converting them to their string representation. This ensures that Path objects can be properly serialized to JSON format.