Skip to content

Releases: MetaMask/snaps

42.0.0

16 Apr 12:25
9f8e499
Compare
Choose a tag to compare

@metamask/snaps-jest 7.0.1

Fixed

  • Improve correctness of clickElement (#2334)
    • The function should now behave closer to the client implementation.

@metamask/snaps-sdk 4.0.1

Fixed

  • Allow null in FormSubmitEventStruct form state (#2333)

@metamask/interactive-ui-example-snap 1.0.2

Fixed

  • Fix a crash when submitting an empty string (#2333)

41.0.0

11 Apr 11:30
fb7fd66
Compare
Choose a tag to compare

@metamask/snaps-controllers 7.0.1

Fixed

  • Fix encryption key caching issues (#2326)

40.0.0

11 Apr 08:26
aeaf8ac
Compare
Choose a tag to compare

@metamask/snaps-controllers 7.0.0

Changed

  • BREAKING: Refactor encryption to enable caching (#2316)
    • New required constructor arguments encryptor and getMnemonic have been added.
  • Include initialConnections in approval requestState (#2322)

Fixed

  • Delete unencrypted state when uninstalling a Snap (#2311)

@metamask/snaps-execution-environments 6.0.0

Removed

  • BREAKING: Remove broken ethereum properties (#2296)
    • Snaps can no longer access on and removeListener on ethereum.
    • This feature was already non-functional.

@metamask/snaps-jest 7.0.0

Added

  • BREAKING: Support Interactive UI in snaps-jest (#2286)
    • Remove content from the Snap response, instead getInterface() must be used
    • clickElement and typeInField can be used on the interface return value to simulate actions

Changed

  • Improve Jest expect types (#2308)
  • Refactor to support changes to encryption (#2316)

@metamask/snaps-rpc-methods 8.0.0

Changed

  • BREAKING: Refactor to support changes to encryption (#2316)
    • No longer expects encrypt or decrypt, instead expects updateSnapState and getSnapState to be asynchronous

@metamask/snaps-sdk 4.0.0

Removed

  • BREAKING: Remove broken ethereum properties (#2296)
    • Snaps can no longer access on and removeListener on ethereum.
    • This feature was already non-functional.

@metamask/snaps-utils 7.1.0

Added

  • Add derivation path for Nimiq (#2309)

Fixed

  • Disable GitHub flavored Markdown when lexing (#2317)

@metamask/notification-example-snap 2.1.3

Fixed

  • Fix native notifications not working reliably (#2310)

39.0.0

20 Mar 13:00
2418d99
Compare
Choose a tag to compare

@metamask/create-snap 4.0.2

Fixed

  • Fix detection of minimum Node.js version (#2292)

@metamask/snaps-cli 6.1.0

Added

  • Add support for importing SVG, PNG, and JPEG files directly (#2284)
    • You can now import these files using a regular import declaration when using the Webpack-based config.
    • To opt out of this feature (i.e., to use custom image loading logic), add the following to your config:
      {
        features: {
          images: false,
        },
      }

Changed

  • Update CLI docs link (#2294)

Fixed

  • Fix detection of minimum Node.js version (#2292)

@metamask/snaps-controllers 6.0.4

Changed

  • Bump MetaMask dependencies (#2270)

@metamask/snaps-execution-environments 5.0.4

Changed

  • Bump MetaMask dependencies (#2270)

@metamask/snaps-jest 6.0.2

Changed

  • Bump MetaMask dependencies (#2270)
  • Bump @metamask/json-rpc-engine from 7.3.2 to 7.3.3 (#2247)

@metamask/snaps-rpc-methods 7.0.2

Changed

  • Bump MetaMask dependencies (#2270)
  • Bump @metamask/json-rpc-engine from 7.3.2 to 7.3.3 (#2247)

@metamask/snaps-sdk 3.2.0

Added

  • Add support for importing SVG, PNG, and JPEG files directly (#2284)

Changed

  • Narrow type for endowment:name-lookup (#2293)
  • Bump MetaMask dependencies (#2270)

@metamask/snaps-utils 7.0.4

Changed

  • Bump MetaMask dependencies (#2270)

Fixed

  • Allow maxRequestTime on endowment:rpc (#2291)

@metamask/bip32-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/bip44-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/browserify-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/browserify-plugin-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/client-status-example-snap 1.0.2

Changed

  • Use error wrappers (#2178)

@metamask/cronjob-example-snap 2.1.3

Changed

  • Use error wrappers (#2178)

@metamask/dialog-example-snap 2.2.1

Changed

  • Use error wrappers (#2178)

@metamask/error-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/ethereum-provider-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/ethers-js-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/get-entropy-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/get-file-example-snap 1.1.2

Changed

  • Use error wrappers (#2178)

@metamask/home-page-example-snap 1.1.2

Changed

  • Use error wrappers (#2178)

@metamask/images-example-snap 1.1.0

Changed

  • Add example showing how to import and use images (#2284)
  • Use error wrappers (#2178)

@metamask/interactive-ui-example-snap 1.0.1

Changed

  • Use error wrappers (#2178)

@metamask/json-rpc-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/lifecycle-hooks-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/localization-example-snap 1.1.3

Changed

  • Use error wrappers (#2178)

@metamask/manage-state-example-snap 2.2.2

Changed

  • Use error wrappers (#2178)

@metamask/name-lookup-example-snap 3.0.2

Changed

  • Re-release after multiple changes in the monorepo (#2295)

@metamask/network-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/notification-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/rollup-plugin-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/signature-insights-example-snap 1.0.2

Changed

  • Re-release after multiple changes in the monorepo (#2295)

@metamask/insights-example-snap 2.2.2

Fixed

  • Fix address validation in row component (#2257)

@metamask/wasm-example-snap 2.1.3

Changed

  • Use error wrappers (#2178)

@metamask/webpack-plugin-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/consumer-signer-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

@metamask/core-signer-example-snap 2.1.2

Changed

  • Use error wrappers (#2178)

38.0.0

12 Mar 12:19
00d9e11
Compare
Choose a tag to compare

@metamask/snaps-controllers 6.0.3

Changed

  • Handle unavailable registry more gracefully (#2256)
  • Bump @metamask/snaps-registry to ^3.0.1 (#2255)
  • Bump @metamask/json-rpc-engine to ^7.3.3 (#2247)

@metamask/snaps-execution-environments 5.0.3

Changed

  • Bump @metamask/providers to ^15.0.0 (#2231)
  • Bump @metamask/json-rpc-engine to ^7.3.3 (#2247)

@metamask/snaps-sdk 3.1.1

Changed

  • Bump @metamask/providers to ^15.0.0 (#2231)

Fixed

  • Fix address validation in row component (#2257)

@metamask/snaps-utils 7.0.3

Changed

  • Update markdown parsing for better link validation (#2261)
  • Bump @metamask/snaps-registry to ^3.0.1 (#2255)

37.0.0

05 Mar 10:28
9420c28
Compare
Choose a tag to compare

@metamask/snaps-controllers 6.0.2

Changed

  • Improve timeout handling when the execution environment fails to load (#2242)

@metamask/snaps-execution-environments 5.0.2

Changed

  • Bump LavaMoat packages (#2234)

@metamask/snaps-sdk 3.1.0

Added

  • Add InputChangeEvent event (#2237)
  • Add error prop to input component (#2239)

@metamask/snaps-utils 7.0.2

Fixed

  • Remove usage of Buffer from browser entrypoint (#2238)

36.0.0

28 Feb 13:30
65f6bd7
Compare
Choose a tag to compare

@metamask/snaps-cli 6.0.2

Fixed

  • Publish .browserslistrc (#2227)

35.0.0

27 Feb 12:40
ac92be6
Compare
Choose a tag to compare

@metamask/create-snap 4.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-browserify-plugin 4.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-cli 6.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-controllers 6.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-execution-environments 5.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-jest 6.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-rollup-plugin 4.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-rpc-methods 7.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-sdk 3.0.1

Fixed

  • Fix minor build configuration problems (#2220)

@metamask/snaps-utils 7.0.1

Fixed

  • Fix minor build configuration problems (#2220)
  • Fix regex for HTML comment tokens (#2222)

@metamask/snaps-webpack-plugin 4.0.1

Fixed

  • Fix minor build configuration problems (#2220)

34.0.0

26 Feb 11:42
97c9fef
Compare
Choose a tag to compare

@metamask/create-snap 4.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)

@metamask/snaps-browserify-plugin 4.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)

@metamask/snaps-cli 6.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • BREAKING: Change config to use Webpack by default (#2214)
    • You can still use Browserify by specifying bundler: 'browserify'.

@metamask/snaps-controllers 6.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • BREAKING: Move Node.js exports to separate export (#2210)
    • The default export is now browser-compatible.
    • Node.js APIs can be imported from <package>/node.
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

Fixed

  • Add sizing limits for custom UI (#2199)

@metamask/snaps-execution-environments 5.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

Fixed

  • Enforce JSON-RPC response size limits (#2201)

@metamask/snaps-jest 6.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • BREAKING: Move Node.js exports to separate export (#2210)
    • The default export is now browser-compatible.
    • Node.js APIs can be imported from <package>/node.
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

@metamask/snaps-rollup-plugin 4.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)

@metamask/snaps-rpc-methods 7.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

@metamask/snaps-sdk 3.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

@metamask/snaps-utils 7.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
  • BREAKING: Move Node.js exports to separate export (#2210)
    • The default export is now browser-compatible.
    • Node.js APIs can be imported from <package>/node.
  • Bump @metamask/rpc-errors to ^6.2.1 (#2209)

Removed

  • BREAKING: Move file struct to CLI (#2207)
    • The previously exported file struct can now be found in @metamask/snaps-cli.

Fixed

  • Add sizing limits for custom UI (#2199)
  • Properly validate links contained in rows (#2205)

@metamask/snaps-webpack-plugin 4.0.0

Changed

  • BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)

33.0.0

19 Feb 10:58
7f1bdd6
Compare
Choose a tag to compare

@metamask/snaps-cli 5.1.1

Fixed

  • Support new lines in CLI message formatting (#2194)

@metamask/snaps-controllers 5.0.1

Fixed

  • Fix issue installing non-allowlisted Snaps in allowlist mode (#2196)