Debian Codegraph @

CHANGELOG.md

raw
1 ## v4.18.1 (2026-09-13)
2
3 ### Fix
4
5 - preserve blank lines with body length limit (#2080)
6
7 ## v4.18.0 (2026-08-19)
8
9 ### Feat
10
11 - **commit**: add a tag(--body-length-limit) and a function for command commit (#1849)
12
13 ## v4.17.1 (2026-08-17)
14
15 ### Fix
16
17 - **init**: skip hook question when no installer is present
18 - **init**: use prek when installing hooks if pre-commit is missing
19
20 ## v4.17.0 (2026-07-29)
21
22 ### Feat
23
24 - **cmd/version**: add support for `--next USE_GIT_COMMITS`
25
26 ### Fix
27
28 - robuster agents
29 - **version**: remove next from exclusive group
30 - **bump**: use correct type for calling changelog
31
32 ## v4.16.5 (2026-07-16)
33
34 ### Fix
35
36 - exclude star-history API from lychee link checker (#2029)
37
38 ## v4.16.4 (2026-06-22)
39
40 ### Fix
41
42 - **providers/cargo**: don't crash on workspace member with fixed version
43
44 ## v4.16.3 (2026-05-30)
45
46 ### Fix
47
48 - **check**: expand env vars in --rev-range (#2005)
49
50 ## v4.16.2 (2026-05-15)
51
52 ### Fix
53
54 - **tags**: widen prerelease and devrelease tag regexes for SemVer2 (#1972)
55
56 ## v4.16.1 (2026-05-15)
57
58 ### Fix
59
60 - **cz_customize**: derive bump_map_major_version_zero from bump_map (#1977)
61
62 ## v4.16.0 (2026-05-12)
63
64 ### Feat
65
66 - **hooks**: support interactive hooks scripts
67
68 ## v4.15.1 (2026-05-06)
69
70 ### Fix
71
72 - **security**: prevent command injection via shell=True (CWE-78) (#1941)
73
74 ## v4.15.0 (2026-05-03)
75
76 ### Feat
77
78 - **version**: add MANUAL_VERSION, --next and --patch to version command (#1724)
79
80 ## v4.14.0 (2026-05-03)
81
82 ### Feat
83
84 - add `--allow-no-commit` to `changelog` command (#1868)
85
86 ## v4.13.10 (2026-04-11)
87
88 ### Fix
89
90 - **ci**: use commitizen bot to push tags and commits
91 - **init**: set semver2 as default if not python
92 - change deprecated value and bump versions
93
94 ## v4.13.9 (2026-02-25)
95
96 ### Fix
97
98 - avoid raising an exception when a change_type is not defined (#1879)
99
100 ## v4.13.8 (2026-02-18)
101
102 ### Fix
103
104 - **config**: fix contains_commitizen_section failing for completely empty files
105
106 ## v4.13.7 (2026-02-09)
107
108 ### Fix
109
110 - **provider**: use encoding settings in config (#1857)
111
112 ## v4.13.6 (2026-02-07)
113
114 ### Fix
115
116 - **bump**: preserve existing changelog header when `changelog_merge_prerelease` is used with `cz bump --changelog` (#1850)
117
118 ## v4.13.5 (2026-02-05)
119
120 ### Fix
121
122 - **changelog**: add incremental parameter to changelog generation (#1808)
123
124 ## v4.13.4 (2026-02-04)
125
126 ### Fix
127
128 - **pre-commit-hooks**: correct rev-range syntax in commitizen-branch (#1841)
129
130 ## v4.13.3 (2026-02-04)
131
132 ### Refactor
133
134 - **version_schemes**: shorten generate_prerelease (#1838)
135
136 ## v4.13.2 (2026-02-03)
137
138 ### Refactor
139
140 - simplify code with pathlib Path object (#1840)
141 - **tags**: extract version resolution method (#1839)
142
143 ## v4.13.1 (2026-02-03)
144
145 ### Refactor
146
147 - **config**: replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm (#1842)
148
149 ## v4.13.0 (2026-02-01)
150
151 ### Feat
152
153 - **bump**: add --version-files-only and deprecate --files-only (#1802)
154 - **version**: add --tag tag to version command (#1819)
155 - **cli**: add description when choosing a commit rule (#1825)
156 - **tags**: enable version schemes with less than 3 components (#1705)
157
158 ### Fix
159
160 - **config**: include pyproject.toml in multi config file warning (#1803)
161 - add pytest ruff rule PT and fix missing deprecation warning (#1826)
162 - **message_length_limit**: align the behavior of message_length_limit (#1813)
163 - **cli**: capitalize the first characters of help texts and fix minor grammar errors
164
165 ### Refactor
166
167 - replace hard-coded string "cz_conventional_commits" with DEFAULT_SETTINGS (#1830)
168 - **bump**: fix unbounded variable type issue
169
170 ## v4.12.1 (2026-01-22)
171
172 ### Fix
173
174 - **pre-commit-hooks**: remove magic constants on pre-push hook (#1815)
175
176 ## v4.12.0 (2026-01-19)
177
178 ### Feat
179
180 - **prek**: supporting prek as an alternative to pre-commit and switching to prek (#1799)
181
182 ## v4.11.6 (2026-01-15)
183
184 ### Fix
185
186 - **git**: commit bodies with carriage returns are correctly split by … (#1780)
187
188 ## v4.11.5 (2026-01-15)
189
190 ### Fix
191
192 - **config**: ensure the actually used config file is correct, better test coverage (#1784)
193
194 ## v4.11.4 (2026-01-15)
195
196 ### Fix
197
198 - **cli**: move sys.excepthook override to correct line, rename 'type' parameter, fix no argv test (#1791)
199
200 ## v4.11.3 (2026-01-13)
201
202 ### Fix
203
204 - **bump**: fix the issue that changelog_merge_prerelease not working on cz bump
205
206 ## v4.11.2 (2026-01-12)
207
208 ### Fix
209
210 - **config**: add warning for multiple configuration files and update documentation (#1773)
211
212 ## v4.11.1 (2026-01-03)
213
214 ### Fix
215
216 - **providers**: normalize package names in uv provider for uv.lock matching
217
218 ## v4.11.0 (2025-12-29)
219
220 ### Feat
221
222 - Drop support for Python 3.9 as EOL reached and add Python 3.14 support
223 - add custom validation
224
225 ## v4.10.1 (2025-12-11)
226
227 ### Fix
228
229 - **version**: fix the behavior of cz version --major
230 - **cli**: debug and no_raise can be used together in sys.excepthook
231 - **git**: replace lstrip with strip for compatibility issue
232 - **bump**: remove NotAllowed related to --get-next option, other related refactoring
233
234 ### Refactor
235
236 - **version**: rename class member to align with other classes
237 - **cargo_provider**: cleanup and get rid of potential type errors
238 - **bump**: extract option validation and new version resolution to new functions
239 - **changelog**: raise NotAllow when file_name not passed instead of using assert
240 - **bump**: rename parameter and variables
241
242 ### Perf
243
244 - **ruff**: enable ruff rules TC001~TC006
245 - add TYPE_CHECKING to CzQuestion imports
246
247 ## v4.10.0 (2025-11-10)
248
249 ### Feat
250
251 - add config option for line length warning
252 - **conventional_commits**: allow exclamation in title on BC
253 - **version**: add the ability to just print major or minor version
254 - allow `amend!` prefix as created by `git --fixup=reword:<commit>`
255
256 ### Fix
257
258 - **commands/version**: add missing return
259 - **test**: set terminal width for cli tests
260 - **Init**: raise InitFailedError on keyboard interrupt on pre-commit hook question, simplify logic, remove unreachable code path
261
262 ### Refactor
263
264 - **bump**: cleanup related to update_version_file
265 - **RestructuredTest**: rename variable, fix typo and remove unnecessary string copy
266 - **TomlConfig**: minor cleanups for DX
267 - **Commit**: refactor _prompt_commit_questions and fix some type hint
268 - **hooks**: refactor to improve readability
269 - **Init**: make project_info a module and remove self.project_info
270 - **BaseConfig**: update docstring, extract factory method and remove unnecessary variable assignment
271 - remove self.encoding for better maintainability
272 - **utils**: make get_backup_file_path to return a path for semantic correctness
273 - remove unnecessary class member tag_format
274 - **Bump**: remove use of getattr
275 - **ConventionalCommitsCz**: rewrite message method to make the pattern more clear
276 - **cmd**: unnest try except
277 - **BaseCommitizen**: remove NotImplementedError and make them abstract method
278 - **BaseCommitizen**: construct Style object directly to get rid of potential type error
279
280 ## v4.9.1 (2025-09-10)
281
282 ### Fix
283
284 - **dependency**: move deprecated to project.dependencies
285
286 ## v4.9.0 (2025-09-09)
287
288 ### Feat
289
290 - **check**: add check against default branch
291
292 ### Fix
293
294 - **changelog**: mark get_smart_tag_range as deprecated
295 - **init**: use pre-push as pre-commit stage
296 - **init**: use pre-push as pre-commit stage
297 - **init**: make welcome message easier to read
298 - **Init**: fix a typo in _ask_version_provider options and remove unnecessary filter, use named tuple for options
299 - **ExitCode**: add from_str in ExitCode and replace parse_no_raise with it
300 - raise NoVersionSpecifiedError if version is None, and adjust call sites of get_version
301 - **Changelog**: fix _export_template variable type
302 - **Bump**: rewrite --get-next NotAllowed error message for consistency
303
304 ### Refactor
305
306 - **changelog**: add get_next_tag_name_after_version and test, mark unused for get_smart_tag_range
307 - **changelog**: simplify logic for get_oldest_and_newest_rev
308 - **changelog**: shorten generate_tree_from_commits
309 - **Init**: remove the variable values_to_add and the update_config function for readability
310 - **Init**: remove unnecessary methods from ProjectInfo and refactor _ask_tag
311 - **Init**: fix unbounded variable in _ask_tag_format
312 - **init**: remote extra words
313 - **process_commit_message**: better type and early return
314 - **Init**: extract _get_config_data for readability
315 - **changelog**: shorten condition expression and early return
316 - **Changelog**: remove unnecessary intermediate variables for better readability
317 - **bump**: use a loop to shorten a series of similar NotAllowed exceptions
318 - **Init**: use ternary operator
319 - **TagRules**: extract tag_formats property and simplify list comprehension
320 - **git**: remove redundant if branch
321 - **ScmProvider**: replace sorted with max
322 - **ExpectedExit**: make the constructor more compact
323 - **ParseArgs**: simplify __call__ function body
324
325 ## v4.8.4 (2025-09-05)
326
327 ### Fix
328
329 - members in workspace, use exclude
330 - cargo workspaces
331
332 ### Refactor
333
334 - reduce code indentation
335
336 ## v4.8.3 (2025-06-09)
337
338 ### Fix
339
340 - **cli**: update description for deprecate warning
341 - **commit**: emit deprecated warning of cz commit -s
342 - **Check**: make parameters backward compatible
343 - **BaseConfig**: mypy error
344 - **deprecated**: mark deprecate in v5
345 - **defaults**: add non-capitalized default constants back and deprecated warning
346
347 ### Refactor
348
349 - **jira**: refactor message
350 - **conventional_commits**: use TypedDict for answers
351 - **conventional_commits**: make schema_pattern more readable
352 - do not guess if changelog format is provided
353 - **check**: compile once and rename variable
354 - **questions**: type questions with TypedDict
355 - **bump**: simplify nested if
356 - **git**: retype get_commits parameter to make it more friendly to call sites
357 - **git**: simplify tag logic
358 - **bump**: eliminate similar patterns in code
359 - **bump**: use any to replace 'or' chain
360 - remove unnecessary bool() and remove Any type from TypedDict get
361 - **bump**: improve readability and still bypass mypy check
362 - **commands**: remove unused args, type version command args
363 - **commit**: type commit args
364 - **check**: type CheckArgs arguments
365 - **check**: remove unused argument
366 - **changelog**: type untyped arguments
367 - **bump**: TypedDict for bump argument
368 - make methods protected, better type
369 - **conventional_commits**: remove unnecessary checks
370 - fix mypy output and better type
371 - **BaseCommitizen**: remove unused process_commit
372 - remove `TypeError` handling since `Python >=3.9` is required
373 - add comment clarifying `no_raise` parsing to `list[int]`
374 - **cli.py**: add type hints
375 - **mypy**: remove `unused-ignore`
376 - **changelog**: better typing, yield
377 - **cli**: early return and improve test coverage
378 - **git**: extract _create_commit_cmd_string
379 - misc cleanup
380 - **bump**: clean up
381 - **bump**: add type for out, replace function with re escape
382 - **BaseConfig**: use setter
383 - **changelog**: minor cleanup
384 - **git**: refactor get_tag_names
385 - **EOLType**: add eol enum back and reorganize methods
386 - **git**: code cleanup and better test coverage
387 - **commit**: simplify call
388 - **version_scheme**: cleanup
389 - improve readability and fix typos
390
391 ### Perf
392
393 - **bump**: avoid unnecessary list construction and rename variable to avoid confusion
394 - **tags**: use set
395
396 ## v4.8.2 (2025-05-22)
397
398 ### Refactor
399
400 - **check**: simplify code
401 - **check**: remove unnecessary variable
402
403 ## v4.8.1 (2025-05-22)
404
405 ### Refactor
406
407 - **customize**: improve code readability
408
409 ## v4.8.0 (2025-05-20)
410
411 ### Feat
412
413 - **cli**: add --tag-format argument to changelog command
414
415 ## v4.7.2 (2025-05-18)
416
417 ### Refactor
418
419 - **default**: capitalize all constants and remove unnecessary variable
420
421 ## v4.7.1 (2025-05-16)
422
423 ### Fix
424
425 - **bump**: don't fail if an invalid version tag is present (fix #1410) (#1418)
426
427 ## v4.7.0 (2025-05-10)
428
429 ### Feat
430
431 - **providers**: add support for `Cargo.lock`
432
433 ### Refactor
434
435 - **tests**: increase verbosity of variables
436
437 ## v4.6.3 (2025-05-07)
438
439 ### Fix
440
441 - **changelog.py**: cross-platform path handling using os.path.join and modify the path linter and test parameter
442 - **changelog.py**: modify the CHANGELOG.md generated by cz bump --changelog to the right place
443
444 ## v4.6.2 (2025-05-05)
445
446 ### Fix
447
448 - **docs**: fix url link and table formatting in the customization docs (#1399)
449
450 ## v4.6.1 (2025-05-05)
451
452 ### Fix
453
454 - **commit**: use os.unlink to remove temp file
455
456 ## v4.6.0 (2025-04-13)
457
458 ### Feat
459
460 - **changelog**: expose commit parents' digests when processing commits
461 - **git**: add parents' digests in commit information
462
463 ## v4.5.1 (2025-04-09)
464
465 ### Fix
466
467 - print which tag is invalid
468
469 ## v4.5.0 (2025-04-04)
470
471 ### Feat
472
473 - **init**: set uv to default value if both pyproject.toml and uv.lock present
474
475 ### Fix
476
477 - **commands/init**: add missing uv provider to "cz init"
478
479 ## v4.4.1 (2025-03-02)
480
481 ### Fix
482
483 - **tags**: fixes ImportError on Python >=3.11 (#1363) (#1364)
484
485 ## v4.4.0 (2025-03-02)
486
487 ### Feat
488
489 - **tags**: adds `legacy_tag_formats` and `ignored_tag_formats` settings
490
491 ### Refactor
492
493 - **get_tag_regexes**: dedup tag regexes definition
494
495 ## v4.3.0 (2025-02-28)
496
497 ### Feat
498
499 - **providers**: add uv_provider
500
501 ## v4.2.2 (2025-02-18)
502
503 ### Fix
504
505 - **bump**: manual version bump if prerelease offset is configured
506
507 ## v4.2.1 (2025-02-08)
508
509 ### Fix
510
511 - **bump**: add debugging to bump
512
513 ## v4.2.0 (2025-02-07)
514
515 ### Feat
516
517 - draft of the --empty parameter
518
519 ### Refactor
520
521 - **bump**: rename --empty as --allow-no-commit
522
523 ## v4.1.1 (2025-01-26)
524
525 ### Fix
526
527 - **get-next-bump**: add a test case
528 - **get-next-bump**: fix to permit usage of --get-next options even when update_changelog_on_bump is set to true
529
530 ## v4.1.0 (2024-12-06)
531
532 ### Feat
533
534 - **commit**: allow '-- --allow-empty' to create empty commits
535
536 ## v4.0.0 (2024-11-26)
537
538 ## v3.31.0 (2024-11-16)
539
540 ### Feat
541
542 - **commitizen**: document '--' double dash in '--help'
543
544 ### Fix
545
546 - **commit**: avoid warnings with 'always_signoff' configuration
547 - **commit**: resolve 'always_signoff' configuration and '-s' CLI issues
548
549 ## v3.30.1 (2024-11-10)
550
551 ### Refactor
552
553 - **cli**: replace magic number 0 with ExitCode.EXPECTED_EXIT
554 - **defaults**: disallow style as None
555 - **cz_customize**: return empty string for info, example, schema and schema_pattern if not provided
556
557 ## v3.30.0 (2024-10-23)
558
559 ### Feat
560
561 - **commands/commit**: add force-edit functionality after answering questions
562
563 ### Refactor
564
565 - remove redundant return None
566
567 ## v3.29.1 (2024-09-26)
568
569 ### Fix
570
571 - **changelog**: Factorized TAG_FORMAT_REGEXES
572 - **changelog**: Handle tag format without version pattern
573 - **changelog**: handle custom tag_format in changelog generation
574
575 ### Refactor
576
577 - Use format strings
578
579 ## v3.29.0 (2024-08-11)
580
581 ### Feat
582
583 - **bump**: add functionality to write the next version to stdout
584
585 ## v3.28.0 (2024-07-17)
586
587 ### Feat
588
589 - add argument to limit length of commit message in checks
590
591 ## v3.27.0 (2024-05-22)
592
593 ### Feat
594
595 - **config_files**: add support for "cz.toml" config file
596
597 ## v3.26.2 (2024-05-22)
598
599 ### Fix
600
601 - **base.py**: add encoding when open changlelog_file
602
603 ## v3.26.1 (2024-05-22)
604
605 ### Fix
606
607 - **cli/commands**: add description for subcommands
608
609 ### Refactor
610
611 - **KNOWN_SCHEMES**: replace set comprehension for list comprehension
612 - **tests/commands**: move "other" tests for the correspondent file
613
614 ## v3.26.0 (2024-05-18)
615
616 ### Feat
617
618 - **ci/cd**: automates the generation of CLI screenshots
619
620 ## v3.25.1 (2024-05-15)
621
622 ### Refactor
623
624 - strip possessive from note about ci option
625
626 ## v3.25.0 (2024-04-30)
627
628 ### Feat
629
630 - add an argument to limit the length of commit message
631
632 ### Fix
633
634 - strip the commit message for calculating length
635 - resolve test error by removing defaults
636
637 ### Refactor
638
639 - **commands/commit**: replace comparison with chained comparison
640 - check the length in Commit instead of Commitizen
641
642 ## v3.24.0 (2024-04-18)
643
644 ### Feat
645
646 - **schemes**: adds support for SemVer 2.0 (dot in pre-releases) (fix #1025) (#1072)
647
648 ## v3.23.0 (2024-04-18)
649
650 ### Feat
651
652 - **bump**: `version_files` now support glob patterns (fix #1067) (#1070)
653
654 ## v3.22.0 (2024-04-11)
655
656 ### Feat
657
658 - **cli**: add config option to specify config file path
659
660 ## v3.21.3 (2024-03-30)
661
662 ### Refactor
663
664 - **defaults**: move cz_conventional_commit defaults out of defaults.py
665
666 ## v3.21.2 (2024-03-30)
667
668 ### Fix
669
670 - **commitizen/git.py,-tests/test_git.py**: Resolve tempfile path spaces issue in git commit function
671
672 ## v3.21.1 (2024-03-30)
673
674 ### Fix
675
676 - **command-init**: "cz init" should list existing tag in reverse order
677
678 ## v3.21.0 (2024-03-30)
679
680 ### Feat
681
682 - **commit**: add retry_after_failure config option and --no-retry flag
683
684 ### Refactor
685
686 - **utils**: convert git project root to posix path for backup file name
687 - **commit**: use Optional[str] instead of str | None
688 - **commit**: remove unused tempfile import
689 - **git-hooks**: make git hooks use get_backup_file_path
690 - **utils**: move backup path creation to utils
691
692 ## v3.20.0 (2024-03-19)
693
694 ### Feat
695
696 - **changelog**: expose commits `sha1`, `author` and `author_email` in changelog tree (fix #987) (#1013)
697
698 ## v3.19.0 (2024-03-19)
699
700 ### Feat
701
702 - **changelog**: adds a `changelog_release_hook` called for each release in the changelog (#1018)
703
704 ## v3.18.4 (2024-03-14)
705
706 ### Fix
707
708 - **changelog**: include latest change when dry run and incremental
709
710 ## v3.18.3 (2024-03-11)
711
712 ### Fix
713
714 - **warnings**: all warnings should go to `stdout`
715
716 ## v3.18.2 (2024-03-11)
717
718 ### Fix
719
720 - **git**: force the default git locale on methods relying on parsing the output (#1012)
721
722 ## v3.18.1 (2024-03-11)
723
724 ### Fix
725
726 - **changelog**: changelog hook was not called on dry run
727
728 ## v3.18.0 (2024-03-07)
729
730 ### Feat
731
732 - **changelog**: `changelog_message_build_hook` can now generate multiple changelog entries from a single commit (#1003)
733
734 ## v3.17.2 (2024-03-07)
735
736 ### Fix
737
738 - **changelog**: ensure `changelog_message_builder_hook` can access and modify `change_type` (#1002)
739
740 ## v3.17.1 (2024-03-07)
741
742 ### Fix
743
744 - **bump**: pre and post bump hooks were failing when an increment was provided (fix #1004)
745
746 ## v3.17.0 (2024-03-06)
747
748 ### Feat
749
750 - **changelog**: `changelog_message_build_hook` can remove message by returning a falsy value
751
752 ## v3.16.0 (2024-02-26)
753
754 ### Feat
755
756 - **commands**: add bump --exact
757
758 ### Fix
759
760 - **bump**: change --exact-increment to --increment-mode
761 - **bump**: only get and validate commits if increment is not provided
762 - Improve type annotations
763
764 ## v3.15.0 (2024-02-17)
765
766 ### Feat
767
768 - **bump**: functionality to add build-metadata to version string
769
770 ## v3.14.1 (2024-02-04)
771
772 ### Fix
773
774 - **bump**: remove unused method
775 - **scm**: only search tags that are reachable by the current commit
776
777 ## v3.14.0 (2024-02-01)
778
779 ### Feat
780
781 - properly bump versions between prereleases (#799)
782
783 ## v3.13.0 (2023-12-03)
784
785 ### Feat
786
787 - **commands-bump**: automatically create annotated tag if message is given
788 - add tag message argument to cli
789 - **git**: add get tag message function
790 - add custom message to annotated git tag
791
792 ### Fix
793
794 - **test-bump-command**: typo in --annotated-tag option inside test
795 - **commitizen-git**: add quotes for tag message
796
797 ### Refactor
798
799 - **commands-bump**: make changelog variable in 1 line
800 - **commands-bump**: cast str to bool
801
802 ## v3.12.0 (2023-10-18)
803
804 ### Feat
805
806 - **formats**: expose some new customizable changelog formats on the `commitizen.changelog_format` endpoint (Textile, AsciiDoc and RestructuredText)
807 - **template**: add `changelog --export-template` command
808 - **template**: allow to override the template from cli, configuration and plugins
809 - **cli.py**: Added support for extra git CLI args after -- separator for `cz commit` command
810
811 ### Fix
812
813 - **filename**: ensure `file_name` can be passed to `changelog` from `bump` command
814
815 ### Refactor
816
817 - **git.py**: Removed 'extra_args' from git.commit
818 - **extra_args**: Fixed broken code due to rebase and finalized tests
819 - Code Review - round 1 changes
820 - **Commit**: Added deprecation on git signoff mechanic
821
822 ## v3.10.1 (2023-10-14)
823
824 ### Fix
825
826 - **bump**: add bump support with custom type + scope + exclamation mark
827 - **bump**: version bumping
828
829 ## v3.10.0 (2023-09-25)
830
831 ### Feat
832
833 - Drop support for Python 3.7 (#858)
834
835 ## v3.9.1 (2023-09-22)
836
837 ### Fix
838
839 - **conf**: handle parse error when init (#856)
840
841 ## v3.9.0 (2023-09-15)
842
843 ### Feat
844
845 - **commands**: add arg of cz commit to execute git add
846
847 ### Fix
848
849 - **tests**: modify the arg of commit from add to all
850 - **commitizen**: Modify the function of the arg a of commit from git add all to git add update
851
852 ### Refactor
853
854 - **commitizen**: add return type hint of git add function
855
856 ## v3.8.2 (2023-09-09)
857
858 ### Refactor
859
860 - **provider**: split provider code and related tests into individual files for maintainability (#830)
861
862 ## v3.8.1 (2023-09-08)
863
864 ### Fix
865
866 - add sponsors to README
867
868 ## v3.8.0 (2023-09-05)
869
870 ### Feat
871
872 - **defaults.py**: add always_signoff config option for commits
873
874 ## v3.7.1 (2023-09-04)
875
876 ### Fix
877
878 - empty error on bump failure
879
880 ## v3.7.0 (2023-08-26)
881
882 ### Feat
883
884 - **provider**: add npm2 provider to update package.json, package-lock.json, and npm-shrinkwrap.json
885
886 ### Fix
887
888 - **provider**: fix npm version provider to update package-lock.json and npm-shrinkwrap.json if they exist
889 - **provider**: fix npm provider to update package-lock.json and npm-shrinkwrap.json if they exist
890 - **test**: pass correct type to get_package_version tests
891 - **tests**: completed test coverage for npm2
892
893 ## v3.6.0 (2023-08-01)
894
895 ### Feat
896
897 - **changelog.py**: add encoding to get_metadata
898 - **unicode**: add unicode support
899
900 ### Fix
901
902 - add missing `encoding` parameter
903 - **out.py**: `TextIOWrapper.reconfigure` typing
904 - correct type hinting
905 - use base config for encoding
906
907 ### Refactor
908
909 - **defaults.py**: use variables in `DEFAULT_SETTINGS`
910
911 ## v3.5.4 (2023-07-29)
912
913 ### Refactor
914
915 - replace SemVer type literals by respective constants
916
917 ## v3.5.3 (2023-07-15)
918
919 ### Fix
920
921 - Treat $version the same as unset tag_format in ScmProvider
922
923 ### Refactor
924
925 - Make tag_format properly default to $version
926
927 ## v3.5.2 (2023-06-25)
928
929 ### Fix
930
931 - **typing**: no_raise is declared as optional
932
933 ## v3.5.1 (2023-06-24)
934
935 ### Fix
936
937 - only use version tags when generating a changelog
938
939 ## v3.5.0 (2023-06-23)
940
941 ### Feat
942
943 - Add option in bump command to redirect git output to stderr
944
945 ## v3.4.1 (2023-06-23)
946
947 ### Fix
948
949 - **veresion_schemes**: import missing Self for python 3.11
950
951 ## v3.4.0 (2023-06-20)
952
953 ### Feat
954
955 - **version-schemes**: expose `version_schemes` as a `commitizen.scheme` endpoint.
956
957 ## v3.3.0 (2023-06-13)
958
959 ### Feat
960
961 - add support for cargo workspaces
962
963 ## v3.2.2 (2023-05-11)
964
965 ### Fix
966
967 - **init**: fix is_pre_commit_installed method
968
969 ## v3.2.1 (2023-05-03)
970
971 ### Fix
972
973 - add support for importlib_metadata 6
974
975 ## v3.2.0 (2023-05-01)
976
977 ### Feat
978
979 - **hooks**: add prepare-commit-msg and post-commit hooks
980 - **commit**: add --write-message-to-file option
981
982 ### Fix
983
984 - **bump**: better match for change_type when finding increment
985 - **changelog**: breaking change on additional types for conventional commits
986 - **bump**: breaking changes on additional types for conventional commits
987 - improve errors message when empty .cz.json found
988 - **init**: poetry detection
989 - bump decli which is type hinted
990
991 ### Refactor
992
993 - **commit**: change type of write_message_to_file to path
994
995 ## v3.1.1 (2023-04-28)
996
997 ### Fix
998
999 - bump changelog for prerelease without commits
1000
1001 ## v3.1.0 (2023-04-25)
1002
1003 ### Feat
1004
1005 - make `major_version_zero` customizable by third parties
1006
1007 ## v3.0.1 (2023-04-23)
1008
1009 ### Fix
1010
1011 - typo in hook
1012
1013 ### Refactor
1014
1015 - set default_install_hook_types
1016
1017 ## v3.0.0 (2023-04-23)
1018
1019 ### BREAKING CHANGE
1020
1021 - Plugins are now exposed as `commitizen.plugin` entrypoints
1022 - Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.
1023
1024 ### Feat
1025
1026 - **init**: add new settings
1027 - add semver support through version provider new api (#686)
1028 - **changelog**: add merge_prereleases flag
1029 - **providers**: add a `scm` version provider
1030 - **providers**: add support for some JSON-based version providers (NPM, Composer)
1031 - **providers**: add support for some TOML-based versions (PEP621, Poetry, Cargo)
1032 - **providers**: add a `commitizen.provider` endpoint for alternative versions providers
1033 - **plugins**: Switch to an importlib.metadata.EntryPoint-based plugin loading
1034
1035 ### Fix
1036
1037 - **init**: welcome message
1038 - small corrections and clean up
1039 - major version zero message
1040 - update dependencies
1041 - **commands/changelog**: use topological order for commit ordering
1042 - **excepthook**: ensure traceback can only be a `TracebackType` or `None`
1043
1044 ## v2.42.1 (2023-02-25)
1045
1046 ### Fix
1047
1048 - **bump**: fixed environment variables in bump hooks
1049
1050 ## v2.42.0 (2023-02-11)
1051
1052 ### Feat
1053
1054 - **bump**: support prereleases with start offset
1055
1056 ## v2.41.0 (2023-02-08)
1057
1058 ### Feat
1059
1060 - **bump**: added support for running arbitrary hooks during bump
1061
1062 ## v2.40.0 (2023-01-23)
1063
1064 ### Feat
1065
1066 - **yaml_config**: add explicit_start for yaml output
1067
1068 ## v2.39.1 (2022-12-31)
1069
1070 ### Fix
1071
1072 - filter git diff from commit message
1073
1074 ## v2.39.0 (2022-12-31)
1075
1076 ### Feat
1077
1078 - **init**: allow user to select which type of pre commit hooks to install
1079
1080 ### Fix
1081
1082 - **init**: space between `--hook-type` options
1083 - **init**: report error when hook installation failed
1084
1085 ### Refactor
1086
1087 - **init**: `_install_pre_commit_hook` raise error when failed
1088
1089 ## v2.38.0 (2022-12-12)
1090
1091 ### Feat
1092
1093 - **poetry**: relax packaging version
1094
1095 ## v2.37.1 (2022-11-30)
1096
1097 ### Fix
1098
1099 - **changelog**: allow rev range lookups without a tag format
1100
1101 ## v2.37.0 (2022-10-28)
1102
1103 ### Feat
1104
1105 - add major-version-zero option to support initial package development
1106
1107 ## v2.36.0 (2022-10-28)
1108
1109 ### Feat
1110
1111 - **scripts**: remove `venv/bin/`
1112 - **scripts**: add error message to `test`
1113
1114 ### Fix
1115
1116 - **scripts/test**: MinGW64 workaround
1117 - **scripts/test**: use double-quotes
1118 - **scripts**: pydocstyle and cz
1119 - **bump.py**: use `sys.stdin.isatty()`
1120 - **scripts**: use cross-platform POSIX
1121 - **scripts**: use portable shebang
1122 - **pythonpackage.yml**: undo indent reformatting
1123 - **pythonpackage.yml**: use `bash`
1124
1125 ## v2.35.0 (2022-09-23)
1126
1127 ### Feat
1128
1129 - allow fixup! and squash! in commit messages
1130
1131 ## v2.34.0 (2022-09-19)
1132
1133 ### Feat
1134
1135 - **bump**: support optional manual version argument
1136
1137 ### Fix
1138
1139 - **bump**: fix type hint
1140 - **bump**: fix typos
1141
1142 ## v2.33.1 (2022-09-16)
1143
1144 ### Fix
1145
1146 - **bump.py**: `CHANGELOG.md` gets git added and committed correctly
1147
1148 ## v2.33.0 (2022-09-15)
1149
1150 ### Feat
1151
1152 - add functionality for dev-releases
1153
1154 ## v2.32.7 (2022-09-14)
1155
1156 ### Fix
1157
1158 - **README.md**: fix pre-commit install command
1159
1160 ## v2.32.6 (2022-09-14)
1161
1162 ### Fix
1163
1164 - **bump**: log git commit stderr and stdout during bump
1165
1166 ## v2.32.5 (2022-09-10)
1167
1168 ### Fix
1169
1170 - **command_changelog**: Fixed issue #561 cz bump could not find the latest version tag with custom tag_format
1171
1172 ## v2.32.4 (2022-09-08)
1173
1174 ### Refactor
1175
1176 - **bump**: Remove a redundant join call
1177
1178 ## v2.32.3 (2022-09-07)
1179
1180 ### Fix
1181
1182 - **bump**: Search for version number line by line
1183
1184 ## v2.32.2 (2022-08-22)
1185
1186 ### Fix
1187
1188 - **bump**: Support regexes containing colons
1189
1190 ## v2.32.1 (2022-08-21)
1191
1192 ### Fix
1193
1194 - **git**: Improves error checking in get_tags
1195 - **git**: improves git error checking in get_commits
1196
1197 ### Refactor
1198
1199 - **git**: test the git log parser behaves properly when the repository has no commits
1200 - **changelog**: fixes logic issue made evident by latest fix(git) commit
1201
1202 ## v2.32.0 (2022-08-21)
1203
1204 ### Feat
1205
1206 - **pre-commit**: Add commitizen-branch hook
1207
1208 ## v2.31.0 (2022-08-14)
1209
1210 ### Feat
1211
1212 - new file
1213
1214 ### Fix
1215
1216 - **pyproject.toml**: remove test added configurations
1217 - **changelog**: use defaults.change_type_order in conventional commit
1218 - capitalize types in default change_type_order
1219
1220 ## v2.30.0 (2022-08-14)
1221
1222 ### Feat
1223
1224 - Determine newline to write with Git
1225
1226 ## v2.29.6 (2022-08-13)
1227
1228 ### Fix
1229
1230 - **cmd**: improve character encoding detection for sub-commands
1231
1232 ## v2.29.5 (2022-08-07)
1233
1234 ### Fix
1235
1236 - **git**: use "git tag -v" return_code to check whether a tag is signed
1237
1238 ## v2.29.4 (2022-08-05)
1239
1240 ### Refactor
1241
1242 - **tool**: use charset_normalizer instead of chardet
1243
1244 ## v2.29.3 (2022-08-02)
1245
1246 ### Refactor
1247
1248 - **changelog**: removes unused code. duplicates are found in changelog_parser
1249
1250 ## v2.29.2 (2022-07-27)
1251
1252 ### Fix
1253
1254 - **bump**: send changelog to stdout when `dry-run` is paired with `changelog-to-stdout`
1255
1256 ## v2.29.1 (2022-07-26)
1257
1258 ### Fix
1259
1260 - **Check**: process empty commit message
1261 - **ConventionalCommitsCz**: cz's schema validates the whole commit message now
1262
1263 ### Refactor
1264
1265 - **Check**: remove the extra preprocessing of commit message file
1266
1267 ## v2.29.0 (2022-07-22)
1268
1269 ### Feat
1270
1271 - use chardet to get correct encoding
1272 - **bump**: add signed tag support for bump command
1273
1274 ### Fix
1275
1276 - avoid that pytest overrides existing gpg config
1277 - **test**: set git to work with gpg
1278
1279 ## v2.28.1 (2022-07-22)
1280
1281 ### Fix
1282
1283 - **changelog**: skip non-compliant commit subjects when building changelog
1284
1285 ## v2.28.0 (2022-07-03)
1286
1287 ### Feat
1288
1289 - **bump**: make increment option case insensitive
1290
1291 ## v2.27.1 (2022-05-22)
1292
1293 ### Fix
1294
1295 - **pre-commit**: Use new --allow-abort option
1296 - **pre-commit**: Confine hook to commit-msg stage
1297 - **pre-commit**: Set min pre-commit to v1.4.3
1298 - **pre-commit**: Don't require serial execution
1299
1300 ## v2.27.0 (2022-05-16)
1301
1302 ### Feat
1303
1304 - **bump**: let it respect pre-commit reformats when bumping
1305
1306 ## v2.26.0 (2022-05-14)
1307
1308 ### Feat
1309
1310 - **check**: Add --allow-abort option
1311
1312 ## v2.25.0 (2022-05-10)
1313
1314 ### Feat
1315
1316 - **changelog**: Improve whitespace in changelog
1317
1318 ### Refactor
1319
1320 - **changelog**: Simplify incremental_build
1321
1322 ## v2.24.0 (2022-04-15)
1323
1324 ### Feat
1325
1326 - add --no-raise to avoid raising error codes
1327
1328 ### Fix
1329
1330 - change error code for NoneIncrementExit
1331
1332 ## v2.23.0 (2022-03-29)
1333
1334 ### Feat
1335
1336 - **customize.py**: adding support for commit_parser, changelog_pattern, change_type_map
1337
1338 ## v2.22.0 (2022-03-29)
1339
1340 ### Feat
1341
1342 - **changelog**: add support for single version and version range
1343
1344 ### Refactor
1345
1346 - speed up testing and wait for tags
1347 - **git**: use date as a function in GitTag to easily patch
1348
1349 ## v2.21.2 (2022-02-22)
1350
1351 ### Fix
1352
1353 - remove type ignore
1354
1355 ## v2.21.1 (2022-02-22)
1356
1357 ### Refactor
1358
1359 - Switch to issue forms
1360 - Switch to issue forms
1361 - Switch to issue forms
1362
1363 ## v2.21.0 (2022-02-17)
1364
1365 ### Feat
1366
1367 - skip merge messages that start with Pull request
1368
1369 ## v2.20.5 (2022-02-07)
1370
1371 ### Fix
1372
1373 - Ignore packages that are not plugins
1374
1375 ### Refactor
1376
1377 - iter_modules only accepts str
1378
1379 ## v2.20.4 (2022-01-17)
1380
1381 ### Fix
1382
1383 - **bump**: raise non zero error code when there's no eligible commit to bump
1384
1385 ## v2.20.3 (2021-12-20)
1386
1387 ### Fix
1388
1389 - **check**: filter out comment message when checking
1390
1391 ## v2.20.2 (2021-12-14)
1392
1393 ### Fix
1394
1395 - **poetry**: add typing-exteions to dev
1396
1397 ## v2.20.1 (2021-12-14)
1398
1399 ### Fix
1400
1401 - import TypedDict from type_extensions for backward compatibility
1402
1403 ### Refactor
1404
1405 - **conventional_commits**: remove duplicate patterns and import from defaults
1406 - **config**: add CzSettings and Questions TypedDict
1407 - **defaults**: add Settings typeddict
1408 - **defaults**: move bump_map, bump_pattern, commit_parser from defaults to ConventionalCommitsCz
1409
1410 ## v2.20.0 (2021-10-06)
1411
1412 ### Feat
1413
1414 - **cli.py**: add shortcut for signoff command
1415 - add signoff parameter to commit command
1416
1417 ## v2.19.0 (2021-09-27)
1418
1419 ### Feat
1420
1421 - utility for showing system information
1422
1423 ## v2.18.2 (2021-09-27)
1424
1425 ### Fix
1426
1427 - **cli**: handle argparse different behavior after python 3.9
1428
1429 ## v2.18.1 (2021-09-12)
1430
1431 ### Fix
1432
1433 - **commit**: correct the stage checker before committing
1434
1435 ## v2.18.0 (2021-08-13)
1436
1437 ### Feat
1438
1439 - **prompt**: add keyboard shortcuts with config option
1440
1441 ### Refactor
1442
1443 - **shortcuts**: move check for shortcut config setting to apply to any list select
1444
1445 ## v2.17.13 (2021-07-14)
1446
1447 ## v2.17.12 (2021-07-06)
1448
1449 ### Fix
1450
1451 - **git.py**: ensure signed commits in changelog when git config log.showsignature=true
1452
1453 ## v2.17.11 (2021-06-24)
1454
1455 ### Fix
1456
1457 - correct indentation for json config for better readability
1458
1459 ## v2.17.10 (2021-06-22)
1460
1461 ### Fix
1462
1463 - add support for jinja2 v3
1464
1465 ## v2.17.9 (2021-06-11)
1466
1467 ### Fix
1468
1469 - **changelog**: generating changelog after a pre-release
1470
1471 ## v2.17.8 (2021-05-28)
1472
1473 ### Fix
1474
1475 - **changelog**: annotated tags not generating proper changelog
1476
1477 ## v2.17.7 (2021-05-26)
1478
1479 ### Fix
1480
1481 - **bump**: fix error due to bumping version file without eol through regex
1482 - **bump**: fix offset error due to partially match
1483
1484 ## v2.17.6 (2021-05-06)
1485
1486 ### Fix
1487
1488 - **cz/conventional_commits**: optionally expect '!' right before ':' in schema_pattern
1489
1490 ## v2.17.5 (2021-05-06)
1491
1492 ## v2.17.4 (2021-04-22)
1493
1494 ### Fix
1495
1496 - version update in a docker-compose.yaml file
1497
1498 ## v2.17.3 (2021-04-19)
1499
1500 ### Fix
1501
1502 - fix multiple versions bumps when version changes the string size
1503
1504 ## v2.17.2 (2021-04-10)
1505
1506 ### Fix
1507
1508 - **bump**: replace all occurrences that match regex
1509 - **wip**: add test for current breaking change
1510
1511 ## v2.17.1 (2021-04-08)
1512
1513 ### Fix
1514
1515 - **commands/init**: fix toml config format error
1516
1517 ## v2.17.0 (2021-04-02)
1518
1519 ### Feat
1520
1521 - Support versions on random positions
1522
1523 ## v2.16.0 (2021-03-08)
1524
1525 ### Feat
1526
1527 - **bump**: send incremental changelog to stdout and bump output to stderr
1528
1529 ## v2.15.3 (2021-02-26)
1530
1531 ### Fix
1532
1533 - add utf-8 encode when write toml file
1534
1535 ## v2.15.2 (2021-02-24)
1536
1537 ### Fix
1538
1539 - **git**: fix get_commits deliminator
1540
1541 ## v2.15.1 (2021-02-21)
1542
1543 ### Fix
1544
1545 - **config**: change read mode from `r` to `rb`
1546
1547 ## v2.15.0 (2021-02-21)
1548
1549 ### Feat
1550
1551 - **changelog**: add support for multiline BREAKING paragraph
1552
1553 ## v2.14.2 (2021-02-06)
1554
1555 ### Fix
1556
1557 - **git**: handle the empty commit and empty email cases
1558
1559 ## v2.14.1 (2021-02-02)
1560
1561 ### Fix
1562
1563 - remove yaml warnings when using '.cz.yaml'
1564
1565 ## v2.14.0 (2021-01-20)
1566
1567 ### Feat
1568
1569 - **#271**: enable creation of annotated tags when bumping
1570
1571 ## v2.13.0 (2021-01-01)
1572
1573 ### Feat
1574
1575 - **#319**: add optional change_type_order
1576
1577 ### Refactor
1578
1579 - raise an InvalidConfigurationError
1580 - **#323**: address PR feedback
1581 - move expected COMMITS_TREE to global
1582
1583 ## v2.12.1 (2020-12-30)
1584
1585 ### Fix
1586
1587 - read commit_msg_file with utf-8
1588
1589 ## v2.12.0 (2020-12-30)
1590
1591 ### Feat
1592
1593 - **deps**: Update and relax tomlkit version requirement
1594
1595 ## v2.11.1 (2020-12-16)
1596
1597 ### Fix
1598
1599 - **commit**: attach user info to backup for permission denied issue
1600
1601 ## v2.11.0 (2020-12-10)
1602
1603 ### Feat
1604
1605 - add yaml as a config option
1606 - **config**: add support for the new class YAMLConfig at the root of the confi internal package
1607 - **init**: add support for yaml config file at init
1608
1609 ### Fix
1610
1611 - **YAMLConfig**: add a TypeError exception to handle in _parse_settings method
1612
1613 ## v2.10.0 (2020-12-02)
1614
1615 ### Feat
1616
1617 - **commitizen/cli**: add the integration with argcomplete
1618
1619 ## v2.9.0 (2020-12-02)
1620
1621 ### Feat
1622
1623 - **Init**: add the json config support as an option at Init
1624 - **commitizen/config/json_config**: add json support for configuration
1625
1626 ### Fix
1627
1628 - **json_config**: fix the emtpy_config_content method
1629
1630 ## v2.8.2 (2020-11-21)
1631
1632 ### Fix
1633
1634 - support `!` in cz check command
1635
1636 ## v2.8.1 (2020-11-21)
1637
1638 ### Fix
1639
1640 - prevent prerelease from creating a bump when there are no commits
1641
1642 ## v2.8.0 (2020-11-15)
1643
1644 ### Feat
1645
1646 - allow files-only to set config version and create changelog
1647
1648 ## v2.7.0 (2020-11-14)
1649
1650 ### Feat
1651
1652 - **bump**: add flag `--local-version` that supports bumping only the local version instead of the public
1653
1654 ## v2.6.0 (2020-11-04)
1655
1656 ### Feat
1657
1658 - **commands/bump**: add config option to create changelog on bump
1659
1660 ## v2.5.0 (2020-11-04)
1661
1662 ### Feat
1663
1664 - **commands/changelog**: add config file options for start_rev and incremental
1665
1666 ## v2.4.2 (2020-10-26)
1667
1668 ### Fix
1669
1670 - **init.py**: mypy error (types)
1671 - **commands/bump**: Add NoneIncrementExit to fix git fatal error when creating existing tag
1672
1673 ### Refactor
1674
1675 - **commands/bump**: Remove comment and changed ... for pass
1676
1677 ## v2.4.1 (2020-10-04)
1678
1679 ### Fix
1680
1681 - **cz_customize**: make schema_pattern customiziable through config for cz_customize
1682
1683 ## v2.4.0 (2020-09-18)
1684
1685 ### Feat
1686
1687 - **cz_check**: cz check can read commit message from pipe
1688
1689 ## v2.3.1 (2020-09-07)
1690
1691 ### Fix
1692
1693 - conventional commit schema
1694
1695 ## v2.3.0 (2020-09-03)
1696
1697 ### Feat
1698
1699 - **cli**: rewrite cli instructions to be more succinct about what they require
1700
1701 ### Fix
1702
1703 - **cli**: add guideline for subject input
1704 - **cli**: wrap the word enter with brackets
1705
1706 ## v2.2.0 (2020-08-31)
1707
1708 ### Feat
1709
1710 - **cz_check**: cz check can read from a string input
1711
1712 ## v2.1.0 (2020-08-06)
1713
1714 ### Feat
1715
1716 - **cz_check**: Add rev to all displayed ill-formatted commits
1717 - **cz_check**: Update to show all ill-formatted commits
1718
1719 ### Refactor
1720
1721 - **cz_check**: Refactor _get_commits to return GitCommit instead of dict
1722
1723 ## v2.0.2 (2020-08-03)
1724
1725 ### Fix
1726
1727 - **git**: use double quotation mark in get_tags
1728
1729 ## v2.0.1 (2020-08-02)
1730
1731 ### Fix
1732
1733 - **commands/changelog**: add exception message when failing to find an incremental revision
1734 - **commands/bump**: display message variable properly
1735
1736 ## v2.0.0 (2020-07-26)
1737
1738 ### BREAKING CHANGE
1739
1740 - setup.cfg, .cz and .cz.cfg are no longer supported
1741 - Use "cz version" instead
1742 - "cz --debug" will no longer work
1743 #47
1744
1745 ### Feat
1746
1747 - **init**: enable setting up pre-commit hook through "cz init"
1748
1749 ### Fix
1750
1751 - add missing `pyyaml` dependency
1752 - **cli**: make command required for commitizen
1753
1754 ### Refactor
1755
1756 - **config**: drop "files" configure support. Please use "version_files" instead
1757 - **config**: remove ini configuration support
1758 - **cli**: remove "--version" argument
1759
1760 ## v1.25.0 (2020-07-26)
1761
1762 ### Feat
1763
1764 - **conventional_commits**: use and proper support for conventional commits v1.0.0
1765
1766 ## v1.24.0 (2020-07-26)
1767
1768 ### Feat
1769
1770 - add author and author_email to git commit
1771
1772 ## v1.23.4 (2020-07-26)
1773
1774 ### Refactor
1775
1776 - **changelog**: remove pkg_resources dependency
1777
1778 ## v1.23.3 (2020-07-25)
1779
1780 ### Fix
1781
1782 - **commands/bump**: use `return_code` in commands used by bump
1783 - **commands/commit**: use return_code to raise commit error, not stderr
1784
1785 ### Refactor
1786
1787 - **cmd**: add return code to Command
1788
1789 ## v1.23.2 (2020-07-25)
1790
1791 ### Fix
1792
1793 - **bump**: add changelog file into stage when running `cz bump --changelog`
1794
1795 ## v1.23.1 (2020-07-14)
1796
1797 ### Fix
1798
1799 - Raise NotAGitProjectError only in git related command
1800
1801 ## v1.23.0 (2020-06-14)
1802
1803 ### Feat
1804
1805 - **cli**: enable displaying all traceback for CommitizenException when --debug flag is used
1806
1807 ### Refactor
1808
1809 - **exception**: rename MissingConfigError as MissingCzCustomizeConfigError
1810 - **exception**: Rename CommitFailedError and TagFailedError with Bump prefix
1811 - **commands/init**: add test case and remove unaccessible code
1812 - **exception**: move output message related to exception into exception
1813 - **exception**: implement message handling mechanism for CommitizenException
1814 - **cli**: do not show traceback if the raised exception is CommitizenException
1815 - introduce DryRunExit, ExpectedExit, NoCommandFoundError, InvalidCommandArgumentError
1816 - use custom exception for error handling
1817 - **error_codes**: remove unused NO_COMMIT_MSG error code
1818
1819 ## v1.22.3 (2020-06-10)
1820
1821 ## v1.22.2 (2020-05-29)
1822
1823 ### Fix
1824
1825 - **changelog**: empty lines at the beginning of the CHANGELOG
1826
1827 ## v1.22.1 (2020-05-23)
1828
1829 ### Fix
1830
1831 - **templates**: remove trailing space in keep_a_changelog
1832
1833 ## v1.22.0 (2020-05-13)
1834
1835 ### Feat
1836
1837 - **changelog**: add support for `changelog_hook` when changelog finishes the generation
1838 - **changelog**: add support for `message_hook` method
1839 - **changelog**: add support for modifying the change_type in the title of the changelog
1840
1841 ### Fix
1842
1843 - **changelog**: rename `message_hook` -> `changelog_message_builder_hook`
1844
1845 ## v1.21.0 (2020-05-09)
1846
1847 ### Feat
1848
1849 - **commands/bump**: add "--check-consistency" optional
1850
1851 ## v1.20.0 (2020-05-06)
1852
1853 ### Feat
1854
1855 - **bump**: add optional --no-verify argument for bump command
1856
1857 ## v1.19.3 (2020-05-04)
1858
1859 ### Fix
1860
1861 - **docs**: change old url woile.github.io to commitizen-tools.github.io
1862 - **changelog**: generate today's date when using an unreleased_version
1863
1864 ## v1.19.2 (2020-05-03)
1865
1866 ### Fix
1867
1868 - **changelog**: sort the commits properly to their version
1869
1870 ## v1.19.1 (2020-05-03)
1871
1872 ### Fix
1873
1874 - **commands/check**: Show warning if no commit to check when running `cz check --rev-range`
1875
1876 ### Refactor
1877
1878 - **cli**: add explicit category for deprecation warnings
1879
1880 ## v1.19.0 (2020-05-02)
1881
1882 ### Feat
1883
1884 - **changelog**: add support for any commit rule system
1885 - **changelog**: add incremental flag
1886 - **commands/changelog**: make changelog_file an option in config
1887 - **commands/changelog**: exit when there is no commit exists
1888 - **commands/changelog**: add --start-rev argument to `cz changelog`
1889 - **changelog**: generate changelog based on git log
1890 - **commands/changelog**: generate changelog_tree from all past commits
1891 - **cz/conventinal_commits**: add changelog_map, changelog_pattern and implement process_commit
1892 - **cz/base**: add default process_commit for processing commit message
1893 - **changelog**: changelog tree generation from markdown
1894
1895 ### Fix
1896
1897 - **git**: missing dependency removed
1898 - **changelog**: check get_metadata for existing changelog file
1899 - **cz/conventional_commits**: fix schema_pattern break due to rebase
1900 - **changelog_template**: fix list format
1901 - **commitizen/cz**: set changelog_map, changelog_pattern to none as default
1902 - **commands/changelog**: remove --skip-merge argument
1903 - **cli**: add changelog arguments
1904
1905 ### Refactor
1906
1907 - **changelog**: use functions from changelog.py
1908 - **changelog**: rename category to change_type to fit 'keep a changelog'
1909 - **templates**: rename as "keep_a_changelog_template.j2"
1910 - **templates**: remove unneeded __init__ file
1911 - **cli**: reorder commands
1912 - **templates**: move changelog_template from cz to templates
1913 - **tests/utils**: move create_file_and_commit to tests/utils
1914 - **commands/changelog**: remove redundant if statement
1915 - **commands/changelog**: use jinja2 template instead of string concatenation to build changelog
1916
1917 ## v1.18.3 (2020-04-22)
1918
1919 ### Refactor
1920
1921 - **commands/init**: fix typo
1922
1923 ## v1.18.2 (2020-04-22)
1924
1925 ### Fix
1926
1927 - **git**: fix returned value for GitCommit.message when body is empty
1928
1929 ### Refactor
1930
1931 - **git**: replace GitCommit.message code with one-liner
1932
1933 ## v1.18.1 (2020-04-16)
1934
1935 ### Fix
1936
1937 - **config**: display ini config deprecation warning only when commitizen config is inside
1938
1939 ## v1.18.0 (2020-04-13)
1940
1941 ### Feat
1942
1943 - **bump**: support for ! as BREAKING change in commit message
1944
1945 ### Fix
1946
1947 - **cz/customize**: add error handling when customize detail is not set
1948
1949 ### Refactor
1950
1951 - **cz/customize**: remove unused mypy ignore
1952 - **mypy**: fix mypy check by checking version.pre exists
1953 - **cz**: add type annotation to registry
1954 - **commands/check**: fix type annotation
1955 - **config/base**: use Dict to replace dict in base_config
1956 - **cz/base**: fix config type used in base cz
1957 - **cz**: add type annotation for each function in cz
1958 - **config**: fix mypy warning for _conf
1959
1960 ## v1.17.1 (2020-03-24)
1961
1962 ### Fix
1963
1964 - **commands/check**: add help text for check command without argument
1965
1966 ### Refactor
1967
1968 - **cli**: fix typo
1969
1970 ## v1.17.0 (2020-03-15)
1971
1972 ### Feat
1973
1974 - **commands/check**: add --rev-range argument for checking commits within some range
1975
1976 ### Fix
1977
1978 - **bump**: fix bump find_increment error
1979
1980 ### Refactor
1981
1982 - **cz/connventional_commit**: use \S to check scope
1983 - **git**: remove unnecessary dot between git range
1984 - **tests/bump**: use parameterize to group similliar tests
1985
1986 ## v1.16.4 (2020-03-03)
1987
1988 ### Fix
1989
1990 - **commands/init**: fix clean up file when initialize commitizen config
1991
1992 ### Refactor
1993
1994 - **defaults**: split config files into long term support and deprecated ones
1995
1996 ## v1.16.3 (2020-02-20)
1997
1998 ### Fix
1999
2000 - replace README.rst with docs/README.md in config files
2001
2002 ### Refactor
2003
2004 - **docs**: remove README.rst and use docs/README.md
2005
2006 ## v1.16.2 (2020-02-01)
2007
2008 ### Fix
2009
2010 - **commands/check**: add bump into valid commit message of convention commit pattern
2011
2012 ## v1.16.1 (2020-02-01)
2013
2014 ### Fix
2015
2016 - **pre-commit**: set pre-commit check stage to commit-msg
2017
2018 ## v1.16.0 (2020-01-21)
2019
2020 ### Feat
2021
2022 - **git**: get_commits default from first_commit
2023
2024 ### Refactor
2025
2026 - **commands/bump**: rename parameter into bump_setting to distinguish bump_setting and argument
2027 - **git**: rename get tag function to distinguish return str and GitTag
2028 - **cmd**: reimplement how cmd is run
2029 - **git**: Use GitCommit, GitTag object to store commit and git information
2030 - **git**: make arguments other then start and end in get_commit keyword arguments
2031 - **git**: Change get_commits into returning commits instead of lines of messages
2032
2033 ## v1.15.1 (2020-01-20)
2034
2035 ### Fix
2036
2037 - **cli**: fix --version not functional
2038
2039 ### Refactor
2040
2041 - **tests/commands/bump**: use tmp_dir to replace self implemented tmp dir behavior
2042 - **test_bump_command**: rename camel case variables
2043 - **tests/commands/check**: use pytest fixture tmpdir replace self implemented contextmanager
2044 - **test/commands/other**: replace unit test style mock with mocker fixture
2045 - **tests/commands**: separate command unit tests into modules
2046 - **tests/commands**: make commands related tests a module
2047
2048 ## v1.15.0 (2020-01-20)
2049
2050 ### Feat
2051
2052 - **config**: look up configuration in git project root
2053 - **git**: add find_git_project_root
2054
2055 ### Fix
2056
2057 - **git**: remove breakline in the return value of find_git_project_root
2058
2059 ### Refactor
2060
2061 - **git**: make find_git_project_root return None if it's not a git project
2062 - **config/base_config**: make set_key not implemented
2063 - **error_codes**: move all the error_codes to a module
2064 - **config**: replace string type path with pathlib.Path
2065
2066 ## v1.14.2 (2020-01-14)
2067
2068 ### Fix
2069
2070 - **github_workflow/pythonpublish**: use peaceiris/actions-gh-pages@v2 to publish docs
2071
2072 ## v1.14.1 (2020-01-11)
2073
2074 ### Fix
2075
2076 - **cli**: fix the way default handled for name argument
2077 - **cli**: fix name cannot be overwritten through config in newly refactored config design
2078
2079 ## v1.14.0 (2020-01-06)
2080
2081 ### Feat
2082
2083 - **pre-commit-hooks**: add pre-commit hook
2084
2085 ### Refactor
2086
2087 - **pre-commit-hooks**: add metadata for the check hook
2088
2089 ## v1.13.1 (2019-12-31)
2090
2091 ### Fix
2092
2093 - **github_workflow/pythonpackage**: set git config for unit testing
2094 - **scripts/test**: ensure the script fails once the first failure happens
2095
2096 ## v1.13.0 (2019-12-30)
2097
2098 ### Feat
2099
2100 - add project version to command init
2101
2102 ## v1.12.0 (2019-12-30)
2103
2104 ### Feat
2105
2106 - new init command
2107
2108 ## v1.10.3 (2019-12-29)
2109
2110 ### Refactor
2111
2112 - **commands/bump**: use "version_files" internally
2113 - **config**: set "files" to alias of "version_files"
2114
2115 ## v1.10.2 (2019-12-27)
2116
2117 ### Fix
2118
2119 - **config**: handle empty config file
2120 - **config**: fix load global_conf even if it doesn't exist
2121 - **config/ini_config**: replace outdated _parse_ini_settings with _parse_settings
2122
2123 ### Refactor
2124
2125 - new config system where each config type has its own class
2126 - **config**: add type annotation to config property
2127 - **config**: fix wrongly type annotated functions
2128 - **config/ini_config**: move deprecation warning into class initialization
2129 - **config**: use add_path instead of directly assigning _path
2130 - **all**: replace all the _settings invoke with settings.update
2131 - **cz/customize**: remove unnecessary statement "raise NotImplementedError("Not Implemented yet")"
2132 - **config**: move default settings back to defaults
2133 - **config**: Make config a class and each type of config (e.g., toml, ini) a child class
2134
2135 ## v1.10.1 (2019-12-10)
2136
2137 ### Fix
2138
2139 - **cli**: overwrite "name" only when it's not given
2140 - **config**: fix typo
2141
2142 ## v1.10.0 (2019-11-28)
2143
2144 ### Feat
2145
2146 - support for different commitizens in `cz check`
2147 - **bump**: new argument --files-only
2148
2149 ## v1.9.2 (2019-11-23)
2150
2151 ### Fix
2152
2153 - **commands/check.py**: --commit-msg-file is now a required argument
2154
2155 ## v1.9.1 (2019-11-23)
2156
2157 ### Fix
2158
2159 - **cz/exceptions**: exception AnswerRequiredException not caught (#89)
2160
2161 ## v1.9.0 (2019-11-22)
2162
2163 ### Feat
2164
2165 - **Commands/check**: enforce the project to always use conventional commits
2166 - **config**: add deprecation warning for loading config from ini files
2167 - **cz/customize**: add jinja support to enhance template flexibility
2168 - **cz/filters**: add required_validator and multiple_line_breaker
2169 - **Commands/commit**: add ´--dry-run´ flag to the Commit command
2170 - **cz/cz_customize**: implement info to support info and info_path
2171 - **cz/cz_customize**: enable bump_pattern bump_map customization
2172 - **cz/cz_customize**: implement customizable cz
2173 - new 'git-cz' entrypoint
2174
2175 ### Fix
2176
2177 - commit dry-run doesn't require staging to be clean
2178 - **scripts**: add back the delete poetry prefix
2179 - correct typo to spell "convention"
2180 - removing folder in windows throwing a PermissionError
2181 - **test_cli**: testing the version command
2182
2183 ### Refactor
2184
2185 - **config**: remove has_pyproject which is no longer used
2186 - **cz/customize**: make jinja2 a custom requirement. if not installed use string.Template instead
2187 - **cz/utils**: rename filters as utils
2188 - **cli**: add back --version and remove subcommand required constraint
2189
2190 ## v1.8.0 (2019-11-12)
2191
2192 ### Feat
2193
2194 - **cz**: add a base exception for cz customization
2195 - **commands/commit**: abort commit if there is nothing to commit
2196 - **git**: add is_staging_clean to check if there is any file in git staging
2197
2198 ### Fix
2199
2200 - **commands/commit**: catch exception raised by customization cz
2201 - **cli**: handle the exception that command is not given
2202 - **cli**: enforce subcommand as required
2203
2204 ### Refactor
2205
2206 - **cz/conventional_commit**: make NoSubjectException inherit CzException and add error message
2207 - **command/version**: use out.write instead of out.line
2208 - **command**: make version a command instead of an argument
2209
2210 ## v1.7.0 (2019-11-08)
2211
2212 ### Feat
2213
2214 - **config**: update style instead of overwrite
2215 - **config**: parse style in config
2216 - **commit**: make style configurable for commit command
2217
2218 ### Fix
2219
2220 - **cz**: fix bug in BaseCommitizen.style
2221 - **cz**: fix merge_style usage error
2222 - **cz**: remove breakpoint
2223
2224 ### Refactor
2225
2226 - **cz**: change the color of default style
2227
2228 ## v1.6.0 (2019-11-05)
2229
2230 ### Feat
2231
2232 - **commit**: new retry argument to execute previous commit again
2233
2234 ## v1.5.1 (2019-06-04)
2235
2236 ### Fix
2237
2238 - #28 allows poetry add on py36 envs
2239
2240 ## v1.5.0 (2019-05-11)
2241
2242 ### Feat
2243
2244 - **bump**: it is now possible to specify a pattern in the files attr to replace the version
2245
2246 ## v1.4.0 (2019-04-26)
2247
2248 ### Feat
2249
2250 - added argument yes to bump in order to accept questions
2251
2252 ### Fix
2253
2254 - **bump**: handle commit and create tag failure
2255
2256 ## v1.3.0 (2019-04-24)
2257
2258 ### Feat
2259
2260 - **bump**: new commit message template
2261
2262 ## v1.2.1 (2019-04-21)
2263
2264 ### Fix
2265
2266 - **bump**: prefixes like docs, build, etc no longer generate a PATCH
2267
2268 ## v1.2.0 (2019-04-19)
2269
2270 ### Feat
2271
2272 - custom cz plugins now support bumping version
2273
2274 ## v1.1.1 (2019-04-18)
2275
2276 ### Fix
2277
2278 - **bump**: commit message now fits better with semver
2279 - conventional commit 'breaking change' in body instead of title
2280
2281 ### Refactor
2282
2283 - changed stdout statements
2284 - **schema**: command logic removed from commitizen base
2285 - **info**: command logic removed from commitizen base
2286 - **example**: command logic removed from commitizen base
2287 - **commit**: moved most of the commit logic to the commit command
2288
2289 ## v1.1.0 (2019-04-14)
2290
2291 ### Feat
2292
2293 - new working bump command
2294 - create version tag
2295 - update given files with new version
2296 - **config**: new set key, used to set version to cfg
2297 - support for pyproject.toml
2298 - first semantic version bump implementation
2299
2300 ### Fix
2301
2302 - removed all from commit
2303 - fix config file not working
2304
2305 ### Refactor
2306
2307 - added commands folder, better integration with decli
2308
2309 ## v1.0.0 (2019-03-01)
2310
2311 ### Refactor
2312
2313 - removed delegator, added decli and many tests
2314
2315 ## 1.0.0b2 (2019-01-18)
2316
2317 ## v1.0.0b1 (2019-01-17)
2318
2319 ### Feat
2320
2321 - py3 only, tests and conventional commits 1.0
2322
2323 ## v0.9.11 (2018-12-17)
2324
2325 ### Fix
2326
2327 - **config**: load config reads in order without failing if there is no commitizen section
2328
2329 ## v0.9.10 (2018-09-22)
2330
2331 ### Fix
2332
2333 - parse scope (this is my punishment for not having tests)
2334
2335 ## v0.9.9 (2018-09-22)
2336
2337 ### Fix
2338
2339 - parse scope empty
2340
2341 ## v0.9.8 (2018-09-22)
2342
2343 ### Fix
2344
2345 - **scope**: parse correctly again
2346
2347 ## v0.9.7 (2018-09-22)
2348
2349 ### Fix
2350
2351 - **scope**: parse correctly
2352
2353 ## v0.9.6 (2018-09-19)
2354
2355 ### Fix
2356
2357 - **manifest**: included missing files
2358
2359 ### Refactor
2360
2361 - **conventionalCommit**: moved filters to questions instead of message
2362
2363 ## v0.9.5 (2018-08-24)
2364
2365 ### Fix
2366
2367 - **config**: home path for python versions between 3.0 and 3.5
2368
2369 ## v0.9.4 (2018-08-02)
2370
2371 ### Feat
2372
2373 - **cli**: added version
2374
2375 ## v0.9.3 (2018-07-28)
2376
2377 ### Feat
2378
2379 - **committer**: conventional commit is a bit more intelligent now
2380
2381 ## v0.9.2 (2017-11-11)
2382
2383 ## v0.9.1 (2017-11-11)
2384
2385 ### Fix
2386
2387 - **setup.py**: future is now required for every python version
2388
2389 ## v0.9.0 (2017-11-08)
2390
2391 ### Refactor
2392
2393 - python 2 support
2394
2395 ## v0.8.6 (2017-11-08)
2396
2397 ## v0.8.5 (2017-11-08)
2398
2399 ## v0.8.4 (2017-11-08)
2400
2401 ## v0.8.3 (2017-11-08)
2402
2403 ## v0.8.2 (2017-10-08)
2404
2405 ## v0.8.1 (2017-10-08)
2406
2407 ## v0.8.0 (2017-10-08)
2408
2409 ### Feat
2410
2411 - **cz**: jira smart commits
2412
2413 ## v0.7.0 (2017-10-08)
2414
2415 ### Refactor
2416
2417 - **cli**: renamed all to ls command
2418 - **cz**: renamed angular cz to conventional changelog cz
2419
2420 ## v0.6.0 (2017-10-08)
2421
2422 ### Feat
2423
2424 - info command for angular
2425
2426 ## v0.5.0 (2017-10-07)
2427
2428 ## v0.4.0 (2017-10-07)
2429
2430 ## v0.3.0 (2017-10-07)
2431
2432 ## v0.2.0 (2017-10-07)
2433
2434 ### Feat
2435
2436 - **config**: new loads from ~/.cz and working project .cz .cz.cfg and setup.cfg
2437 - package discovery
2438
2439 ### Refactor
2440
2441 - **cz_angular**: improved messages