-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Explanation This is the release candidate for `v58.0.0`. - `@metamask/[email protected]` (patch) - `@metamask/[email protected]` (patch) - `@metamask/[email protected]` (patch) - `@metamask/[email protected]` (patch) ## Notes - Removes `@metamask/utils` yarn resolution to `9.1.0`. - Bumps `@metamask/eth-json-rpc-middleware` from `^12.1.2` to `^13.0.0` in `@MetaMask/snaps-{jest,simulator}`. - The `permission-controller` major version bump doesn't affect the snaps monorepo as a breaking change, as the updated enums `CaveatMutatorOperations`, `MethodNames` are not used in any snaps package. ## Blockers - [x] Blocked by #2579: With yarn resolution for `@metamask/utils` removed, `@metamask/snaps-execution-environments` experiences a build error due to version mismatch between `@metamask/providers` (`@metamask/[email protected]`) and `@metamask/[email protected]`. - Resolved with `@metamask/[email protected]` - With `@metamask/[email protected]` ```ts ➤ YN0000: [@metamask/snaps-execution-environments]: src/common/BaseSnapExecutor.ts(373,23): error TS2322: Type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/json-rpc-engine/dist/types/JsonRpcEngine").JsonRpcMiddleware<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcParams, import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").J...' is not assignable to type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/json-rpc-engine/dist/types/JsonRpcEngine").JsonRpcMiddleware<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcParams, import("/Users/majorl...'. ➤ YN0000: [@metamask/snaps-execution-environments]: Types of parameters 'req' and 'req' are incompatible. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcRequest<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/providers/node_modules/@metamask/utils/dist/json").JsonRpcParams>' is not assignable to type 'import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcRequest<import("/Users/majorlift/Code/metamask/snaps/node_modules/@metamask/utils/dist/json").JsonRpcParams>'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'JsonRpcRequest<JsonRpcParams>' is not assignable to type '{ params?: ((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined; id: string | number | null; method: string; jsonrpc: "2.0"; }'. ➤ YN0000: [@metamask/snaps-execution-environments]: Types of property 'params' are incompatible. ➤ YN0000: [@metamask/snaps-execution-environments]: Type '(((Record<string, Json> | Json[]) & ExactOptionalGuard) & JsonRpcParams) | undefined' is not assignable to type '((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGuard' is not assignable to type '((Record<string, Json> | Json[]) & ExactOptionalGuard) | undefined'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGuard' is not assignable to type 'Json[] & ExactOptionalGuard'. ➤ YN0000: [@metamask/snaps-execution-environments]: Type 'Record<string, Json> & ExactOptionalGua ``` - With yarn resolution entry `"@metamask/snaps-execution-environments/@metamask/providers": "17.1.1"` ```ts ➤ YN0000: [@metamask/snaps-execution-environments]: node_modules/@metamask/providers/dist/EIP6963.d.cts(11,9): error TS2717: Subsequent property declarations must have the same type. Property '[EIP6963EventNames.Request]' must be of type 'EIP6963RequestProviderEvent', but here has type 'EIP6963RequestProviderEvent'. ➤ YN0000: [@metamask/snaps-execution-environments]: node_modules/@metamask/providers/dist/EIP6963.d.cts(12,9): error TS2717: Subsequent property declarations must have the same type. Property '[EIP6963EventNames.Announce]' must be of type 'EIP6963AnnounceProviderEvent', but here has type 'EIP6963AnnounceProviderEvent'. ```
- Loading branch information
Showing
18 changed files
with
188 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "root", | ||
"version": "57.0.0", | ||
"version": "58.0.0", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -50,7 +50,6 @@ | |
"@babel/core": "patch:@babel/core@npm%3A7.23.2#./.yarn/patches/@babel-core-npm-7.23.2-b93f586907.patch", | ||
"@esbuild-plugins/node-modules-polyfill@^0.2.2": "patch:@esbuild-plugins/node-modules-polyfill@npm%3A0.2.2#./.yarn/patches/@esbuild-plugins-node-modules-polyfill-npm-0.2.2-f612681798.patch", | ||
"@lavamoat/lavapack@^6.1.1": "patch:@lavamoat/lavapack@npm%3A6.1.1#./.yarn/patches/@lavamoat-lavapack-npm-6.1.1-b81af21193.patch", | ||
"@metamask/utils": "9.1.0", | ||
"@puppeteer/[email protected]": "patch:@puppeteer/browsers@npm%3A1.7.0#./.yarn/patches/@puppeteer-browsers-npm-1.7.0-203cb4f44b.patch", | ||
"@puppeteer/browsers@^1.6.0": "patch:@puppeteer/browsers@npm%3A1.7.0#./.yarn/patches/@puppeteer-browsers-npm-1.7.0-203cb4f44b.patch", | ||
"@types/glob@*": "patch:@types/glob@npm%3A7.1.4#./.yarn/patches/@types-glob-npm-7.1.4-d45247eaa2.patch", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [9.3.1] | ||
### Changed | ||
- Bump `@metamask/approval-controller` from `^7.0.0` to `^7.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/json-rpc-middleware-stream` from `^8.0.0` to `^8.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/phishing-controller` from `^10.0.0` to `^10.1.1` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595)) | ||
|
||
## [9.3.0] | ||
### Added | ||
- Add `snap_resolveInterface` RPC method to the `SnapInterfaceController` ([#2509](https://github.com/metamask/snaps/pull/2509)) | ||
|
@@ -331,7 +341,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
- The version of the package no longer needs to match the version of all other | ||
MetaMask Snaps packages. | ||
|
||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[9.3.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[9.3.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[9.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[9.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [6.6.2] | ||
### Changed | ||
- Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595)) | ||
|
||
## [6.6.1] | ||
### Changed | ||
- Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445)) | ||
|
@@ -235,7 +240,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
- The version of the package no longer needs to match the version of all other | ||
MetaMask Snaps packages. | ||
|
||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[6.6.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.6.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [10.0.1] | ||
### Changed | ||
- Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/snaps-utils` from `^7.8.0` to `^7.8.1` ([#2595](https://github.com/MetaMask/snaps/pull/2595)) | ||
|
||
## [10.0.0] | ||
### Added | ||
- **BREAKING:** `snap_dialog` now takes the `requestUserApproval` hook ([#2509](https://github.com/metamask/snaps/pull/2509)) | ||
|
@@ -178,7 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
- The version of the package no longer needs to match the version of all other | ||
MetaMask Snaps packages. | ||
|
||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[10.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[10.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[9.1.4]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[9.1.3]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [7.8.1] | ||
### Changed | ||
- Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
- Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` ([#2593](https://github.com/metamask/snaps/pull/2593)) | ||
|
||
## [7.8.0] | ||
### Added | ||
- Move `serialiseJsx` function from `snaps-jest` to `snaps-utils` ([#2409](https://github.com/metamask/snaps/pull/2409)) | ||
|
@@ -282,7 +287,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
- The version of the package no longer needs to match the version of all other | ||
MetaMask Snaps packages. | ||
|
||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected] | ||
[7.8.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[7.8.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[7.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[7.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.