Debian Codegraph @

docs/features_wont_add.md

raw
1 # Feature request graveyard
2
3 This page contains features and designs that have been proposed or considered but won't be implemented in Commitizen.
4
5 For a comprehensive list, please refer to our [issue tracker](https://github.com/commitizen-tools/commitizen/issues?q=is:issue%20state:closed%20label:%22issue-status:%20wont-fix%22%20OR%20label:%22issue-status:%20wont-implement%22).
6
7 ## Enable multiple locations of config file `.cz.*` [#955](https://github.com/commitizen-tools/commitizen/issues/955)
8
9 <!-- TODO: Add more details about why we won't add this feature -->
10
11 ## Create a flag to build the changelog from commits in multiple git repositories [#790](https://github.com/commitizen-tools/commitizen/issues/790)
12
13 <!-- TODO: Add more details about why we won't add this feature -->
14
15 ## Global Configuration [#597](https://github.com/commitizen-tools/commitizen/issues/597)
16
17 <!-- TODO: Add more details about why we won't add this feature -->
18
19 ## Why are `revert` and `chore` valid types in the check pattern of `cz_conventional_commits` but not types we can select?
20
21 `revert` and `chore` are added to the `pattern` in `cz check` in order to prevent backward errors, but officially they are not part of conventional commits, we are using the latest [types from Angular](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type) (they used to but were removed).
22 However, you can create a customized `cz` with those extra types. (See [Customization](customization/config_file.md)).
23
24 See more discussion in
25
26 - [issue #142](https://github.com/commitizen-tools/commitizen/issues/142)
27 - [issue #36](https://github.com/commitizen-tools/commitizen/issues/36)
28
29
30 ## Why does Commitizen not support CalVer?
31
32 `commitizen` could support CalVer alongside SemVer, but in practice implementing CalVer
33 creates numerous edge cases that are difficult to maintain ([#385]) and more generally,
34 mixing the two version schemes may not be a good idea. If CalVer or other custom
35 versioning scheme is needed, `commitizen` could still be used to standardize commits
36 and create changelogs, but a separate package should be used for version increments.
37
38 Mixing CalVer and SemVer is generally not recommended because each versioning scheme
39 serves a different purpose. Diverging from either specification can be confusing to
40 users and cause errors with third-party tools that don't expect the non-standard format.
41
42 In the future, `commitizen` may support some implementation of CalVer, but at the time
43 of writing, there are no plans to implement the feature ([#173]).
44
45 If you would like to learn more about both schemes, there are plenty of good resources:
46
47 - [Announcing CalVer](https://sedimental.org/calver.html)
48 - [API Versioning from Stripe](https://stripe.com/blog/api-versioning)
49 - [Discussion about pip's use of CalVer](https://github.com/pypa/pip/issues/5645#issuecomment-407192448)
50 - [Git Version Numbering](https://code.erpenbeck.io/git/2021/12/16/git-version-numbering/)
51 - [SemVer vs. CalVer and Why I Use Both](https://mikestaszel.com/post/semver-vs-calver-and-why-i-use-both/) (but not at the same time)
52 - [Semver Will Not Save You](https://hynek.me/articles/semver-will-not-save-you/)
53 - [Why I Don't Like SemVer](https://snarky.ca/why-i-dont-like-semver/)
54
55 [#173]: https://github.com/commitizen-tools/commitizen/issues/173
56 [#385]: https://github.com/commitizen-tools/commitizen/pull/385
57
58
59 ## Why don't we use [Pydantic](https://docs.pydantic.dev/)?
60
61 While Pydantic is a powerful and popular library for data validation, we intentionally avoid using it in this project to keep our dependency tree minimal and maintainable.
62
63 Including Pydantic would increase the chances of version conflicts for users - especially with major changes introduced in Pydantic v3. Because we pin dependencies tightly, adding Pydantic could unintentionally restrict what other tools or libraries users can install alongside `commitizen`.
64
65 Moreover we don't rely on the full feature set of Pydantic. Simpler alternatives like Python's built-in `TypedDict` offer sufficient type safety for our use cases, without the runtime overhead or dependency burden.
66
67 In short, avoiding Pydantic helps us:
68
69 - Keep dependencies lightweight
70 - Reduce compatibility issues for users
71 - Maintain clarity about what contributors should and shouldn't use