Releases: callowayproject/bump-my-version
0.30.1
Fixes
-
Fixing issues with 3.9 compatibility. cd2b193
-
Fixes #284. Add UTF-8 encoding to subprocess.run in run_command. 6c856b6
Explicitly set the encoding to "utf-8" in the subprocess.run call to ensure consistent handling of command output. This prevents potential encoding-related issues when processing command results.
0.30.0
Fixes
New
-
Add handling for git path addition with new test coverage. 8ad5c82
Enhances the
Git
class by adding theadd_path
method, improving control over tracked files. Includes comprehensive test cases to validate subpath handling, handle command failures, and ensure robustness against invalid inputs. Also includes minor refactoring with updated exception handling and code comments. -
Added tests for
utils.is_subpath
. 4e993ed -
Add support for 'moveable_tags' configuration option. 2a2f1e6
This update introduces a new 'moveable_tags' field in the configuration model, with appropriate defaults. Test fixture files have been updated to reflect this change. This allows better handling of tags that can be relocated during versioning operations.
-
Add support for 'moveable_tags' configuration option. dd1efa5
This update introduces a new 'moveable_tags' field in the configuration model, with appropriate defaults. Test fixture files have been updated to reflect this change. This allows better handling of tags that can be relocated during versioning operations.
-
Added additional logging verbosity configuration in setup_logging. 2b420b8
Updated the logging verbosity levels to include formatting options for different verbosity levels. Added a new level (3) with detailed output including file path and line number. Refactored setup_logging to properly handle verbosity and log format settings.
Other
-
Merge remote-tracking branch 'origin/moving-tags' into moving-tags. a2b7bd1
-
[pre-commit.ci] pre-commit autoupdate. d03b1da
updates: - github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.2
-
[pre-commit.ci] pre-commit autoupdate. 584711b
updates: - github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6
-
[pre-commit.ci] pre-commit autoupdate. c583694
updates: - github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4
-
Bump softprops/action-gh-release from 1 to 2 in the github-actions group. 787c241
Bumps the github-actions group with 1 update: softprops/action-gh-release.
Updates
softprops/action-gh-release
from 1 to 2
updated-dependencies: - dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] [email protected]
Updates
-
Updated some tests. 4013d86
-
Remove legacy SCM implementation and add new SCM tests. ddbe21e
Replaced the outdated
scm_old.py
with a focused and updated SCM implementation. Added extensive tests for the newSCMInfo
behavior, path handling, and commit/tag logic, ensuring robust functionality for Git and Mercurial. Updated fixtures and test configurations accordingly. -
Rename
scm.py
toscm_old.py
and add new utility functions. dac965dRefactored SCM-related imports to use the renamed
scm_old.py
for better module organization. Introducedis_subpath
utility to simplify path checks and added support for moveable tags in version control systems. These changes improve code structure and extend functionality for tagging.
0.29.0
New
-
Add support for specifying current version in
do_show
. 878197fThis update introduces a
--current-version
option to theshow
command and passes it into thedo_show
function. If provided, thecurrent_version
is added to the configuration, allowing more control over version display or manipulation.
Updates
0.28.3
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
Other
-
Debugging the release workflow. db2eb9e
-
[pre-commit.ci] pre-commit autoupdate. 37c21a4
updates: - github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3
-
Bump actions/setup-python in the github-actions group. 3dd6666
Bumps the github-actions group with 1 update: actions/setup-python.
Updates
actions/setup-python
from 5.1.1 to 5.3.0
updated-dependencies: - dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actionssigned-off-by: dependabot[bot] [email protected]
Updates
- Removed debug stuff. c0e7ad4
0.28.2
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
todependency-groups
- Changed
New
- Add branch selection for github-push-action. 4ecc07c
Other
-
[pre-commit.ci] auto fixes from pre-commit.com hooks. 183a6f2
for more information, see https://pre-commit.ci
-
[pre-commit.ci] pre-commit autoupdate. 075d0da
updates: - github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.2
-
[pre-commit.ci] pre-commit autoupdate. 6ed9f0e
updates: - github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.4
-
Bump codecov/codecov-action from 4 to 5 in the github-actions group. 4194af8
Bumps the github-actions group with 1 update: codecov/codecov-action.
Updates
codecov/codecov-action
from 4 to 5
updated-dependencies: - dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] [email protected]
Updates
0.28.1
Fixes
- Fix format arg help text for show command. cf65ec2
Other
-
[pre-commit.ci] pre-commit autoupdate. 9fb0347
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.1
-
Output hooks scripts by default. 0a042aa
-
Skip scm tests if the command is not installed. 2e68517
0.28.0
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
-
Switch from ADD to COPY in Dockerfile. a5fc5c0
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
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9
Updates
- Changed dependency manager to uv. cce9e1d
0.27.0
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
-
[pre-commit.ci] pre-commit autoupdate. 130478d
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7
-
Create FUNDING.yml. 2bda200
0.26.1
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
andget_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
-
[pre-commit.ci] pre-commit autoupdate. d21d6df
updates: - github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.6.4
-
[pre-commit.ci] pre-commit autoupdate. b6773ac
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.2
Updates
0.26.0
Fixes
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
, andpost_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.