Skip to content

Releases: MetaMask/snaps

147.0.0

11 Mar 14:30
97709cb

Choose a tag to compare

@metamask/snaps-controllers 18.0.4

Fixed

  • Always attach error handler to RPC stream (#3898)

146.0.0

10 Mar 22:16
5a88d61

Choose a tag to compare

@metamask/send-flow-example-snap 1.2.1

Changed

  • Update interface logic (#3888)

@metamask/snaps-controllers 18.0.3

Changed

  • Track whether interface has been displayed before allowing snap_getInterfaceState (#3888)

@metamask/snaps-execution-environments 11.0.1

Changed

  • Bump ses from 1.14.0 to 1.15.0 (#3880)

@metamask/snaps-jest 10.1.1

Changed

  • Track whether interface has been displayed before allowing snap_getInterfaceState (#3888)

@metamask/snaps-rpc-methods 15.0.0

Changed

  • Track whether interface has been displayed before allowing snap_getInterfaceState (#3888)

Removed

  • BREAKING: Remove snap_getCurrencyRate (#3866)
  • BREAKING: Remove snap_experimentalProviderRequest (#3858)

Fixed

  • Require any interface permission to use RPC methods (#3864)

@metamask/snaps-sdk 11.0.0

Changed

  • Allow additional icon colors in Icon component (#3895)
    • This adds the warning, error, and success colors to the Icon
      component.
  • Move isSnapError and isSerializedSnapError to SDK (#3891)

Removed

  • BREAKING: Remove snap_getCurrencyRate (#3866)
  • BREAKING: Remove deprecated UI builders (#3859)
  • BREAKING: Remove snap_experimentalProviderRequest (#3858)

@metamask/snaps-simulation 4.1.1

Changed

  • Track whether interface has been displayed before allowing snap_getInterfaceState (#3888)

@metamask/snaps-utils 12.1.1

Changed

  • Move isSnapError and isSerializedSnapError to @metamask/snaps-sdk (#3891)
    • They are re-exported from this package for backwards compatibility, but will
      be removed in a future release.

@metamask/test-snaps 3.4.1

Changed

  • Use latest versions of example Snaps (#3896)

145.0.0

06 Mar 10:55
b0f99c1

Choose a tag to compare

@metamask/snaps-cli 8.4.1

Changed

  • Bump @metamask/snaps-sandbox from ^1.0.0 to ^1.0.1 (#3894)

@metamask/snaps-sandbox 1.0.1

Changed

144.0.0

04 Mar 13:13
e8eb084

Choose a tag to compare

@metamask/snaps-controllers 18.0.2

Changed

  • Bump @metamask/json-rpc-engine from 10.2.2 to 10.2.3 (#3884)

Fixed

  • Recover if preinstalled Snaps source code is missing (#3886)

143.0.0

24 Feb 14:10
f2ed168

Choose a tag to compare

@metamask/snaps-controllers 18.0.1

Changed

  • Use JsonRpcEngineV2 for execution services (#3857)
  • Remove @metamask/phishing-controller dependency (#3852)
  • Bump @metamask/utils from 11.9.0 to 11.10.0 (#3854)
  • Bump @metamask/json-rpc-engine from 10.2.1 to 10.2.2 (#3849)

Fixed

  • Reinitialize SnapController after clearing state (#3870)
  • Increase max listeners limit for rpcStream (#3856)

142.0.0

04 Feb 15:32
cc90d8c

Choose a tag to compare

@metamask/snaps-controllers 18.0.0

Added

  • BREAKING: Use StorageService to store source code (#3777)

Changed

  • BREAKING: Remove closeAllConnections constructor argument (#3814)
  • Pass executor parameters by object (#3803)
  • Bump lodash from 4.17.21 to 4.17.23 (#3821)
  • Bump tar from 7.0.0 to 7.1.0 (#3821)
  • Bump @metamask/json-rpc-engine from 10.2.0 to 10.2.1 (#3804)

Fixed

  • Disallow using unconnected accounts in MultichainRouter (#3837)
  • Update SnapController state when SnapsRegistry changes (#3828)
  • Update documentation for MultichainRouter (#3827)
  • Manually construct keyring_resolveAccountAddress request (#3822)

@metamask/snaps-execution-environments 11.0.0

Changed

  • BREAKING: Pass executor parameters by object (#3803)

@metamask/snaps-jest 10.1.0

Changed

  • Remove sourceCode from getSnap implementation (#3777)

@metamask/snaps-rpc-methods 14.3.0

Added

  • Add middleware to validate wallet_snap permission request (#3838)

Fixed

  • Cleanup endowment handling of maxRequestTime (#3826)

@metamask/snaps-simulation 4.1.0

Changed

  • Remove sourceCode from getSnap implementation (#3777)

@metamask/snaps-utils 12.1.0

Added

  • Add types for Snap's StorageService data (#3777)
  • Add Canton Network derivation path (#3833)

Changed

  • Bump @metamask/slip44 from 4.3.0 to 4.4.0 (#3834)
  • Bump fast-xml-parser from 4.5.3 to 5.3.4 (#3831)

141.0.0

27 Jan 10:50
0278899

Choose a tag to compare

@metamask/snaps-execution-environments 10.4.1

Fixed

  • Inspect wallet_invokeMethod requests before sending (#3819)
  • Block metamask_sendDomainMetadata (#3818)

140.0.0

26 Jan 10:45
8e7a494

Choose a tag to compare

@metamask/snaps-utils 12.0.1

Fixed

  • Tighten derivation path validation (#3816)

139.0.0

22 Jan 12:16
afc2c54

Choose a tag to compare

@metamask/multichain-provider-example-snap 1.0.0

Added

  • Initial release (#3813)

@metamask/snaps-cli 8.4.0

Added

  • Add --manifest option for custom manifests (#3793, #3811)
    • This is currently only supported for the watch command, and build
      command for preinstalled Snaps (when used with the --preinstalled flag).
  • Allow manifest to extend another manifest (#3802)
    • For example, you could have a snap.manifest.json file with common fields,
      and a snap.manifest.dev.json file that extends it with
      development-specific fields:
      // snap.manifest.json
      {
        "version": "1.0.0",
        "proposedName": "My Snap",
        "initialPermissions": {
          "endowment:network-access": {}
        }
      }
      and
      // snap.manifest.dev.json
      {
        "extends": "./snap.manifest.json",
        "proposedName": "My Snap (development)",
        "initialConnections": {
          "https://localhost:8000": {}
        }
      }
      When running mm-snap watch --manifest snap.manifest.dev.json, the
      resulting manifest will combine the fields from both files.
  • Add --preinstalled flag to build command to create preinstalled Snap bundle (#3805)

@metamask/snaps-execution-environments 10.4.0

Added

  • Add Multichain API support (#3759)

Changed

  • Bump @metamask/json-rpc-engine from 10.2.0 to 10.2.1 (#3804)
  • Bump @metamask/utils from 11.8.1 to 11.9.0 (#3783)

@metamask/snaps-jest 10.0.0

Added

  • Add Multichain API support (#3759)

Changed

  • BREAKING: Change default account used by account and asset selector (#3759)
    • The AccountSelector and AssetSelector now use the first account of
      default secret recovery phrase by default.

@metamask/snaps-rollup-plugin 5.0.1

Changed

  • Bump @metamask/snaps-utils from 11.7.1 to 12.0.0 (#3793)

@metamask/snaps-rpc-methods 14.2.0

Added

  • Add Multichain API support (#3759)

Changed

  • Bump @metamask/json-rpc-engine from 10.2.0 to 10.2.1 (#3804)
  • Bump @metamask/permission-controller from 12.1.0 to 12.2.0 (#3746, #3791)
  • Bump @metamask/utils from 11.8.1 to 11.9.0 (#3783)

Fixed

  • Prevent concurrent wallet_requestSnaps requests (#3800)

@metamask/snaps-sdk 10.4.0

Added

  • Add Multichain API support (#3759)

Changed

  • Bump @metamask/utils from 11.8.1 to 11.9.0 (#3783)

@metamask/snaps-simulation 4.0.0

Added

  • Add Multichain API support (#3759)

Changed

  • BREAKING: Change default account used by account and asset selector (#3759)
    • The AccountSelector and AssetSelector now use the first account of
      default secret recovery phrase by default.
  • Bump @metamask/json-rpc-engine from 10.2.0 to 10.2.1 (#3804)

@metamask/snaps-utils 12.0.0

Added

  • Add loadManifest function to load extendable manifests (#3793)

Changed

  • BREAKING: Allow manifest to extend another manifest (#3802)
    • checkManifest now returns ExtendableSnapFiles, containing a manifest
      that may extend another manifest.
  • BREAKING: Require path to manifest instead of directory in checkManifest function (#3793)

@metamask/snaps-webpack-plugin 5.1.2

Changed

  • Bump @metamask/snaps-utils from 11.7.1 to 12.0.0 (#3793)

@metamask/test-snaps 3.4.0

Added

  • Add multichain provider example (#3759)

Changed

  • Use latest versions of example Snaps (#3813)

138.0.0

12 Jan 11:11
1bd19f7

Choose a tag to compare

@metamask/ethereum-provider-example-snap 3.0.0

Added

  • Add getGenesisBlock method for getting genesis block (#3788)

Removed

  • Remove unused RPC methods: getGasPrice and getVersion (#3788)

@metamask/snaps-controllers 17.2.1

Changed

Fixed

  • Unload iframe before removing (#3796)
  • Ensure stream multiplex is destroyed (#3795)

@metamask/snaps-jest 9.8.0

Added

  • Support more chains when simulating Ethereum provider (#3789)

Changed

@metamask/snaps-simulation 3.8.0

Added

  • Support more chains when simulating Ethereum provider (#3789)

Changed

@metamask/snaps-utils 11.7.1

Changed

  • Use sha256 utility from @metamask/utils (#3781)
  • Bump MetaMask dependencies (#3783, #3748, #3791)
  • Fix some typos in the documentation (#3739)

Fixed

  • Ensure iframe load listener is removed (#3797)

@metamask/test-snaps 3.3.0

Added

  • Add getGenesisBlock RPC method button (#3788)

Changed

  • Use latest versions of example Snaps (#3798)