Releases: MetaMask/snaps
Releases · MetaMask/snaps
39.0.0
@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
@metamask/snaps-rpc-methods 7.0.2
Changed
@metamask/snaps-sdk 3.2.0
Added
- Add support for importing SVG, PNG, and JPEG files directly (#2284)
Changed
@metamask/snaps-utils 7.0.4
Changed
- Bump MetaMask dependencies (#2270)
Fixed
- Allow
maxRequestTime
onendowment: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
@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
@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
@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
37.0.0
@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
@metamask/snaps-utils 7.0.2
Fixed
- Remove usage of
Buffer
from browser entrypoint (#2238)
36.0.0
35.0.0
@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
@metamask/snaps-webpack-plugin 4.0.1
Fixed
- Fix minor build configuration problems (#2220)
34.0.0
@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'
.
- You can still use Browserify by specifying
@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
.
- The previously exported
Fixed
@metamask/snaps-webpack-plugin 4.0.0
Changed
- BREAKING: Update ESM build to be fully compliant with the ESM standard (#2210)
33.0.0
32.0.0
@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' });
- You can now add data to an error without having to specify a message. For example:
- 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
@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
tocommonjs
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.
- A Snap can now define
- 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
.
- They can now be found in
@metamask/snaps-execution-environments 4.0.0
Added
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
.
- From now on the bundles will be served at
- 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 aPromise
.runCronjob
was renamed toonCronjob
, andsendTransaction
was renamed toonTransaction
.- 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
, andsnap_getInterfaceState
methods. - This is breaking because it changes the expected type of the
showDialog
RPC method hook.
- This adds the
- 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
@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
@metamask/snaps-execution-environments 3.5.0
Added
- Add support for signature insights (#2074)
Changed
@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
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)