Skip to content

Releases: callowayproject/bump-my-version

0.24.0

25 Jun 16:14
Compare
Choose a tag to compare

Compare the full difference.

New

  • Add VersionNotFoundError test in test_bump.py. cb050a8

    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

    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

Updates

  • Improve error message for SCM command failures. 8f72f86

    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

14 Jun 12:04
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Refactor valid_bumps and invalid_bumps to include_bumps and exclude_bumps. 2df57cc

    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

New

  • Add file filtering based on valid and invalid bumps. f9f7f96

    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

    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

    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

Updates

  • Update documentation for clarification. 2224808

    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

    co-authored-by: wkoot 3715211+wkoot@users.noreply.github.com

0.22.0

11 Jun 15:57
Compare
Choose a tag to compare

Compare the full difference.

New

  • Add extensive documentation for the 'show' subcommand. 91409d8

    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

0.21.1

16 May 13:01
Compare
Choose a tag to compare

Compare the full difference.

Other

Updates

0.21.0

01 May 19:24
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed a bug in the glob tests. 1041fe9

    Was not properly looking in the correct relative directories.

  • Fixed test for Windows glob paths. ea45c4c

  • Fixed exclusion logic with wcmatch. 1c391be

  • Refactored glob matching to use the wcmatch library. bbf4ae0

New

  • Adds glob_exclude file specification parameter. 420e3bd

    User can prune the files resolved via the glob parameter.

    Fixes #184

Other

0.20.3

26 Apr 13:42
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed test logging setup. 3777f27

  • Fixed the indentation problem. ec3cd99

    • Added a dedent when a file does not match the change pattern.
    • Fixes #181

Other

0.20.2

23 Apr 14:32
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed the rendering of numeric version components. c522c75

    • Numeric version components now will attempt to render its value as an integer and fall back to the parsed value.
  • Fixed code block in the README. b4ff9f3

Other

0.20.1

13 Apr 12:41
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fix typos discovered by codespell. d5c33a3

  • Fixed relative references. 2aa1011

  • Refactored the docs. b63a9e7

Other

0.20.0

27 Mar 14:32
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Refactored context into its own module. 5a3e05d

New

  • Added always_increment attribute for parts. 53ee848

    This is a requirement for CalVer to ensure they always increment with each bump, but it will work for any type.

  • Added CalVer function and formatting. 7a0e639

    • Version parts now have a calver_format attribute for CalVer parts.

Updates

  • Updated the documentation. 607609d

0.19.3

23 Mar 14:31
Compare
Choose a tag to compare

Compare the full difference.

Fixes

  • Fixed packaging of dev releases. 84254e0

  • Fixed platform-dependent encoding. f8b4d65

    • Added encoding="utf-8" to all writes.
  • Fixed version.yaml workflow. 10b007c

Other