Releases: callowayproject/bump-my-version
0.24.0
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
-
[pre-commit.ci] pre-commit autoupdate. 0e3a154
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9
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
Fixes
-
Refactor valid_bumps and invalid_bumps to include_bumps and exclude_bumps. 2df57cc
The configuration parameters
valid_bumps
andinvalid_bumps
were renamed toinclude_bumps
andexclude_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
andinvalid_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
-
[pre-commit.ci] pre-commit autoupdate. e44f6af
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.8
Updates
-
Update documentation for clarification. 2224808
The changes made update the wording in the documentation to clarify the roles of
include_bumps
andexclude_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
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 ofshow
is added both to the dedicatedshow.md
file and in the function's docstring.
Updates
- Renamed version workflow to release. 68f9eee
0.21.1
Other
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 1b57c2b
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. e813eda
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4
-
[pre-commit.ci] pre-commit autoupdate. 05a0dd6
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3
Updates
- Update README.md. cad7096
0.21.0
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. 420e3bdUser can prune the files resolved via the
glob
parameter.Fixes #184
Other
-
[pre-commit.ci] pre-commit autoupdate. ce02aa7
updates: - github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2
0.20.3
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
-
[pre-commit.ci] pre-commit autoupdate. e916f87
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1
0.20.2
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
-
[pre-commit.ci] pre-commit autoupdate. 9b09da8
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7
0.20.1
Fixes
-
Fix typos discovered by codespell. d5c33a3
-
Fixed relative references. 2aa1011
-
Refactored the docs. b63a9e7
Other
-
[pre-commit.ci] pre-commit autoupdate. f438bc6
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5
-
Pre-commit: Discover typos with codespell. 2509fc7
Related to:
-
[pre-commit.ci] pre-commit autoupdate. be5cb79
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4
0.20.0
Fixes
- Refactored context into its own module. 5a3e05d
New
-
Added
always_increment
attribute for parts. 53ee848This 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.
- Version parts now have a
Updates
- Updated the documentation. 607609d
0.19.3
Fixes
-
Fixed packaging of dev releases. 84254e0
-
Fixed platform-dependent encoding. f8b4d65
- Added
encoding="utf-8"
to all writes.
- Added
-
Fixed version.yaml workflow. 10b007c
Other
-
[pre-commit.ci] pre-commit autoupdate. e92000a
updates: - github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3
-
Bump the github-actions group with 3 updates. a422c58
Bumps the github-actions group with 3 updates: actions/checkout, actions/setup-python and codecov/codecov-action.
Updates
actions/checkout
from 3 to 4Updates
actions/setup-python
from 4 to 5Updates
codecov/codecov-action
from 3 to 4
updated-dependencies: - dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] support@github.com
-
Keep GitHub Actions up to date with GitHub's Dependabot. 2e55fa1