Skip to content

Release v3 #715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 50 commits into from
Apr 23, 2023
Merged

Release v3 #715

merged 50 commits into from
Apr 23, 2023

Conversation

woile
Copy link
Member

@woile woile commented Apr 23, 2023

Description

This PR is to merge all the new features into commitizen in order to release v3.

Everything was already tested and approved so it should be good to go.

noirbizarre and others added 30 commits April 23, 2023 07:28
Fixes #607

BREAKING CHANGE: Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.
…n loading

Plugins are now loaded using the `commitizen.plugin` entrypoint
while legacy plugin are not loaded anymore but a warning is raised when one is seen.

Fixes #495

BREAKING CHANGE: Plugins are now exposed as `commitizen.plugin` entrypoints
Reads version from the repository last tag matching `tag_format`

Fixes #641
Topological ordering should be used when ordering commits in changelog history.
This allows commits to be shown properly in the order they were added to the codebase,
even if non-linear merges were used
Running tests concurrently can cause temporary files, such as the file
used to backup the commit message, to be deleted by one test but
accessed by another test later on.
* feat(bump): version_provider=semver optional option to make version compatible with semver

Signed-off-by: apkawa <apkawa@gmail.com>

* refactor(bump): version_provider rename to version_type; `pep` option rename to `pep440`

Signed-off-by: apkawa <apkawa@gmail.com>

* docs(bump): add `version_type` info to config.md

Signed-off-by: apkawa <apkawa@gmail.com>

* refactor(bump): to use VersionProtocol interface instead packaging.Version subclass

Signed-off-by: apkawa <apkawa@gmail.com>

* test(bump): `VersionProtocol` workaround mypy for py==3.7

Signed-off-by: apkawa <apkawa@gmail.com>

* fix(changelog): `changelog` command does not find version tag with `version_type=semver` option

Signed-off-by: apkawa <apkawa@gmail.com>

* refactor: minor review fixes

* test(changelog): fix test_changelog_incremental_with_merge_prerelease issue with freeze_time

Signed-off-by: apkawa <apkawa@gmail.com>

---------

Signed-off-by: apkawa <apkawa@gmail.com>
for old git like git-2.30 the tests broke my ~/.gitconfig file and created thousands of `name=GitHub` lines

Signed-off-by: apkawa <apkawa@gmail.com>
@codecov
Copy link

codecov bot commented Apr 23, 2023

Codecov Report

Patch coverage: 92.35% and project coverage change: -0.65 ⚠️

Comparison is base (f81f749) 98.02% compared to head (1a1e73b) 97.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #715      +/-   ##
==========================================
- Coverage   98.02%   97.37%   -0.65%     
==========================================
  Files          40       42       +2     
  Lines        1723     2022     +299     
==========================================
+ Hits         1689     1969     +280     
- Misses         34       53      +19     
Flag Coverage Δ
unittests 97.37% <92.35%> (-0.65%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
commitizen/cli.py 94.11% <80.00%> (+0.17%) ⬆️
commitizen/commands/init.py 87.43% <83.33%> (-0.50%) ⬇️
commitizen/version_types.py 90.74% <90.74%> (ø)
commitizen/providers.py 97.29% <97.29%> (ø)
commitizen/bump.py 100.00% <100.00%> (ø)
commitizen/changelog.py 99.49% <100.00%> (+0.06%) ⬆️
commitizen/commands/bump.py 98.14% <100.00%> (+0.67%) ⬆️
commitizen/commands/changelog.py 98.91% <100.00%> (+0.04%) ⬆️
commitizen/commands/version.py 100.00% <100.00%> (ø)
commitizen/cz/__init__.py 100.00% <100.00%> (ø)
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@woile woile merged commit 4013f8a into master Apr 23, 2023
@woile woile deleted the v3 branch April 23, 2023 07:21
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.

7 participants