Skip to content

Commit 47346f4

Browse files
github-actions[bot]github-actionsHowardBrahamgauthierpetetin
authored
5.1.0 (#250)
This is the release candidate for version 5.1.0. --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Howard Braham <[email protected]> Co-authored-by: Gauthier Petetin <[email protected]>
1 parent dcc88e3 commit 47346f4

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

CHANGELOG.md

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [5.1.0]
11+
1012
### Added
1113

12-
- Look for `CHANGELOG entry:` in the PR description, and look for `no-changelog` label, then apply this to the generated CHANGELOG, plus properly categorize by Conventional Commit type, including our custom ConventionalCommitType.RELEASE (#247)
14+
- Add `--useChangelogEntry` to `auto-changelog update` ([#247](https://github.com/MetaMask/auto-changelog/pull/247))
15+
- This will read the PR referenced in each commit message, look for `CHANGELOG entry:` in the PR description, and use this as the new changelog entry in the changelog (or skip if the `no-changelog` label is present on the PR)
16+
- Note that `GITHUB_TOKEN` must be set in order to use this option
17+
- The `updateChangelog` function also supports this option
18+
- Add `--useShortPrLink` to `auto-changelog update` ([#247](https://github.com/MetaMask/auto-changelog/pull/247))
19+
- This will generate short references to PRs, e.g. `#123` instead of `[#123](https://some/repo)`
20+
- The `updateChangelog` function also supports this option
21+
22+
### Changed
23+
- Update `auto-changelog update --autoCategorize` to exclude entries with certain phrases or Conventional Commit prefixes ([#247](https://github.com/MetaMask/auto-changelog/pull/247))
24+
- If commit messages have the following prefixes they will not be automatically added to the changelog:
25+
- `style`
26+
- `refactor`
27+
- `test`
28+
- `build`
29+
- `ci`
30+
- `release`
31+
- If commit messages have the following phrases they will not be automatically added to the changelog:
32+
- `Bump main version to`
33+
- `changelog`
34+
- `cherry-pick`
35+
- `cp-`
36+
- `e2e`
37+
- `flaky test`
38+
- `INFRA-`
39+
- `merge`
40+
- `New Crowdin translations`
1341

1442
## [5.0.2]
1543

@@ -160,7 +188,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
160188

161189
### Fixed
162190

163-
- Correctly calculate the most recent git tag ([#87](https://github.com/MetaMask/auto-changelog/pull/87)) ([#87](https://github.com/MetaMask/auto-changelog/pull/87))
191+
- Correctly calculate the most recent git tag ([#87](https://github.com/MetaMask/auto-changelog/pull/87))
164192
- Previously, we passed the path to the project root directory as a parameter to an invocation of `git rev-list`. For all repositories, this caused most tags belonging to merge commits to be excluded. For monorepos, this also caused tags belonging to commits that didn't change any files belonging to the changelog's package / workspace to be excluded.
165193

166194
## [2.2.0]
@@ -219,14 +247,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
219247

220248
### Added
221249

222-
- The initial `auto-changelog` implementation, adapted from the original `auto-changelog.js` script in `metamask-extension` ([#8](https://github.com/MetaMask/auto-changelog/pull/8)).
250+
- The initial `auto-changelog` implementation, adapted from the original `auto-changelog.js` script in `metamask-extension`. ([#8](https://github.com/MetaMask/auto-changelog/pull/8))
223251
Includes the following features:
224252
- An `update` command ([#26](https://github.com/MetaMask/auto-changelog/pull/26))
225253
- A `validate` command ([#28](https://github.com/MetaMask/auto-changelog/pull/28))
226254
- Monorepo support ([#41](https://github.com/MetaMask/auto-changelog/pull/41))
227255
- Configurable repository URL, version, and changelog file path ([#33](https://github.com/MetaMask/auto-changelog/pull/33), [#31](https://github.com/MetaMask/auto-changelog/pull/31), [#30](https://github.com/MetaMask/auto-changelog/pull/30))
228256

229-
[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v5.0.2...HEAD
257+
[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v5.1.0...HEAD
258+
[5.1.0]: https://github.com/MetaMask/auto-changelog/compare/v5.0.2...v5.1.0
230259
[5.0.2]: https://github.com/MetaMask/auto-changelog/compare/v5.0.1...v5.0.2
231260
[5.0.1]: https://github.com/MetaMask/auto-changelog/compare/v5.0.0...v5.0.1
232261
[5.0.0]: https://github.com/MetaMask/auto-changelog/compare/v4.1.0...v5.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/auto-changelog",
3-
"version": "5.0.2",
3+
"version": "5.1.0",
44
"description": "Utilities for validating and updating \"Keep a Changelog\" formatted changelogs",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)