Releases: MetaMask/snaps
Releases · MetaMask/snaps
47.0.0
@metamask/snaps-rpc-methods 9.0.0
Added
- Add support for BIP-32-Ed25519 / CIP-3 key derivation (#2408)
- The
ed25519Bip32
curve is now supported forsnap_getBip32Entropy
andsnap_getBip32PublicKey
- The
Changed
- BREAKING: Use hooks in
wallet_invokeSnap
instead of remapping the request towallet_snap
(#2406)
@metamask/snaps-sdk 4.2.0
Added
- Add support for BIP-32-Ed25519 / CIP-3 key derivation (#2408)
Fixed
- Add missing TypeScript declarations for JSX entry points (#2404)
@metamask/snaps-utils 7.4.0
Added
- Add support for BIP-32-Ed25519 / CIP-3 key derivation (#2408)
Fixed
- Fix build producing invalid JSX types (#2410)
46.0.0
45.0.0
@metamask/snaps-cli 6.2.0
Added
- Add support for building Snaps with JSX (#2258)
- It's now possible to use JSX components from
@metamask/snaps-sdk
to build
user interfaces for Snaps.
- It's now possible to use JSX components from
@metamask/snaps-controllers 8.1.0
Added
- Add JSX support for custom UI (#2258)
Changed
- Bump
@metamask/approval-controller
from6.0.1
to6.0.2
(#2380) - Bump
@metamask/base-controller
from5.0.1
to5.0.2
(#2375)
Fixed
- Fix an issue where certain types of executors would be timed out too quickly (#2389)
@metamask/snaps-execution-environments 6.1.0
Changed
Fixed
- Make
onUserInput
export optional (#2373)- Snaps will no longer crash when interacting with a user interface when the
Snap does not exportonUserInput
.
- Snaps will no longer crash when interacting with a user interface when the
@metamask/snaps-jest 8.0.0
Added
- BREAKING: Add JSX support for custom UI (#2258)
- It's now possible to use JSX components from
@metamask/snaps-sdk
to build
user interfaces for Snaps. - This is a breaking change, because the legacy user interfaces are converted
to the new JSX format.- If you are checking the format of a interface without
toRender
, you will
need to update your tests to check the JSX format.
- If you are checking the format of a interface without
- It's now possible to use JSX components from
Changed
- Bump
@metamask/base-controller
from5.0.1
to5.0.2
(#2375)
@metamask/snaps-rpc-methods 8.1.0
Added
- Add JSX support for custom UI (#2258)
@metamask/snaps-sdk 4.1.0
Added
- Add JSX support for custom UI (#2258, #2379)
- It's now possible to use JSX components from this package to build user
interfaces for Snaps. - This package now exports a custom JSX runtime that can be used to render
JSX components in Snaps. It can be used with thereact-jsx
and
react-jsxdev
JSX pragmas, using@metamask/snaps-sdk
as import source.- When using
@metamask/snaps-cli
to build Snaps, the Snaps JSX runtime
will be used automatically.
- When using
- It's now possible to use JSX components from this package to build user
Changed
@metamask/snaps-utils 7.3.0
Added
- Add JSX support for custom UI (#2258, #2383)
- This adds utility functions for working with JSX in Snaps.
Changed
- Bump
@metamask/base-controller
from5.0.1
to5.0.2
(#2375)
@metamask/jsx-example-snap 1.0.0
Added
- Add JSX example Snap (#2258)
44.0.0
@metamask/snaps-cli 6.1.1
Fixed
- Disable
topLevelAwait
configuration option (#2358)- Before this the CLI would produce invalid builds when using top-level await.
@metamask/snaps-controllers 8.0.0
Changed
- BREAKING: Move
maxInitTime
constructor argument fromSnapController
toExecutionService
(#2348)
Fixed
- Increase max UI size limit from 250 KB to 10 MB (#2342)
- Consider caveats in permissions difference calculation (#2345)
- This fixes a bug where certain caveats would not be correctly applied when updating Snaps.
- Gracefully handle errors for multiple simultaneous failing requests (#2346)
- Properly handle termination of Snaps that are currently executing (#2304)
- Properly tear down partially initialized executors and improve stability when executor initialization fails (#2348)
@metamask/snaps-execution-environments 6.0.2
Fixed
- Throw an error if starting Snap has no exports (#2357)
@metamask/snaps-utils 7.2.0
Added
- Add
getJsonSizeUnsafe
(#2342)
43.0.0
42.0.0
@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
inFormSubmitEventStruct
form state (#2333)
@metamask/interactive-ui-example-snap 1.0.2
Fixed
- Fix a crash when submitting an empty string (#2333)
41.0.0
40.0.0
@metamask/snaps-controllers 7.0.0
Changed
- BREAKING: Refactor encryption to enable caching (#2316)
- New required constructor arguments
encryptor
andgetMnemonic
have been added.
- New required constructor arguments
- Include
initialConnections
in approvalrequestState
(#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
andremoveListener
onethereum
. - This feature was already non-functional.
- Snaps can no longer access
@metamask/snaps-jest 7.0.0
Added
- BREAKING: Support Interactive UI in
snaps-jest
(#2286)- Remove
content
from the Snap response, insteadgetInterface()
must be used clickElement
andtypeInField
can be used on the interface return value to simulate actions
- Remove
Changed
@metamask/snaps-rpc-methods 8.0.0
Changed
- BREAKING: Refactor to support changes to encryption (#2316)
- No longer expects
encrypt
ordecrypt
, instead expectsupdateSnapState
andgetSnapState
to be asynchronous
- No longer expects
@metamask/snaps-sdk 4.0.0
Removed
- BREAKING: Remove broken
ethereum
properties (#2296)- Snaps can no longer access
on
andremoveListener
onethereum
. - This feature was already non-functional.
- Snaps can no longer access
@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
@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)