Releases: MetaMask/snaps
Releases · MetaMask/snaps
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)
Changed
29.0.0
@metamask/snaps-cli 4.0.1
Fixed
- Fix missing
global
during snap evaluation (#2072)
@metamask/snaps-controllers 4.0.0
Changed
- BREAKING: Remove
:snapAdded
event (#2073) - BREAKING: Remove
:snapRemoved
event (#2076) - Populate subject metadata when snaps are added to state (#2069)
@metamask/snaps-sdk 1.3.2
Fixed
- Fix missing
sensitive
property inCopyable
type (#2070)
@metamask/snaps-utils 5.1.2
Fixed
- Fix missing
global
during snap evaluation (#2072)
28.0.0
@metamask/snaps-controllers 3.6.0
Changed
- Revert usage of
DecompressionStream
(#2052) - Refactor
NpmLocation
class (#2038)- Most logic is now located in
BaseNpmLocation
, making it easier to extend without duplication.
- Most logic is now located in
- Bump several MetaMask dependencies (#2053, #2061, #2064, #2065, #2067)
Removed
- Remove support for object-like syntax for cronjobs (#2057)
- Since this never worked in the first place we aren't marking it as breaking.
@metamask/snaps-execution-environments 3.4.3
Changed
@metamask/snaps-rpc-methods 4.1.0
Added
- Add
wallet_getAllSnaps
method to get all installed Snaps (#2047)
Changed
@metamask/snaps-utils 5.1.1
Changed
Removed
- Remove support for object-like syntax for cronjobs (#2057)
- Since this never worked in the first place we aren't marking it as breaking.
27.0.0
26.0.0
25.0.0
@metamask/snaps-cli 4.0.0
Changed
- BREAKING: Synchronously initialize WASM modules (#2024)
- When the
experimental.wasm
flag in the Snaps CLI is enabled, the WASM module will now be synchronously initialized, rather than being inlined as a Uint8Array.
- When the
@metamask/snaps-controllers 3.5.1
Changed
@metamask/snaps-utils 5.1.0
Added
- Add
getSnapDerivationPathName
andgetSlip44ProtocolName
to be shared across clients (#2033)
Changed
- Bump
snaps-registry
(#2020)
@metamask/wasm-example-snap 2.1.1
Changed
- Use synchronously initialized WASM (#2024)
24.0.0
@metamask/snaps-controllers 3.5.0
Changed
- Reduce memory usage by removing source code and state from runtime (#2009)
- Improve base64 encoding/decoding speeds (#1985)
- Use
DecompressionStream
for NPM fetching when available (#1971) - Bump several MetaMask dependencies (#1989, #1993, #1987, #1983)
Fixed
- Fix idle snap timeout for unused snap (#2010)
@metamask/snaps-execution-environments 3.4.2
Changed
- Bump
@metamask/providers
from14.0.1
to14.0.2
(#1992)
@metamask/snaps-rpc-methods 4.0.2
Changed
- Bump several MetaMask dependencies (#1989)
@metamask/snaps-sdk 1.3.0
Added
- Add image fetching utility functions (#1995)
- This adds two functions:
getImageComponent
to get animage
component from a PNG or JPEG URL.getImageData
to get a base64 data string, which can be embedded in an SVG image.
- This adds two functions:
@metamask/snaps-simulator 2.4.2
Changed
- Bump several MetaMask dependencies (#1989)