release-please 16.17.0 → 17.0.0
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/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/build/src/github.d.ts +1 -0
- package/build/src/github.js +3 -0
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js +1 -1
- package/build/src/manifest.d.ts +1 -0
- package/build/src/manifest.js +3 -2
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/release-please?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [17.0.0](https://github.com/googleapis/release-please/compare/v16.18.0...v17.0.0) (2025-03-11)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* **deps:** update octokit to v20 ([#2490](https://github.com/googleapis/release-please/issues/2490))
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **deps:** update octokit to v20 ([#2490](https://github.com/googleapis/release-please/issues/2490)) ([9f3b669](https://github.com/googleapis/release-please/commit/9f3b6699474b0ff1987ef3ad4ca5a96ce69d9a6a))
|
|
17
|
+
|
|
18
|
+
## [16.18.0](https://github.com/googleapis/release-please/compare/v16.17.0...v16.18.0) (2025-02-27)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* Manifest.createRelease to return PR numbers ([#2491](https://github.com/googleapis/release-please/issues/2491)) ([0f07691](https://github.com/googleapis/release-please/commit/0f076910c719b8dc8563936039b0708567811049))
|
|
24
|
+
|
|
7
25
|
## [16.17.0](https://github.com/googleapis/release-please/compare/v16.16.0...v16.17.0) (2025-02-20)
|
|
8
26
|
|
|
9
27
|
|
package/README.md
CHANGED
|
@@ -194,7 +194,7 @@ Release Please automates releases for the following flavors of repositories:
|
|
|
194
194
|
| `expo` | [An Expo based React Native repository, with a package.json, app.json and CHANGELOG.md](https://github.com/dmi3y/expo-release-please-example) |
|
|
195
195
|
| `ocaml` | [An OCaml repository, containing 1 or more opam or esy files and a CHANGELOG.md](https://github.com/grain-lang/binaryen.ml) |
|
|
196
196
|
| `php` | A repository with a composer.json and a CHANGELOG.md |
|
|
197
|
-
| `python` | [A Python repository
|
|
197
|
+
| `python` | [A Python repository with a pyproject.toml, <project>/\_\_init\_\_.py, CHANGELOG.md or optionally a setup.py, setup.cfg](https://github.com/googleapis/python-storage) |
|
|
198
198
|
| `R` | A repository with a DESCRIPTION and a NEWS.md |
|
|
199
199
|
| `ruby` | A repository with a version.rb and a CHANGELOG.md |
|
|
200
200
|
| `rust` | A Rust repository, with a Cargo.toml (either as a crate or workspace, although note that workspaces require a [manifest driven release](https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md) and the "cargo-workspace" plugin) and a CHANGELOG.md |
|
package/build/src/github.d.ts
CHANGED
package/build/src/github.js
CHANGED
|
@@ -403,6 +403,7 @@ class GitHub {
|
|
|
403
403
|
auth: options.token,
|
|
404
404
|
request: {
|
|
405
405
|
agent: this.createDefaultAgent(apiUrl, options.proxy),
|
|
406
|
+
fetch: options.fetch,
|
|
406
407
|
},
|
|
407
408
|
}),
|
|
408
409
|
request: request_1.request.defaults({
|
|
@@ -411,11 +412,13 @@ class GitHub {
|
|
|
411
412
|
'user-agent': `release-please/${releasePleaseVersion}`,
|
|
412
413
|
Authorization: `token ${options.token}`,
|
|
413
414
|
},
|
|
415
|
+
fetch: options.fetch,
|
|
414
416
|
}),
|
|
415
417
|
graphql: graphql_1.graphql.defaults({
|
|
416
418
|
baseUrl: graphqlUrl,
|
|
417
419
|
request: {
|
|
418
420
|
agent: this.createDefaultAgent(graphqlUrl, options.proxy),
|
|
421
|
+
fetch: options.fetch,
|
|
419
422
|
},
|
|
420
423
|
headers: {
|
|
421
424
|
'user-agent': `release-please/${releasePleaseVersion}`,
|
package/build/src/index.d.ts
CHANGED
package/build/src/index.js
CHANGED
|
@@ -36,6 +36,6 @@ Object.defineProperty(exports, "GitHub", { enumerable: true, get: function () {
|
|
|
36
36
|
exports.configSchema = require('../../schemas/config.json');
|
|
37
37
|
exports.manifestSchema = require('../../schemas/manifest.json');
|
|
38
38
|
// x-release-please-start-version
|
|
39
|
-
exports.VERSION = '
|
|
39
|
+
exports.VERSION = '17.0.0';
|
|
40
40
|
// x-release-please-end
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/build/src/manifest.d.ts
CHANGED
package/build/src/manifest.js
CHANGED
|
@@ -704,7 +704,7 @@ class Manifest {
|
|
|
704
704
|
if (error)
|
|
705
705
|
continue;
|
|
706
706
|
try {
|
|
707
|
-
githubReleases.push(await this.createRelease(release));
|
|
707
|
+
githubReleases.push(await this.createRelease(release, pullRequest));
|
|
708
708
|
}
|
|
709
709
|
catch (err) {
|
|
710
710
|
if (err instanceof errors_1.DuplicateReleaseError) {
|
|
@@ -747,7 +747,7 @@ class Manifest {
|
|
|
747
747
|
}
|
|
748
748
|
return githubReleases;
|
|
749
749
|
}
|
|
750
|
-
async createRelease(release) {
|
|
750
|
+
async createRelease(release, pullRequest) {
|
|
751
751
|
const githubRelease = await this.github.createRelease(release, {
|
|
752
752
|
draft: release.draft,
|
|
753
753
|
prerelease: release.prerelease,
|
|
@@ -759,6 +759,7 @@ class Manifest {
|
|
|
759
759
|
major: release.tag.version.major,
|
|
760
760
|
minor: release.tag.version.minor,
|
|
761
761
|
patch: release.tag.version.patch,
|
|
762
|
+
prNumber: pullRequest.number,
|
|
762
763
|
};
|
|
763
764
|
}
|
|
764
765
|
async getStrategiesByPath() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "release-please",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "generate release PRs based on the conventionalcommits.org spec",
|
|
5
5
|
"main": "./build/src/index.js",
|
|
6
6
|
"bin": "./build/src/bin/release-please.js",
|
|
@@ -60,23 +60,24 @@
|
|
|
60
60
|
"config-chain": "^1.1.13",
|
|
61
61
|
"cross-env": "^7.0.0",
|
|
62
62
|
"gts": "^3.1.0",
|
|
63
|
-
"mocha": "^
|
|
63
|
+
"mocha": "^10.8.2",
|
|
64
64
|
"nock": "^13.0.0",
|
|
65
|
+
"node-fetch": "^2.6.0",
|
|
65
66
|
"sinon": "18.0.1",
|
|
66
67
|
"snap-shot-it": "^7.0.0"
|
|
67
68
|
},
|
|
68
69
|
"dependencies": {
|
|
69
70
|
"@conventional-commits/parser": "^0.4.1",
|
|
70
|
-
"@google-automations/git-file-utils": "^
|
|
71
|
+
"@google-automations/git-file-utils": "^3.0.0",
|
|
71
72
|
"@iarna/toml": "^3.0.0",
|
|
72
|
-
"@octokit/graphql": "^
|
|
73
|
-
"@octokit/request": "^
|
|
74
|
-
"@octokit/request-error": "^
|
|
75
|
-
"@octokit/rest": "^
|
|
73
|
+
"@octokit/graphql": "^7.1.0",
|
|
74
|
+
"@octokit/request": "^8.3.1",
|
|
75
|
+
"@octokit/request-error": "^5.1.0",
|
|
76
|
+
"@octokit/rest": "^20.1.1",
|
|
76
77
|
"@types/npm-package-arg": "^6.1.0",
|
|
77
78
|
"@xmldom/xmldom": "^0.8.4",
|
|
78
79
|
"chalk": "^4.0.0",
|
|
79
|
-
"code-suggester": "^
|
|
80
|
+
"code-suggester": "^5.0.0",
|
|
80
81
|
"conventional-changelog-conventionalcommits": "^6.0.0",
|
|
81
82
|
"conventional-changelog-writer": "^6.0.0",
|
|
82
83
|
"conventional-commits-filter": "^3.0.0",
|