release-please 13.18.3 → 13.18.4

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,14 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [13.18.4](https://github.com/googleapis/release-please/compare/v13.18.3...v13.18.4) (2022-06-24)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **cli:** pass GitHub API URLs from options to builder ([#1481](https://github.com/googleapis/release-please/issues/1481)) ([44b39ba](https://github.com/googleapis/release-please/commit/44b39baf90c19db1440f142eddd9cf9ed99c2da3))
13
+ * **go:** hide unwanted changelog sections ([#1483](https://github.com/googleapis/release-please/issues/1483)) ([60ed310](https://github.com/googleapis/release-please/commit/60ed310caf8895501d31efc6a5e28a3855b5cd78))
14
+
7
15
  ## [13.18.3](https://github.com/googleapis/release-please/compare/v13.18.2...v13.18.3) (2022-06-08)
8
16
 
9
17
 
@@ -493,6 +493,8 @@ async function buildGitHub(argv) {
493
493
  owner,
494
494
  repo,
495
495
  token: argv.token,
496
+ apiUrl: argv.apiUrl,
497
+ graphqlUrl: argv.graphqlUrl,
496
498
  });
497
499
  return github;
498
500
  }
@@ -20,13 +20,29 @@ const version_1 = require("../version");
20
20
  const version_go_1 = require("../updaters/go/version-go");
21
21
  const logger_1 = require("../util/logger");
22
22
  const path_1 = require("path");
23
+ const CHANGELOG_SECTIONS = [
24
+ { type: 'feat', section: 'Features' },
25
+ { type: 'fix', section: 'Bug Fixes' },
26
+ { type: 'perf', section: 'Performance Improvements' },
27
+ { type: 'revert', section: 'Reverts' },
28
+ { type: 'docs', section: 'Documentation' },
29
+ { type: 'style', section: 'Styles', hidden: true },
30
+ { type: 'chore', section: 'Miscellaneous Chores', hidden: true },
31
+ { type: 'refactor', section: 'Code Refactoring', hidden: true },
32
+ { type: 'test', section: 'Tests', hidden: true },
33
+ { type: 'build', section: 'Build System', hidden: true },
34
+ { type: 'ci', section: 'Continuous Integration', hidden: true },
35
+ ];
23
36
  const REGEN_PR_REGEX = /.*auto-regenerate.*/;
24
37
  const REGEN_ISSUE_REGEX = /(?<prefix>.*)\(#(?<pr>.*)\)(\n|$)/;
25
38
  class GoYoshi extends base_1.BaseStrategy {
26
39
  constructor(options) {
27
40
  var _a;
28
41
  options.changelogPath = (_a = options.changelogPath) !== null && _a !== void 0 ? _a : 'CHANGES.md';
29
- super(options);
42
+ super({
43
+ ...options,
44
+ changelogSections: CHANGELOG_SECTIONS,
45
+ });
30
46
  }
31
47
  async buildUpdates(options) {
32
48
  const updates = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "13.18.3",
3
+ "version": "13.18.4",
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",
@@ -43,10 +43,10 @@
43
43
  "@types/iarna__toml": "^2.0.1",
44
44
  "@types/js-yaml": "^4.0.0",
45
45
  "@types/jsonpath": "^0.2.0",
46
- "@types/lerna__collect-updates": "^4.0.0",
47
- "@types/lerna__package": "^4.0.2",
48
- "@types/lerna__package-graph": "^4.0.1",
49
- "@types/lerna__run-topologically": "^4.0.0",
46
+ "@types/lerna__collect-updates": "^5.0.0",
47
+ "@types/lerna__package": "^5.0.0",
48
+ "@types/lerna__package-graph": "^5.0.0",
49
+ "@types/lerna__run-topologically": "^5.0.0",
50
50
  "@types/mocha": "^9.0.0",
51
51
  "@types/node": "^16.0.0",
52
52
  "@types/pino": "^7.0.0",