Skip to content

Releases: commitizen-tools/commitizen

v3.23.0

18 Apr 09:52
Compare
Choose a tag to compare

v3.23.0 (2024-04-18)

Feat

  • bump: version_files now support glob patterns (fix #1067) (#1070)

[master aad0602] bump: version 3.22.0 → 3.23.0
4 files changed, 10 insertions(+), 4 deletions(-)

v3.22.0

11 Apr 15:13
Compare
Choose a tag to compare

v3.22.0 (2024-04-11)

Feat

  • cli: add config option to specify config file path

[master 7c0bc15] bump: version 3.21.3 → 3.22.0
4 files changed, 10 insertions(+), 4 deletions(-)

v3.21.3

30 Mar 09:15
Compare
Choose a tag to compare

v3.21.3 (2024-03-30)

Refactor

  • defaults: move cz_conventional_commit defaults out of defaults.py

[master 669080c] bump: version 3.21.2 → 3.21.3
4 files changed, 10 insertions(+), 4 deletions(-)

v3.21.2

30 Mar 08:31
Compare
Choose a tag to compare

v3.21.2 (2024-03-30)

Fix

  • commitizen/git.py,-tests/test_git.py: Resolve tempfile path spaces issue in git commit function

[master 8d5f630] bump: version 3.21.1 → 3.21.2
4 files changed, 10 insertions(+), 4 deletions(-)

v3.21.1

30 Mar 08:03
Compare
Choose a tag to compare

v3.21.1 (2024-03-30)

Fix

  • command-init: "cz init" should list exisitng tag in reverse order

[master 223532b] bump: version 3.21.0 → 3.21.1
4 files changed, 10 insertions(+), 4 deletions(-)

v3.21.0

30 Mar 07:58
Compare
Choose a tag to compare

v3.21.0 (2024-03-30)

Feat

  • commit: add retry_after_failure config option and --no-retry flag

Refactor

  • utils: convert git project root to posix path for backup file name
  • commit: use Optional[str] instead of str | None
  • commit: remove unused tempfile import
  • git-hooks: make git hooks use get_backup_file_path
  • utils: move backup path creation to utils

[master ffb6df7] bump: version 3.20.0 → 3.21.0
4 files changed, 18 insertions(+), 4 deletions(-)

v3.20.0

19 Mar 10:50
Compare
Choose a tag to compare

v3.20.0 (2024-03-19)

Feat

  • changelog: expose commits sha1, author and author_email in changelog tree (fix #987) (#1013)

[master 9175328] bump: version 3.19.0 → 3.20.0
4 files changed, 10 insertions(+), 4 deletions(-)

v3.19.0

19 Mar 10:42
Compare
Choose a tag to compare

v3.19.0 (2024-03-19)

Feat

  • changelog: adds a changelog_release_hook called for each release in the changelog (#1018)

[master c8a9008] bump: version 3.18.4 → 3.19.0
4 files changed, 10 insertions(+), 4 deletions(-)

v3.18.4

14 Mar 18:37
Compare
Choose a tag to compare

v3.18.4 (2024-03-14)

Fix

  • changelog: include latest change when dry run and incremental

[master 94f07ad] bump: version 3.18.3 → 3.18.4
4 files changed, 10 insertions(+), 4 deletions(-)

v3.18.3

11 Mar 17:59
Compare
Choose a tag to compare

v3.18.3 (2024-03-11)

Fix

  • warnings: all warnings should go to stdout

v3.18.2 (2024-03-11)

Fix

  • git: force the default git locale on methods relying on parsing the output (#1012)

v3.18.1 (2024-03-11)

Fix

  • changelog: changelog hook was not called on dry run

v3.18.0 (2024-03-07)

Feat

  • changelog: changelog_message_build_hook can now generate multiple changelog entries from a single commit (#1003)

v3.17.2 (2024-03-07)

Fix

  • changelog: ensure changelog_message_builder_hook can access and modify change_type (#1002)

v3.17.1 (2024-03-07)

Fix

  • bump: pre and post bump hooks were failing when an increment was provided (fix #1004)

v3.17.0 (2024-03-06)

Feat

  • changelog: changelog_message_build_hook can remove message by returning a falsy value

v3.16.0 (2024-02-26)

Feat

  • commands: add bump --exact

Fix

  • bump: change --exact-increment to --increment-mode
  • bump: only get and validate commits if increment is not provided
  • Improve type annotations

v3.15.0 (2024-02-17)

Feat

  • bump: functionality to add build-metadata to version string

v3.14.1 (2024-02-04)

Fix

  • bump: remove unused method
  • scm: only search tags that are reachable by the current commit

v3.14.0 (2024-02-01)

Feat

  • properly bump versions between prereleases (#799)

v3.13.0 (2023-12-03)

Feat

  • commands-bump: automatically create annotated tag if message is given
  • add tag message argument to cli
  • git: add get tag message function
  • add custom message to annotated git tag

Fix

  • test-bump-command: typo in --annotated-tag option inside test
  • commitizen-git: add quotes for tag message

Refactor

  • commands-bump: make changelog variable in 1 line
  • commands-bump: cast str to bool

v3.12.0 (2023-10-18)

Feat

  • formats: expose some new customizable changelog formats on the commitizen.changelog_format endpoint (Textile, AsciiDoc and RestructuredText)
  • template: add changelog --export-template command
  • template: allow to override the template from cli, configuration and plugins
  • cli.py: Added support for extra git CLI args after -- separator for cz commit command

Fix

  • filename: ensure file_name can be passed to changelog from bump command

Refactor

  • git.py: Removed 'extra_args' from git.commit
  • extra_args: Fixed broken code due to rebase and finalized tests
  • Code Review - round 1 changes
  • Commit: Added deprecation on git signoff mechanic

v3.10.1 (2023-10-14)

Fix

  • bump: add bump support with custom type + scope + exclamation mark
  • bump: version bumping

v3.10.0 (2023-09-25)

Feat

  • Drop support for Python 3.7 (#858)

v3.9.1 (2023-09-22)

Fix

  • conf: handle parse error when init (#856)

v3.9.0 (2023-09-15)

Feat

  • commands: add arg of cz commit to execute git add

Fix

  • tests: modify the arg of commit from add to all
  • commitizen: Modify the function of the arg a of commit from git add all to git add update

Refactor

  • commitizen: add return type hint of git add function

v3.8.2 (2023-09-09)

Refactor

  • provider: split provider code and related tests into individual files for maintainability (#830)

v3.8.1 (2023-09-08)

Fix

  • add sponsors to README

v3.8.0 (2023-09-05)

Feat

  • defaults.py: add always_signoff config option for commits

v3.7.1 (2023-09-04)

Fix

  • empty error on bump failure

v3.7.0 (2023-08-26)

Feat

  • provider: add npm2 provider to update package.json, package-lock.json, and npm-shrinkwrap.json

Fix

  • provider: fix npm version provider to update package-lock.json and npm-shrinkwrap.json if they exist
  • provider: fix npm provider to update package-lock.json and npm-shrinkwrap.json if they exist
  • test: pass correct type to get_package_version tests
  • tests: completed test coverage for npm2

v3.6.0 (2023-08-01)

Feat

  • changelog.py: add encoding to get_metadata
  • unicode: add unicode support

Fix

  • add missing encoding parameter
  • out.py: TextIOWrapper.reconfigure typing
  • correct type hinting
  • use base config for encoding

Refactor

  • defaults.py: use variables in DEFAULT_SETTINGS

v3.5.4 (2023-07-29)

Refactor

  • replace SemVer type literals by respective constants

v3.5.3 (2023-07-15)

Fix

  • Treat $version the same as unset tag_format in ScmProvider

Refactor

  • Make tag_format properly default to $version

v3.5.2 (2023-06-25)

Fix

  • typing: no_raise is declared as optional

v3.5.1 (2023-06-24)

Fix

  • only use version tags when generating a changelog

v3.5.0 (2023-06-23)

Feat

  • Add option in bump command to redirect git output to stderr

v3.4.1 (2023-06-23)

Fix

  • veresion_schemes: import missing Self for python 3.11

v3.4.0 (2023-06-20)

Feat

  • version-schemes: expose version_schemes as a commitizen.scheme endpoint.

v3.3.0 (2023-06-13)

Feat

  • add support for cargo workspaces

v3.2.2 (2023-05-11)

Fix

  • init: fix is_pre_commit_installed method

v3.2.1 (2023-05-03)

Fix

  • add support for importlib_metadata 6

v3.2.0 (2023-05-01)

Feat

  • hooks: add prepare-commit-msg and post-commit hooks
  • commit: add --write-message-to-file option

Fix

  • bump: better match for change_type when finding increment
  • changelog: breaking change on additional types for conventional commits
  • bump: breaking changes on additional types for conventional commits
  • improve errors message when empty .cz.json found
  • init: poetry detection
  • bump decli which is type hinted

Refactor

  • commit: change type of write_message_to_file to path

v3.1.1 (2023-04-28)

Fix

  • bump changelog for prerelease without commits

v3.1.0 (2023-04-25)

Feat

  • make major_version_zero customizable by third parties

v3.0.1 (2023-04-23)

Fix

  • typo in hook

Refactor

  • set default_install_hook_types

v3.0.0 (2023-04-23)

BREAKING CHANGE

  • Plugins are now exposed as commitizen.plugin entrypoints
  • Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.

Feat

  • init: add new settings
  • add semver support through version provider new api (#686)
  • changelog: add merge_prereleases flag
  • providers: add a scm version provider
  • providers: add support for some JSON-based version providers (NPM, Composer)
  • providers: add support for some TOML-based versions (PEP621, Poetry, Cargo)
  • providers: add a commitizen.provider endpoint for alternative versions providers
  • plugins: Switch to an importlib.metadata.EntryPoint-based plugin loading

Fix

  • init: welcome message
  • small corrections and clean up
  • major version zero message
  • update dependencies
  • commands/changelog: use topological order for commit ordering
  • excepthook: ensure traceback can only be a TracebackType or None

v2.42.1 (2023-02-25)

Fix

  • bump: fixed environment variables in bump hooks

v2.42.0 (2023-02-11)

Feat

  • bump: support prereleases with start offset

v2.41.0 (2023-02-08)

Feat

  • bump: added support for running arbitrary hooks during bump

v2.40.0 (2023-01-23)

Feat

  • yaml_config: add explicit_start for yaml output

v2.39.1 (2022-12-31)

Fix

  • filter git diff from commit message

v2.39.0 (2022-12-31)

Feat

  • init: allow user to select which type of pre commit hooks to install

Fix

  • init: space between --hook-type options
  • init: report error when hook installation failed

Refactor

  • init: _install_pre_commit_hook raise error when failed

v2.38.0 (2022-12-12)

Feat

  • poetry: relax packaging version

v2.37.1 (2022-11-30)

Fix

  • changelog: allow rev range lookups without a tag format

v2.37.0 (2022-10-28)

Feat

  • add major-version-zero option to support initial package development

v2.36.0 (2022-10-28)

Feat

  • scripts: remove venv/bin/
  • scripts: add error message to test

Fix

  • scripts/test: MinGW64 workaround
  • scripts/test: use double-quotes
  • scripts: pydocstyle and cz
  • bump.py: use sys.stdin.isatty()
  • scripts: use cross-platform POSIX
  • scripts: use portable shebang
  • pythonpackage.yml: undo indent reformatting
  • pythonpackage.yml: use bash

v2.35.0 (2022-09-23)

Feat

  • allow fixup! and squash! in commit messages

v2.34.0 (2022-09-19)

Feat

  • bump: support optional manual version argument

Fix

  • bump: fix type hint
  • bump: fix typos

v2.33.1 (2022-09-16)

Fix

  • bump.py: CHANGELOG.md gets git added and commited correctly

v2.33.0 (2022-09-15)

Feat

  • add functionality for dev-releases

v2.32.7 (2022-09-14)

Fix

  • README.md: fix pre-commit install command

v2.32.6 (2022-09-14)

Fix

  • bump: log git commit stderr and stdout during bump

v2.32.5 (2022-09-10)

Fix

  • command_changelog: Fixed issue #561 cz bump could not find the latest version tag with custom tag_format

v2.32.4 (2022-09-08)

Refactor

  • bump: Remove a redundant join call

v2.32.3 (2022-09-07)

Fix

  • bump: Search for version number line by line

v2.32.2 (2022...

Read more