Skip to content

Commit

Permalink
0.23.0 (#919)
Browse files Browse the repository at this point in the history
* 0.23.0

* Update changelogs

* Update yarn.lock and manifests

* Update packages/rpc-methods/CHANGELOG.md

Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
  • Loading branch information
4 people committed Nov 7, 2022
1 parent fdd7032 commit 239ddf6
Show file tree
Hide file tree
Showing 44 changed files with 201 additions and 121 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"repository": {
"type": "git",
Expand Down
11 changes: 10 additions & 1 deletion packages/cli/CHANGELOG.md
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.23.0]
### Changed
- **BREAKING:** Refactor `mm-snap init` command ([#866](https://github.com/MetaMask/snaps-monorepo/pull/866))
- `mm-snap init` only takes one optional argument now, a directory for the snap to be initialized in.
- It uses a new snap monorepo template.
- Replace auto type guard with struct ([#911](https://github.com/MetaMask/snaps-monorepo/pull/911))
- Replace JSON schema validation with structs ([#862](https://github.com/MetaMask/snaps-monorepo/pull/862))

## [0.22.3]
### Changed
- No changes this release.
Expand Down Expand Up @@ -249,7 +257,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Example snaps ([#72](https://github.com/MetaMask/snaps-monorepo/pull/72))
- The examples now live in their own package, [`@metamask/snap-examples`](https://npmjs.com/package/@metamask/snap-examples).

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-cli",
"version": "0.22.3",
"version": "0.23.0",
"description": "A CLI for developing MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,8 +43,8 @@
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@metamask/snap-utils": "^0.22.3",
"@metamask/snaps-browserify-plugin": "^0.22.3",
"@metamask/snap-utils": "^0.23.0",
"@metamask/snaps-browserify-plugin": "^0.23.0",
"@metamask/utils": "^3.3.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
Expand Down
14 changes: 13 additions & 1 deletion packages/controllers/CHANGELOG.md
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.23.0]
### Added
- Add snap cronjobs ([#651](https://github.com/MetaMask/snaps-monorepo/pull/651), [#890](https://github.com/MetaMask/snaps-monorepo/pull/890))

### Changed
- **BREAKING:** Make `SnapController.add()` private ([#883](https://github.com/MetaMask/snaps-monorepo/pull/883))
- **BREAKING:** Stop including snap state in SnapController state ([#876](https://github.com/MetaMask/snaps-monorepo/pull/876))
- **BREAKING:** Stop including source code in SnapController state ([#861](https://github.com/MetaMask/snaps-monorepo/pull/861))
- Improve keyring endowment error messaging ([#884](https://github.com/MetaMask/snaps-monorepo/pull/884))
- Replace JSON schema validation with structs ([#862](https://github.com/MetaMask/snaps-monorepo/pull/862))

## [0.22.3]
### Changed
- No changes this release.
Expand Down Expand Up @@ -372,7 +383,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First semi-stable release.

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
Expand Down
10 changes: 5 additions & 5 deletions packages/controllers/package.json
@@ -1,6 +1,6 @@
{
"name": "@metamask/snap-controllers",
"version": "0.22.3",
"version": "0.23.0",
"description": "Controllers for MetaMask Snaps.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,12 +33,12 @@
"dependencies": {
"@metamask/browser-passworder": "^3.0.0",
"@metamask/controllers": "^32.0.2",
"@metamask/execution-environments": "^0.22.3",
"@metamask/execution-environments": "^0.23.0",
"@metamask/object-multiplex": "^1.1.0",
"@metamask/post-message-stream": "^6.0.0",
"@metamask/rpc-methods": "^0.22.3",
"@metamask/snap-types": "^0.22.3",
"@metamask/snap-utils": "^0.22.3",
"@metamask/rpc-methods": "^0.23.0",
"@metamask/snap-types": "^0.23.0",
"@metamask/snap-utils": "^0.23.0",
"@metamask/utils": "^3.3.0",
"@xstate/fsm": "^2.0.0",
"concat-stream": "^2.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/examples/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.23.0]
### Changed
- No changes this release.

## [0.22.3]
### Added
- Add transaction insights example snap ([#838](https://github.com/MetaMask/snaps-monorepo/pull/838))
Expand Down Expand Up @@ -184,7 +188,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- This package was previously a subset of [`snaps-cli`](https://github.com/MetaMask/snaps-cli/tree/main/examples), which has been renamed to [`@metamask/snaps-cli`](https://npmjs.com/package/@metamask/snaps-cli).
- Some examples have been deleted because they were outdated.

[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-monorepo/compare/v0.23.0...HEAD
[0.23.0]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.3...v0.23.0
[0.22.3]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.2...v0.22.3
[0.22.2]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.1...v0.22.2
[0.22.1]: https://github.com/MetaMask/snaps-monorepo/compare/v0.22.0...v0.22.1
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/bls-signer/package.json
@@ -1,6 +1,6 @@
{
"name": "bls-signer",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap that signs messages using BLS.",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/bls-signer/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap that signs messages using BLS.",
"proposedName": "bls-signer",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/browserify/package.json
@@ -1,6 +1,6 @@
{
"name": "browserify-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap built using TypeScript and Browserify",
"repository": {
Expand All @@ -27,9 +27,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snap-types": "^0.22.3",
"@metamask/snaps-browserify-plugin": "^0.22.3",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snap-types": "^0.23.0",
"@metamask/snaps-browserify-plugin": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"@types/browserify": "^12.0.37",
"@types/gulp": "^4.0.9",
"@types/node": "^17.0.33",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/browserify/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap built using TypeScript and Browserify",
"proposedName": "browserify-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/ethers-js/package.json
@@ -1,6 +1,6 @@
{
"name": "ethers-js-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap that that uses ethers.js.",
"repository": {
Expand All @@ -27,7 +27,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/ethers-js/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap that that uses ethers.js.",
"proposedName": "ethers-js-snap",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/examples/insights/package.json
@@ -1,6 +1,6 @@
{
"name": "transaction-insights-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example transaction insights Snap.",
"repository": {
Expand Down Expand Up @@ -36,8 +36,8 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snap-types": "^0.22.3",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snap-types": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/insights/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example transaction insights Snap.",
"proposedName": "Transaction Insights Example Snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/ipfs/package.json
@@ -1,6 +1,6 @@
{
"name": "ipfs-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap that performs IPFS operations.",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/ipfs/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap that performs IPFS operations.",
"proposedName": "ipfs-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/notifications/package.json
@@ -1,6 +1,6 @@
{
"name": "notification-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "The 'Hello, world!' of MetaMask Snaps.",
"repository": {
Expand Down Expand Up @@ -32,7 +32,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "A notification example snap.",
"proposedName": "Notification Example Snap",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/rollup/package.json
@@ -1,6 +1,6 @@
{
"name": "rollup-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap built using TypeScript and Rollup",
"repository": {
Expand All @@ -27,9 +27,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/rollup-plugin-snaps": "^0.22.3",
"@metamask/snap-types": "^0.22.3",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/rollup-plugin-snaps": "^0.23.0",
"@metamask/snap-types": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"@rollup/plugin-babel": "^5.3.1",
"@types/node": "^17.0.33",
"concurrently": "^7.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/rollup/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap built using TypeScript and Rollup",
"proposedName": "rollup-snap",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/examples/typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "typescript-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "The 'Hello, world!' of MetaMask Snaps, now written in TypeScript.",
"repository": {
Expand Down Expand Up @@ -32,8 +32,8 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snap-types": "^0.22.3",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snap-types": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/typescript/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap written in TypeScript.",
"proposedName": "TypeScript Example Snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/examples/wasm/package.json
@@ -1,6 +1,6 @@
{
"name": "wasm",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap that uses WebAssembly.",
"repository": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"assemblyscript": "^0.19.23",
"brfs": "^2.0.2",
"eslint": "^7.30.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/wasm/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap that uses WebAssembly.",
"proposedName": "wasm",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions packages/examples/examples/webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-snap",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "An example Snap built using TypeScript and Webpack",
"repository": {
Expand Down Expand Up @@ -29,9 +29,9 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snap-types": "^0.22.3",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-webpack-plugin": "^0.22.3",
"@metamask/snap-types": "^0.23.0",
"@metamask/snaps-cli": "^0.23.0",
"@metamask/snaps-webpack-plugin": "^0.23.0",
"@types/node": "^17.0.33",
"babel-loader": "^8.2.5",
"concurrently": "^7.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/examples/webpack/snap.manifest.json
@@ -1,5 +1,5 @@
{
"version": "0.22.3",
"version": "0.23.0",
"description": "An example Snap built using TypeScript and Webpack",
"proposedName": "webpack-snap",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/package.json
@@ -1,6 +1,6 @@
{
"name": "examples",
"version": "0.22.3",
"version": "0.23.0",
"private": true,
"description": "Example MetaMask Snaps.",
"repository": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@metamask/snaps-cli": "^0.22.3",
"@metamask/snaps-cli": "^0.23.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"eslint": "^7.30.0",
Expand Down

0 comments on commit 239ddf6

Please sign in to comment.