Releases: MetaMask/snaps
Releases · MetaMask/snaps
78.0.0
@metamask/snaps-cli 6.5.3
Fixed
- Ignore query strings when parsing URLs (#2883)
@metamask/snaps-controllers 9.13.0
Added
- Add interface persistence (#2856)
Changed
- Use
arrayBuffer
for fetching local Snaps (#2884)- This fixes some incompatiblities with React Native.
@metamask/snaps-execution-environments 6.10.0
Added
- Add
isSecureContext
global (#2893)
Fixed
- Remove unnecessary proxy for provider globals (#2850)
- Make fetch responses an instance of
Response
(#2889)
@metamask/snaps-jest 8.7.1
Added
- Add interface persistence (#2856)
@metamask/snaps-sdk 6.11.0
Added
- Add support for
Address
inCard
title (#2894)
@metamask/snaps-simulation 1.3.1
Added
- Add interface persistence (#2856)
@metamask/snaps-utils 8.6.0
Added
- Add
isSecureContext
global (#2893)
77.0.0
76.0.0
75.0.0
@metamask/snaps-cli 6.5.2
Changed
- Bump MetaMask dependencies (#2853)
@metamask/snaps-controllers 9.12.0
Added
- Add platform version field to manifest (#2803)
Changed
- Bump MetaMask dependencies (#2853)
Fixed
- Stop unnecesarily validating JSON for stored state (#2845)
- Reduce unnecessary JSON validation (#2844)
@metamask/snaps-execution-environments 6.9.2
Changed
- Bump MetaMask dependencies (#2853)
Fixed
- Reduce unnecessary JSON validation (#2844)
@metamask/snaps-jest 8.7.0
Added
Changed
- Bump MetaMask dependencies (#2853)
@metamask/snaps-rpc-methods 11.5.1
Changed
- Bump MetaMask dependencies (#2853)
@metamask/snaps-sdk 6.10.0
Added
- Add
snap_getCurrencyRate
toSnapMethods
(#2843) - Add
truncate
,displayName
andavatar
props toAddress
component (#2833)
Changed
- Bump MetaMask dependencies (#2853)
@metamask/snaps-simulation 1.3.0
Added
Changed
- Bump MetaMask dependencies (#2853)
@metamask/snaps-utils 8.5.0
Added
Changed
- Bump MetaMask dependencies (#2853)
74.0.0
73.0.0
@metamask/preinstalled-example-snap 0.2.0
Added
- Add some basic logic to make the buttons work (#2829)
@metamask/snaps-cli 6.5.0
Added
- Add support for TypeScript type-checking (#2783)
- This introduces a new configuration option,
typescript.enabled
, which can
be set totrue
to enable TypeScript type-checking. - You can optionally specify a custom
tsconfig.json
file by setting
typescript.configFile
to the path of the file.
- This introduces a new configuration option,
@metamask/snaps-controllers 9.11.1
Fixed
- Pass full URLs to
PhishingController
(#2835) - Ignore Snap insight response if transaction or signature has already been signed (#2825)
@metamask/snaps-jest 8.6.0
Added
- Add function to test
onKeyringRequest
(#2777)- The
onKeyringRequest
function can be used to test keyring requests.
- The
@metamask/snaps-rpc-methods 11.5.0
Removed
- Remove support for JSX in
snap_notify
notifications (#2837)- This is technically a breaking change, but this feature was never actually
implemented, so it should not affect any existing code. - This will be re-implemented in a future release.
- This is technically a breaking change, but this feature was never actually
@metamask/snaps-sdk 6.9.0
Added
- Add
sm
size variant toHeading
component (#2831) - Add
min
,max
andstep
props to numberInput
component (#2821) - Add
Avatar
component (#2820)
Removed
- Remove support for JSX in
snap_notify
notifications (#2837)- This is technically a breaking change, but this feature was never actually
implemented, so it should not affect any existing code. - This will be re-implemented in a future release.
- This is technically a breaking change, but this feature was never actually
@metamask/snaps-simulation 1.2.0
Added
- Add support for button
form
property (#2830) - Add function to test
onKeyringRequest
(#2777)- The
onKeyringRequest
function can be used to test keyring requests.
- The
@metamask/snaps-utils 8.4.1
Fixed
72.0.0
@metamask/snaps-cli 6.4.0
Changed
- Format Snap manifests with Prettier (#2787)
@metamask/snaps-controllers 9.11.0
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
Removed
- Remove
AccountSelector
component (#2794)- This is technically a breaking change, but the
AccountSelector
component was never actually implemented, so it
should not affect any existing code.
- This is technically a breaking change, but the
@metamask/snaps-execution-environments 6.9.1
Removed
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
@metamask/snaps-rpc-methods 11.4.0
Added
- Add
snap_experimentalProviderRequest
JSON-RPC method (#2773)- This method is experimental and will likely be removed in a future release.
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
Fixed
- Use
BigInt
to parse chain IDs (#2781)
@metamask/snaps-sdk 6.8.0
Added
- Add
snap_experimentalProviderRequest
JSON-RPC method (#2773)- This method is experimental and will likely be removed in a future release.
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
Removed
- Remove
AccountSelector
component (#2794)- This is technically a breaking change, but the
AccountSelector
component was never actually implemented, so it
should not affect any existing code.
- This is technically a breaking change, but the
@metamask/snaps-simulation 1.1.1
Removed
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
Fixed
- Add missing dependency on
@metamask/snaps-execution-environments
(#2791)
@metamask/snaps-utils 8.4.0
Added
- Add
isSnapId
utility function (#2808)
71.0.0
@metamask/send-flow-example-snap 1.0.0
Changed
- Initial release of the
@metamask/send-flow-example-snap
example.
@metamask/snaps-cli 6.3.4
Changed
@metamask/snaps-controllers 9.10.0
Changed
- Add
AccountSelector
component (#2764, #2768, #2766) - Convert
createWindow
parameters to options bag (#2765)
@metamask/snaps-execution-environments 6.9.0
Changed
- Convert
createWindow
parameters to options bag (#2765)
@metamask/snaps-jest 8.5.0
Changed
- Move helper functions to simulation package (#2769)
@metamask/snaps-rpc-methods 11.3.0
Added
- Add
snap_getCurrencyRate
JSON-RPC method (#2763)
@metamask/snaps-sdk 6.7.0
Added
- Add
snap_getCurrencyRate
JSON-RPC method (#2763) - Add
AccountSelector
component (#2764, #2768) - Add
size
prop to theHeading
component (#2759)
Changed
- Allow
Link
inRow
andAddress
inLink
(#2761)
@metamask/snaps-simulation 1.1.0
Changed
- Move helper functions to simulation package (#2769)
@metamask/snaps-utils 8.3.0
Added
- Add
currency
struct (#2763)
Changed
- Convert
createWindow
parameters to options bag (#2765)
Fixed
- Update
package.json
struct to allowrepository.directory
(#2754)
70.0.0
@metamask/interactive-ui-example-snap 2.3.0
Added
- Add example for
Selector
component (#2724)
Fixed
- Fix wrong address being shown on transaction insights (#2733)
@metamask/snaps-controllers 9.9.0
Added
- Add support for
metamask:
schemed URLs (#2719)
@metamask/snaps-execution-environments 6.8.0
Added
- Add support for
metamask:
schemed URLs (#2719)
@metamask/snaps-rpc-methods 11.2.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
@metamask/snaps-sdk 6.6.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
@metamask/snaps-utils 8.2.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
Fixed
- Validate list of emails in
validateLink
function (#2750)