Releases: callowayproject/bump-my-version
1.3.0
Fixes
- Refactor hook script execution to handle platform-specific argument parsing; update typing imports. a46b63d
New
-
Add
allow_shell_hooksoption for safe hook execution; improve shell syntax handling. 036ee1a- Introduce
allow_shell_hooksconfiguration to control shell metacharacters in hooks. - Change default behavior to disallow shell syntax (
shell=False) unless explicitly enabled. - Add regex detection for shell syntax and migrate affected hooks.
- Update tests and fixtures to cover new functionality.
- Enhance documentation with migration guidance and best practices.
- Introduce
Other
-
Standardize formatting, spacing, and indentation across documentation and templates for consistency. 1b9eb42
-
Modularize CLI commands into individual files:
bump,replace,show,show-bump, andsample-config; add corresponding tests and shared options file. c35c431 -
Make
--regexoption nullable; add tests for precedence between CLI flags and config. c78bbef
Updates
-
Update pre-commit, improve
is_subpathlogic, and enhance documentation. 919c66b- Update
ruff-pre-committo v0.15.1 in pre-commit config. - Refine
is_subpathlogic to handle edge cases and add path resolution. - Add security test cases for path traversal in
test_is_subpath. - Extend
AGENTS.mdwith pytest execution instructions.
- Update
1.2.7
Fixes
- Refactor movable tag logic to delete remote tags before pushing; update tests and documentation. a0d9580
Other
-
[pre-commit.ci] pre-commit autoupdate. ed0b8f6
updates: - github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.0
1.2.6
Fixes
-
Fix: Set default
is_flagvalue toFalsein click_config. 6f5d13d -
Fix Jinja template includes to use
.jinjafile extension consistently. 13b7902
New
- Add Python 3.14 to GitHub Actions test matrix. f8ff078
Other
-
Bump Click dependency to version 8.3.1 for Python 3.10+. c9db946
-
Bump click support to <8.4. be429e8
fixes #377
-
Bump the github-actions group across 1 directory with 2 updates. 05edf97
Bumps the github-actions group with 2 updates in the / directory: actions/checkout and actions/download-artifact.
Updates
actions/checkoutfrom 5 to 6Updates
actions/download-artifactfrom 6 to 7
updated-dependencies: - dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] support@github.com
-
[pre-commit.ci] pre-commit autoupdate. d2edfae
updates: - github.com/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.10
1.2.5
Fixes
-
Refactor: Simplify Mercurial test skip condition using
pytest.mark.skipif. a596f61 -
Fix: Skip Mercurial tests if Mercurial is not available. bb5ff24
-
Fix README.md's workflow permissions and token usage. bf4397e
- Added explicit permissions for
id-token,pull-requests, andcontentsin the build job. - Replaced
GH_TOKENwithGITHUB_TOKENfor consistency. - Clarified documentation on using personal access tokens (PAT).
- Removed unused
MANIFEST.infile.
- Added explicit permissions for
-
Fix outdated link URL in docs leading to a 404. 440300a
Other
-
Compatibility with click 8.3, handle Sentinel values. 554922d
-
[pre-commit.ci] pre-commit autoupdate. 4b844b5
-
Bump actions/download-artifact from 5 to 6 in the github-actions group. f2613d7
Bumps the github-actions group with 1 update: actions/download-artifact.
Updates
actions/download-artifactfrom 5 to 6
updated-dependencies: - dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] support@github.com
-
Bump python from 3.12-slim-bookworm to 3.14-slim-bookworm. 1d1d0fe
Bumps python from 3.12-slim-bookworm to 3.14-slim-bookworm.
updated-dependencies: - dependency-name: python
dependency-version: 3.14-slim-bookworm
dependency-type: direct:productionsigned-off-by: dependabot[bot] support@github.com
-
[pre-commit.ci] pre-commit autoupdate. 778b8b5
updates: - github.com/astral-sh/ruff-pre-commit: v0.13.2 → v0.14.5
Updates
1.2.4
Fixes
-
Fixed release hint rules. fbd3deb
- trigger release when pypproject.toml is changed
-
Fix mercurial install on Windows. c230f4a
-
Fix breaking Click dependency. 5a4073b
- Set Click required version to
<8.2.2 uv.lockregenerated with upgraded dependencies
- Set Click required version to
Other
-
[pre-commit.ci] pre-commit autoupdate. 1af3e18
updates: - github.com/astral-sh/ruff-pre-commit: v0.13.0 → v0.13.2
1.2.3
Fixes
-
Fix
is_subpathdocstring for clarity and detailed explanation of functionality. 68041e8 -
Refactor tests to improve readability by using Arrange-Act-Assert pattern and updating
httpservermethods. 164c99d -
Fix: set "click<8.3" and adjust some pytest_httpserver methods to latest. 8374073
Other
-
[pre-commit.ci] pre-commit autoupdate. 58946b2
updates: - github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1
Updates
- Update
uv.lockandpyproject.tomlto refactor dependency groups and align formatting. 8b4d8aa
1.2.2
Fixes
- Fixed code style, ensure encoding consistency, and update dependencies in pre-commit configuration. 91d5eff
Other
-
Bump the github-actions group across 1 directory with 3 updates. b8e2f1c
Bumps the github-actions group with 3 updates in the / directory: actions/checkout, actions/setup-python and actions/download-artifact.
Updates
actions/checkoutfrom 4 to 5Updates
actions/setup-pythonfrom 5 to 6Updates
actions/download-artifactfrom 4 to 5
updated-dependencies: - dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actionssigned-off-by: dependabot[bot] support@github.com
-
[pre-commit.ci] pre-commit autoupdate. 846fedd
updates: - github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.12.12
Updates
- Update dependency versions and Python compatibility markers in uv.lock. f8f33d0
1.2.1
Other
-
Extend globbing functionality with EXTGLOB support in configuration utils. b7eefab
Fixes #357
-
[pre-commit.ci] pre-commit autoupdate. a1a2a16
updates: - github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.3
1.2.0
Fixes
-
Fix broken link to API. 4591652
https: //callowayproject.github.io/bump-my-version/reference/api/ is 404.
New
- Add support for short commit SHA in SCM information and hooks. ee83f99
Other
-
[pre-commit.ci] pre-commit autoupdate. 7f9e5c1
updates: - github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.11.12
-
[pre-commit.ci] pre-commit autoupdate. d3169af
updates: - github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.10
Updates
- Update Dockerfile and action metadata for enhanced GitHub Actions compatibility. 6baf7f7