Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 98bba31

Browse files
bump: version 4.8.4 → 4.9.0
1 parent 73136ed commit 98bba31

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repos:
4848
- tomli
4949

5050
- repo: https://github.com/commitizen-tools/commitizen
51-
rev: v4.8.4 # automatically updated by Commitizen
51+
rev: v4.9.0 # automatically updated by Commitizen
5252
hooks:
5353
- id: commitizen
5454
- id: commitizen-branch

‎CHANGELOG.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## v4.9.0 (2025年09月09日)
2+
3+
### Feat
4+
5+
- **check**: add check against default branch
6+
7+
### Fix
8+
9+
- **changelog**: mark get_smart_tag_range as deprecated
10+
- **init**: use pre-push as pre-commit stage
11+
- **init**: use pre-push as pre-commit stage
12+
- **init**: make welcome message easier to read
13+
- **Init**: fix a typo in _ask_version_provider options and remove unnecessary filter, use named tuple for options
14+
- **ExitCode**: add from_str in ExitCode and replace parse_no_raise with it
15+
- raise NoVersionSpecifiedError if version is None, and adjust call sites of get_version
16+
- **Changelog**: fix _export_template variable type
17+
- **Bump**: rewrite --get-next NotAllowed error message for consistency
18+
19+
### Refactor
20+
21+
- **changelog**: add get_next_tag_name_after_version and test, mark unused for get_smart_tag_range
22+
- **changelog**: simplify logic for get_oldest_and_newest_rev
23+
- **changelog**: shorten generate_tree_from_commits
24+
- **Init**: remove the variable values_to_add and the update_config function for readability
25+
- **Init**: remove unnecessary methods from ProjectInfo and refactor _ask_tag
26+
- **Init**: fix unbounded variable in _ask_tag_format
27+
- **init**: remote extra words
28+
- **process_commit_message**: better type and early return
29+
- **Init**: extract _get_config_data for readability
30+
- **changelog**: shorten condition expression and early return
31+
- **Changelog**: remove unnecessary intermediate variables for better readability
32+
- **bump**: use a loop to shorten a series of similar NotAllowed exceptions
33+
- **Init**: use ternary operator
34+
- **TagRules**: extract tag_formats property and simplify list comprehension
35+
- **git**: remove redundant if branch
36+
- **ScmProvider**: replace sorted with max
37+
- **ExpectedExit**: make the constructor more compact
38+
- **ParseArgs**: simplify __call__ function body
39+
140
## v4.8.4 (2025年09月05日)
241

342
### Fix

‎commitizen/__version__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.8.4"
1+
__version__ = "4.9.0"

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "commitizen"
3-
version = "4.8.4"
3+
version = "4.9.0"
44
description = "Python commitizen client tool"
55
authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }]
66
maintainers = [
@@ -89,7 +89,7 @@ build-backend = "poetry.core.masonry.api"
8989

9090

9191
[tool.commitizen]
92-
version = "4.8.4"
92+
version = "4.9.0"
9393
tag_format = "v$version"
9494
version_files = [
9595
"pyproject.toml:version",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /