From 0b7fb246bd880f1977d9712babc9bc0539d06927 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 5 Dec 2023 14:47:56 +0000 Subject: [PATCH 1/5] 2.0.0 --- CHANGELOG.md | 22 +++++++++++++++++++++- package.json | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db45845a..6abf1a55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] +### Uncategorized +- Convert package to ESM ([#113](https://github.com/MetaMask/create-release-branch/pull/113)) +- Replace outdent with our own implementation ([#117](https://github.com/MetaMask/create-release-branch/pull/117)) +- Disable git commit GPG signing in tests ([#115](https://github.com/MetaMask/create-release-branch/pull/115)) +- Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109)) +- Bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) +- devDeps: typescript@~4.8.4->~5.1.6 ([#93](https://github.com/MetaMask/create-release-branch/pull/93)) +- Update Package Reader to Accept Range Versions in Dependencies ([#106](https://github.com/MetaMask/create-release-branch/pull/106)) +- Allow users to omit packages ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) +- Bump @babel/traverse from 7.18.6 to 7.23.2 ([#104](https://github.com/MetaMask/create-release-branch/pull/104)) +- Compel users to release packages with breaking changes alongside their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) +- Compel users to release new versions of dependencies alongside their dependents ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) +- ci: remove broken require-additional-reviewer workflow ([#95](https://github.com/MetaMask/create-release-branch/pull/95)) +- deps: @metamask/utils@^5.0.2->^8.1.0 ([#94](https://github.com/MetaMask/create-release-branch/pull/94)) +- fix: replace `null` with `intentionally-skip` in release-spec template comment ([#99](https://github.com/MetaMask/create-release-branch/pull/99)) +- Correct setup instructions for a monorepo w/ independent versions ([#87](https://github.com/MetaMask/create-release-branch/pull/87)) +- Bump word-wrap from 1.2.3 to 1.2.4 ([#86](https://github.com/MetaMask/create-release-branch/pull/86)) + ## [1.1.0] ### Added - Add support for nested workspaces ([#84](https://github.com/MetaMask/create-release-branch/pull/84)) @@ -24,7 +43,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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. - You can learn more on how to use this tool by reading the [documentation](docs/). -[Unreleased]: https://github.com/MetaMask/create-release-branch/compare/v1.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/create-release-branch/compare/v2.0.0...HEAD +[2.0.0]: https://github.com/MetaMask/create-release-branch/compare/v1.1.0...v2.0.0 [1.1.0]: https://github.com/MetaMask/create-release-branch/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/MetaMask/create-release-branch/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/MetaMask/create-release-branch/releases/tag/v1.0.0 diff --git a/package.json b/package.json index 6a9cd631..6ad2dcdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/create-release-branch", - "version": "1.1.0", + "version": "2.0.0", "description": "An interactive command-line tool to prepare a release branch by automatically bumping versions and updating changelogs for desired packages. Works for both polyrepos and monorepos.", "repository": { "type": "git", From b72b4f57f8688247b4640f56987f7e5c748f3173 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Tue, 5 Dec 2023 15:51:05 +0100 Subject: [PATCH 2/5] Update changelog --- CHANGELOG.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6abf1a55..e8a8a0c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,21 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.0] ### Uncategorized - Convert package to ESM ([#113](https://github.com/MetaMask/create-release-branch/pull/113)) -- Replace outdent with our own implementation ([#117](https://github.com/MetaMask/create-release-branch/pull/117)) - Disable git commit GPG signing in tests ([#115](https://github.com/MetaMask/create-release-branch/pull/115)) - Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109)) - Bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) -- devDeps: typescript@~4.8.4->~5.1.6 ([#93](https://github.com/MetaMask/create-release-branch/pull/93)) -- Update Package Reader to Accept Range Versions in Dependencies ([#106](https://github.com/MetaMask/create-release-branch/pull/106)) - Allow users to omit packages ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) -- Bump @babel/traverse from 7.18.6 to 7.23.2 ([#104](https://github.com/MetaMask/create-release-branch/pull/104)) - Compel users to release packages with breaking changes alongside their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) - Compel users to release new versions of dependencies alongside their dependents ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) -- ci: remove broken require-additional-reviewer workflow ([#95](https://github.com/MetaMask/create-release-branch/pull/95)) -- deps: @metamask/utils@^5.0.2->^8.1.0 ([#94](https://github.com/MetaMask/create-release-branch/pull/94)) - fix: replace `null` with `intentionally-skip` in release-spec template comment ([#99](https://github.com/MetaMask/create-release-branch/pull/99)) - Correct setup instructions for a monorepo w/ independent versions ([#87](https://github.com/MetaMask/create-release-branch/pull/87)) -- Bump word-wrap from 1.2.3 to 1.2.4 ([#86](https://github.com/MetaMask/create-release-branch/pull/86)) ## [1.1.0] ### Added From 5c8189af499cc3c62ed7400c4e61c1f9497009d0 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Tue, 5 Dec 2023 15:56:17 +0100 Subject: [PATCH 3/5] Fix changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8a8a0c3..53263755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [2.0.0] -### Uncategorized +### Changed - Convert package to ESM ([#113](https://github.com/MetaMask/create-release-branch/pull/113)) - Disable git commit GPG signing in tests ([#115](https://github.com/MetaMask/create-release-branch/pull/115)) - Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109)) @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Allow users to omit packages ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) - Compel users to release packages with breaking changes alongside their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) - Compel users to release new versions of dependencies alongside their dependents ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) + +### Fixed - fix: replace `null` with `intentionally-skip` in release-spec template comment ([#99](https://github.com/MetaMask/create-release-branch/pull/99)) - Correct setup instructions for a monorepo w/ independent versions ([#87](https://github.com/MetaMask/create-release-branch/pull/87)) From cbbd905636f4b83ebc811987893971d2fbb6f90e Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Tue, 5 Dec 2023 18:47:52 +0100 Subject: [PATCH 4/5] fix: update node bump to be breaking --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53263755..8aec9d9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.0] ### Changed -- Convert package to ESM ([#113](https://github.com/MetaMask/create-release-branch/pull/113)) -- Disable git commit GPG signing in tests ([#115](https://github.com/MetaMask/create-release-branch/pull/115)) +- **BREAKING** bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) - Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109)) -- Bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) -- Allow users to omit packages ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) + - when you run this tool you can use the changelogs to decide which versions to include in your release. +- Allow users to omit packages without the need for `intentionally-skip` ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) - Compel users to release packages with breaking changes alongside their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) - Compel users to release new versions of dependencies alongside their dependents ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) From 865d432c3fd01509b0d068a572f78bdcd3974ae6 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Tue, 5 Dec 2023 23:10:48 +0100 Subject: [PATCH 5/5] fix: update changelog --- CHANGELOG.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aec9d9f..78a95966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,16 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.0] ### Changed -- **BREAKING** bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) +- **BREAKING** Bump minimum Node version to 16 ([#114](https://github.com/MetaMask/create-release-branch/pull/114)) - Reorder workflow to update changelogs first ([#109](https://github.com/MetaMask/create-release-branch/pull/109)) - - when you run this tool you can use the changelogs to decide which versions to include in your release. -- Allow users to omit packages without the need for `intentionally-skip` ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) -- Compel users to release packages with breaking changes alongside their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) -- Compel users to release new versions of dependencies alongside their dependents ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) - -### Fixed -- fix: replace `null` with `intentionally-skip` in release-spec template comment ([#99](https://github.com/MetaMask/create-release-branch/pull/99)) -- Correct setup instructions for a monorepo w/ independent versions ([#87](https://github.com/MetaMask/create-release-branch/pull/87)) + - When you run this tool you can use the changelogs to decide which versions to include in your release. +- Allow for partial releases ([#98](https://github.com/MetaMask/create-release-branch/pull/98)) + - It is no longer necessary to release every package that has changed. Instead, you may release a subset of packages (as long as it is okay to do so; see next items). +- Soft-enforce major-bumped packages to be released along with their dependents ([#101](https://github.com/MetaMask/create-release-branch/pull/101)) + - 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. +- Soft-enforce dependents to be released along with their dependencies ([#102](https://github.com/MetaMask/create-release-branch/pull/102)) + - 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). ## [1.1.0] ### Added