release-please 16.18.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 CHANGED
@@ -4,6 +4,17 @@
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
+
7
18
  ## [16.18.0](https://github.com/googleapis/release-please/compare/v16.17.0...v16.18.0) (2025-02-27)
8
19
 
9
20
 
@@ -41,6 +41,7 @@ interface GitHubCreateOptions {
41
41
  token?: string;
42
42
  logger?: Logger;
43
43
  proxy?: ProxyOption;
44
+ fetch?: any;
44
45
  }
45
46
  type CommitFilter = (commit: Commit) => boolean;
46
47
  interface CommitIteratorOptions {
@@ -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}`,
@@ -14,4 +14,4 @@ export { Logger, setLogger } from './util/logger';
14
14
  export { GitHub } from './github';
15
15
  export declare const configSchema: any;
16
16
  export declare const manifestSchema: any;
17
- export declare const VERSION = "16.18.0";
17
+ export declare const VERSION = "17.0.0";
@@ -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 = '16.18.0';
39
+ exports.VERSION = '17.0.0';
40
40
  // x-release-please-end
41
41
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "16.18.0",
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": "^9.2.2",
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": "^2.0.0",
71
+ "@google-automations/git-file-utils": "^3.0.0",
71
72
  "@iarna/toml": "^3.0.0",
72
- "@octokit/graphql": "^5.0.0",
73
- "@octokit/request": "^6.0.0",
74
- "@octokit/request-error": "^3.0.0",
75
- "@octokit/rest": "^19.0.0",
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": "^4.2.0",
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",