You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- JavaScript sources and TypeScript declarations are now available in both CommonJS- and ESM-compatible variants ([#226](https://github.com/MetaMask/auto-changelog/pull/226))
16
21
- 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))
17
22
- Pass `--pr-links` to the CLI, or pass `ensureValidPrLinksPresent` to `validateChangelog` to enable this behavior, ideally in your `lint` package script or CI workflow
@@ -20,20 +25,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
25
- See note on `Changelog.getReleaseChanges` below for more
21
26
22
27
### Changed
28
+
23
29
-**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))
24
30
- This affects `parseChangelog` as well, since it returns an instance of `Changelog`
25
31
-**BREAKING:** Bump minimum Node version to 18.20 ([#227](https://github.com/MetaMask/auto-changelog/pull/227))
26
32
-**BREAKING:** Custom subpath imports are no longer supported ([#226](https://github.com/MetaMask/auto-changelog/pull/226))
27
33
- You may now only import `@metamask/auto-changelog` and `@metamask/auto-changelog/package.json`
28
34
29
35
## [4.1.0]
36
+
30
37
### Added
38
+
31
39
- Add `--autoCategorize` flag to `update` command ([#212](https://github.com/MetaMask/auto-changelog/pull/212))
32
40
- When populating the Unreleased section, the tool will look for [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) prefixes in commit message subjects and place matching commits in corresponding categories automatically.
33
41
- Supported prefixes are `feat` (which routes to "Added") and `fix` (which routes to "Fixed").
34
42
35
43
## [4.0.0]
44
+
36
45
### Changed
46
+
37
47
-**BREAKING:** Drop support for Node.js <18.18 ([#203](https://github.com/MetaMask/auto-changelog/pull/203))
- Retain tag history for renamed packages with new validation options ([#157](https://github.com/MetaMask/auto-changelog/pull/157))
65
85
66
86
- Introduced --version-before-package-rename and --tag-prefix-before-package-rename options for validate command.
67
87
68
88
## [3.3.0]
89
+
69
90
### Added
91
+
70
92
- Add `--prettier` option for Prettier-formatted changelogs ([#155](https://github.com/MetaMask/auto-changelog/pull/155))
71
93
72
94
## [3.2.0]
95
+
73
96
### Added
97
+
74
98
- Add `--fix` option to validate command ([#148](https://github.com/MetaMask/auto-changelog/pull/148))
75
99
76
100
## [3.1.0]
101
+
77
102
### Added
103
+
78
104
- Allow prerelease versions in release headers ([#130](https://github.com/MetaMask/auto-changelog/pull/130))
79
105
80
106
## [3.0.0]
107
+
81
108
### Added
109
+
82
110
- Support alternate tag prefixes ([#120](https://github.com/MetaMask/auto-changelog/pull/120))
83
111
84
112
### Changed
113
+
85
114
-**BREAKING:** Update minimum Node.js version to v14 ([#117](https://github.com/MetaMask/auto-changelog/pull/117))
86
115
- Get package version from manifest ([#121](https://github.com/MetaMask/auto-changelog/pull/121))
87
116
88
117
## [2.6.1]
118
+
89
119
### Fixed
120
+
90
121
- When fetching remote tags, order by date to account for miniscule time differences between tags created within automated tests ([#113](https://github.com/MetaMask/auto-changelog/pull/113))
91
122
92
123
## [2.6.0]
124
+
93
125
### Changed
126
+
94
127
- Read repository URL from package.json if `npm_package_repository_url` is not set ([#111](https://github.com/MetaMask/auto-changelog/pull/111))
95
128
- This makes this package compatible with Yarn >1.
96
129
97
130
## [2.5.0]
131
+
98
132
### Added
133
+
99
134
- The `validate --rc` command now ensures there are no uncategorized changes in the current release entry ([#102](https://github.com/MetaMask/auto-changelog/pull/102), [#106](https://github.com/MetaMask/auto-changelog/pull/106))
100
135
101
136
## [2.4.0]
137
+
102
138
### Changed
139
+
103
140
- Permit missing separating space in "Unreleased" link reference definition ([#92](https://github.com/MetaMask/auto-changelog/pull/92))
104
141
- Use `execa` to execute git commands ([#94](https://github.com/MetaMask/auto-changelog/pull/94))
105
142
- This may fix subtle bugs related to git command execution, especially in CI.
106
143
107
144
## [2.3.0]
145
+
108
146
### Added
147
+
109
148
- More exports to index.ts ([#86](https://github.com/MetaMask/auto-changelog/pull/86))
110
149
- Specifically, the `Changelog` class, `createEmptyChangelog`, and `parseChangelog`.
111
150
112
151
### Fixed
152
+
113
153
- 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))
114
154
- 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.
- Add `@lavamoat/allow-scripts` and `setup` command ([#78](https://github.com/MetaMask/auto-changelog/pull/78))
122
165
- Detect all PRs referenced in each change description, rather than just the first ([#84](https://github.com/MetaMask/auto-changelog/pull/84))
123
166
124
167
### Fixed
168
+
125
169
- Fix broken validation and updating when the lowest SemVer release isn't the first chronological release ([#76](https://github.com/MetaMask/auto-changelog/pull/76))
126
170
- Fix PR number detection in existing change entries ([#83](https://github.com/MetaMask/auto-changelog/pull/83))
-**(BREAKING)** Move Pull Request links to end of change entries ([#66](https://github.com/MetaMask/auto-changelog/pull/66))
145
197
- Rename files to use snake-case ([#64](https://github.com/MetaMask/auto-changelog/pull/64))
146
198
- Validate change categories during parsing ([#62](https://github.com/MetaMask/auto-changelog/pull/62))
147
199
- This causes a validation error to be thrown earlier than previously.
148
200
- Migrate to TypeScript ([#59](https://github.com/MetaMask/auto-changelog/pull/59))
149
201
150
202
### Fixed
203
+
151
204
- Release candidate tag validation ([#55](https://github.com/MetaMask/auto-changelog/pull/55))
152
205
- The fixed check ensures that there are no existing tags for release candidates.
153
206
- Typo in CLI error message ([#65](https://github.com/MetaMask/auto-changelog/pull/65))
154
207
155
208
## [1.0.0]
209
+
156
210
### Added
157
-
- 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)).
158
-
Includes the following features:
211
+
212
+
- 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)).
213
+
Includes the following features:
159
214
- An `update` command ([#26](https://github.com/MetaMask/auto-changelog/pull/26))
160
215
- A `validate` command ([#28](https://github.com/MetaMask/auto-changelog/pull/28))
161
216
- Monorepo support ([#41](https://github.com/MetaMask/auto-changelog/pull/41))
0 commit comments