Releases: commitizen-tools/commitizen
Releases · commitizen-tools/commitizen
v3.18.4
v3.18.3
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 modifychange_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 tochangelog
frombump
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 acommitizen.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
orNone
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...
v3.18.2
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 modifychange_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
Fix
- filename: ensure
file_name
can be passed tochangelog
frombump
command
v3.11.0 (2023-10-17)
Feat
- cli.py: Added support for extra git CLI args after -- separator for
cz commit
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 acommitizen.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
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
orNone
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 committed 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-08-22)
Fix
- bump: Support regexes containing colons
v2.32.1 (2022-08-21)
Fix
- git: Improves error checking in get_tags
- git: improves git error checking in get_commits
Refactor
- git: test the git log parser behaves properly when the repository has no commits
- changelog: fixes logic issue made evident by latest fix(git) commit
v2.32.0 (2022-08-21)
Feat
- pre-commit: Add commitizen-branch hook
v2.31.0 (2022-08-14)
Fix
- pyproject.toml: remove test added configurations
- changelog: use defaults.change_type_order in conventional comm...
v3.18.1
v3.18.0
v3.17.2
v3.17.1
v3.17.0
v3.16.0
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
[master f75eddc] bump: version 3.15.0 → 3.16.0
4 files changed, 16 insertions(+), 4 deletions(-)