Fixes
-
Refactor CLI config-file option to use @config_option decorator. cd06cbd
Replaced the manual
--config-file
option setup with the@config_option
decorator for cleaner and reusable configuration management. This change simplifies the code and enhances maintainability by consolidating the configuration logic.
New
-
Added pytest-localserver as a test dependency. c84243d
-
Add ConfigOption for flexible configuration. 1625248
Introduce
ConfigOption
and related utilities inbumpversion.click_config
to handle configuration file paths or URLs. Includes tests for processing options, resolving paths/URLs, and handling errors inresolve_conf_location
anddownload_url
. -
Added httpx as a dependency. 450154e
Other
-
[pre-commit.ci] pre-commit autoupdate. 17e8301
updates: - github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4
-
Bump actions/setup-python in the github-actions group. c0771b0
Bumps the github-actions group with 1 update: actions/setup-python.
Updates
actions/setup-python
from 5.3.0 to 5.4.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] support@github.com
Updates
-
Updated other subcommands with the new config_option. 279838a
-
Improve config resolution and add error handling for paths. 43f0435
Refactor
process_value
to handleNone
values and raise aBumpVersionError
for non-existent files. Update related tests to ensure correct behavior for missing, existing, and URL-based config paths. These changes enhance robustness and user feedback in handling configuration inputs.