Skip to content

Commit

Permalink
Release 90.0.0 (#2011)
Browse files Browse the repository at this point in the history
## Explanation

- Releases newly migrated packages:
  - `@metamask/eth-json-rpc-provider`
  - `@metamask/json-rpc-engine`
  - `@metamask/json-rpc-middleware-stream`

- Includes patch releases for version bumps in downstream packages.
- Treated migration as minor version change.

## References

- Partially implements #1842
- Closes #1981
- Closes #1982

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
  • Loading branch information
MajorLift authored Nov 8, 2023
1 parent f647ce0 commit be3a48f
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 39 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "89.0.0",
"version": "90.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down Expand Up @@ -44,8 +44,8 @@
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/eth-json-rpc-provider": "^2.2.0",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/eth-json-rpc-provider": "^2.3.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/utils": "^8.2.0",
"@types/node": "^16.18.54",
"@typescript-eslint/eslint-plugin": "^5.62.0",
Expand Down
8 changes: 7 additions & 1 deletion packages/eth-json-rpc-provider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.3.0]
### Added
- Migrate `@metamask/eth-json-rpc-provider` into the core monorepo ([#1738](https://github.com/MetaMask/core/pull/1738))

### Changed
- Export `SafeEventEmitterProvider` as class instead of type ([#1738](https://github.com/MetaMask/core/pull/1738))
- Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))
- Bump `@metamask/utils` from `^8.1.0` to `^8.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))
- Bump @metamask/auto-changelog from 3.4.2 to 3.4.3 ([#1997](https://github.com/MetaMask/core/pull/1997))
- bump `@metamask/auto-changelog` to `^3.4.2` ([#1905](https://github.com/MetaMask/core/pull/1905))
- Bump @metamask/auto-changelog from 3.2.0 to 3.4.0 ([#1870](https://github.com/MetaMask/core/pull/1870))

## [2.2.0]
### Changed
Expand Down Expand Up @@ -46,7 +51,8 @@ Release `v2.0.0` is identical to `v1.0.1` aside from Node.js version requirement
### Added
- Initial release, including `providerFromEngine` and `providerFromMiddleware`.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[2.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[2.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[2.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/eth-json-rpc-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/eth-json-rpc-provider",
"version": "2.2.0",
"version": "2.3.0",
"description": "Create an Ethereum provider using a JSON-RPC engine or middleware",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -37,7 +37,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^8.2.0"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/json-rpc-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [7.3.0]
### Added
- Migrate `@metamask/json-rpc-engine` into the core monorepo ([#1895](https://github.com/MetaMask/core/pull/1895))

### Changed
- Bump `@metamask/utils` from `^8.1.0` to `^8.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))
- Bump `@metamask/rpc-errors` from `^6.0.0` to `^6.1.0` ([#1882](https://github.com/MetaMask/core/pull/1882))
- Bump @metamask/auto-changelog from 3.4.2 to 3.4.3 ([#1997](https://github.com/MetaMask/core/pull/1997))

## [7.2.0]
### Added
Expand Down Expand Up @@ -89,7 +92,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This change may affect consumers that depend on the eager execution of middleware _during_ request processing, _outside of_ middleware functions and request handlers.
- In general, it is a bad practice to work with state that depends on middleware execution, while the middleware are executing.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[7.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[7.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[7.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[7.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/json-rpc-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/json-rpc-engine",
"version": "7.2.0",
"version": "7.3.0",
"description": "A tool for processing JSON-RPC messages",
"keywords": [
"MetaMask",
Expand Down
5 changes: 4 additions & 1 deletion packages/json-rpc-middleware-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [6.0.0]
### Added
- Migrate `@metamask/json-rpc-engine` into the core monorepo ([#1762](https://github.com/MetaMask/core/pull/1762))

Expand Down Expand Up @@ -60,7 +62,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- TypeScript typings ([#11](https://github.com/MetaMask/json-rpc-middleware-stream/pull/11))

[Unreleased]: https://github.com/MetaMask/core/compare/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[6.0.0]: https://github.com/MetaMask/core/compare/[email protected]...@metamask/[email protected]
[5.0.1]: https://github.com/MetaMask/core/compare/[email protected]@5.0.1
[5.0.0]: https://github.com/MetaMask/core/compare/[email protected]@5.0.0
[4.2.3]: https://github.com/MetaMask/core/compare/[email protected]@4.2.3
Expand Down
4 changes: 2 additions & 2 deletions packages/json-rpc-middleware-stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/json-rpc-middleware-stream",
"version": "5.0.1",
"version": "6.0.0",
"description": "A small toolset for streaming JSON-RPC data and matching requests and responses",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -30,7 +30,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^8.2.0",
"readable-stream": "^3.6.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"@metamask/controller-utils": "^5.0.2",
"@metamask/eth-json-rpc-infura": "^9.0.0",
"@metamask/eth-json-rpc-middleware": "^12.0.1",
"@metamask/eth-json-rpc-provider": "^2.2.0",
"@metamask/eth-json-rpc-provider": "^2.3.0",
"@metamask/eth-query": "^3.0.1",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/rpc-errors": "^6.1.0",
"@metamask/swappable-obj-proxy": "^2.1.0",
"@metamask/utils": "^8.2.0",
Expand Down
7 changes: 5 additions & 2 deletions packages/permission-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))

## [5.0.1]
### Changed
- Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))
- Bump dependency on `@metamask/rpc-errors` to ^6.1.0 ([#1653](https://github.com/MetaMask/core/pull/1653))
- Bump dependency and peer dependency on `@metamask/approval-controller` to ^4.0.1
- Bump @metamask/utils from 8.1.0 to 8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957))
- Bump @metamask/auto-changelog from 3.4.2 to 3.4.3 ([#1997](https://github.com/MetaMask/core/pull/1997))
- bump `@metamask/auto-changelog` to `^3.4.2` ([#1905](https://github.com/MetaMask/core/pull/1905))
- Bump @metamask/auto-changelog from 3.2.0 to 3.4.0 ([#1870](https://github.com/MetaMask/core/pull/1870))

## [5.0.0]
### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/permission-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/permission-controller",
"version": "5.0.0",
"version": "5.0.1",
"description": "Mediates access to JSON-RPC methods, used to interact with pieces of the MetaMask stack, via middleware for json-rpc-engine",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -33,7 +33,7 @@
"@metamask/approval-controller": "^4.1.0",
"@metamask/base-controller": "^3.2.3",
"@metamask/controller-utils": "^5.0.2",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/rpc-errors": "^6.1.0",
"@metamask/utils": "^8.2.0",
"@types/deep-freeze-strict": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-log-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@metamask/base-controller": "^3.2.3",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/utils": "^8.2.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"dependencies": {
"@metamask/base-controller": "^3.2.3",
"@metamask/controller-utils": "^5.0.2",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/network-controller": "^15.2.0",
"@metamask/rpc-errors": "^6.1.0",
"@metamask/selected-network-controller": "^3.1.0",
"@metamask/selected-network-controller": "^3.1.1",
"@metamask/swappable-obj-proxy": "^2.1.0",
"@metamask/utils": "^8.2.0"
},
Expand All @@ -56,7 +56,7 @@
},
"peerDependencies": {
"@metamask/network-controller": "^15.2.0",
"@metamask/selected-network-controller": "^3.1.0"
"@metamask/selected-network-controller": "^3.1.1"
},
"engines": {
"node": ">=16.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/selected-network-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.1.1]
### Changed
- Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895))

Expand Down Expand Up @@ -38,7 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial Release ([#1643](https://github.com/MetaMask/core/pull/1643))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[3.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[3.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[2.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/selected-network-controller",
"version": "3.1.0",
"version": "3.1.1",
"description": "Provides an interface to the currently selected networkClientId for a given domain",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@metamask/base-controller": "^3.2.3",
"@metamask/json-rpc-engine": "^7.2.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/network-controller": "^15.2.0",
"@metamask/swappable-obj-proxy": "^2.1.0"
},
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1606,8 +1606,8 @@ __metadata:
"@metamask/eslint-config-jest": ^12.1.0
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/eth-json-rpc-provider": ^2.2.0
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/eth-json-rpc-provider": ^2.3.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/utils": ^8.2.0
"@types/node": ^16.18.54
"@typescript-eslint/eslint-plugin": ^5.62.0
Expand Down Expand Up @@ -1772,12 +1772,12 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@^2.1.0, @metamask/eth-json-rpc-provider@^2.2.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
"@metamask/eth-json-rpc-provider@^2.1.0, @metamask/eth-json-rpc-provider@^2.3.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
version: 0.0.0-use.local
resolution: "@metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider"
dependencies:
"@metamask/auto-changelog": ^3.4.3
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.2.0
"@types/jest": ^27.4.1
Expand Down Expand Up @@ -1892,7 +1892,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/json-rpc-engine@^7.1.1, @metamask/json-rpc-engine@^7.2.0, @metamask/json-rpc-engine@workspace:packages/json-rpc-engine":
"@metamask/json-rpc-engine@^7.1.1, @metamask/json-rpc-engine@^7.3.0, @metamask/json-rpc-engine@workspace:packages/json-rpc-engine":
version: 0.0.0-use.local
resolution: "@metamask/json-rpc-engine@workspace:packages/json-rpc-engine"
dependencies:
Expand All @@ -1917,7 +1917,7 @@ __metadata:
resolution: "@metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream"
dependencies:
"@metamask/auto-changelog": ^3.4.3
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.2.0
"@types/jest": ^27.4.1
Expand Down Expand Up @@ -2076,9 +2076,9 @@ __metadata:
"@metamask/controller-utils": ^5.0.2
"@metamask/eth-json-rpc-infura": ^9.0.0
"@metamask/eth-json-rpc-middleware": ^12.0.1
"@metamask/eth-json-rpc-provider": ^2.2.0
"@metamask/eth-json-rpc-provider": ^2.3.0
"@metamask/eth-query": ^3.0.1
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/rpc-errors": ^6.1.0
"@metamask/swappable-obj-proxy": ^2.1.0
"@metamask/utils": ^8.2.0
Expand Down Expand Up @@ -2160,7 +2160,7 @@ __metadata:
"@metamask/auto-changelog": ^3.4.3
"@metamask/base-controller": ^3.2.3
"@metamask/controller-utils": ^5.0.2
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/rpc-errors": ^6.1.0
"@metamask/utils": ^8.2.0
"@types/deep-freeze-strict": ^1.1.0
Expand All @@ -2185,7 +2185,7 @@ __metadata:
dependencies:
"@metamask/auto-changelog": ^3.4.3
"@metamask/base-controller": ^3.2.3
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/utils": ^8.2.0
"@types/deep-freeze-strict": ^1.1.0
"@types/jest": ^27.4.1
Expand Down Expand Up @@ -2302,10 +2302,10 @@ __metadata:
"@metamask/auto-changelog": ^3.4.3
"@metamask/base-controller": ^3.2.3
"@metamask/controller-utils": ^5.0.2
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/network-controller": ^15.2.0
"@metamask/rpc-errors": ^6.1.0
"@metamask/selected-network-controller": ^3.1.0
"@metamask/selected-network-controller": ^3.1.1
"@metamask/swappable-obj-proxy": ^2.1.0
"@metamask/utils": ^8.2.0
"@types/jest": ^27.4.1
Expand All @@ -2321,7 +2321,7 @@ __metadata:
typescript: ~4.8.4
peerDependencies:
"@metamask/network-controller": ^15.2.0
"@metamask/selected-network-controller": ^3.1.0
"@metamask/selected-network-controller": ^3.1.1
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -2377,13 +2377,13 @@ __metadata:
languageName: node
linkType: hard

"@metamask/selected-network-controller@^3.1.0, @metamask/selected-network-controller@workspace:packages/selected-network-controller":
"@metamask/selected-network-controller@^3.1.1, @metamask/selected-network-controller@workspace:packages/selected-network-controller":
version: 0.0.0-use.local
resolution: "@metamask/selected-network-controller@workspace:packages/selected-network-controller"
dependencies:
"@metamask/auto-changelog": ^3.4.3
"@metamask/base-controller": ^3.2.3
"@metamask/json-rpc-engine": ^7.2.0
"@metamask/json-rpc-engine": ^7.3.0
"@metamask/network-controller": ^15.2.0
"@metamask/swappable-obj-proxy": ^2.1.0
"@types/jest": ^27.4.1
Expand Down

0 comments on commit be3a48f

Please sign in to comment.