semantic-release 25.0.8 → 26.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,9 +18,6 @@
18
18
  <a href="https://www.npmjs.com/package/semantic-release">
19
19
  <img alt="npm latest version" src="https://img.shields.io/npm/v/semantic-release/latest.svg">
20
20
  </a>
21
- <a href="https://www.npmjs.com/package/semantic-release">
22
- <img alt="npm next version" src="https://img.shields.io/npm/v/semantic-release/next.svg">
23
- </a>
24
21
  <a href="https://www.npmjs.com/package/semantic-release">
25
22
  <img alt="npm beta version" src="https://img.shields.io/npm/v/semantic-release/beta.svg">
26
23
  </a>
@@ -57,10 +57,12 @@ Please verify the \`repository\` property in your \`package.json\` and the [repo
57
57
  };
58
58
  }
59
59
 
60
- export function EGITNOPERMISSION({ options: { repositoryUrl }, branch: { name } }) {
60
+ export function EGITNOPERMISSION({ options: { originalRepositoryURL, repositoryUrl }, branch: { name } }) {
61
61
  return {
62
62
  message: "Cannot push to the Git repository.",
63
- details: `**semantic-release** cannot push the version tag to the branch \`${name}\` on the remote Git repository with URL \`${repositoryUrl}\`.
63
+ // Use `originalRepositoryURL` as `repositoryUrl` may contain credentials resolved by `getGitAuthUrl`,
64
+ // and this error is rethrown to API consumers without masking
65
+ details: `**semantic-release** cannot push the version tag to the branch \`${name}\` on the remote Git repository with URL \`${originalRepositoryURL || repositoryUrl}\`.
64
66
 
65
67
  This can be caused by:
66
68
  - a misconfiguration of the [repositoryUrl](${linkify("usage/configuration#repositoryurl")}) option
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "semantic-release",
3
3
  "description": "Automated semver compliant package publishing",
4
- "version": "25.0.8",
4
+ "version": "26.0.0-beta.1",
5
5
  "type": "module",
6
6
  "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
7
7
  "ava": {
@@ -60,29 +60,29 @@
60
60
  "@types/node": "24.13.3",
61
61
  "@types/signale": "1.4.7",
62
62
  "ava": "8.0.1",
63
- "c8": "11.0.0",
63
+ "c8": "12.0.0",
64
64
  "clear-module": "4.1.3",
65
65
  "cz-conventional-changelog": "3.3.0",
66
66
  "file-url": "4.0.0",
67
- "fs-extra": "11.3.6",
67
+ "fs-extra": "11.4.0",
68
68
  "got": "15.1.0",
69
- "js-yaml": "4.3.0",
69
+ "js-yaml": "4.3.1",
70
70
  "lockfile-lint": "5.0.0",
71
71
  "ls-engines": "0.10.1",
72
- "mockserver-client": "7.4.0",
73
- "nock": "14.0.16",
74
- "npm-run-all2": "9.0.2",
72
+ "mockserver-client": "7.5.0",
73
+ "nock": "14.0.17",
74
+ "npm-run-all2": "9.0.3",
75
75
  "p-retry": "8.0.0",
76
76
  "prettier": "3.8.5",
77
- "publint": "0.3.21",
78
- "sinon": "22.0.0",
77
+ "publint": "0.3.22",
78
+ "sinon": "22.1.0",
79
79
  "stream-buffers": "3.0.3",
80
80
  "tempy": "3.2.0",
81
81
  "testcontainers": "12.0.4",
82
82
  "testdouble": "3.20.2"
83
83
  },
84
84
  "engines": {
85
- "node": "^22.14.0 || >= 24.10.0"
85
+ "node": "^22.22.2 || >=24.15"
86
86
  },
87
87
  "files": [
88
88
  "bin",
@@ -167,5 +167,5 @@
167
167
  ]
168
168
  }
169
169
  },
170
- "packageManager": "npm@12.0.1+sha512.2f94fd8bf600416416a934bfc59c4991e8bff7372ef7d842784e2a8b8d48c81555ee645069ddea73625fb8e92dc261feab0188fd5dab6c22fefd46316f5f9140"
170
+ "packageManager": "npm@12.0.2+sha512.b885e890b9418fa1693544d05f53e64f9a73ec194837d4258b15fecdd692347b1dd2a517b1b0cbaf9d31cd8e92c3b70956bd2ecc72833a57b4b3098f5bfa7943"
171
171
  }