Skip to content

Commit

Permalink
Release 45.0.0 (#2390)
Browse files Browse the repository at this point in the history
This is the release candidate for version 45.0.0. Refer to the
changelogs for more information.
  • Loading branch information
Mrtenz authored May 3, 2024
1 parent 54ffe36 commit 2beee78
Show file tree
Hide file tree
Showing 21 changed files with 106 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "44.0.0",
"version": "45.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/example-snaps",
"version": "3.2.2",
"version": "3.3.0",
"private": true,
"repository": {
"type": "git",
Expand Down
7 changes: 6 additions & 1 deletion packages/examples/packages/jsx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

[Unreleased]: https://github.com/MetaMask/snaps/
## [1.0.0]
### Added
- Add JSX example Snap ([#2258](https://github.com/MetaMask/snaps/pull/2258))

[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[1.0.0]: https://github.com/MetaMask/snaps/releases/tag/@metamask/[email protected]
2 changes: 1 addition & 1 deletion packages/examples/packages/jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/jsx-example-snap",
"version": "0.0.0",
"version": "1.0.0",
"description": "MetaMask example snap demonstrating the use of JSX for UI components.",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/packages/jsx/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.0.0",
"version": "1.0.0",
"description": "MetaMask example snap demonstrating the use of JSX for UI components.",
"proposedName": "JSX Example Snap",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "ATu40WUaWGs+bqWvB35o8x/JpXkDCebljE81/1L7vf4=",
"shasum": "pigquHDQ/x1FIU2pKt817xN32E1xcVDRYp2OgZnrU5o=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
9 changes: 8 additions & 1 deletion packages/snaps-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [6.2.0]
### Added
- Add support for building Snaps with JSX ([#2258](https://github.com/MetaMask/snaps/pull/2258))
- It's now possible to use JSX components from `@metamask/snaps-sdk` to build
user interfaces for Snaps.

## [6.1.1]
### Fixed
- Disable `topLevelAwait` configuration option ([#2358](https://github.com/MetaMask/snaps/pull/2358))
Expand Down Expand Up @@ -151,7 +157,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.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.1.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-cli",
"version": "6.1.1",
"version": "6.2.0",
"description": "A CLI for developing MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down
14 changes: 13 additions & 1 deletion packages/snaps-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.1.0]
### Added
- Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258))

### Changed
- Bump `@metamask/approval-controller` from `6.0.1` to `6.0.2` ([#2380](https://github.com/MetaMask/snaps/pull/2380))
- Bump `@metamask/base-controller` from `5.0.1` to `5.0.2` ([#2375](https://github.com/MetaMask/snaps/pull/2375))

### Fixed
- Fix an issue where certain types of executors would be timed out too quickly ([#2389](https://github.com/MetaMask/snaps/pull/2389))

## [8.0.0]
### Changed
- **BREAKING:** Move `maxInitTime` constructor argument from `SnapController` to `ExecutionService` ([#2348](https://github.com/MetaMask/snaps/pull/2348))
Expand Down Expand Up @@ -246,7 +257,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]
[8.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[8.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-controllers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-controllers",
"version": "8.0.0",
"version": "8.1.0",
"description": "Controllers for MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down
13 changes: 12 additions & 1 deletion packages/snaps-execution-environments/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [6.1.0]
### Changed
- Unblock `eth_sendRawTransaction` ([#2362](https://github.com/MetaMask/snaps/pull/2362))
- Bump `@metamask/providers` from `16.0.0` to `16.1.0` ([#2386](https://github.com/MetaMask/snaps/pull/2386))

### Fixed
- Make `onUserInput` export optional ([#2373](https://github.com/MetaMask/snaps/pull/2373))
- Snaps will no longer crash when interacting with a user interface when the
Snap does not export `onUserInput`.

## [6.0.2]
### Fixed
- Throw an error if starting Snap has no exports ([#2357](https://github.com/MetaMask/snaps/pull/2357))
Expand Down Expand Up @@ -184,7 +194,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.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[6.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-execution-environments/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-execution-environments",
"version": "6.0.2",
"version": "6.1.0",
"description": "Snap sandbox environments for executing SES javascript",
"repository": {
"type": "git",
Expand Down
16 changes: 15 additions & 1 deletion packages/snaps-jest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.0.0]
### Added
- **BREAKING:** Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258))
- It's now possible to use JSX components from `@metamask/snaps-sdk` to build
user interfaces for Snaps.
- This is a breaking change, because the legacy user interfaces are converted
to the new JSX format.
- If you are checking the format of a interface without `toRender`, you will
need to update your tests to check the JSX format.

### Changed
- Bump `@metamask/base-controller` from `5.0.1` to `5.0.2` ([#2375](https://github.com/MetaMask/snaps/pull/2375))

## [7.0.2]
### Changed
- Bump `@metamask/snaps-execution-environments` to latest ([#2339](https://github.com/MetaMask/snaps/pull/2339))
Expand Down Expand Up @@ -131,7 +144,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]
[8.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-jest",
"version": "7.0.2",
"version": "8.0.0",
"description": "A Jest preset for end-to-end testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers.",
"sideEffects": false,
"exports": {
Expand Down
7 changes: 6 additions & 1 deletion packages/snaps-rpc-methods/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.1.0]
### Added
- Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258))

## [8.0.0]
### Changed
- **BREAKING:** Refactor to support changes to encryption ([#2316](https://github.com/MetaMask/snaps/pull/2316))
Expand Down Expand Up @@ -130,7 +134,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]
[8.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[8.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-rpc-methods",
"version": "8.0.0",
"version": "8.1.0",
"description": "MetaMask Snaps JSON-RPC method implementations.",
"repository": {
"type": "git",
Expand Down
18 changes: 17 additions & 1 deletion packages/snaps-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.1.0]
### Added
- Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258), [#2379](https://github.com/MetaMask/snaps/pull/2379))
- It's now possible to use JSX components from this package to build user
interfaces for Snaps.
- This package now exports a custom JSX runtime that can be used to render
JSX components in Snaps. It can be used with the `react-jsx` and
`react-jsxdev` JSX pragmas, using `@metamask/snaps-sdk` as import source.
- When using `@metamask/snaps-cli` to build Snaps, the Snaps JSX runtime
will be used automatically.

### Changed
- Deprecate legacy UI components ([#2388](https://github.com/MetaMask/snaps/pull/2388))
- Bump `@metamask/providers` from `16.0.0` to `16.1.0` ([#2386](https://github.com/MetaMask/snaps/pull/2386))

## [4.0.1]
### Fixed
- Allow `null` in `FormSubmitEventStruct` form state ([#2333](https://github.com/MetaMask/snaps/pull/2333))
Expand Down Expand Up @@ -103,7 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release of this package.

[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[4.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[4.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[4.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[3.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-sdk",
"version": "4.0.1",
"version": "4.1.0",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand Down
11 changes: 10 additions & 1 deletion packages/snaps-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.3.0]
### Added
- Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258), [#2383](https://github.com/MetaMask/snaps/pull/2383))
- This adds utility functions for working with JSX in Snaps.

### Changed
- Bump `@metamask/base-controller` from `5.0.1` to `5.0.2` ([#2375](https://github.com/MetaMask/snaps/pull/2375))

## [7.2.0]
### Added
- Add `getJsonSizeUnsafe` ([#2342](https://github.com/MetaMask/snaps/pull/2342))
Expand Down Expand Up @@ -217,7 +225,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.3.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[7.0.4]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-utils",
"version": "7.2.0",
"version": "7.3.0",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand Down
7 changes: 6 additions & 1 deletion packages/test-snaps/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.7.0]
### Added
- Add JSX example Snap ([#2258](https://github.com/MetaMask/snaps/pull/2258), [#2378](https://github.com/MetaMask/snaps/pull/2378))

## [2.6.1]
### Changed
- Use latest versions of example Snaps ([#2337](https://github.com/MetaMask/snaps/pull/2337))
Expand Down Expand Up @@ -104,7 +108,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix NPM package name of the network access snap ([#1621](https://github.com/MetaMask/snaps/pull/1621))

[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[2.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[2.6.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[2.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[2.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/test-snaps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/test-snaps",
"version": "2.6.1",
"version": "2.7.0",
"private": true,
"description": "The test snaps website for MetaMask Snaps, used for end-to-end testing.",
"repository": {
Expand Down

0 comments on commit 2beee78

Please sign in to comment.