From 43db7ac159b605d8702b76c28ff58d1a9cab0c38 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Fri, 12 Jul 2024 10:00:39 -0700 Subject: [PATCH] Release/173.0.0 (#4519) Includes releases for `@metamask/eth-json-rpc-provider`, `@metamask/json-rpc-middleware-stream`. This release allows `@metamask/utils` to be bumped to `9.0.0` in all dependencies of `@metamask/{providers,eth-block-tracker,eth-json-rpc-middleware}` ### Release order roadmap - [[core release 172.0.0](https://github.com/MetaMask/core/pull/4517)] `{base,permission}-controller` - [[core release 173.0.0](https://github.com/MetaMask/core/pull/4519)] `eth-json-rpc-provider`, `json-rpc-middleware-stream` - [snaps release 56.0.0] `snaps-{sdk,utils,rpc-methods}` - [core release 173.0.0] all core controllers (except `snaps-controllers` consumers) - [snaps release 57.0.0] `snaps-controllers` - [core release 174.0.0] `{accounts,chain,profile-sync}-controller` ## References - See https://github.com/MetaMask/core/pull/3645 - See https://github.com/MetaMask/snaps/pull/2445 ## 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 --- package.json | 4 ++-- packages/eth-json-rpc-provider/CHANGELOG.md | 11 ++++++++++- packages/eth-json-rpc-provider/package.json | 2 +- packages/json-rpc-middleware-stream/CHANGELOG.md | 16 +++++++++++++++- packages/json-rpc-middleware-stream/package.json | 2 +- packages/network-controller/package.json | 2 +- packages/transaction-controller/package.json | 2 +- yarn.lock | 8 ++++---- 8 files changed, 35 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 61f2b8da92..246ebe349c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "172.0.0", + "version": "173.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { @@ -56,7 +56,7 @@ "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", "@metamask/eth-block-tracker": "^9.0.3", - "@metamask/eth-json-rpc-provider": "^4.1.0", + "@metamask/eth-json-rpc-provider": "^4.1.1", "@metamask/json-rpc-engine": "^9.0.1", "@metamask/utils": "^9.0.0", "@types/jest": "^27.4.1", diff --git a/packages/eth-json-rpc-provider/CHANGELOG.md b/packages/eth-json-rpc-provider/CHANGELOG.md index f758cb2f35..7001a9db00 100644 --- a/packages/eth-json-rpc-provider/CHANGELOG.md +++ b/packages/eth-json-rpc-provider/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.1.1] + +### Changed + +- Bump `@metamask/json-rpc-engine` to `^9.0.1` ([#4517](https://github.com/MetaMask/core/pull/4517)) +- Bump `@metamask/rpc-errors` to `^6.3.1` ([#4516](https://github.com/MetaMask/core/pull/4516)) +- Bump `@metamask/utils` to `^9.0.0` ([#4516](https://github.com/MetaMask/core/pull/4516)) + ## [4.1.0] ### Added @@ -118,7 +126,8 @@ Release `v2.0.0` is identical to `v1.0.1` aside from Node.js version requirement - Initial release, including `providerFromEngine` and `providerFromMiddleware`. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.1...HEAD +[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.0...@metamask/eth-json-rpc-provider@4.1.1 [4.1.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.0.0...@metamask/eth-json-rpc-provider@4.1.0 [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@3.0.2...@metamask/eth-json-rpc-provider@4.0.0 [3.0.2]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@3.0.1...@metamask/eth-json-rpc-provider@3.0.2 diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 9a0ca7bdb1..8c72005217 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eth-json-rpc-provider", - "version": "4.1.0", + "version": "4.1.1", "description": "Create an Ethereum provider using a JSON-RPC engine or middleware", "keywords": [ "MetaMask", diff --git a/packages/json-rpc-middleware-stream/CHANGELOG.md b/packages/json-rpc-middleware-stream/CHANGELOG.md index c72854d014..1b831bc6b7 100644 --- a/packages/json-rpc-middleware-stream/CHANGELOG.md +++ b/packages/json-rpc-middleware-stream/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.1] + +### Changed + +- Bump `@metamask/json-rpc-engine` to `^9.0.1` ([#4517](https://github.com/MetaMask/core/pull/4517)) +- Bump `@metamask/rpc-errors` to `^6.3.1` ([#4516](https://github.com/MetaMask/core/pull/4516)) +- Bump `@metamask/utils` to `^9.0.0` ([#4516](https://github.com/MetaMask/core/pull/4516)) + +### Fixed + +- Fix incorrect notification detection logic ([#4427](https://github.com/MetaMask/core/pull/4427)) + - Previously, response objects with a falsy `id` property were detected as notifications. Now, we check for the absence of the `id` property. + ## [8.0.0] ### Changed @@ -129,7 +142,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - TypeScript typings ([#11](https://github.com/MetaMask/json-rpc-middleware-stream/pull/11)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.1...HEAD +[8.0.1]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.0...@metamask/json-rpc-middleware-stream@8.0.1 [8.0.0]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@7.0.2...@metamask/json-rpc-middleware-stream@8.0.0 [7.0.2]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@7.0.1...@metamask/json-rpc-middleware-stream@7.0.2 [7.0.1]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@7.0.0...@metamask/json-rpc-middleware-stream@7.0.1 diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index 38a2e188e7..ff19a37c9b 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/json-rpc-middleware-stream", - "version": "8.0.0", + "version": "8.0.1", "description": "A small toolset for streaming JSON-RPC data and matching requests and responses", "keywords": [ "MetaMask", diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index bbcfb0cf1f..963b0e4755 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -46,7 +46,7 @@ "@metamask/eth-block-tracker": "^9.0.3", "@metamask/eth-json-rpc-infura": "^9.1.0", "@metamask/eth-json-rpc-middleware": "^12.1.1", - "@metamask/eth-json-rpc-provider": "^4.1.0", + "@metamask/eth-json-rpc-provider": "^4.1.1", "@metamask/eth-query": "^4.0.0", "@metamask/json-rpc-engine": "^9.0.1", "@metamask/rpc-errors": "^6.3.1", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 23318942db..41c54bfc6e 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -68,7 +68,7 @@ "devDependencies": { "@babel/runtime": "^7.23.9", "@metamask/auto-changelog": "^3.4.4", - "@metamask/eth-json-rpc-provider": "^4.1.0", + "@metamask/eth-json-rpc-provider": "^4.1.1", "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/keyring-api": "^8.0.0", "@types/bn.js": "^5.1.5", diff --git a/yarn.lock b/yarn.lock index 54d5ad0824..f2de15e0a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2561,7 +2561,7 @@ __metadata: "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" "@metamask/eth-block-tracker": "npm:^9.0.3" - "@metamask/eth-json-rpc-provider": "npm:^4.1.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.1" "@metamask/json-rpc-engine": "npm:^9.0.1" "@metamask/utils": "npm:^9.0.0" "@types/jest": "npm:^27.4.1" @@ -2768,7 +2768,7 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-provider@npm:^4.1.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider": +"@metamask/eth-json-rpc-provider@npm:^4.1.1, @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: @@ -3241,7 +3241,7 @@ __metadata: "@metamask/eth-block-tracker": "npm:^9.0.3" "@metamask/eth-json-rpc-infura": "npm:^9.1.0" "@metamask/eth-json-rpc-middleware": "npm:^12.1.1" - "@metamask/eth-json-rpc-provider": "npm:^4.1.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.1" "@metamask/eth-query": "npm:^4.0.0" "@metamask/json-rpc-engine": "npm:^9.0.1" "@metamask/rpc-errors": "npm:^6.3.1" @@ -3846,7 +3846,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^6.0.1" "@metamask/controller-utils": "npm:^11.0.1" - "@metamask/eth-json-rpc-provider": "npm:^4.1.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.1" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" "@metamask/gas-fee-controller": "npm:^19.0.0"