Skip to content

Commit face4fe

Browse files
authored
Release 56.0.0 (#2584)
This is the release candidate for v56.0.0. The previous release candidate (#2583) was completely overwritten by a main branch merge commit (cb55071), because the preceding revert commit (#2582) introduced "newer" changes than the commits in the release candidate branch. For future reference, rebasing would be safer in this situation. As a result, the main branch is currently restored to its original state prior to the first release attempt (ffa9dd1), enabling us to move forward with this PR without having to merge an additional revert commit. This commit reverts commit 58e84f2, which restores the contents of the original release candidate for v56.0.0.
1 parent a63a5cb commit face4fe

File tree

7 files changed

+64
-7
lines changed

7 files changed

+64
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "root",
3-
"version": "55.0.0",
3+
"version": "56.0.0",
44
"private": true,
55
"repository": {
66
"type": "git",

packages/snaps-rpc-methods/CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [10.0.0]
10+
### Added
11+
- **BREAKING:** `snap_dialog` now takes the `requestUserApproval` hook ([#2509](https://github.com/metamask/snaps/pull/2509))
12+
- It should bind to the `addAndShowRequest` method of the `ApprovalController`.
13+
- Add type `DialogApprovalTypes` and object `DIALOG_APPROVAL_TYPES`.
14+
15+
### Changed
16+
- Bump `@metamask/key-tree` from `^9.1.1` to `^9.1.2` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
17+
- Bump `@metamask/permission-controller` from `^10.0.0` to `^10.0.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
18+
- Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
19+
- Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
20+
21+
### Fixed
22+
- Replace `superstruct` with ESM-compatible `@metamask/superstruct` `^3.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
23+
- This fixes the issue of this package being unusable by any TypeScript project that uses `Node16` or `NodeNext` as its `moduleResolution` option.
24+
925
## [9.1.4]
1026
### Changed
1127
- Bump MetaMask dependencies ([#2516](https://github.com/MetaMask/snaps/pull/2516))
@@ -162,7 +178,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
162178
- The version of the package no longer needs to match the version of all other
163179
MetaMask Snaps packages.
164180

165-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
181+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
182+
[10.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
166183
[9.1.4]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
167184
[9.1.3]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
168185
[9.1.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]

packages/snaps-rpc-methods/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/snaps-rpc-methods",
3-
"version": "9.1.4",
3+
"version": "10.0.0",
44
"description": "MetaMask Snaps JSON-RPC method implementations.",
55
"repository": {
66
"type": "git",

packages/snaps-sdk/CHANGELOG.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [6.1.0]
10+
### Added
11+
- Add non-restricted RPC method `snap_resolveInterface` ([#2509](https://github.com/metamask/snaps/pull/2509))
12+
- This method allows a Snap to resolve a given user interface bound to a `snap_dialog` with a custom value.
13+
- Add new types `ResolveInterfaceParams`, `ResolveInterfaceResult`.
14+
- Add `Card` component ([#2480](https://github.com/metamask/snaps/pull/2480))
15+
- Add `BoxChildStruct`, `FormChildStruct`, `FieldChildUnionStruct` ([#2409](https://github.com/metamask/snaps/pull/2409))
16+
- Add `Container` and `Footer` components ([#2517](https://github.com/metamask/snaps/pull/2517))
17+
18+
### Changed
19+
- Update `RootJSXElement` to allow `Container` or `Box` at the root ([#2526](https://github.com/metamask/snaps/pull/2526))
20+
- Bump `@metamask/key-tree` from `^9.1.1` to `^9.1.2` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
21+
- Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
22+
- Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
23+
24+
### Fixed
25+
- Replace `superstruct` with ESM-compatible `@metamask/superstruct` `^3.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
26+
- This fixes the issue of this package being unusable by any TypeScript project that uses `Node16` or `NodeNext` as its `moduleResolution` option.
27+
- Set `@metamask/providers` from `^17.0.0` to `17.0.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
28+
- `17.1.0` and `17.1.1` introduce regressions.
29+
930
## [6.0.0]
1031
### Added
1132
- **BREAKING:** Add `FileInput` component ([#2469](https://github.com/MetaMask/snaps/pull/2469), [#2504](https://github.com/MetaMask/snaps/pull/2504))
@@ -181,7 +202,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
181202
### Added
182203
- Initial release of this package.
183204

184-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
205+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
206+
[6.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
185207
[6.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
186208
[5.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
187209
[4.4.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]

packages/snaps-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/snaps-sdk",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/MetaMask/snaps.git"

packages/snaps-utils/CHANGELOG.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [7.8.0]
10+
### Added
11+
- Move `serialiseJsx` function from `snaps-jest` to `snaps-utils` ([#2409](https://github.com/metamask/snaps/pull/2409))
12+
13+
### Changed
14+
- Bump `@metamask/base-controller` from `^6.0.0` to `^6.0.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
15+
- Bump `@metamask/key-tree` from `^9.1.1` to `^9.1.2` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
16+
- Bump `@metamask/permission-controller` from `^10.0.0` to `^10.0.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
17+
- Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
18+
- Bump `@metamask/snaps-registry` from `^3.1.0` to `^3.2.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
19+
- Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
20+
21+
### Fixed
22+
- Replace `superstruct` with ESM-compatible `@metamask/superstruct` `^3.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
23+
- This fixes the issue of this package being unusable by any TypeScript project that uses `Node16` or `NodeNext` as its `moduleResolution` option.
24+
- Fix `allowedOrigins` bypass caused by unterminated regex ([#2576](https://github.com/metamask/snaps/pull/2576))
25+
926
## [7.7.0]
1027
### Added
1128
- Support conditional children in most JSX components ([#2506](https://github.com/MetaMask/snaps/pull/2506))
@@ -265,7 +282,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
265282
- The version of the package no longer needs to match the version of all other
266283
MetaMask Snaps packages.
267284

268-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
285+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
286+
[7.8.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
269287
[7.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
270288
[7.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
271289
[7.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]

packages/snaps-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/snaps-utils",
3-
"version": "7.7.0",
3+
"version": "7.8.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/MetaMask/snaps.git"

0 commit comments

Comments
 (0)