Skip to content

Commit e65c485

Browse files
5.0.0 (#228)
1 parent 9577a9b commit e65c485

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [5.0.0]
10+
### Added
11+
- JavaScript sources and TypeScript declarations are now available in both CommonJS- and ESM-compatible variants ([#226](https://github.com/MetaMask/auto-changelog/pull/226))
12+
- Add option to changelog validation to ensure that each entry in the changelog links to one or more originating PRs ([#222](https://github.com/MetaMask/auto-changelog/pull/222))
13+
- Pass `--pr-links` to the CLI, or pass `ensureValidPrLinksPresent` to `validateChangelog` to enable this behavior, ideally in your `lint` package script or CI workflow
14+
- Add an optional `shouldExtractPrLinks` option to `parseChangelog` ([#222](https://github.com/MetaMask/auto-changelog/pull/222))
15+
- When true, this will extract pull request links from the text of each entry, identify the pull numbers, and keep them in a separate array
16+
- See note on `Changelog.getReleaseChanges` below for more
17+
18+
### Changed
19+
- **BREAKING:** `Changelog.getReleaseChanges` now returns an object whose values are objects of shape `{ description: string; prNumbers: string[] }` rather than simply `string` (the description) ([#222](https://github.com/MetaMask/auto-changelog/pull/222))
20+
- This affects `parseChangelog` as well, since it returns an instance of `Changelog`
21+
- **BREAKING:** Bump minimum Node version to 18.20 ([#227](https://github.com/MetaMask/auto-changelog/pull/227))
22+
- **BREAKING:** Custom subpath imports are no longer supported ([#226](https://github.com/MetaMask/auto-changelog/pull/226))
23+
- You may now only import `@metamask/auto-changelog` and `@metamask/auto-changelog/package.json`
24+
925
## [4.1.0]
1026
### Added
1127
- Add `--autoCategorize` flag to `update` command ([#212](https://github.com/MetaMask/auto-changelog/pull/212))
@@ -141,7 +157,8 @@ Includes the following features:
141157
- Monorepo support ([#41](https://github.com/MetaMask/auto-changelog/pull/41))
142158
- 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))
143159

144-
[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v4.1.0...HEAD
160+
[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v5.0.0...HEAD
161+
[5.0.0]: https://github.com/MetaMask/auto-changelog/compare/v4.1.0...v5.0.0
145162
[4.1.0]: https://github.com/MetaMask/auto-changelog/compare/v4.0.0...v4.1.0
146163
[4.0.0]: https://github.com/MetaMask/auto-changelog/compare/v3.4.4...v4.0.0
147164
[3.4.4]: https://github.com/MetaMask/auto-changelog/compare/v3.4.3...v3.4.4

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": "4.1.0",
3+
"version": "5.0.0",
44
"description": "Utilities for validating and updating \"Keep a Changelog\" formatted changelogs",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)