Skip to content

Releases: MetaMask/snaps

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)

69.0.0

20 Sep 13:08
490e547
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.8.0

Added

  • Export WebViewMessageStream and related types (#2746)

Fixed

  • Fix invalid exports field (#2740)

@metamask/snaps-simulation 1.0.1

Fixed

  • Fix invalid exports field (#2740)

68.0.0

19 Sep 08:18
e3cbd4a
Compare
Choose a tag to compare

@metamask/snaps-sdk 6.5.1

Fixed

  • Fix package exports (#2737)

67.0.0

18 Sep 08:53
c7aca03
Compare
Choose a tag to compare

@metamask/snaps-execution-environments 6.7.2

Fixed

  • Fix missing execution environment bundles (#2734)

@metamask/snaps-jest 8.4.0

Added

  • Add support for selector component (#2724)
    • Interfaces now have a selectFromSelector function that can be used to
      select an option from a selector.

Changed

  • Extract simulation part of snaps-jest to separate package (#2727)

@metamask/snaps-simulation 1.0.0

Added

  • Initial release of @metamask/snaps-simulation package (#2727)

66.0.0

13 Sep 08:16
2ff8932
Compare
Choose a tag to compare

@metamask/preinstalled-example-snap 0.1.0

Added

  • Add preinstalled example Snap (#2721)

65.0.0

12 Sep 13:06
dfa9b83
Compare
Choose a tag to compare

@metamask/create-snap 4.0.4

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-browserify-plugin 4.1.2

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-cli 6.3.3

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-controllers 9.7.0

Added

  • Add hideSnapBranding flag for preinstalled Snaps (#2713, #2717)

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-execution-environments 6.7.1

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-jest 8.3.2

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-rollup-plugin 4.1.2

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-rpc-methods 11.1.1

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-sdk 6.5.0

Added

  • Add center prop to Box component (#2716)
  • Add form prop to Button component (#2712)
    • This allows the Button component to be used outside of forms, but still
      submit a form when clicked.

Fixed

  • Fix invalid types in type declaration in some cases (#2714)
  • Fix type issue with Field children (#2715)
    • Field now accepts booleans and null as children, in addition to the
      existing types.

@metamask/snaps-utils 8.1.1

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

@metamask/snaps-webpack-plugin 4.1.2

Fixed

  • Fix invalid types in type declaration in some cases (#2714)

64.0.0

11 Sep 09:44
de6fbb1
Compare
Choose a tag to compare

@metamask/create-snap 4.0.3

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.

@metamask/bip32-example-snap 2.2.1

Fixed

  • Bump MetaMask dependencies

@metamask/bip44-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/browserify-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/browserify-plugin-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/client-status-example-snap 1.0.3

Fixed

  • Bump MetaMask dependencies

@metamask/cronjob-example-snap 2.1.4

Fixed

  • Bump MetaMask dependencies

@metamask/dialog-example-snap 2.3.1

Fixed

  • Bump MetaMask dependencies

@metamask/error-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/ethereum-provider-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/ethers-js-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/file-upload-example-snap 1.0.1

Fixed

  • Bump MetaMask dependencies

@metamask/get-entropy-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/get-file-example-snap 1.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/home-page-example-snap 1.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/images-example-snap 1.1.1

Fixed

  • Bump MetaMask dependencies

@metamask/interactive-ui-example-snap 2.2.1

Fixed

  • Bump MetaMask dependencies

@metamask/consumer-signer-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/core-signer-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/json-rpc-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/jsx-example-snap 1.2.1

Fixed

  • Bump MetaMask dependencies

@metamask/lifecycle-hooks-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/localization-example-snap 1.1.4

Fixed

  • Bump MetaMask dependencies

@metamask/manage-state-example-snap 2.2.3

Fixed

  • Bump MetaMask dependencies

@metamask/name-lookup-example-snap 3.1.1

Fixed

  • Bump MetaMask dependencies

@metamask/network-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/notification-example-snap 2.1.4

Fixed

  • Bump MetaMask dependencies

@metamask/rollup-plugin-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/signature-insights-example-snap 1.0.3

Fixed

  • Bump MetaMask dependencies

@metamask/insights-example-snap 2.2.3

Fixed

  • Bump MetaMask dependencies

@metamask/wasm-example-snap 2.1.4

Fixed

  • Bump MetaMask dependencies

@metamask/webpack-plugin-example-snap 2.1.3

Fixed

  • Bump MetaMask dependencies

@metamask/snaps-browserify-plugin 4.1.1

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.

@metamask/snaps-cli 6.3.2

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)

@metamask/snaps-controllers 9.6.0

Added

  • Add stopAllSnaps function to SnapController (#2674)

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-execution-environments 6.7.0

Changed

  • Unblock wallet_requestSnaps (#2661)

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-jest 8.3.1

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-rollup-plugin 4.1.1

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.

@metamask/snaps-rpc-methods 11.1.0

Changed

  • Improve error messaging (#2696)
  • Increase character limit for in-app notification messages (#2684)

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-sdk 6.4.0

Added

  • Add Section component (#2672)
  • Add support for element before input in the Field component (#2699)

Changed

  • Allow CAIP-10 addresses in the Address component (#2680)
  • Improve error messaging (#2696, #2693)

Fixed

  • Allow any element as the child of the Container component (#2698)
  • Disallow images and icons in footers (#2676)
  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-utils 8.1.0

Added

  • Add Bitcoin Taproot derivation paths (#2695)

Changed

  • Improve validateLink error handling (#2702)

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)
  • Bump other MetaMask dependencies (#2703)

@metamask/snaps-webpack-plugin 4.1.1

Fixed

  • Fix ESM version of the package (#2682)
    • This fixes the ESM version of the package to be fully compliant with the ESM
      standard.
  • Bump @metamask/utils from ^9.1.0 to ^9.2.1 (#2680)