Skip to content

Latest commit

Β 

History

History
1132 lines (623 loc) Β· 82.3 KB

CHANGELOG.md

File metadata and controls

1132 lines (623 loc) Β· 82.3 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

17.7.1 (2023-08-10)

Reverts

  • 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)

Features

  • load: use cosmiconfig-typescript-loader v5 to remove ts-node dependency for @commitlint/load (#3633) (4aa46d7)

Reverts

  • eslint-config-prettier to v8 (f279ff7)
  • prettier to v2 to not break lerna v6 publish (cd854cb)

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)

Bug Fixes

17.6.4 (2023-05-07)

Note: Version bump only for package @commitlint/root

17.6.3 (2023-05-04)

Bug Fixes

17.6.2 (2023-05-03)

Bug Fixes

17.6.1 (2023-04-14)

Bug Fixes

  • rules: avoid processing strings with case-less Letter category symbols in subject-case (#3586) (70a4450), closes #3585

17.6.0 (2023-04-13)

Features

  • 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)

Bug Fixes

Features

17.4.4 (2023-02-17)

Bug Fixes

  • parse: allow setting fieldPattern in parserOpts (#3538) (ea23c65)

17.4.3 (2023-02-13)

Bug Fixes

17.4.2 (2023-01-12)

Bug Fixes

  • 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)

Bug Fixes

Features

17.3.0 (2022-11-21)

Features

  • config-pnpm-scopes: implement config-pnpm-scopes (#3427) (ca3ae8b)

17.2.1 (2022-11-01)

Note: Version bump only for package @commitlint/root

17.2.0 (2022-10-31)

Bug Fixes

  • update dependency cosmiconfig-typescript-loader to v4.1.0 (#3386) (9abd75f)

Features

17.1.2 (2022-08-29)

Bug Fixes

  • load: add ts-node as direct dependency (#3351) (3b66891)
  • update dependency cosmiconfig-typescript-loader to v4 (#3346) (5a9d80f)

17.1.1 (2022-08-27)

Bug Fixes

17.1.0 (2022-08-27)

Bug Fixes

  • 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)

Features

17.0.3 (2022-06-25)

Bug Fixes

  • update dependency cosmiconfig-typescript-loader to v2.0.2 (#3250) (dfe69b0)

17.0.2 (2022-06-01)

Bug Fixes

  • 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)

Bug Fixes

17.0.0 (2022-05-16)

Bug Fixes

BREAKING CHANGES

  • 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)

Bug Fixes

  • update dependency cosmiconfig-typescript-loader to v2 (#3154) (20122e8)
  • update dependency yargs to v17.5.0 (#3171) (0e6542b)

Features

  • add ability to filter Nx projects in @commitlint/config-nx-scopes (#3155) (e595693), closes #3152

16.2.4 (2022-04-28)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • update dependency cosmiconfig-typescript-loader to v1.0.4 (#2991) (043a059)

Features

  • add support for Nx monorepos via @commitlint/config-nx-scopes (#2995) (11879ad)

16.1.0 (2022-01-20)

Features

16.0.3 (2022-01-19)

Bug Fixes

16.0.2 (2022-01-09)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • 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

BREAKING CHANGES

  • cz-commitlint: users who is using multiple scopes need to set enableMultipleScopes to true

15.0.0 (2021-11-17)

Bug Fixes

  • 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)

Features

Tests

  • config-lerna-scopes: reuse npm bootstrap to simplify tests (#2479) (9a7a43a), closes #2447

BREAKING CHANGES

  • 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)

Features

  • prompt: rewrite codebase to use inquirer - UPDATED with current master (#2697) (5105f43)

14.1.0 (2021-11-01)

Features

  • extend helpUrl from shareable config (#2846) (d7e2e2b)
  • load: add support for .commitlintrc.cjs and commitlint.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

BREAKING CHANGES

  • add prompt.settings configuration

13.2.1 (2021-10-09)

Bug Fixes

13.2.0 (2021-09-28)

Bug Fixes

  • 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)

Features

  • load: add cosmiconfig typescript loader (b65aced)

13.1.0 (2021-07-24)

Bug Fixes

  • 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

Features

  • rules: allow body-case to accept an array of cases (5383c9e), closes #2631

13.0.0 (2021-05-24)

Bug Fixes

Features

  • add subject-exclamation-mark rule to improve error messages (#2593) (be701bd)

  • rules: add trailer-exists rule (#2578) (cd3816d)

  • chore!: remove node 10 support (#2596) (4db4ba1), closes #2596

BREAKING CHANGES

  • minimum node version is 12

12.1.3 (2021-05-12)

Bug Fixes

12.1.2 (2021-04-29)

Bug Fixes

12.1.1 (2021-04-02)

Bug Fixes

12.1.0 (2021-03-06)

Features

  • config-lerna-scopes: keep supporting lerna v3 (51b0f4a)

12.0.1 (2021-02-23)

Bug Fixes

  • update dependency conventional-commits-parser to v3.2.1 (#2459) (8bcc4f0)
  • load: use Rule | AsyncRule | SyncRule as rule value type in Plugin (#2146) (75b67b8)
  • types: correct chalkColor type (#2420) (ef8bdad)
  • update dependency throat to v6 (#2417) (6f7db1b)

12.0.0 (2021-01-18)

Bug Fixes

  • 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)

Features

BREAKING CHANGES

  • resolve-extends: The order of the extends resolution is changed from right-to-left to left-to-right

11.0.0 (2020-09-05)

Bug Fixes

  • cli: remove default value from edit option #2065 (3d4116d)

  • rules: ignore comments in signed-off-by (#2098) (b610bcd)

  • update dependency @types/fs-extra to ^9.0.1 (#2088) (cb1028e)

  • refactor!: drop support for lerna v2 (59667b3)

BREAKING CHANGES

  • remove lerna v2 support and tests

10.0.0 (2020-08-16)

Bug Fixes

BREAKING CHANGES

  • 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)

Bug Fixes

9.1.0 (2020-06-21)

Bug Fixes

  • 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)

Features

  • add local plugins support (#1692) (7b29c48)
  • enable multiple scopes in scope-enum and scope-case rules (#901) (73632ce)

9.0.1 (2020-05-26)

Bug Fixes

9.0.0 (2020-05-21)

Bug Fixes

Features

  • 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

BREAKING CHANGES

  • 'improvement' type will now be rejected by this config.

8.3.5 (2020-01-15)

Bug Fixes

  • 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)

Bug Fixes

8.3.1 (2019-10-16)

Bug Fixes

  • load: resolve nested parser preset factories (#831) (73a7df7)

8.3.0 (2019-10-16)

Features

  • 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.

Bug Fixes

  • pass defaultIgnores from configuration in @commitlint/cli (#771) (a259014)

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.

Bug Fixes

  • add explicit dependency on chalk (#687) (9075844)
  • pass ignores from configuration in @commitlint/cli (#668) (da99aaa)

Breaking Changes

  • 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)

Bug Fixes

  • ensure format() is available as commonjs default export #645 (ec3da92)
  • handle absolute config paths correctly #647 (49b3a77)

7.6.0 (2019-05-06)

Bug Fixes

Features

7.5.2 (2019-02-11)

Bug Fixes

  • 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)

Bug Fixes

  • is-ignored: ignore bitbuckets automatic merge (#573) (e5bdc5c)

7.5.0 (2019-01-31)

Bug Fixes

  • 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)

Features

  • add support for git submodules (cc575fa)
  • rule-header-length: show current header length (6d61c4f)

7.4.0 (2019-01-27)

Bug Fixes

Features

  • rules: create header-case and header-full-stop rules (#547) (4c36cbd)

7.3.2 (2019-01-15)

Bug Fixes

  • 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)

Bug Fixes

  • 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

Features

7.2.1 (2018-10-11)

Bug Fixes

7.2.0 (2018-10-05)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • wildcards: add new wildcard patterns #315 (e9ea17f)
  • add max line length to body/footer (542f50e)

6.2.0 (2018-05-01)

Features

  • 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)

Bug Fixes

  • ensure: ignore word delimiters for case matching #291 (fa69299)

6.1.0 (2018-02-03)

Bug Fixes

  • parse: default to angular preset for empty parserOpts (#265) (ccb03b4), closes #262

Features

6.0.5 (2018-01-31)

Bug Fixes

  • remove utils from prod dependencies (4fb858a)

6.0.4 (2018-01-31)

Bug Fixes

6.0.3 (2018-01-31)

Bug Fixes

  • update dependency cosmiconfig to ^4.0.0 (#234) (7f94ac5)
  • update dependency semver to v5.5.0 (#236) (6c52bd9)

6.0.2 (2018-01-12)

Bug Fixes

  • 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)

Bug Fixes

Styles

  • validate rule configuration (edf7187)

BREAKING CHANGES

  • 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)

Bug Fixes

  • ignore semver commits with chore type (cdbb085), closes #198

5.2.5 (2017-12-08)

Bug Fixes

5.2.4 (2017-12-08)

Note: Version bump only for package @commitlint/root

5.2.3 (2017-12-05)

Bug Fixes

5.2.2 (2017-11-30)

Bug Fixes

  • travis-cli: read push commits directly (9bc56c6)

5.2.1 (2017-11-30)

Bug Fixes

  • travis-cli: lint ranges only for pr builds (85b201f)

5.2.0 (2017-11-30)

Bug Fixes

  • consider pull requests from forks (4653c2c)

Features

  • babel-preset-commitlint: add jsx tranform (#163) (5190241)

5.1.3 (2017-11-24)

Bug Fixes

  • config-conventional: add missing applicable attribute to type-enum (a8db0b1)

5.1.2 (2017-11-24)

Bug Fixes

  • prompt: apply forced cases properly (3a569a7), closes #145

5.1.1 (2017-11-24)

Bug Fixes

5.1.0 (2017-11-24)

Bug Fixes

  • update dependency concurrently to v3.5.1 (#147) (a809d0f)
  • config-conventional: remove unneeded dependency (d0e62fd)

Features

  • 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)

Bug Fixes

  • core: fall back to globally installed config if available (#127) (8612eb3)

5.0.0 (2017-11-18)

Bug fixes

  • core: interprets array values for subject-case correctly

Features

  • 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)

Bug Fixes

Features

  • add references-empty rule (4fc8d5d)