diff --git a/README.md b/README.md
index d8f62948..edfbc56f 100644
--- a/README.md
+++ b/README.md
@@ -57,11 +57,11 @@ Tools such as [commitizen](https://github.com/commitizen/cz-cli) or [commitlint]
The table below shows which commit message gets you which release type when `semantic-release` runs (using the default configuration):
-| Commit message | Release type |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
-| `fix(pencil): stop graphite breaking when too much pressure applied` | ~~Patch~~ Fix Release |
-| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
-| `perf(pencil): remove graphiteWidth option`
`BREAKING CHANGE: The graphiteWidth option has been removed.`
`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release
(Note that the `BREAKING CHANGE: ` token must be in the footer of the commit) |
+| Commit message | Release type |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
+| `fix(pencil): stop graphite breaking when too much pressure applied` | ~~Patch~~ Fix Release |
+| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
+| `perf(pencil): remove graphiteWidth option`
`BREAKING CHANGE: The graphiteWidth option has been removed.`
`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release
(Note that the `BREAKING CHANGE: ` token must be in the footer of the commit) |
### Automation with CI
@@ -147,10 +147,10 @@ In order to use **semantic-release** you need:
Let people know that your package is published using **semantic-release** and which [commit-convention](#commit-message-format) is followed by including this badge in your readme.
-[](https://github.com/semantic-release/semantic-release)
+[](https://github.com/semantic-release/semantic-release)
```md
-[](https://github.com/semantic-release/semantic-release)
+[](https://github.com/semantic-release/semantic-release)
```
## Team
diff --git a/package-lock.json b/package-lock.json
index e3288b22..38824341 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,7 @@
"version": "0.0.0-development",
"license": "MIT",
"dependencies": {
- "@semantic-release/commit-analyzer": "^13.0.1",
+ "@semantic-release/commit-analyzer": "^14.0.0-beta.4",
"@semantic-release/error": "^4.0.0",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.1.1",
@@ -67,7 +67,7 @@
"testdouble": "3.20.2"
},
"engines": {
- "node": "^22.14.0 || >= 24.10.0"
+ "node": "^22.22.2 || >=24.15"
}
},
"node_modules/@actions/core": {
@@ -291,6 +291,15 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@conventional-changelog/template": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@conventional-changelog/template/-/template-1.4.0.tgz",
+ "integrity": "sha512-aalGyl7dbB5PArRebDIX43ZvBlXrYm9uWzGJ26t+4SzJVPsOuvfILGGbw5X4yX7i50YEmJ8zvbiWnqH/AAnZqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ }
+ },
"node_modules/@cto.af/wtf8": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@cto.af/wtf8/-/wtf8-0.0.5.tgz",
@@ -1528,27 +1537,76 @@
"license": "MIT"
},
"node_modules/@semantic-release/commit-analyzer": {
- "version": "13.0.1",
- "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.1.tgz",
- "integrity": "sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==",
+ "version": "14.0.0-beta.4",
+ "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-14.0.0-beta.4.tgz",
+ "integrity": "sha512-lYaWYjQE6cfXLmqo/zyk0VLRjA7Pd02JIgpB2XhVdEt++r45KvvfT/Zi6xjzxqXuhIkmrjNGbzwMzwHPw09QhQ==",
"license": "MIT",
"dependencies": {
- "conventional-changelog-angular": "^8.0.0",
- "conventional-changelog-writer": "^8.0.0",
- "conventional-commits-filter": "^5.0.0",
- "conventional-commits-parser": "^6.0.0",
+ "conventional-changelog-angular": "^9.0.0",
+ "conventional-changelog-conventionalcommits": "^10.0.0",
+ "conventional-commits-filter": "^6.0.0",
+ "conventional-commits-parser": "^7.0.0",
"debug": "^4.0.0",
"import-from-esm": "^2.0.0",
"lodash-es": "^4.17.21",
"micromatch": "^4.0.2"
},
"engines": {
- "node": ">=20.8.1"
+ "node": "^22.22.2 || >=24.15"
},
"peerDependencies": {
"semantic-release": ">=20.1.0"
}
},
+ "node_modules/@semantic-release/commit-analyzer/node_modules/@simple-libs/stream-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-2.0.0.tgz",
+ "integrity": "sha512-fCTuZK4QBa+39Oz9l4OGfJfz+GpwCp3AqO7Zch3to99xHPgstVsRFpeQ8LNd2o1Gv8raL2mCFwiaHh7bFSp5DQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ },
+ "funding": {
+ "url": "https://ko-fi.com/dangreen"
+ }
+ },
+ "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-changelog-angular": {
+ "version": "9.4.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-9.4.0.tgz",
+ "integrity": "sha512-HdxRxuS8bBXVIuo4V82gvSwAXT0vYQUizrjs/izmPg5JdDstr8v8I5hduGL3iQbG+o310dUDxC4+LetuS5hu9w==",
+ "license": "ISC",
+ "dependencies": {
+ "@conventional-changelog/template": "^1.4.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-commits-filter": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-6.0.1.tgz",
+ "integrity": "sha512-cs+LadpH7Kpw0M3k8wurk+sOVVDAENA0iK4OBOrkL94j5lEVYRJ4j3zd2bhY9qgzyrPqthdcYT3axzRN7AliMg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-commits-parser": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-7.1.2.tgz",
+ "integrity": "sha512-O+x4N2yH+ijvqWlIyTHsXTAP+algNWgGbjY2duCe8w2vUMvUB95cLRslCPfTMQyLAKlet3bhZTdu6ozn4M+QJQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@simple-libs/stream-utils": "^2.0.0",
+ "argue-cli": "^3.1.0"
+ },
+ "bin": {
+ "conventional-commits-parser": "dist/cli/index.js"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
"node_modules/@semantic-release/error": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz",
@@ -2483,6 +2541,18 @@
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"license": "Python-2.0"
},
+ "node_modules/argue-cli": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/argue-cli/-/argue-cli-3.2.0.tgz",
+ "integrity": "sha512-VipTB0gXgGIFO2Rg9yEVN5wLt2AurJcZqDbgmYSwPwsykhLrQhs240/bfceev4w68lI8JshoOJIk9uW7tFzROw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22"
+ },
+ "funding": {
+ "url": "https://ko-fi.com/dangreen"
+ }
+ },
"node_modules/argv-formatter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz",
@@ -3981,6 +4051,18 @@
"node": ">=18"
}
},
+ "node_modules/conventional-changelog-conventionalcommits": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-10.4.0.tgz",
+ "integrity": "sha512-Rriac6ZrAlVm6cy9Bz4NSp+WMHpwNXoPIYex+HjCgduAVUSbnew29DQjQw0C4g9u3HtSYzGiGY+pdBXAZo+4aA==",
+ "license": "ISC",
+ "dependencies": {
+ "@conventional-changelog/template": "^1.4.0"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
"node_modules/conventional-changelog-writer": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.4.0.tgz",
@@ -12237,6 +12319,29 @@
"node": "^22.14.0 || >= 24.10.0"
}
},
+ "node_modules/semantic-release/node_modules/@semantic-release/commit-analyzer": {
+ "version": "13.0.1",
+ "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.1.tgz",
+ "integrity": "sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "conventional-changelog-angular": "^8.0.0",
+ "conventional-changelog-writer": "^8.0.0",
+ "conventional-commits-filter": "^5.0.0",
+ "conventional-commits-parser": "^6.0.0",
+ "debug": "^4.0.0",
+ "import-from-esm": "^2.0.0",
+ "lodash-es": "^4.17.21",
+ "micromatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=20.8.1"
+ },
+ "peerDependencies": {
+ "semantic-release": ">=20.1.0"
+ }
+ },
"node_modules/semver": {
"version": "7.8.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
diff --git a/package.json b/package.json
index c5c1cb6a..246f4d29 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
"Matt Travi (https://matt.travi.org/)"
],
"dependencies": {
- "@semantic-release/commit-analyzer": "^13.0.1",
+ "@semantic-release/commit-analyzer": "^14.0.0-beta.4",
"@semantic-release/error": "^4.0.0",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.1.1",
diff --git a/test/e2e.test.js b/test/e2e.test.js
index d88eb1db..85e484e7 100644
--- a/test/e2e.test.js
+++ b/test/e2e.test.js
@@ -239,7 +239,7 @@ test.serial("Release patch, minor and major versions", async (t) => {
t.log("Commit a breaking change on next");
await gitCheckout("next", true, { cwd });
await gitPush("origin", "next", { cwd });
- await gitCommits(["feat: foo\n\n BREAKING CHANGE: bar"], { cwd });
+ await gitCommits(["feat: foo\n\nBREAKING CHANGE: bar"], { cwd });
t.log("$ semantic-release");
({ stdout, exitCode } = await execa(cli, [], { env: { ...env, TRAVIS_BRANCH: "next" }, cwd, extendEnv: false }));
t.regex(stdout, new RegExp(`Published GitHub release: release-url/${version}`));