All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
17.7.1 (2023-08-10)
- Revert "feat(load): use cosmiconfig-typescript-loader v5 to remove ts-node dependency for @commitlint/load (#3633)" (8e41897), closes #3633
17.7.0 (2023-08-09)
- load: use cosmiconfig-typescript-loader v5 to remove ts-node dependency for @commitlint/load (#3633) (4aa46d7)
17.6.7 (2023-07-19)
Note: Version bump only for package @commitlint/root
17.6.6 (2023-06-24)
Note: Version bump only for package @commitlint/root
17.6.5 (2023-05-30)
17.6.4 (2023-05-07)
Note: Version bump only for package @commitlint/root
17.6.3 (2023-05-04)
- config-lerna-scopes: add missing dependency (#3607) (2fff094)
- update dependency semver to v7.5.0 (#3604) (01e35e0)
- update dependency yargs to v17.7.2 (#3602) (c1c7338)
17.6.2 (2023-05-03)
- lerna package.json resolution (#3600) (6c5cd53)
- update dependency cosmiconfig to v8.1.3 (#3591) (44b57a5)
- update dependency fs-extra to v11.1.1 (#3592) (d6ec0d9)
17.6.1 (2023-04-14)
- rules: avoid processing strings with case-less Letter category symbols in
subject-case
(#3586) (70a4450), closes #3585
17.6.0 (2023-04-13)
- rules: expand Latin-only characters limitation for
subject-case
with Unicode support (#3575) (5f83423)
17.5.1 (2023-03-28)
Note: Version bump only for package @commitlint/root
17.5.0 (2023-03-22)
- config-pnpm-scopes: refactor to remove peer dependencies (#3564) (f1f3bd5), closes #3556
- update dependency cosmiconfig to v8.1.0 (#3548) (7d01b2e)
- update dependency yargs to v17.7.0 (#3542) (f14990f)
- update dependency yargs to v17.7.1 (#3546) (9f37c11)
17.4.4 (2023-02-17)
17.4.3 (2023-02-13)
- subject-full-stop rule bugfix (#3531) (5d3d529)
- update dependency minimist to v1.2.8 (#3532) (1f57f98)
17.4.2 (2023-01-12)
- load: fixes a bug when a ts commitlint config is compiled twice (#3499) (dc2c899)
- update dependency @types/fs-extra to v11 (#3494) (8f553c7)
- update dependency @types/fs-extra to v11.0.1 (#3496) (f9a013c)
17.4.1 (2023-01-09)
Note: Version bump only for package @commitlint/root
17.4.0 (2023-01-04)
- stop truncating the body in presence of dashes (#3476) (02a61be)
- update dependency ajv to v8.11.2 (#3440) (7829151)
- update dependency ajv to v8.12.0 (#3482) (0a53d97)
- update dependency cosmiconfig to v8 (#3459) (ee732fe)
- update dependency cosmiconfig-typescript-loader to v4.3.0 (#3448) (86b632e)
- update dependency fs-extra to v11 (#3460) (a437923)
- update dependency semver to v7.3.8 (#3441) (7599ad6)
- update dependency typescript to v4.9.4 (#3449) (bf86c7d)
- update dependency yargs to v17.6.2 (#3450) (8a43a05)
17.3.0 (2022-11-21)
17.2.1 (2022-11-01)
Note: Version bump only for package @commitlint/root
17.2.0 (2022-10-31)
- cli: add strict mode (#3384) (#3385) (fdff2be)
- config-nx-scopes: add nx version ^15.0.0 as peerDependency (#3416) (f529a3f)
17.1.2 (2022-08-29)
- load: add ts-node as direct dependency (#3351) (3b66891)
- update dependency cosmiconfig-typescript-loader to v4 (#3346) (5a9d80f)
17.1.1 (2022-08-27)
17.1.0 (2022-08-27)
- update dependency cosmiconfig-typescript-loader to v3 (#3253) (4e87d14)
- update dependency cosmiconfig-typescript-loader to v3.1.1 (#3282) (550ab3d)
- update dependency cosmiconfig-typescript-loader to v3.1.2 (#3343) (4213e9c)
17.0.3 (2022-06-25)
17.0.2 (2022-06-01)
- update dependency conventional-changelog-conventionalcommits to v5 (#3201) (c20fd19)
- update dependency cosmiconfig-typescript-loader to v2.0.1 (#3202) (9cf4b71)
17.0.1 (2022-05-25)
- cli: use
core.commentChar
from git config with--edit
flag (#3191) (e5fee05), closes #3190 #3190 #3190
17.0.0 (2022-05-16)
-
drop node v12 support
-
chore: rename circleci windows job
node version is not defned by the name anyways (i think)
16.3.0 (2022-05-14)
- update dependency cosmiconfig-typescript-loader to v2 (#3154) (20122e8)
- update dependency yargs to v17.5.0 (#3171) (0e6542b)
16.2.4 (2022-04-28)
- rules: footer-leading-blank should work with body comments (#3139) (7dd88c9)
- update dependency cosmiconfig to v7.0.1 (#3138) (407837d)
- update dependency cosmiconfig-typescript-loader to v1.0.7 (#3102) (d0f2b3f)
- update dependency cosmiconfig-typescript-loader to v1.0.9 (#3106) (d91e70d)
- update dependency fs-extra to v10.1.0 (#3124) (482613f)
- update dependency semver to v7.3.6 (#3112) (ad886fd)
- update dependency semver to v7.3.7 (#3119) (c9c49b2)
- update dependency yargs to v17.4.0 (#3080) (1477d7c)
- update dependency yargs to v17.4.1 (#3116) (69bf135)
16.2.3 (2022-03-16)
- update dependency @types/fs-extra to v9.0.13 (#3054) (4c7dd7c)
- update dependency cosmiconfig-typescript-loader to v1.0.6 (#3059) (256e194)
- update dependency fs-extra to v10.0.1 (#3041) (1236c83)
- update dependency git-raw-commits to v2.0.11 (#3055) (d5089f1)
16.2.2 (2022-02-14)
Note: Version bump only for package @commitlint/root
16.2.1 (2022-02-13)
- update dependency cosmiconfig-typescript-loader to v1.0.5 (#3020) (2d431a6)
- update dependency jest-environment-node to v27.5.0 (#3012) (a546128)
- update dependency jest-environment-node to v27.5.1 (#3018) (0cbf652)
- update dependency read-pkg to v7.1.0 (#3015) (3b7b680)
- load: satisfy @types/node peer dependency for cosmiconfig-loader-typescript (#3008) (338180c), closes #3007
16.2.0 (2022-01-25)
16.1.0 (2022-01-20)
16.0.3 (2022-01-19)
16.0.2 (2022-01-09)
- update dependency conventional-changelog-conventionalcommits to v4.6.3 (#2938) (0231f4b)
- update dependency conventional-commits-parser to v3.2.4 (#2939) (a484a9a)
- update dependency cosmiconfig-typescript-loader to v1.0.3 (#2956) (cc6e6cd)
- update dependency jest-environment-node to v27.4.6 (#2957) (62a0867)
16.0.1 (2021-12-28)
- update dependency @types/tmp to v0.2.3 (#2928) (8eeb1f4)
- update dependency conventional-changelog-conventionalcommits to v4.6.2 (#2934) (a239b9e)
- update dependency cosmiconfig-typescript-loader to v1.0.2 (#2929) (04cc88c)
- update dependency yargs to v17.3.1 (#2935) (8e099af)
16.0.0 (2021-12-26)
- is-ignored: ignore merge tag commit messages (#2920) (914782a)
- update dependency @types/tmp to v0.2.2 (#2903) (d2f146c)
- update dependency conventional-commits-parser to v3.2.3 (#2904) (3a98d3c)
- cz-commitlint: combine commit body with issuesBody/breakingBody when body has an empty string (#2915) (a038b41)
- docs: minor changes to guides (#2913) (499efd1)
- update dependency conventional-changelog-conventionalcommits to v4.6.1 (#2906) (1d1ccfa)
- update dependency cosmiconfig to v7.0.1 (#2905) (2c33c98)
- update dependency jest-environment-node to v27.4.2 (#2907) (c3b29ba)
- update dependency yargs to v17.3.0 (#2908) (a387494)
- config-rush-scopes: add config for rush monorepo (#2878) (befa677)
- cz-commitlint: support select scope with radio list by setting disableMultipleScopes (#2911) (9d8d73f), closes #2782
- config validation (#2412) (c717202), closes #327
- cz-commitlint: users who is using multiple scopes need to set enableMultipleScopes to true
15.0.0 (2021-11-17)
- prompt: correct import kind in prompt package (#2852) (45bf394)
- prompt: correct version of internal dependencies in prompt package #2697 (#2851) (b1155ca)
- types: fix signature of QualifiedRuleConfig for async configurations (#2868) (#2869) (c7f355b)
- config-lerna-scopes: upgrade to lerna v4
Co-authored-by: Renovate Bot [email protected] Co-authored-by: escapedcat [email protected]
-
test(config-lerna-scopes): reuse npm bootstrap to simplify tests
-
test(config-lerna-scopes): reuse npm bootstrap to simplify tests
-
test: fix issue after merge
-
test: one more fix after merge
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot [email protected] Co-authored-by: escapedcat [email protected]
8.3.6 (2021-11-17)
Note: Version bump only for package @commitlint/root
chore: update lodash to 4.17.21 SECURITY: CVE-2021-23337 in package lodash https://nvd.nist.gov/vuln/detail/CVE-2021-23337
14.2.0 (2021-11-06)
14.1.0 (2021-11-01)
- extend helpUrl from shareable config (#2846) (d7e2e2b)
- load: add support for
.commitlintrc.cjs
andcommitlint.config.cjs
files (#2797) (fabb495)
14.0.0 (2021-10-26)
- support multiple scopes and multiple cases & fix sentence-case is not consistent with commitlint/cli (#2806) (2c71a7e), closes #2806 #2782
- add prompt.settings configuration
13.2.1 (2021-10-09)
- load: added a direct dependency on typescript (#2785) (9c17f8d), closes EndemolShineGroup/cosmiconfig-typescript-loader#147 #2779
13.2.0 (2021-09-28)
- parse: enforce secure version of
conventional-commits-parser
(#2776) (a351801) - update dependency read-pkg to v7 (#2721) (7d9a3b1)
- types: prompt messages key (4825a52)
- types: prompt messages props optional (0bd0592)
- types: user config prompt (6d7a1c4)
- load: add cosmiconfig typescript loader (b65aced)
13.1.0 (2021-07-24)
- cz-commitlint: fix minor formatting issues (99d8881)
- types: adds TargetCaseType[] for CaseRuleConfig (c3bef38)
- update dependency import-from to v4 (#2629) (5bcb604)
- cli: remove hard coded comment char with linting
COMMIT_EDIT_MSG
(#2618) (5badf6d), closes #2351
13.0.0 (2021-05-24)
- update dependency chalk to v4.1.1 (#2608) (f41b123)
- update dependency yargs to v17.0.1 (#2609) (afbfd10)
-
add subject-exclamation-mark rule to improve error messages (#2593) (be701bd)
-
chore!: remove node 10 support (#2596) (4db4ba1), closes #2596
- minimum node version is 12
12.1.3 (2021-05-12)
- update dependency fs-extra to v10 (#2575) (d47d2b5)
- update dependency yargs to v17 (#2574) (81c38dd)
12.1.2 (2021-04-29)
- rules: fix subject-full-stop rule config value type (#2534) (2ab3c57)
- types: update chalk import (#2535) (89f9a6d)
12.1.1 (2021-04-02)
- update dependency read-pkg to v6 (#2530) (d38a2ad)
- config-lerna-scopes: ignore packages without names (#2514) (df3bf71)
- update dependency semver to v7.3.5 (#2519) (5113f22)
- prompt: modify the entry point to pass commitizen's function check (#2501) (0173fb7), closes /github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272 /github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272
12.1.0 (2021-03-06)
- config-lerna-scopes: keep supporting lerna v3 (51b0f4a)
12.0.1 (2021-02-23)
- update dependency conventional-commits-parser to v3.2.1 (#2459) (8bcc4f0)
- load: use
Rule | AsyncRule | SyncRule
as rule value type inPlugin
(#2146) (75b67b8) - types: correct chalkColor type (#2420) (ef8bdad)
- update dependency throat to v6 (#2417) (6f7db1b)
12.0.0 (2021-01-18)
- remove unnecessary react babel transforms (#2399) (78f02fd)
- utils: update code to allow it to be executed (#982) (52696d0)
- update dependency @types/fs-extra to v9.0.2 (#2250) (a10fa0b)
- update dependency @types/fs-extra to v9.0.5 (#2360) (3266712)
- update dependency conventional-changelog-angular to v5.0.12 (#2361) (5766b39)
- update dependency conventional-changelog-conventionalcommits to v4.4.0 (#2115) (bccc9f5)
- update dependency conventional-changelog-conventionalcommits to v4.5.0 (#2362) (01c78bf)
- update dependency execa to v4.1.0 (#2251) (b5743dd)
- update dependency execa to v5 (#2341) (f349df9)
- update dependency git-raw-commits to v2.0.7 (#2116) (ef969f3)
- update dependency git-raw-commits to v2.0.8 (#2364) (3371715)
- update dependency meow to v8 (#2245) (890961b)
- update dependency meow to v8.1.0 (#2380) (0fbadcf)
- update dependency pkg-dir to v5 (#2168) (b9d1c84)
- update dependency semver to v7.3.4 (#2336) (790b61a)
- update dependency tar-fs to v2.1.1 (#2261) (a04f24f)
- is-ignored: ignore azure devops messages (#2230) (fe29ce7)
- update dependency yargs to v16 (204f36d)
- update dependency yargs to v16.1.0 (#2252) (6478d07)
- resolve-extends:
extends
field should be resolved from left to right (#2070) (c0a86f5)
- cli: implement print-config cli flag (#2391) (8626883)
- config-lerna-scopes: support yarn workspaces (#2149) (b244246)
- load: allow specifying helpUrl via config (#2180) (d6795a3)
- rules: add body-full-stop rule (#2144) (7767ca2)
- resolve-extends: The order of the
extends
resolution is changed from right-to-left to left-to-right
11.0.0 (2020-09-05)
-
update dependency @types/fs-extra to ^9.0.1 (#2088) (cb1028e)
-
refactor!: drop support for lerna v2 (59667b3)
- remove lerna v2 support and tests
10.0.0 (2020-08-16)
- remove node 8 from circle-ci checks
also remove node 13 because we do not support experimental versions
- docs: update node v10 to latest LTS 10 version
Co-authored-by: Cedric van Putten [email protected]
Co-authored-by: Cedric van Putten [email protected]
9.1.2 (2020-07-13)
Note: Version bump only for package @commitlint/root
9.1.1 (2020-06-30)
- load: resolve plugins from extended configs (#1976) (d0f0eb9)
- mark internal packages as private #972 (#1970) (2351124)
9.1.0 (2020-06-21)
- update dependency chalk to v4 (#1275) (a5d8fa1)
- update dependency conventional-changelog-conventionalcommits to v4.3.0 (#1816) (f99aeda)
- update dependency regenerator-runtime to v0.13.5 (#1017) (9c4fdf1)
- update dependency semver to v7.3.2 (#1369) (3c09722)
- update dependency tar-fs to v2.1.0 (#1103) (7882036)
- update dependency tmp to v0.2.1 (#1817) (0ff72f4)
- add local plugins support (#1692) (7b29c48)
- enable multiple scopes in scope-enum and scope-case rules (#901) (73632ce)
9.0.1 (2020-05-26)
9.0.0 (2020-05-21)
- cli: add missing regenerator-runtime to dependencies (#919) (ee5eac9)
- #840 add caret to lodash versions (#843) (ffc0bac)
- drop support for 'improvement' type (#899) (b27ab08)
- config-lerna-scopes: correct lerna in peerDependencies (#980) (f88f00d)
- ignore empty commit messages #615 (#676) (c3eb1a7)
- incorrect use of when in getForcedCaseFn (#993) (34c11b8)
- update dependency semver to v7.1.3 (#995) (4ee307a)
- add async promise based rules methods into lint (#976) (4443062)
- add possibility to extend from string (#865) (056c6fe)
- passdown argv to lint command (#891) (c49a57c)
- config-conventional: footer/body-max-line (#436) (8b394c9)
- config-conventional: increase header-max-length to 100 (#860) (ff11998), closes #859
- 'improvement' type will now be rejected by this config.
8.3.5 (2020-01-15)
- is-ignored: move types to dev dependencies (#897) (aabc549)
- resolve-extends: move node types to dev dependencies (#883) (b131a18), closes #874
8.3.4 (2020-01-03)
8.3.1 (2019-10-16)
8.3.0 (2019-10-16)
- cli: add helpurl flag (#789) (75cef4e)
- config-conventional: use parser with short breaking change support (#821) (4b5300a)
- resolve-extends: accept absolute path in extends (#825) (ecac29f)
8.2.0 (2019-09-16)
This release is versioned as minor change because some of the core components are rewritten to TypeScript. It's part of the full port to TypeScript, currently in progress at #659.
8.1.0 (2019-07-15)
This release is versioned as minor change because some of the core components are rewritten to TypeScript. It's part of the full port to TypeScript, currently in progress at #659.
- add explicit dependency on chalk (#687) (9075844)
- pass ignores from configuration in @commitlint/cli (#668) (da99aaa)
- fix: avoid excessive help text #606 (#637) The commitlint default formatter is now silent for reports without warnings or errors. Scripts relying on the success output of commitlint can restore the former output by specifying the --verbose flag.
- Republish packages with out of sync artifacts
7.6.1 (2019-05-09)
- ensure format() is available as commonjs default export #645 (ec3da92)
- handle absolute config paths correctly #647 (49b3a77)
7.6.0 (2019-05-06)
- add @lerna/project to repository dependencies (#598) (56f03ee)
- address security warnings for dev dependencies (3e0d824)
- avoid excessive help text #606 (#637) (8f3c3b1)
- don't merge array properties with custom opts (#616) (f321647), closes #594
- remove unneeded dev dependency (6ccaf79)
- update cosmiconfig to safe >=5 #599 (f186fcb)
- use sander.readFile correctly (#448) (#630) (8e47985)
- resolve-extends: accept short scoped package names in extends (#597) (ba90e8e)
- adds support for plugins (#228) (#588) (cea4564)
- config based is-ignored overrides (#595) (2434d71)
7.5.2 (2019-02-11)
- failing sentence-case for subjects with slashes (#574) (48a8602)
- cli: replace old links with new organisation links (#578) (4075903)
7.5.1 (2019-02-09)
7.5.0 (2019-01-31)
sentence-case
allow upper-case characters in first word (#531) (5a6a4a8), closes #211- resolve-extends: override array on extending rules (#470) (#539) (b35000c)
- all broken website references (#564) (82eeb5a)
- cleanup message for input with no config (#519) (7d9e760)
- cli: avoid linebreak in empty input (#523) (3141882)
- mark optional parameter with undefined (#553) (6720284)
- replace all repository references with conventional changelog (#561) (6c3afcd)
- replace all website references with conventional changelog (#563) (6b86fb1)
- replace old require-uncached with import-fresh (#533) (b636e8c)
- resolve path to commit message for git submodules (83b1a47)
- slash in scope #291 (#529) (b2b63e5)
- store concatenated array to problems variable (#551) (434a70f)
7.4.0 (2019-01-27)
7.3.2 (2019-01-15)
- move loadsh to dependencies (1bb66a4)
7.3.1 (2019-01-11)
Note: Version bump only for package @commitlint/root
7.3.0 (2019-01-11)
- format: add new line to result (#518) (f1d443b), closes #504
- add fallback with husky git params to deprecation handling (#498) (5a34b8c)
- avoid truncated output on macOS (#503) (3192368)
- fall back to conventional commit-parser settings for missing keys (#496) (831a141), closes #399
- respect String.protoype.repeat API contract (f27e7ac)
- update to security-patched dependency versions (97c033b)
- use correct label for failing empty subjects (#481) (2e7e34d), closes #476
- check stage before entering prompt (#495) (3b3667a), closes #51 #51
- warn on empty config (#491) (b6bd36e), closes #107 #107
7.2.1 (2018-10-11)
7.2.0 (2018-10-05)
- rules: include possible body offset in footer leading blank (ff0111a)
- handle case rules for numerics correctly (cadcfed)
- ignore merge messages with text after newline (b32bc93)
- use grouped regex to ignore merge commits (#439) (905e9d5)
- cli: add format option for report output (1ecf097)
- load: add formatter option with default value (b0e63d9)
7.1.2 (2018-09-04)
Note: Version bump only for package @commitlint/root
7.1.0 (2018-08-29)
6.2.0 (2018-05-01)
- print commit message when the message is invalid (86c34f1), closes #222
- rules: support array for scope-case and type-case (#312) (1f46b9f), closes #307
6.1.1 (2018-02-22)
6.1.0 (2018-02-03)
6.0.5 (2018-01-31)
- remove utils from prod dependencies (4fb858a)
6.0.4 (2018-01-31)
6.0.3 (2018-01-31)
- update dependency cosmiconfig to ^4.0.0 (#234) (7f94ac5)
- update dependency semver to v5.5.0 (#236) (6c52bd9)
6.0.2 (2018-01-12)
- ignore branch merges with multiple newlines (#227) (1f0c5ca)
- remove typo in error message of type-case (cb577cb)
6.0.1 (2018-01-09)
Note: Version bump only for package @commitlint/root
6.0.0 (2018-01-09)
- allow [0] shorthand (84cf938)
- correctly resolve parserOpts #115 #95 (1353dd5)
- ignore branch merges with newlines (#214) (c94c4dc)
- sanitize ensure.case #211 (#217) (03aeefc)
- validate rule configuration (edf7187)
- Due to additional validation while reading commitlint config, previously ignored rule settings are now considered critical errors when starting the CLI. The new behaviour is designed to help developers find issues with their configuration quicker.
5.2.6 (2017-12-21)
5.2.5 (2017-12-08)
5.2.4 (2017-12-08)
Note: Version bump only for package @commitlint/root
5.2.3 (2017-12-05)
5.2.2 (2017-11-30)
- travis-cli: read push commits directly (9bc56c6)
5.2.1 (2017-11-30)
- travis-cli: lint ranges only for pr builds (85b201f)
5.2.0 (2017-11-30)
- consider pull requests from forks (4653c2c)
5.1.3 (2017-11-24)
- config-conventional: add missing applicable attribute to type-enum (a8db0b1)
5.1.2 (2017-11-24)
5.1.1 (2017-11-24)
- set access for npm (8aeaec2)
5.1.0 (2017-11-24)
- update dependency concurrently to v3.5.1 (#147) (a809d0f)
- config-conventional: remove unneeded dependency (d0e62fd)
- prompt: add description for build, ci and revert (#148) (ee6ec6e)
- travis-cli: add reusable travis command line interface (3e6e6a8)
- add conventional-changelog package (8bb0a85)
5.0.1 (2017-11-19)
5.0.0 (2017-11-18)
- core: interprets array values for subject-case correctly
- config-angular: disallow subject with uppercase first character, #114
- config-angular-type-enum: remove chore type
BREAKING CHANGE
TL;DR
- chore is no longer a valid commit type
- subject with leading capitalized letter are forbidden now
Angular has removed the chore type from their conventions as of January 2017
See angular/angular@dff6ee for reference
This removes the previous chore type from the list of allowed types.
Projects using the Angular commit convention will identify commits with chore type as faulty.
Also, formerly working commit messages are now considered problems:
- type: SOME MESSAGE
- type: SomeMessage
- type: Some Message
4.3.0 (2017-11-08)
- add references-empty rule (4fc8d5d)