Skip to content

Releases: MetaMask/snaps

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)

32.0.0

16 Feb 14:21
98caeb4
Compare
Choose a tag to compare

@metamask/snaps-browserify-plugin 3.0.3

Changed

@metamask/snaps-cli 5.1.0

Changed

  • Optimize CLI Webpack configuration (#2175)
    • This can reduce the size of Snaps in certain cases.
  • Show Webpack compilation warnings in CLI (#2186, #2192)
  • Add a warning when no icon is found and when icon is not square (#2185)

@metamask/snaps-execution-environments 4.0.1

Changed

  • Update several LavaMoat packages (#2173)

@metamask/snaps-rollup-plugin 3.0.2

Changed

@metamask/snaps-sdk 2.1.0

Changed

  • Improve support for Snap errors without a message (#2176)
    • You can now add data to an error without having to specify a message. For example:
      throw new MethodNotFoundError({ method: 'some method name' });
  • Strip empty data from Snap errors (#2179)

@metamask/snaps-utils 6.1.0

Added

  • Add a manifest warning when no icon is found and when icon is not square (#2185)

@metamask/snaps-webpack-plugin 3.2.0

Added

  • Add a manifest warning when no icon is found and when icon is not square (#2185)

Changed

@metamask/bip32-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/bip44-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/browserify-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/browserify-plugin-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/client-status-example-snap 1.0.1

Changed

  • Remove snap icon (#2189)

@metamask/cronjob-example-snap 2.1.2

Changed

  • Remove snap icon (#2189)

@metamask/dialog-example-snap 2.2.0

Added

  • Add a link to confirmation dialog (#2112)

Changed

  • Remove snap icon (#2189)

@metamask/error-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/ethereum-provider-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/ethers-js-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/get-entropy-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/get-file-example-snap 1.1.1

Changed

  • Remove snap icon (#2189)

@metamask/home-page-example-snap 1.1.1

Changed

  • Remove snap icon (#2189)

@metamask/images-example-snap 1.0.0

Added

  • Add images example Snap (#2002)

@metamask/interactive-ui-example-snap 1.0.0

Added

  • Add interactive UI example Snap (#2171)

@metamask/json-rpc-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/lifecycle-hooks-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/localization-example-snap 1.1.2

Changed

  • Remove snap icon (#2189)

@metamask/manage-state-example-snap 2.2.1

Changed

  • Remove snap icon (#2189)

@metamask/name-lookup-example-snap 3.0.1

Changed

  • Remove snap icon (#2189)

@metamask/network-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/notification-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/rollup-plugin-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/signature-insights-example-snap 1.0.1

Changed

  • Remove snap icon (#2189)

@metamask/insights-example-snap 2.2.1

Changed

  • Remove snap icon (#2189)

@metamask/wasm-example-snap 2.1.2

Changed

  • Remove snap icon (#2189)

@metamask/webpack-plugin-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/consumer-signer-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

@metamask/core-signer-example-snap 2.1.1

Changed

  • Remove snap icon (#2189)

31.0.0

06 Feb 14:18
7d9c2f4
Compare
Choose a tag to compare

@metamask/snaps-cli 5.0.0

Changed

  • BREAKING: Disable source maps by default (#2166)
    • This slightly speeds up the build process.
    • You can enable source maps again by setting sourceMap: true in your Snap config.
  • Set output.chunkFormat to commonjs by default (#2136)

@metamask/snaps-controllers 5.0.0

Added

  • Add support for dynamic user interfaces (#1465, #2126, #2144, #2152, #2143)
  • Add support for Snap defined execution timeouts (#2098)
    • A Snap can now define maxRequestTime to extend or shorten its execution timeout.
  • Add WebViewExecutionService for mobile execution (#2005)

Changed

  • Loosen allowlist requirements (#1672)
    • Snaps with certain permissions can now be installed without being allowlisted.
  • Reintroduce DecompressionStream for improved installation performance (#2110)
  • Bump tar-stream (#2116)
    • This fixes a problem where Snaps would sometimes fail to download from NPM.
  • Bump several MetaMask dependencies (#2129, #2132, #2130, #2139, #2142)
  • Pass localized snap name to SubjectMetadataController (#2157)

Removed

  • BREAKING: Remove endowment permission specifications from this package (#2155)
    • They can now be found in snaps-rpc-methods.

@metamask/snaps-execution-environments 4.0.0

Added

  • Add WebView execution environment (#2005)
  • Add support for dynamic user interfaces (#1465)

Changed

  • BREAKING: Stop bundling offscreen execution environment (#2154)
  • BREAKING: Deploy multiple bundles to AWS (#2150)
    • From now on the bundles will be served at https://execution.metamask.io/%BUILD_TYPE%/%VERSION%/index.html.
  • Export ProxySnapExecutor (#2153)
  • Reduce executor bundle sizes (#2160)
  • Bump MetaMask dependencies (#2129, #2132)

@metamask/snaps-jest 5.0.0

Added

  • BREAKING: Implement testing framework using Node.js executor (#1982, #2118)
    • The network mocking functionality was removed, but may be reintroduced in a future version.
    • mockJsonRpc no longer returns a Promise.
    • runCronjob was renamed to onCronjob, and sendTransaction was renamed to onTransaction.
      • For backwards compatibility, the old methods are still available, but will be removed in a future version.
  • Add onHomePage support (#2104)
  • Add onSignature support (#2114)
  • Add snap_getClientStatus support (#2159)

Changed

@metamask/snaps-rpc-methods 6.0.0

Added

  • BREAKING: Add support for dynamic user interfaces (#1465, #2144, #2143)
    • This adds the snap_createInterface, snap_updateInterface, and snap_getInterfaceState methods.
    • This is breaking because it changes the expected type of the showDialog RPC method hook.
  • BREAKING: Update the permission format for the name lookup endowment (#2113)
    • The new format is documented in SIP-12.
  • Add endowment permission specifications to this package (#2155)

Changed

@metamask/snaps-sdk 2.0.0

Changed

  • BREAKING: Update name lookup API types (#2113)
    • The return value and the permission format has changed, see SIP-12 for more details.
  • Add support for dynamic user interfaces (#1465, #2126, #2143)
  • Add support for snap defined execution timeouts (#2098)

Fixed

  • Fix initial permissions types (#2111)

@metamask/snaps-utils 6.0.0

Added

  • Add support for dynamic user interfaces (#1465, #2126)
  • Add support for snap defined execution timeouts (#2098)

Changed

  • BREAKING: Update name lookup type validation (#2113)
    • The return value and the permission format has changed, see SIP-12 for more details.
  • Speed up eval-worker for improved CLI performance (#2147)
  • Update MetaMask dependencies (#2132, #2142)

Fixed

  • Fix initial permissions types (#2111)

@metamask/client-status-example-snap 1.0.0

Added

  • Add snap_getClientStatus example snap (#2159)

@metamask/cronjob-example-snap 2.1.1

Changed

  • Change cronjob interval to run more often (#2164)

@metamask/name-lookup-example-snap 3.0.0

Changed

  • BREAKING: Update snap to match new API (#2113)
    • This includes updating the permission format in the manifest as well as adjusting the return values.

@metamask/signature-insights-example-snap 1.0.0

Added

  • Add signature insights example (#2114)

30.0.0

18 Jan 16:51
baa86d5
Compare
Choose a tag to compare

@metamask/snaps-controllers 4.1.0

Added

  • Add support for signature insights (#2074)
  • Add support for initial connections (#2048)
  • Add support for preinstalled snaps (#2008)
  • Add additional install events (#2087)

Changed

  • Bump several MetaMask dependencies (#2086, #2100)

@metamask/snaps-execution-environments 3.5.0

Added

  • Add support for signature insights (#2074)

Changed

  • Bump SES and LavaMoat (#2105)
  • Bump several MetaMask dependencies (#2054, #2100)

@metamask/snaps-rpc-methods 5.0.0

Added

  • Add snap_getClientStatus (#2051)

Changed

  • BREAKING: Use origin bound hooks for invokeKeyring (#2090)
  • Bump several MetaMask dependencies (#2069, #2100)

@metamask/snaps-sdk 1.4.0

Added

  • Add support for signature insights (#2074, #2079)
  • Add types for snap_getClientStatus (#2051)

Changed

  • Bump @metamask/utils from 8.2.1 to 8.3.0 (#2100)

@metamask/snaps-simulator 2.4.3

Changed

@metamask/snaps-utils 5.2.0

Added

  • Add support for initial connections (#2048)
  • Add support for preinstalled snaps (#2008)
  • Add support for signature insights (#2074)

Changed

  • Bump several MetaMask dependencies (#2086, #2100)