Releases: MetaMask/snaps
Releases · MetaMask/snaps
84.0.0
83.0.0
@metamask/cronjob-example-snap 3.0.0
Added
- BREAKING: Add new method to cronjob example snap to test durations (#3016)
- The
scheduleNotification
RPC method was renamed toscheduleNotificationWithDate
.
- The
@metamask/ethereum-provider-example-snap 2.2.1
Fixed
- Use proper chain ID for
signTypedData
call (#3013)
@metamask/snaps-jest 8.11.0
Added
- Mock
eth_chainId
andnet_version
calls automatically (#3017)
@metamask/snaps-simulation 2.1.0
Added
- Mock
eth_chainId
andnet_version
calls automatically (#3017)
82.0.0
@metamask/cronjob-example-snap 2.2.0
Added
- Add support for
snap_scheduleBackgroundEvent
(#2941)
Changed
@metamask/ethereum-provider-example-snap 2.2.0
Added
- Added support for
eth_signTypedData
(#2969)
Changed
@metamask/manage-state-example-snap 3.0.0
Added
- BREAKING: Use
snap_getState
,snap_setState
,snap_clearState
methods (#2916)- The methods previously exposed by this Snap have been renamed with a
legacy_
prefix.
- The methods previously exposed by this Snap have been renamed with a
Changed
@metamask/notification-example-snap 2.3.0
Added
- Add support for expanded view notifications (#2956)
Changed
@metamask/snaps-cli 6.6.1
Changed
- Bump MetaMask dependencies (#2946)
Fixed
- Disable
nodeEnv
optimization in Webpack (#2970)- This previously caused issues with overwriting
NODE_ENV
.
- This previously caused issues with overwriting
@metamask/snaps-controllers 9.17.0
Added
- Added support for non-recurring cronjobs via
snap_scheduleBackgroundEvent
(#2941)
Changed
- Bump MetaMask dependencies (#2946, #3007, #2999, #3003, #2991, #2989)
- Cache snap state in memory for improved performance (#2980)
Fixed
- Stop storing messenger manually in
CronjobController
(#3006)
@metamask/snaps-execution-environments 6.12.0
Changed
Fixed
- Skip unnecesary provider initialization (#2967)
@metamask/snaps-jest 8.10.0
Added
Changed
- Bump MetaMask dependencies (#2946)
@metamask/snaps-rpc-methods 11.9.0
Added
- Add support for non-recurring cronjobs via
snap_scheduleBackgroundEvent
(#2941, #2975) - Add
snap_getState
,snap_setState
,snap_clearState
RPC methods (#2916) - Add
hideBalances
tosnap_getPreferences
(#2978)
Changed
@metamask/snaps-sdk 6.15.0
Added
- Add support for non-recurring cronjobs via
snap_scheduleBackgroundEvent
(#2941, #2975) - Add
snap_getState
,snap_setState
,snap_clearState
methods (#2916) - Add
backgroundColor
property toContainer
component (#2950) - Add
hideBalances
tosnap_getPreferences
(#2978)
Changed
- Bump MetaMask dependencies (#2946, #2989)
- Make
jobs
property fully optional in the cronjob endowment (#3005) - Allow usage of
Text
inValue
props (#2984)
@metamask/snaps-simulation 2.0.0
Added
- BREAKING: Add support for new state methods to
snaps-simulation
(#2966)- The
MiddlewareHooks
type was removed.
- The
- Add
hideBalances
tosnap_getPreferences
(#2978) - Allow unit testing of expanded-view notifications (#2956)
- Add
onBackgroundEvent
alias (#2974)
Changed
@metamask/snaps-utils 8.8.0
Added
- Add Massa derivation path (#2979)
Changed
- Bump MetaMask dependencies (#2946, #2999, #3003, #2996, #2989)
- Make
jobs
property fully optional in the cronjob endowment (#3005)
@metamask/snaps-webpack-plugin 4.2.1
Changed
- Bump MetaMask dependencies (#2946)
81.0.0
@metamask/preinstalled-example-snap 0.3.0
Added
@metamask/snaps-browserify-plugin 4.2.0
Added
- Automatically add
platformVersion
to manifest (#2938)
@metamask/snaps-cli 6.6.0
Added
- Allow async initialization logic (#2918)
- Top-level-await is now available in Snaps.
- WASM modules are instantiated asynchronously.
- Automatically add
platformVersion
to manifest (#2938)
@metamask/snaps-controllers 9.16.0
Added
- Add support for
onSettingsPage
export (#2911)
Fixed
- Use
BigInt
for processing insight chain IDs (#2935)
@metamask/snaps-execution-environments 6.11.0
Added
- Allow Snap exports to have async initialization logic (#2918)
- Add support for
onSettingsPage
export (#2911)
@metamask/snaps-jest 8.9.0
Added
@metamask/snaps-rollup-plugin 4.2.0
Added
- Automatically add
platformVersion
to manifest (#2938)
@metamask/snaps-rpc-methods 11.8.0
Added
- Add
onSettingsPage
endowment (#2911)
@metamask/snaps-sdk 6.14.0
Added
- Add
onSettingsPage
export (#2911) - Add
Banner
component (#2961) - Support
fontWeight
prop onText
(#2959) - Support
size
prop onButton
(#2953) - Add loading state for
Button
(#2930)
Fixed
- Improve
Field
validation errors (#2937)
@metamask/snaps-simulation 1.5.0
Added
@metamask/snaps-utils 8.7.0
Added
@metamask/snaps-webpack-plugin 4.2.0
Added
- Automatically add
platformVersion
to manifest (#2938)
80.0.0
@metamask/notification-example-snap 2.2.0
Changed
- Add link to notification example (#2915)
@metamask/snaps-cli 6.5.4
Fixed
- Bundle and initialize WASM modules using Base64 encoding (#2913)
@metamask/snaps-controllers 9.15.0
Added
- Add
clientCryptography
property for specifying custom cryptography functions (#2909)
@metamask/snaps-jest 8.8.1
Changed
- Bump
@metamask/key-tree
from^9.1.2
to^10.0.1
(#2909)
@metamask/snaps-rpc-methods 11.7.0
Added
- Add JSX
content
property tosnap_notify
(#2881)- This content will be displayed in an upcoming expanded view for notifications.
- Add
getClientCryptography
hook for specifying custom cryptography functions (#2909)
@metamask/snaps-sdk 6.13.0
Added
- Add
size
prop toText
(#2908) - Add JSX
content
property tosnap_notify
(#2881)- This content will be displayed in an upcoming expanded view for notifications.
Changed
@metamask/snaps-simulation 1.4.1
Changed
- Bump
@metamask/key-tree
from^9.1.2
to^10.0.1
(#2909)
@metamask/snaps-utils 8.6.1
Changed
- Bump
@metamask/key-tree
from^9.1.2
to^10.0.1
(#2909)
79.0.0
@metamask/snaps-controllers 9.14.0
Added
- Emit
snapInstalled
andsnapUpdated
events for preinstalled Snaps (#2900)- This indirectly makes preinstalled Snaps trigger cronjobs and lifecycle hooks more reliably.
@metamask/snaps-jest 8.8.0
Added
- Add
snap_getInterfaceContext
JSON-RPC method (#2902)
@metamask/snaps-rpc-methods 11.6.0
Added
- Add
snap_getInterfaceContext
JSON-RPC method (#2902)
@metamask/snaps-sdk 6.12.0
Added
- Add
snap_getInterfaceContext
JSON-RPC method (#2902)
@metamask/snaps-simulation 1.4.0
Added
- Add
snap_getInterfaceContext
JSON-RPC method (#2902)
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)