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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,67 +1,90 @@
1
1
# Changelog
2
+
2
3
All notable changes to this project will be documented in this file.
3
4
4
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
7
8
## [Unreleased]
9
+
8
10
### Fixed
11
+
9
12
- Improved error handling when opening browser fails due to System Events permissions or non-standard browser configurations ([#178](https://github.com/MetaMask/create-release-branch/pull/178))
10
13
- Now provides clear manual URL instructions instead of failing with osascript errors
11
14
- Handles both cases: when terminal lacks System Events permissions and when using alternative browsers like Brave
12
15
13
16
## [4.1.1]
17
+
14
18
### Fixed
19
+
15
20
- Ask users to include peer dependents of a major-bumped package in the release, even they've had no changes ([#173](https://github.com/MetaMask/create-release-branch/pull/173))
16
21
- UI: Include all peer dependents of a major-bumped package as available packages to release, even if they've had no changes ([#173](https://github.com/MetaMask/create-release-branch/pull/173))
17
22
18
23
## [4.1.0]
24
+
19
25
### Added
26
+
20
27
- Add interactive web UI for selecting package versions to release ([#166](https://github.com/MetaMask/create-release-branch/pull/166))
21
28
- Added `--interactive` (`-i`) flag to launch a web-based UI for easier version selection
22
29
- Added `--port` option to configure the web server port (default: 3000)
23
30
24
31
### Changed
32
+
25
33
- Refine breaking change dependent detection to only consider peer dependencies ([#170](https://github.com/MetaMask/create-release-branch/pull/170))
26
34
- This change supports our policy of requiring packages with breaking changes to be released alongside their dependents
27
35
- Regular dependencies are no longer included in this check
28
36
- Allow `npm:name@version` dependency redirections in manifest ([#158](https://github.com/MetaMask/create-release-branch/pull/158))
29
37
30
38
## [4.0.0]
39
+
31
40
### Changed
41
+
32
42
-**BREAKING:** Bump minimum Node.js version to `^18.18` ([#156](https://github.com/MetaMask/create-release-branch/pull/156))
33
43
-**BREAKING:** Bump `@metamask/auto-changelog` to `^4.0.0` ([#156](https://github.com/MetaMask/create-release-branch/pull/156))
34
44
- This requires `prettier@>=3.0.0`.
35
45
36
46
## [3.1.0]
47
+
37
48
### Changed
49
+
38
50
- Allow `npm:name@version` dependency redirections in manifest ([#158](https://github.com/MetaMask/create-release-branch/pull/158)) ([#159](https://github.com/MetaMask/create-release-branch/pull/159))
39
51
40
52
## [3.0.1]
53
+
41
54
### Changed
55
+
42
56
- Bump `@metamask/utils` to `^9.0.0` ([#150](https://github.com/MetaMask/create-release-branch/pull/150))
43
57
44
58
### Fixed
59
+
45
60
- Correct Yarn constraint violations and update Yarn lockfile at the end of the release process ([#145](https://github.com/MetaMask/create-release-branch/pull/145))
46
61
- This was previously a required step after running `create-release-branch`.
-**BREAKING:** Format changelogs using Prettier ([#100](https://github.com/MetaMask/create-release-branch/pull/100))
54
72
- This is a breaking change since it changes the default formatting of the changelog in new release PRs. If you have a package script that runs `auto-changelog validate`, or you're calling `auto-changelog validate` in CI, you'll now need to pass the `--prettier` flag (see [example](https://github.com/MetaMask/metamask-module-template/pull/219)).
55
73
56
74
### Fixed
75
+
57
76
- Restore support for monorepos that use `workspace:^` references for interdependencies ([#125](https://github.com/MetaMask/create-release-branch/pull/125))
58
77
59
78
## [2.0.1]
79
+
60
80
### Fixed
81
+
61
82
- Move `@metamask/auto-changelog` from `devDependencies` to `dependencies` and pin to ~3.3.0 ([#122](https://github.com/MetaMask/create-release-branch/pull/122))
62
83
63
84
## [2.0.0]
85
+
64
86
### Changed
87
+
65
88
-**BREAKING** Bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114))
66
89
- Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109))
67
90
- When you run this tool you can use the changelogs to decide which versions to include in your release.
@@ -70,22 +93,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
70
93
- Soft-enforce major-bumped packages to be released along with their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101))
71
94
- If a new major version of a package A is being included in the release, and there are is a package B which depends on A but which is not also being released at the same time, then the tool will produce an error. This is to ensure that if a consumer is upgrading package A in a project and they also need to upgrade package B for compatibility reasons, they can.
72
95
- Soft-enforce dependents to be released along with their dependencies ([#102](https://github.com/MetaMask/create-release-branch/pull/102))
73
-
- If package B depends on package A, and A has changed since its last release, and B is being included in the release but not A, then the tool will produce an error. This is to ensure that if B has been changed to rely on a new feature that was added to A, it doesn't break when it is used in a project (since that feature is present in development but has not been published).
96
+
- If package B depends on package A, and A has changed since its last release, and B is being included in the release but not A, then the tool will produce an error. This is to ensure that if B has been changed to rely on a new feature that was added to A, it doesn't break when it is used in a project (since that feature is present in development but has not been published).
74
97
75
98
## [1.1.0]
99
+
76
100
### Added
101
+
77
102
- Add support for nested workspaces ([#84](https://github.com/MetaMask/create-release-branch/pull/84))
78
103
79
104
### Changed
105
+
80
106
- Add `.yml` extension to `RELEASE_SPEC` file ([#83](https://github.com/MetaMask/create-release-branch/pull/83))
81
107
82
108
## [1.0.1]
109
+
83
110
### Fixed
111
+
84
112
- Update changelogs correctly for monorepo packages ([#50](https://github.com/MetaMask/create-release-branch/pull/50))
85
113
- The changelog update step was encountering an error when used for a monorepo package release that had already been released at least once. Related to this, the changelog was being updated with the wrong tag links. Both problems should now be resolved.
86
114
87
115
## [1.0.0]
116
+
88
117
### Added
118
+
89
119
- Initial release
90
120
- In this first release, this tool only supports monorepos with an independent versioning scheme. We will add support for other kinds of projects in future releases.
91
121
- You can learn more on how to use this tool by reading the [documentation](docs/).
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This is an interactive command-line tool that automates steps involved in preparing a new release of a project. These steps include updating versions of one or more desired packages, adding a new section to the packages' changelogs to include changes since the previous release, and then creating a new branch from which a pull request can be submitted for review before the release goes live.
4
4
5
-
> **Note**
5
+
> **Note**
6
6
> At the moment, this tool only supports monorepos that use an independent versioning strategy. Support for other types of projects is planned in a future release.
7
7
8
8
## Installation
@@ -61,7 +61,7 @@ The project follows the same release process as the other libraries in the MetaM
61
61
- Generally any changes that don't affect consumers of the package (e.g. lockfile changes or development environment changes) are omitted. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.).
62
62
- Try to explain each change in terms that users of the package would understand (e.g. avoid referencing internal variables/concepts).
63
63
- Consolidate related changes into one change entry if it makes it easier to explain.
64
-
- Run `yarn auto-changelog validate --rc` to check that the changelog is correctly formatted.
64
+
- Run `yarn auto-changelog validate --rc --prettier` to check that the changelog is correctly formatted.
Copy file name to clipboardExpand all lines: docs/changelog.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,4 @@ After running this tool, you'll want to follow a few steps:
12
12
-**Consolidation.** A changelog entry represents a complete unit of work, and some work may be split across multiple commits. In this case, you can combine multiple entries together, listing multiple PRs instead of just one.
13
13
-**Omission.** Some changes do not affect end users of the project (e.g. lockfile changes, development environment changes, etc.). In these cases, you may remove these entries entirely. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.).
14
14
15
-
3. Once you're made your edits, make sure to run `yarn auto-changelog validate --rc` to check that the changelog is correctly formatted.
15
+
3. Once you're made your edits, make sure to run `yarn auto-changelog validate --rc --prettier` to check that the changelog is correctly formatted.
0 commit comments