Skip to content

Releases: MetaMask/snaps

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)

137.0.0

18 Dec 10:25
b58a9d1

Choose a tag to compare

@metamask/images-example-snap 1.2.0

Added

  • Use external images (#3769)

@metamask/snaps-controllers 17.2.0

Added

  • Add isReady state property (#3778)
  • Add support for external images (#3769)

Changed

  • Skip updating registry if signature has not changed (#3779)

@metamask/snaps-jest 9.7.0

Added

  • Add support for external images (#3769)

@metamask/snaps-sdk 10.3.0

Added

  • Add support for external images (#3769)

@metamask/snaps-simulation 3.7.0

Added

  • Add support for external images (#3769)

@metamask/snaps-utils 11.7.0

Added

  • Add support for external images (#3769)

@metamask/test-snaps 3.2.0

Changed

  • Use latest versions of example Snaps (#3780)

136.0.0

12 Dec 10:48
1e95bcd

Choose a tag to compare

@metamask/snaps-controllers 17.1.2

Fixed

  • Detect and recover missing permissions for preinstalled Snaps (#3775)

135.0.0

08 Dec 10:37
08cf90f

Choose a tag to compare

@metamask/snaps-controllers 17.1.1

Fixed

  • Improve registry verification speed (#3770)
  • Increase default ping timeout (#3773)

@metamask/snaps-utils 11.6.3

Changed

  • Bump @metamask/snaps-registry from 3.3.0 to 4.0.0 (#3770)

134.0.0

02 Dec 15:51
e21d3a3

Choose a tag to compare

@metamask/interactive-ui-example-snap 2.5.0

Added

  • Add example for DateTimePicker component (#3698)

@metamask/snaps-controllers 17.1.0

Added

  • Add support for DateTimePicker component (#3698)

Changed

  • Bump @metamask/permission-controller from 12.1.0 to 12.1.1 (#3746)

Fixed

  • Use no-cache for fetching registry (#3760)

@metamask/snaps-execution-environments 10.3.0

Added

  • Add support for DateTimePicker component (#3698)

Changed

  • Bump @lavamoat/webpack from 1.5.3 to 1.5.4 (#3751)
  • Bump lavamoat from 10.0.1 to 10.0.2 (#3752)

@metamask/snaps-jest 9.6.0

Added

  • Add support for the DateTimePicker component (#3698)
    • The pickDateTime function can be used to interact with the component in tests.

Changed

  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

@metamask/snaps-sdk 10.2.0

Added

  • Add DateTimePicker component (#3698)
  • Move ISO8601DateStruct from @metamask/snaps-utils to @metamask/snaps-sdk (#3698)

@metamask/snaps-simulation 3.6.0

Added

  • Add support for the DateTimePicker component (#3698)
    • The pickDateTime function can be used to interact with the component in tests.
  • Include client versions in snap_getClientStatus (#3724)

Changed

  • Bump @metamask/permission-controller from 12.0.0 to 12.1.1 (#3746), (#3714)
  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

@metamask/snaps-utils 11.6.2

Changed

  • Move ISO8601DateStruct to @metamask/snaps-sdk and re-export it for backwards compatibility (#3698)
  • Bump @metamask/snaps-registry from 3.2.3 to 3.3.0 (#3737)
  • Bump @metamask/permission-controller from 12.1.0 to 12.1.1 (#3746)
  • Bump @metamask/permission-controller from 12.0.0 to 12.1.0 (#3714)

@metamask/test-snaps 3.1.0

Added

  • Use EIP-6963 for test-snaps (#3757)

Fixed

  • Move test-snaps dependencies to devDependencies (#3758)

133.0.0

19 Nov 09:41
163e512

Choose a tag to compare

@metamask/snaps-controllers 17.0.0

Added

  • BREAKING: Ensure user has onboarded before allowing usage of SnapController (#3731)
    • This is breaking as it adds a new required constructor argument to SnapController called ensureOnboardingComplete.
  • BREAKING: Support specified clientVersions in the registry (#3737)
    • This is breaking as it adds a new required constructor argument to JsonSnapsRegistry called clientConfig.

@metamask/snaps-rpc-methods 14.1.1

Fixed

  • Use mutex when modifying state using snap_setState (#3742)

132.0.0

11 Nov 11:25
c8affd0

Choose a tag to compare

@metamask/snaps-controllers 16.1.1

Fixed

  • Override disableSnapInstallation feature flag when using automatic updates (#3735)