Skip to content

Releases: MetaMask/snaps

81.0.0

17 Dec 12:57
aa5f7a1
Compare
Choose a tag to compare

@metamask/preinstalled-example-snap 0.3.0

Added

@metamask/snaps-browserify-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-cli 6.6.0

Added

  • Allow async initialization logic (#2918)
    • Top-level-await is now available in Snaps.
    • WASM modules are instantiated asynchronously.
  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-controllers 9.16.0

Added

  • Add support for onSettingsPage export (#2911)

Fixed

  • Use BigInt for processing insight chain IDs (#2935)

@metamask/snaps-execution-environments 6.11.0

Added

  • Allow Snap exports to have async initialization logic (#2918)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-jest 8.9.0

Added

  • Add waitForUpdate interface action (#2960)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-rollup-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-rpc-methods 11.8.0

Added

  • Add onSettingsPage endowment (#2911)

@metamask/snaps-sdk 6.14.0

Added

  • Add onSettingsPage export (#2911)
  • Add Banner component (#2961)
  • Support fontWeight prop on Text (#2959)
  • Support size prop on Button (#2953)
  • Add loading state for Button (#2930)

Fixed

  • Improve Field validation errors (#2937)

@metamask/snaps-simulation 1.5.0

Added

  • Add waitForUpdate interface action (#2960)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-utils 8.7.0

Added

  • Add onSettingsPage export (#2911)
  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-webpack-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

80.0.0

04 Dec 11:09
f1d3cd6
Compare
Choose a tag to compare

@metamask/notification-example-snap 2.2.0

Changed

  • Add link to notification example (#2915)

@metamask/snaps-cli 6.5.4

Fixed

  • Bundle and initialize WASM modules using Base64 encoding (#2913)

@metamask/snaps-controllers 9.15.0

Added

  • Add clientCryptography property for specifying custom cryptography functions (#2909)

@metamask/snaps-jest 8.8.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-rpc-methods 11.7.0

Added

  • Add JSX content property to snap_notify (#2881)
    • This content will be displayed in an upcoming expanded view for notifications.
  • Add getClientCryptography hook for specifying custom cryptography functions (#2909)

@metamask/snaps-sdk 6.13.0

Added

  • Add size prop to Text (#2908)
  • Add JSX content property to snap_notify (#2881)
    • This content will be displayed in an upcoming expanded view for notifications.

Changed

  • Allow Field in Box (#2926)
  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-simulation 1.4.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-utils 8.6.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

79.0.0

25 Nov 10:11
a5714d5
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.14.0

Added

  • Emit snapInstalled and snapUpdated events for preinstalled Snaps (#2900)
    • This indirectly makes preinstalled Snaps trigger cronjobs and lifecycle hooks more reliably.

@metamask/snaps-jest 8.8.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-rpc-methods 11.6.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-sdk 6.12.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-simulation 1.4.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

78.0.0

20 Nov 09:44
406f7a2
Compare
Choose a tag to compare

@metamask/snaps-cli 6.5.3

Fixed

  • Ignore query strings when parsing URLs (#2883)

@metamask/snaps-controllers 9.13.0

Added

  • Add interface persistence (#2856)

Changed

  • Use arrayBuffer for fetching local Snaps (#2884)
    • This fixes some incompatiblities with React Native.

@metamask/snaps-execution-environments 6.10.0

Added

  • Add isSecureContext global (#2893)

Fixed

  • Remove unnecessary proxy for provider globals (#2850)
  • Make fetch responses an instance of Response (#2889)

@metamask/snaps-jest 8.7.1

Added

  • Add interface persistence (#2856)

@metamask/snaps-sdk 6.11.0

Added

  • Add support for Address in Card title (#2894)

@metamask/snaps-simulation 1.3.1

Added

  • Add interface persistence (#2856)

@metamask/snaps-utils 8.6.0

Added

  • Add isSecureContext global (#2893)

77.0.0

11 Nov 10:31
87234d3
Compare
Choose a tag to compare

@metamask/snaps-utils 8.5.2

Fixed

  • Add line beginning to origin regex (#2876)

76.0.0

01 Nov 09:26
90b8e43
Compare
Choose a tag to compare

@metamask/snaps-utils 8.5.1

Fixed

  • Use regular import to reference package.json (#2871)

75.0.0

31 Oct 12:41
965b265
Compare
Choose a tag to compare

@metamask/snaps-cli 6.5.2

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-controllers 9.12.0

Added

  • Add platform version field to manifest (#2803)

Changed

  • Bump MetaMask dependencies (#2853)

Fixed

  • Stop unnecesarily validating JSON for stored state (#2845)
  • Reduce unnecessary JSON validation (#2844)

@metamask/snaps-execution-environments 6.9.2

Changed

  • Bump MetaMask dependencies (#2853)

Fixed

  • Reduce unnecessary JSON validation (#2844)

@metamask/snaps-jest 8.7.0

Added

  • Add function to test onNameLookup (#2857)
  • Add function to test onInstall and onUpdate (#2849)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-rpc-methods 11.5.1

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-sdk 6.10.0

Added

  • Add snap_getCurrencyRate to SnapMethods (#2843)
  • Add truncate, displayName and avatar props to Address component (#2833)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-simulation 1.3.0

Added

  • Add function to test onNameLookup (#2857)
  • Add function to test onInstall and onUpdate (#2849)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-utils 8.5.0

Added

  • Add platform version field to manifest (#2803)
  • Add Kadena derivation path (#2851)

Changed

  • Bump MetaMask dependencies (#2853)

74.0.0

25 Oct 09:59
c497aa6
Compare
Choose a tag to compare

@metamask/snaps-cli 6.5.1

Fixed

  • Move fork-ts-checker-webpack-plugin to dependencies (#2862)

73.0.0

14 Oct 14:56
a4e654a
Compare
Choose a tag to compare

@metamask/preinstalled-example-snap 0.2.0

Added

  • Add some basic logic to make the buttons work (#2829)

@metamask/snaps-cli 6.5.0

Added

  • Add support for TypeScript type-checking (#2783)
    • This introduces a new configuration option, typescript.enabled, which can
      be set to true to enable TypeScript type-checking.
    • You can optionally specify a custom tsconfig.json file by setting
      typescript.configFile to the path of the file.

@metamask/snaps-controllers 9.11.1

Fixed

  • Pass full URLs to PhishingController (#2835)
  • Ignore Snap insight response if transaction or signature has already been signed (#2825)

@metamask/snaps-jest 8.6.0

Added

  • Add function to test onKeyringRequest (#2777)
    • The onKeyringRequest function can be used to test keyring requests.

@metamask/snaps-rpc-methods 11.5.0

Removed

  • Remove support for JSX in snap_notify notifications (#2837)
    • This is technically a breaking change, but this feature was never actually
      implemented, so it should not affect any existing code.
    • This will be re-implemented in a future release.

@metamask/snaps-sdk 6.9.0

Added

  • Add sm size variant to Heading component (#2831)
  • Add min, max and step props to number Input component (#2821)
  • Add Avatar component (#2820)

Removed

  • Remove support for JSX in snap_notify notifications (#2837)
    • This is technically a breaking change, but this feature was never actually
      implemented, so it should not affect any existing code.
    • This will be re-implemented in a future release.

@metamask/snaps-simulation 1.2.0

Added

  • Add support for button form property (#2830)
  • Add function to test onKeyringRequest (#2777)
    • The onKeyringRequest function can be used to test keyring requests.

@metamask/snaps-utils 8.4.1

Fixed

  • Pass full URLs to PhishingController (#2835)
  • Make parseMetaMaskUrl platform-agnostic (#2834)

72.0.0

08 Oct 18:49
173cf1b
Compare
Choose a tag to compare

@metamask/snaps-cli 6.4.0

Changed

  • Format Snap manifests with Prettier (#2787)

@metamask/snaps-controllers 9.11.0

Changed

  • Allow updating interface context (#2809)
    • snap_updateInterface now accepts a context parameter to update the
      context of an interface.

Removed

  • Remove AccountSelector component (#2794)
    • This is technically a breaking change, but the AccountSelector component was never actually implemented, so it
      should not affect any existing code.

@metamask/snaps-execution-environments 6.9.1

Removed

  • Remove eth_sign (#2772)
    • This method was removed from the MetaMask extension, so any references to it
      in Snaps can be removed.

@metamask/snaps-rpc-methods 11.4.0

Added

  • Add snap_experimentalProviderRequest JSON-RPC method (#2773)
    • This method is experimental and will likely be removed in a future release.

Changed

  • Allow updating interface context (#2809)
    • snap_updateInterface now accepts a context parameter to update the
      context of an interface.

Fixed

  • Use BigInt to parse chain IDs (#2781)

@metamask/snaps-sdk 6.8.0

Added

  • Add snap_experimentalProviderRequest JSON-RPC method (#2773)
    • This method is experimental and will likely be removed in a future release.

Changed

  • Allow updating interface context (#2809)
    • snap_updateInterface now accepts a context parameter to update the
      context of an interface.
  • Remove eth_sign (#2772)
    • This method was removed from the MetaMask extension, so any references to it
      in Snaps can be removed.

Removed

  • Remove AccountSelector component (#2794)
    • This is technically a breaking change, but the AccountSelector component was never actually implemented, so it
      should not affect any existing code.

@metamask/snaps-simulation 1.1.1

Removed

  • Remove eth_sign (#2772)
    • This method was removed from the MetaMask extension, so any references to it
      in Snaps can be removed.

Fixed

  • Add missing dependency on @metamask/snaps-execution-environments (#2791)

@metamask/snaps-utils 8.4.0

Added

  • Add isSnapId utility function (#2808)