github callowayproject/bump-my-version 0.32.0

18 hours ago

Compare the full difference.

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 in bumpversion.click_config to handle configuration file paths or URLs. Includes tests for processing options, resolving paths/URLs, and handling errors in resolve_conf_location and download_url.

  • Added httpx as a dependency. 450154e

Other

Updates

  • Updated other subcommands with the new config_option. 279838a

  • Improve config resolution and add error handling for paths. 43f0435

    Refactor process_value to handle None values and raise a BumpVersionError 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.

Don't miss a new bump-my-version release

NewReleases is sending notifications on new releases.