Releases: MetaMask/auto-changelog
Releases · MetaMask/auto-changelog
5.0.0
Added
- JavaScript sources and TypeScript declarations are now available in both CommonJS- and ESM-compatible variants (#226)
- Add option to changelog validation to ensure that each entry in the changelog links to one or more originating PRs (#222)
- Pass
--pr-links
to the CLI, or passensureValidPrLinksPresent
tovalidateChangelog
to enable this behavior, ideally in yourlint
package script or CI workflow
- Pass
- Add an optional
shouldExtractPrLinks
option toparseChangelog
(#222)- 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
- See note on
Changelog.getReleaseChanges
below for more
Changed
- BREAKING:
Changelog.getReleaseChanges
now returns an object whose values are objects of shape{ description: string; prNumbers: string[] }
rather than simplystring
(the description) (#222)- This affects
parseChangelog
as well, since it returns an instance ofChangelog
- This affects
- BREAKING: Bump minimum Node version to 18.20 (#227)
- BREAKING: Custom subpath imports are no longer supported (#226)
- You may now only import
@metamask/auto-changelog
and@metamask/auto-changelog/package.json
- You may now only import
4.1.0
Added
- Add
--autoCategorize
flag toupdate
command (#212)- When populating the Unreleased section, the tool will look for Conventional Commits prefixes in commit message subjects and place matching commits in corresponding categories automatically.
- Supported prefixes are
feat
(which routes to "Added") andfix
(which routes to "Fixed").
4.0.0
Changed
- BREAKING: Drop support for Node.js <18.18 (#203)
- BREAKING: Require
prettier@>=3.0.0
(#202)- Prettier is now a peer dependency of this package.
- BREAKING: Enable Prettier formatting by default (#204)
- Changelogs are now formatted with Prettier by default when using the CLI.
- You can opt-out of this change by specifying
--no-prettier
.