diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7cf5bb585..be1a106a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,7 +46,7 @@ repos: exclude: "poetry.lock" - repo: https://github.com/commitizen-tools/commitizen - rev: v3.24.0 # automatically updated by Commitizen + rev: v3.25.0 # automatically updated by Commitizen hooks: - id: commitizen - id: commitizen-branch diff --git a/CHANGELOG.md b/CHANGELOG.md index aafb47ecc..d0df802fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## v3.25.0 (2024-04-30) + +### Feat + +- add an argument to limit the length of commit message + +### Fix + +- strip the commit message for calculating length +- resolve test error by removing defaults + +### Refactor + +- **commands/commit**: replace comparison with chained comparison +- check the length in Commit instead of Commitizen + ## v3.24.0 (2024-04-18) ### Feat diff --git a/commitizen/__version__.py b/commitizen/__version__.py index 3e6d8c7b7..e1609ca35 100644 --- a/commitizen/__version__.py +++ b/commitizen/__version__.py @@ -1 +1 @@ -__version__ = "3.24.0" +__version__ = "3.25.0" diff --git a/pyproject.toml b/pyproject.toml index d427aaa0f..da57effff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.commitizen] -version = "3.24.0" +version = "3.25.0" tag_format = "v$version" version_files = [ "pyproject.toml:version", @@ -9,7 +9,7 @@ version_files = [ [tool.poetry] name = "commitizen" -version = "3.24.0" +version = "3.25.0" description = "Python commitizen client tool" authors = ["Santiago Fraire "] license = "MIT"