Releases: MetaMask/snaps
Releases · MetaMask/snaps
91.0.0
@metamask/bip32-example-snap 2.3.0
Added
- Add support for SIP-30 (#3165)
- The Snap now has a
getEntropySources
method that returns an array of
entropy sources. - The existing methods now have an optional
source
parameter that can be
used to specify the entropy source to use.
- The Snap now has a
@metamask/bip44-example-snap 2.2.0
Added
- Add support for SIP-30 (#3165)
- The Snap now has a
getEntropySources
method that returns an array of
entropy sources. - The existing methods now have an optional
source
parameter that can be
used to specify the entropy source to use.
- The Snap now has a
@metamask/get-entropy-example-snap 2.2.0
Added
- Add support for SIP-30 (#3165)
- The Snap now has a
getEntropySources
method that returns an array of
entropy sources. - The existing methods now have an optional
source
parameter that can be
used to specify the entropy source to use.
- The Snap now has a
@metamask/preferences-example-snap 1.0.0
Added
- Initial release (#3154)
@metamask/snaps-controllers 10.0.1
Changed
Fixed
- Improve error messaging (#3142)
@metamask/snaps-jest 8.13.0
Added
- Add support for SIP-30 (#3156, #3165)
- Add the interface ID to the return value of
getInterface
(#3174)
@metamask/snaps-rpc-methods 11.13.0
Added
- Implement SIP-30 (#3156, #3165)
- This adds a
snap_listEntropySources
method, which returns a list of
entropy sources. - The
snap_get*Entropy
methods now accept an optionalsource
parameter to
specify the entropy source to use.
- This adds a
@metamask/snaps-sdk 6.19.0
Added
- Implement SIP-30 (#3156, #3165)
- This adds a
snap_listEntropySources
method, which returns a list of
entropy sources. - The
snap_get*Entropy
methods now accept an optionalsource
parameter to
specify the entropy source to use.
- This adds a
Changed
- Update documentation of
Box
crossAlignment
property (#3133)
@metamask/snaps-simulation 2.3.0
Added
- Add support for SIP-30 (#3156, #3165)
- Add the interface ID to the return value of
getInterface
(#3174)
Changed
- Bump
@metamask/phishing-controller
from12.3.2
to12.4.0
(#3171) - Bump
@metamask/eth-json-rpc-middleware
from15.2.0
to15.3.0
(#3148)
Fixed
- Fix
onKeyringRequest
not matching the implementation type (#3138)
@metamask/snaps-utils 9.0.1
Fixed
- Improve error messaging (#3142)
90.0.0
@metamask/protocol-example-snap 1.0.0
Added
- Initial release (#3089)
@metamask/snaps-controllers 10.0.0
Changed
- BREAKING: Use a WebView per Snap on mobile (#3085)
WebViewExecutionService
now requirescreateWebView
andremoveWebView
constructor arguments,getWebView
is no longer supported.
- BREAKING: Encode messages in
WebViewMessageStream
as byte arrays (#3077)- A version of the Snaps execution environment that supports this encoding is required.
- Bump MetaMask dependencies (#3091, #3092, #3084, #3083, #3082, #3050)
Fixed
- Recreate JSON-RPC request in
MultichainRouter
(#3086) - Properly pass down execution service constructor args (#3110)
@metamask/snaps-execution-environments 7.0.0
Changed
- BREAKING: Use a WebView per Snap on mobile (#3085)
- The WebView bundle no longer supports proxy executor calls and functions as a single executor.
- BREAKING: Encode messages in
WebViewMessageStream
as byte arrays (#3077)- A version of
snaps-controllers
that supports this encoding is required.
- A version of
- Bump MetaMask dependencies (#3091, #3057, #3050)
@metamask/snaps-jest 8.12.0
Changed
Fixed
- Fix unintentionally narrow type for
onKeyringRequest
helper (#3109)
@metamask/snaps-rpc-methods 11.12.0
Added
- Add additional properties to
snap_getPreferences
(#3093)
Changed
@metamask/snaps-sdk 6.18.0
Added
Changed
@metamask/snaps-simulation 2.2.0
Added
- Add additional properties to
snap_getPreferences
(#3093)
Changed
Fixed
- Improve unintentionally narrow type for
onKeyringRequest
helper (#3109)
@metamask/snaps-utils 9.0.0
Changed
- BREAKING: Remove duplicate CAIP types (#3071)
- The following functions, values, types, and structs were removed from
@metamask/snaps-utils
:CHAIN_ID_REGEX
ACCOUNT_ID_REGEX
ACCOUNT_ADDRESS_REGEX
parseChainId
parseAccountId
LimitedString
ChainIdStringStruct
ChainIdStruct
AccountIdStruct
AccountIdArrayStruct
AccountAddressStruct
AccountAddress
ChainStruct
Chain
NamespaceStruct
Namespace
NamespaceIdStruct
NamespaceId
isNamespaceId
isChainId
isAccountId
isAccountIdArray
isNamespace
- The following functions, values, types, and structs were removed from
- Bump MetaMask dependencies (#3091, #3082, #3050)
89.0.0
88.0.0
@metamask/snaps-controllers 9.19.1
Fixed
- Add
name
andstate
toExecutionService
andMultichainRouter
(#3058) - Allow
null
in theendowment:assets
handlers return value (#3056) - Rename
ControllerMessenger
toMessenger
(#3053)
@metamask/snaps-sdk 6.17.1
Fixed
- Allow
null
in theendowment:assets
handlers return value (#3056)
87.0.0
@metamask/snaps-controllers 9.19.0
Added
- Add
MultichainRouter
for SIP-26 (#2875) - Add
onProtocolRequest
support for SIP-26 (#2875) - Add
getRunnableSnaps
action toSnapController
(#3049)
Fixed
@metamask/snaps-execution-environments 6.14.0
Added
@metamask/snaps-rpc-methods 11.11.0
Added
- Add
endowment:protocol
permission (#2875)
@metamask/snaps-sdk 6.17.0
Added
Fixed
- Fix missing JSDocs for
Avatar
(#3037)
@metamask/snaps-utils 8.10.0
Added
86.0.0
85.0.0
@metamask/snaps-controllers 9.18.0
Added
- Add support for
onAssetsLookup
andonAssetsConversion
handlers (#3028)
@metamask/snaps-execution-environments 6.13.0
Added
- Add
Intl
as a default global (#3035) - Add support for
onAssetsLookup
andonAssetsConversion
handlers (#3028)
@metamask/snaps-rpc-methods 11.10.0
Added
- Add
endowment:assets
permission (#3028)
@metamask/snaps-sdk 6.16.0
Added
- Add types for
onAssetsLookup
andonAssetsConversion
handlers (#3028) - Add
Skeleton
component (#3024) - Add border radius prop to
Image
(#3023)
@metamask/snaps-utils 8.9.0
Added
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)