Skip to content

chore(deps): update dependency commitizen to v4#21

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/commitizen-4.x
Open

chore(deps): update dependency commitizen to v4#21
renovate[bot] wants to merge 1 commit intomainfrom
renovate/commitizen-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2025

This PR contains the following updates:

Package Change Age Confidence
commitizen (changelog) >=3.27.0,<4>=4.13.6,<5 age confidence

Release Notes

commitizen-tools/commitizen (commitizen)

v4.13.6

Compare Source

Fix
  • bump: preserve existing changelog header when changelog_merge_prerelease is used with cz bump --changelog (#​1850)

v4.13.5

Compare Source

Fix
  • changelog: add incremental parameter to changelog generation (#​1808)

v4.13.4

Compare Source

Fix
  • pre-commit-hooks: correct rev-range syntax in commitizen-branch (#​1841)

v4.13.3

Compare Source

Refactor
  • version_schemes: shorten generate_prerelease (#​1838)

v4.13.2

Compare Source

Refactor
  • simplify code with pathlib Path object (#​1840)
  • tags: extract version resolution method (#​1839)

v4.13.1

Compare Source

Refactor
  • config: replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm (#​1842)

v4.13.0

Compare Source

Feat
  • bump: add --version-files-only and deprecate --files-only (#​1802)
  • version: add --tag tag to version command (#​1819)
  • cli: add description when choosing a commit rule (#​1825)
  • tags: enable version schemes with less than 3 components (#​1705)
Fix
  • config: include pyproject.toml in multi config file warning (#​1803)
  • add pytest ruff rule PT and fix missing deprecation warning (#​1826)
  • message_length_limit: align the behavior of message_length_limit (#​1813)
  • cli: capitalize the first characters of help texts and fix minor grammar errors
Refactor
  • replace hard-coded string "cz_conventional_commits" with DEFAULT_SETTINGS (#​1830)
  • bump: fix unbounded variable type issue

v4.12.1

Compare Source

Fix
  • pre-commit-hooks: remove magic constants on pre-push hook (#​1815)

v4.12.0

Compare Source

Feat
  • prek: supporting prek as an alternative to pre-commit and switching to prek (#​1799)

v4.11.6

Compare Source

Fix
  • git: commit bodies with carriage returns are correctly split by … (#​1780)

v4.11.5

Compare Source

Fix
  • config: ensure the actually used config file is correct, better test coverage (#​1784)

v4.11.4

Compare Source

Fix
  • cli: move sys.excepthook override to correct line, rename 'type' parameter, fix no argv test (#​1791)

v4.11.3

Compare Source

Fix
  • bump: fix the issue that changelog_merge_prerelease not working on cz bump

v4.11.2

Compare Source

Fix
  • config: add warning for multiple configuration files and update documentation (#​1773)

v4.11.0

Compare Source

Feat
  • Drop support for Python 3.9 as EOL reached and add Python 3.14 support
  • add custom validation

v4.10.1

Compare Source

Fix
  • version: fix the behavior of cz version --major
  • cli: debug and no_raise can be used together in sys.excepthook
  • git: replace lstrip with strip for compatibility issue
  • bump: remove NotAllowed related to --get-next option, other related refactoring
Refactor
  • version: rename class member to align with other classes
  • cargo_provider: cleanup and get rid of potential type errors
  • bump: extract option validation and new version resolution to new functions
  • changelog: raise NotAllow when file_name not passed instead of using assert
  • bump: rename parameter and variables
Perf
  • ruff: enable ruff rules TC001~TC006
  • add TYPE_CHECKING to CzQuestion imports

v4.10.0

Compare Source

Feat
  • add config option for line length warning
  • conventional_commits: allow exclamation in title on BC
  • version: add the ability to just print major or minor version
  • allow amend! prefix as created by git --fixup=reword:<commit>
Fix
  • commands/version: add missing return
  • test: set terminal width for cli tests
  • Init: raise InitFailedError on keyboard interrupt on pre-commit hook question, simplify logic, remove unreachable code path
Refactor
  • bump: cleanup related to update_version_file
  • RestructuredTest: rename variable, fix typo and remove unnecessary string copy
  • TomlConfig: minor cleanups for DX
  • Commit: refactor _prompt_commit_questions and fix some type hint
  • hooks: refactor to improve readability
  • Init: make project_info a module and remove self.project_info
  • BaseConfig: update docstring, extract factory method and remove unnecessary variable assignment
  • remove self.encoding for better maintainability
  • utils: make get_backup_file_path to return a path for semantic correctness
  • remove unnecessary class member tag_format
  • Bump: remove use of getattr
  • ConventionalCommitsCz: rewrite message method to make the pattern more clear
  • cmd: unnest try except
  • BaseCommitizen: remove NotImplementedError and make them abstract method
  • BaseCommitizen: construct Style object directly to get rid of potential type error

v4.9.1

Compare Source

Fix
  • dependency: move deprecated to project.dependencies

v4.9.0

Compare Source

Feat
  • check: add check against default branch
Fix
  • changelog: mark get_smart_tag_range as deprecated
  • init: use pre-push as pre-commit stage
  • init: use pre-push as pre-commit stage
  • init: make welcome message easier to read
  • Init: fix a typo in _ask_version_provider options and remove unnecessary filter, use named tuple for options
  • ExitCode: add from_str in ExitCode and replace parse_no_raise with it
  • raise NoVersionSpecifiedError if version is None, and adjust call sites of get_version
  • Changelog: fix _export_template variable type
  • Bump: rewrite --get-next NotAllowed error message for consistency
Refactor
  • changelog: add get_next_tag_name_after_version and test, mark unused for get_smart_tag_range
  • changelog: simplify logic for get_oldest_and_newest_rev
  • changelog: shorten generate_tree_from_commits
  • Init: remove the variable values_to_add and the update_config function for readability
  • Init: remove unnecessary methods from ProjectInfo and refactor _ask_tag
  • Init: fix unbounded variable in _ask_tag_format
  • init: remote extra words
  • process_commit_message: better type and early return
  • Init: extract _get_config_data for readability
  • changelog: shorten condition expression and early return
  • Changelog: remove unnecessary intermediate variables for better readability
  • bump: use a loop to shorten a series of similar NotAllowed exceptions
  • Init: use ternary operator
  • TagRules: extract tag_formats property and simplify list comprehension
  • git: remove redundant if branch
  • ScmProvider: replace sorted with max
  • ExpectedExit: make the constructor more compact
  • ParseArgs: simplify call function body

v4.8.4

Compare Source

Fix
  • members in workspace, use exclude
  • cargo workspaces
Refactor
  • reduce code indentation

v4.8.3

Compare Source

Fix
  • cli: update description for deprecate warning
  • commit: emit deprecated warning of cz commit -s
  • Check: make parameters backward compatible
  • BaseConfig: mypy error
  • deprecated: mark deprecate in v5
  • defaults: add non-capitalized default constants back and deprecated warning
Refactor
  • jira: refactor message
  • conventional_commits: use TypedDict for answers
  • conventional_commits: make schema_pattern more readable
  • do not guess if changelog format is provided
  • check: compile once and rename variable
  • questions: type questions with TypedDict
  • bump: simplify nested if
  • git: retype get_commits parameter to make it more friendly to call sites
  • git: simplify tag logic
  • bump: eliminate similar patterns in code
  • bump: use any to replace 'or' chain
  • remove unnecessary bool() and remove Any type from TypedDict get
  • bump: improve readability and still bypass mypy check
  • commands: remove unused args, type version command args
  • commit: type commit args
  • check: type CheckArgs arguments
  • check: remove unused argument
  • changelog: type untyped arguments
  • bump: TypedDict for bump argument
  • make methods protected, better type
  • conventional_commits: remove unnecessary checks
  • fix mypy output and better type
  • BaseCommitizen: remove unused process_commit
  • remove TypeError handling since Python >=3.9 is required
  • add comment clarifying no_raise parsing to list[int]
  • cli.py: add type hints
  • mypy: remove unused-ignore
  • changelog: better typing, yield
  • cli: early return and improve test coverage
  • git: extract _create_commit_cmd_string
  • misc cleanup
  • bump: clean up
  • bump: add type for out, replace function with re escape
  • BaseConfig: use setter
  • changelog: minor cleanup
  • git: refactor get_tag_names
  • EOLType: add eol enum back and reorganize methods
  • git: code cleanup and better test coverage
  • commit: simplify call
  • version_scheme: cleanup
  • improve readability and fix typos
Perf
  • bump: avoid unnecessary list construction and rename variable to avoid confusion
  • tags: use set

v4.8.2

Compare Source

Refactor
  • check: simplify code
  • check: remove unnecessary variable

v4.8.1

Compare Source

Refactor
  • customize: improve code readability

v4.8.0

Compare Source

Feat
  • cli: add --tag-format argument to changelog command

v4.7.2

Compare Source

Refactor
  • default: capitalize all constants and remove unnecessary variable

v4.7.1

Compare Source

Fix
  • bump: don't fail if an invalid version tag is present (fix #​1410) (#​1418)

v4.7.0

Compare Source

Feat
  • providers: add support for Cargo.lock
Refactor
  • tests: increase verbosity of variables

v4.6.3

Compare Source

Fix
  • changelog.py: cross-platform path handling using os.path.join and modify the path linter and test parameter
  • changelog.py: modify the CHANGELOG.md generated by cz bump --changelog to the right place

v4.6.2

Compare Source

Fix
  • docs: fix url link and table formatting in the customization docs (#​1399)

v4.6.1

Compare Source

Fix
  • commit: use os.unlink to remove temp file

v4.6.0

Compare Source

Feat
  • changelog: expose commit parents' digests when processing commits
  • git: add parents' digests in commit information

v4.5.1

Compare Source

Fix
  • print which tag is invalid

v4.5.0

Compare Source

Feat
  • init: set uv to default value if both pyproject.toml and uv.lock present
Fix
  • commands/init: add missing uv provider to "cz init"

v4.4.1

Compare Source

Fix

v4.4.0

Compare Source

Feat
  • tags: adds legacy_tag_formats and ignored_tag_formats settings
Refactor
  • get_tag_regexes: dedup tag regexes definition

v4.3.0

Compare Source

Feat
  • providers: add uv_provider

v4.2.2

Compare Source

Fix
  • bump: manual version bump if prerelease offset is configured

v4.2.1

Compare Source

Fix
  • bump: add debugging to bump

v4.2.0

Compare Source

Feat
  • draft of the --empty parameter
Refactor
  • bump: rename --empty as --allow-no-commit

v4.1.1

Compare Source

Fix
  • get-next-bump: add a test case
  • get-next-bump: fix to permit usage of --get-next options even when update_changelog_on_bump is set to true

v4.1.0

Compare Source

Feat
  • commit: allow '-- --allow-empty' to create empty commits

v4.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from 595fc97 to 072e799 Compare February 21, 2025 17:40
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from 072e799 to 1f6ce22 Compare August 10, 2025 13:27
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch 2 times, most recently from 4a98969 to 626010b Compare September 10, 2025 14:50
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from 626010b to edf3a7e Compare November 10, 2025 16:06
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch 2 times, most recently from f388797 to af1b6f9 Compare November 25, 2025 16:58
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from af1b6f9 to 508f160 Compare December 11, 2025 19:08
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from 508f160 to 916ef1b Compare December 29, 2025 12:30
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch 3 times, most recently from d88f58e to de943f5 Compare January 15, 2026 18:15
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch 2 times, most recently from cf845ba to 5c6ee92 Compare January 24, 2026 03:26
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch 5 times, most recently from 4f46398 to 441e5b7 Compare February 5, 2026 17:05
@renovate renovate bot force-pushed the renovate/commitizen-4.x branch from 441e5b7 to c299c66 Compare February 7, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants