Skip to content

Releases: MetaMask/snaps

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)

71.0.0

27 Sep 15:06
e7fab1c
Compare
Choose a tag to compare

@metamask/send-flow-example-snap 1.0.0

Changed

  • Initial release of the @metamask/send-flow-example-snap example.

@metamask/snaps-cli 6.3.4

Changed

  • Bump @metamask/snaps-sdk to ^6.7.0 (#2770)
  • Bump @metamask/snaps-utils to ^8.3.0 (#2770)

@metamask/snaps-controllers 9.10.0

Changed

  • Add AccountSelector component (#2764, #2768, #2766)
  • Convert createWindow parameters to options bag (#2765)

@metamask/snaps-execution-environments 6.9.0

Changed

  • Convert createWindow parameters to options bag (#2765)

@metamask/snaps-jest 8.5.0

Changed

  • Move helper functions to simulation package (#2769)

@metamask/snaps-rpc-methods 11.3.0

Added

  • Add snap_getCurrencyRate JSON-RPC method (#2763)

@metamask/snaps-sdk 6.7.0

Added

  • Add snap_getCurrencyRate JSON-RPC method (#2763)
  • Add AccountSelector component (#2764, #2768)
  • Add size prop to the Heading component (#2759)

Changed

  • Allow Link in Row and Address in Link (#2761)

@metamask/snaps-simulation 1.1.0

Changed

  • Move helper functions to simulation package (#2769)

@metamask/snaps-utils 8.3.0

Added

  • Add currency struct (#2763)

Changed

  • Convert createWindow parameters to options bag (#2765)

Fixed

  • Update package.json struct to allow repository.directory (#2754)

70.0.0

24 Sep 17:57
92fca8b
Compare
Choose a tag to compare

@metamask/interactive-ui-example-snap 2.3.0

Added

  • Add example for Selector component (#2724)

Fixed

  • Fix wrong address being shown on transaction insights (#2733)

@metamask/snaps-controllers 9.9.0

Added

  • Add support for metamask: schemed URLs (#2719)

@metamask/snaps-execution-environments 6.8.0

Added

  • Add support for metamask: schemed URLs (#2719)

@metamask/snaps-rpc-methods 11.2.0

Added

  • Add support for metamask: schemed URLs (#2719)
  • Add support for JSX in snap_notify notifications (#2706)

@metamask/snaps-sdk 6.6.0

Added

  • Add support for metamask: schemed URLs (#2719)
  • Add support for JSX in snap_notify notifications (#2706)

@metamask/snaps-utils 8.2.0

Added

  • Add support for metamask: schemed URLs (#2719)
  • Add support for JSX in snap_notify notifications (#2706)

Fixed

  • Validate list of emails in validateLink function (#2750)