diff --git a/CHANGELOG.md b/CHANGELOG.md index c10cf2cc..276b5ead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.24.3 (2024-07-17) +[Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.24.2...0.24.3) + +### Fixes + +- Fix KeyError in TOML file handling. [f3c328a](https://github.com/callowayproject/bump-my-version/commit/f3c328a6b11c5be2e285453714d4e7a3148b1078) + + The code has been updated to handle KeyErrors when updating TOML files. If a KeyError is raised, it's now caught and managed depending on the file_change attributes 'ignore_missing_file' or 'ignore_missing_version'. This aims to provide more robust handling of edge cases in TOML files. In addition, a new test case has been added to ensure current version is not required in the configuration. + + Fixes #212 +### Other + +- [pre-commit.ci] pre-commit autoupdate. [536c7b1](https://github.com/callowayproject/bump-my-version/commit/536c7b122aa57576fa770b59ca093fc4444bd402) + + **updates:** - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.2) + + ## 0.24.2 (2024-07-03) [Compare the full difference.](https://github.com/callowayproject/bump-my-version/compare/0.24.1...0.24.2) diff --git a/bumpversion/__init__.py b/bumpversion/__init__.py index 302ae1fb..994134c3 100644 --- a/bumpversion/__init__.py +++ b/bumpversion/__init__.py @@ -1,3 +1,3 @@ """Top-level package for bump-my-version.""" -__version__: str = "0.24.2" +__version__: str = "0.24.3" diff --git a/pyproject.toml b/pyproject.toml index 16ac2f56..80fed349 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -216,7 +216,7 @@ order-by-type = true convention = "google" [tool.bumpversion] -current_version = "0.24.2" +current_version = "0.24.3" commit = true commit_args = "--no-verify" tag = true