Skip to content

Releases: MetaMask/snaps

0.27.0

16 Dec 13:02
9464e07
Compare
Choose a tag to compare

examples

Changed

  • BREAKING: Use custom UI in snap_dialog (#1051)
  • BREAKING: Use custom UI in transaction insights (#1047)
  • BREAKING: Move all internal types from snaps-types to snaps-utils (#1060)

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Changed

  • BREAKING: Use custom UI in snap_dialog (#1051)
  • BREAKING: Use SIP-6 algorithm for state encryption (#1055)
    • This breaks all existing snaps that use snap_manageState

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snaps-controllers

Changed

  • BREAKING: Use SIP-6 algorithm for state encryption (#1055)
    • This breaks all existing snaps that use snap_manageState

@metamask/snaps-execution-environments

Changed

  • BREAKING: Move all internal types from snaps-types to snaps-utils (#1060)

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • BREAKING: Move all internal types from snaps-types to snaps-utils (#1060)

@metamask/snaps-ui

Changed

  • No changes this release.

@metamask/snaps-utils

Changed

  • BREAKING: Use SIP-6 algorithm for state encryption (#1055)
    • This breaks all existing snaps that use snap_manageState
  • BREAKING: Use custom UI in transaction insights (#1047)
  • BREAKING: Move all internal types from snaps-types to snaps-utils (#1060)

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.26.2

13 Dec 11:54
e38677f
Compare
Choose a tag to compare

examples

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Changed

  • No changes this release.

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snaps-controllers

Changed

  • No changes this release.

@metamask/snaps-execution-environments

Fixed

  • Fix usage of wrong ethereum global for ethereum endowment (#1064)

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • No changes this release.

@metamask/snaps-ui

Changed

  • No changes this release.

@metamask/snaps-utils

Changed

  • No changes this release.

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.26.1

08 Dec 11:39
0da535d
Compare
Choose a tag to compare

examples

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Changed

  • No changes this release.

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snaps-controllers

Fixed

  • Fix some paths being wrongly normalized (#1053)
  • Fix some issues with fetching snaps (#1050)

@metamask/snaps-execution-environments

Changed

  • No changes this release.

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • No changes this release.

@metamask/snaps-ui

Changed

  • No changes this release.

@metamask/snaps-utils

Fixed

  • Fix some paths being wrongly normalized (#1053)
  • Fix utils browser export (#1049)

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.26.0

07 Dec 10:43
7f5cfd4
Compare
Choose a tag to compare

examples

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Changed

  • No changes this release.

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Fixed

  • Fix post processing issue with object.eval (#1040)

@metamask/snaps-controllers

Changed

  • BREAKING: Snap installation refactor (#1023)
    • wallet_requestSnaps will now throw an error and roll back any changes made if installation of any snap fails

Fixed

  • Fix an issue processing non-snap permissions (#1044)

@metamask/snaps-execution-environments

Changed

  • No changes this release.

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • No changes this release.

@metamask/snaps-ui

Removed

  • BREAKING: Remove spacer component (#1031)

@metamask/snaps-utils

Fixed

  • Fix post processing issue with object.eval (#1040)

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.25.0

24 Nov 10:32
5dc4178
Compare
Choose a tag to compare

examples

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Added

  • Add placeholder parameter for prompt dialog (#1007)

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snaps-controllers

Added

  • BREAKING: Add JSON-RPC handler permission (#905)
    • Snaps are now required to request endowment:rpc to receive RPC requests.
  • Add transaction origin caveat export (#1010)

@metamask/snaps-execution-environments

Changed

  • No changes this release.

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • No changes this release.

@metamask/snaps-ui

Added

@metamask/snaps-utils

Added

  • BREAKING: Add JSON-RPC handler permission (#905)
    • Snaps are now required to request endowment:rpc to receive RPC requests.

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.24.1

17 Nov 11:07
c12b7f8
Compare
Choose a tag to compare

examples

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Fixed

  • Fix snap_getBip32PublicKey manifest validation (#970)

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snaps-controllers

Changed

  • No changes this release.

@metamask/snaps-execution-environments

Changed

  • No changes this release.

@metamask/snaps-rollup-plugin

Changed

  • No changes this release.

@metamask/snaps-types

Changed

  • No changes this release.

@metamask/snaps-utils

Fixed

  • Fix snap_getBip32PublicKey manifest validation (#970)

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

0.24.0

16 Nov 12:13
b0512e6
Compare
Choose a tag to compare

examples

Added

  • Add snap_getEntropy JSON-RPC method (#940)

Changed

  • BREAKING: Remove wallet global in favor of snap and ethereum (#939, #964)
  • Remove wallet_enable from examples (#949)

@metamask/multichain-provider

Added

  • Add permission validation to snap.manifest.json (#910)

@metamask/rpc-methods

Added

  • Add snap_getEntropy JSON-RPC method (#940)
  • Add permission validation to snap.manifest.json (#910)

Changed

  • BREAKING: Remove wallet_enable and wallet_installSnaps in favor of wallet_requestSnaps (#909)
  • BREAKING: Refactor RPC method params and add tests (#922)

Removed

  • BREAKING: Remove snap_getAppKey (#867)

@metamask/snaps-browserify-plugin

Added

  • Add compile-time warning when using Math.random (#950)

@metamask/snaps-cli

Added

  • Add permission validation to SnapManifest (#910)

Fixed

  • Remove double logging in CLI (#958)

@metamask/snaps-controllers

Added

  • Add transaction insight caveat for accessing transaction origin (#902)

Changed

  • BREAKING: Rename package to start with snaps- (#937)
  • BREAKING: Remove wallet global in favor of snap and ethereum (#939)
  • Add permission validation to snap.manifest.json (#910)

@metamask/snaps-execution-environments

Added

  • Add transaction insight caveat for accessing transaction origin (#902)
  • Add permission validation to snap.manifest.json (#910)
  • Add Math endowment factory (#888)

Changed

  • BREAKING: Rename package to start with snaps- (#937)
  • BREAKING: Remove wallet global in favor of snap and ethereum (#939, #964)

@metamask/snaps-rollup-plugin

Added

  • Add compile-time warning when using Math.random (#950)

Changed

  • BREAKING: Rename package to start with snaps- (#937)

@metamask/snaps-types

Added

  • Add transaction insight caveat for accessing transaction origin (#902)
  • Add permission validation to snap.manifest.json (#910)

Changed

  • BREAKING: Remove wallet global in favor of snap and ethereum (#939, #964)
  • BREAKING: Rename package to start with snaps- (#937)

@metamask/snaps-utils

Added

  • Add transaction insight caveat for accessing transaction origin (#902)
  • Add snap_getEntropy JSON-RPC method (#940)
  • Add permission validation to snap.manifest.json (#910)
  • Add compile-time warning when using Math.random (#950)

Changed

  • BREAKING: Rename package to start with snaps- (#937)
  • BREAKING: Remove wallet global in favor of snap and ethereum (#939, #964)

@metamask/snaps-webpack-plugin

Added

  • Add compile-time warning when using Math.random (#950)

0.23.0

07 Nov 10:14
239ddf6
Compare
Choose a tag to compare

@metamask/snaps-cli

Changed

  • BREAKING: Refactor mm-snap init command (#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)
  • Replace JSON schema validation with structs (#862)

@metamask/snap-controllers

Added

Changed

  • BREAKING: Make SnapController.add() private (#883)
  • BREAKING: Stop including snap state in SnapController state (#876)
  • BREAKING: Stop including source code in SnapController state (#861)
  • Improve keyring endowment error messaging (#884)
  • Replace JSON schema validation with structs (#862)

examples

Changed

  • No changes this release.

@metamask/execution-environments

Added

  • Add snap cronjobs (#651)

Changed

  • BREAKING: Replace Buffer with Typed Arrays (#878)
  • Improve execution environment type validation (#844)

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/rollup-plugin-snaps

Changed

  • No changes this release.

@metamask/snaps-webpack-plugin

Fixed

  • Fix Webpack plugin issue with existing files (#858)

@metamask/multichain-provider

Added

  • Export MultiChainProvider types (#857)

@metamask/rpc-methods

Changed

  • BREAKING: Bump @metamask/key-tree to 6.0.0 (#918)
    • All hexadecimal values are now prefixed with 0x
    • The package no longer uses Buffer. Because of that some fields have been renamed.

@metamask/snap-types

Added

  • Add snap cronjobs (#651)

@metamask/snap-utils

Added

  • Add snap cronjobs (#651)

Changed

  • BREAKING: Replace Buffer with Typed Arrays (#878)
  • Improve keyring endowment error messaging (#884)
  • Replace JSON schema validation with structs (#862)

Removed

  • BREAKING: Stop including source code in SnapController state (#861)

0.22.3

25 Oct 08:30
37ba172
Compare
Choose a tag to compare

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snap-controllers

Changed

  • No changes this release.

examples

Added

  • Add transaction insights example snap (#838)

@metamask/execution-environments

Fixed

  • Fix missing properties on WebSocket MessageEvent (#845)

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/rollup-plugin-snaps

Changed

  • No changes this release.

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

@metamask/multichain-provider

Fixed

  • Stop assuming wrapped responses from MetaMask provider (#854)

@metamask/rpc-methods

Changed

  • No changes this release.

@metamask/snap-types

Changed

  • No changes this release.

@metamask/snap-utils

Fixed

  • Make @babel/types a regular dependency (#852)

0.22.2

11 Oct 12:34
0306a7c
Compare
Choose a tag to compare

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snap-controllers

Fixed

  • Fix an issue with installing snaps that request the eth_accounts permission (#839)

examples

Changed

  • No changes this release.

@metamask/execution-environments

Fixed

  • Throw an error when response is unserializable (#840)

@metamask/snaps-browserify-plugin

Changed

  • No changes this release.

@metamask/rollup-plugin-snaps

Changed

  • No changes this release.

@metamask/snaps-webpack-plugin

Changed

  • No changes this release.

@metamask/multichain-provider

Changed

  • No changes this release.

@metamask/rpc-methods

Added

  • Add JSON-RPC validation for Snap RPC requests (#833)

@metamask/snap-types

Changed

  • No changes this release.

@metamask/snap-utils

Changed

  • No changes this release.