Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 220.0.0 #4798

Merged
merged 7 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "219.0.0",
"version": "220.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down Expand Up @@ -57,8 +57,8 @@
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/eth-block-tracker": "^10.0.0",
"@metamask/eth-json-rpc-provider": "^4.1.4",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/eth-json-rpc-provider": "^4.1.5",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/utils": "^9.1.0",
"@ts-bridge/cli": "^0.5.1",
"@types/jest": "^27.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@types/jest": "^27.4.1",
"@types/sinon": "^9.0.10",
"deepmerge": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/composable-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"immer": "^9.0.6",
Expand Down
9 changes: 8 additions & 1 deletion packages/eth-json-rpc-provider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.1.5]

### Fixed

- Bump `@metamask/json-rpc-engine` to `^10.0.0` ([#4798](https://github.com/MetaMask/core/pull/4798))

## [4.1.4]

### Fixed
Expand Down Expand Up @@ -162,7 +168,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/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[4.1.5]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[4.1.4]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[4.1.3]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[4.1.2]: 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": "4.1.4",
"version": "4.1.5",
"description": "Create an Ethereum provider using a JSON-RPC engine or middleware",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -52,7 +52,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/rpc-errors": "^7.0.0",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^9.1.0",
Expand Down
10 changes: 9 additions & 1 deletion packages/json-rpc-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [10.0.0]

### Fixed

- **BREAKING**: Bump `@metamask/rpc-errors` from `^6.3.1` to `^7.0.0` ([#4773](https://github.com/MetaMask/core/pull/4773))
- This modifies the top-level error message for serialized internal JSON-RPC errors to include the actual error message, instead of the generic `Internal JSON-RPC Error.` string.

## [9.0.3]

### Changed
Expand Down Expand Up @@ -203,7 +210,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]
[10.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[9.0.3]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[9.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[9.0.1]: 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": "9.0.3",
"version": "10.0.0",
"description": "A tool for processing JSON-RPC messages",
"keywords": [
"MetaMask",
Expand Down
9 changes: 8 additions & 1 deletion packages/json-rpc-middleware-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.0.4]

### Fixed

- Bump `@metamask/json-rpc-engine` to `^10.0.0` ([#4798](https://github.com/MetaMask/core/pull/4798))

## [8.0.3]

### Changed
Expand Down Expand Up @@ -171,7 +177,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/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[8.0.4]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[8.0.3]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[8.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
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": "8.0.3",
"version": "8.0.4",
"description": "A small toolset for streaming JSON-RPC data and matching requests and responses",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -47,7 +47,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^9.1.0",
"readable-stream": "^3.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@metamask/eth-block-tracker": "^10.0.0",
"@metamask/eth-json-rpc-infura": "^9.1.0",
"@metamask/eth-json-rpc-middleware": "^13.0.0",
"@metamask/eth-json-rpc-provider": "^4.1.4",
"@metamask/eth-json-rpc-provider": "^4.1.5",
"@metamask/eth-query": "^4.0.0",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/rpc-errors": "^6.3.1",
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 @@ -48,7 +48,7 @@
},
"dependencies": {
"@metamask/base-controller": "^7.0.1",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/utils": "^9.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@metamask/base-controller": "^7.0.1",
"@metamask/json-rpc-engine": "^9.0.3",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/swappable-obj-proxy": "^2.2.0",
"@metamask/utils": "^9.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@metamask/accounts-controller": "^18.2.2",
"@metamask/approval-controller": "^7.1.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eth-json-rpc-provider": "^4.1.4",
"@metamask/eth-json-rpc-provider": "^4.1.5",
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/gas-fee-controller": "^20.0.1",
"@metamask/keyring-api": "^8.1.3",
Expand Down
1 change: 1 addition & 0 deletions yarn.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const { inspect } = require('util');
* This should trend towards empty.
*/
const ALLOWED_INCONSISTENT_DEPENDENCIES = {
'@metamask/json-rpc-engine': ['^9.0.3'],
'@metamask/rpc-errors': ['^7.0.0'],
};

Expand Down
57 changes: 34 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ __metadata:
resolution: "@metamask/base-controller@workspace:packages/base-controller"
dependencies:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/utils": "npm:^9.1.0"
"@types/jest": "npm:^27.4.1"
"@types/sinon": "npm:^9.0.10"
Expand Down Expand Up @@ -2307,7 +2307,7 @@ __metadata:
dependencies:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@types/jest": "npm:^27.4.1"
deepmerge: "npm:^4.2.2"
immer: "npm:^9.0.6"
Expand Down Expand Up @@ -2366,8 +2366,8 @@ __metadata:
"@metamask/eslint-config-nodejs": "npm:^12.1.0"
"@metamask/eslint-config-typescript": "npm:^12.1.0"
"@metamask/eth-block-tracker": "npm:^10.0.0"
"@metamask/eth-json-rpc-provider": "npm:^4.1.4"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/utils": "npm:^9.1.0"
"@ts-bridge/cli": "npm:^0.5.1"
"@types/jest": "npm:^27.4.1"
Expand Down Expand Up @@ -2570,15 +2570,15 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@npm:^4.1.4, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@npm:^4.1.5, @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:
"@ethersproject/providers": "npm:^5.7.0"
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/ethjs-query": "npm:^0.5.3"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/rpc-errors": "npm:^7.0.0"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^9.1.0"
Expand Down Expand Up @@ -2845,18 +2845,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2":
version: 7.3.3
resolution: "@metamask/json-rpc-engine@npm:7.3.3"
dependencies:
"@metamask/rpc-errors": "npm:^6.2.1"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^8.3.0"
checksum: 10/116664c974c522d280335d9a02cba731e4f08562c2980415f7535513cd308c7e612e52618086996e5ac2b67db7f1e6ac1bd8201aba7825163db17a25f2874cc9
languageName: node
linkType: hard

"@metamask/json-rpc-engine@npm:^9.0.0, @metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2, @metamask/json-rpc-engine@npm:^9.0.3, @metamask/json-rpc-engine@workspace:packages/json-rpc-engine":
"@metamask/json-rpc-engine@npm:^10.0.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 @@ -2875,12 +2864,34 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2":
version: 7.3.3
resolution: "@metamask/json-rpc-engine@npm:7.3.3"
dependencies:
"@metamask/rpc-errors": "npm:^6.2.1"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^8.3.0"
checksum: 10/116664c974c522d280335d9a02cba731e4f08562c2980415f7535513cd308c7e612e52618086996e5ac2b67db7f1e6ac1bd8201aba7825163db17a25f2874cc9
languageName: node
linkType: hard

"@metamask/json-rpc-engine@npm:^9.0.0, @metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2, @metamask/json-rpc-engine@npm:^9.0.3":
version: 9.0.3
resolution: "@metamask/json-rpc-engine@npm:9.0.3"
dependencies:
"@metamask/rpc-errors": "npm:^6.3.1"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^9.1.0"
checksum: 10/23a3cafb5869f6d5867105e3570ac4e214a72dda0b4b428cde6bae8856ec838c822b174f8cea054108122531d662cf93a65e92e1ee07da0485d5d0c0e5a1fca6
languageName: node
linkType: hard

"@metamask/json-rpc-middleware-stream@npm:^8.0.1, @metamask/json-rpc-middleware-stream@npm:^8.0.2, @metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream":
version: 0.0.0-use.local
resolution: "@metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream"
dependencies:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^9.1.0"
"@types/jest": "npm:^27.4.1"
Expand Down Expand Up @@ -3040,7 +3051,7 @@ __metadata:
"@metamask/eth-block-tracker": "npm:^10.0.0"
"@metamask/eth-json-rpc-infura": "npm:^9.1.0"
"@metamask/eth-json-rpc-middleware": "npm:^13.0.0"
"@metamask/eth-json-rpc-provider": "npm:^4.1.4"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/rpc-errors": "npm:^6.3.1"
Expand Down Expand Up @@ -3193,7 +3204,7 @@ __metadata:
dependencies:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/utils": "npm:^9.1.0"
"@types/deep-freeze-strict": "npm:^1.1.0"
"@types/jest": "npm:^27.4.1"
Expand Down Expand Up @@ -3436,7 +3447,7 @@ __metadata:
dependencies:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/network-controller": "npm:^21.0.1"
"@metamask/permission-controller": "npm:^11.0.2"
"@metamask/swappable-obj-proxy": "npm:^2.2.0"
Expand Down Expand Up @@ -3671,7 +3682,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/controller-utils": "npm:^11.3.0"
"@metamask/eth-json-rpc-provider": "npm:^4.1.4"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/ethjs-provider-http": "npm:^0.3.0"
"@metamask/gas-fee-controller": "npm:^20.0.1"
Expand Down
Loading