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