Releases: MetaMask/snaps
Releases · MetaMask/snaps
128.0.0
127.0.0
126.0.0
@metamask/snaps-controllers 15.0.0
Added
- BREAKING: Allow updating preinstalled Snaps via the registry (#3616)
SnapController:updateBlockedSnaps
has been renamed toSnapController:updateRegistry
.
- Add two new controller state metadata properties:
includeInStateLogs
andusedInUi
(#3632)
Changed
- BREAKING: Make
SnapInterfaceController:createInterface
andSnapInterfaceController:updateInterface
actions synchronous (#3361) - BREAKING: Remove
useCaip25Permission
feature flag and enable behaviour by default (#3413) - BREAKING: Use hash private functions for updating internals (#3601)
updateSnap
,processRequestedSnap
andauthorize
are no longer publicly available functions.
- Move JSON-RPC request inspection outside of the executor (#3356)
- Simplify JSON-RPC failure validation (#3661)
- Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)
Fixed
- Properly roll back
initialConnections
(#3618) - Display a warning instead of an error when Snaps fail to terminate (#3621)
@metamask/snaps-execution-environments 10.2.2
Changed
- Move JSON-RPC request inspection outside of the executor (#3356)
- This reduces the amount of messages being passed around when using the
snap.request
function.
- This reduces the amount of messages being passed around when using the
- Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612, #3659)
@metamask/snaps-jest 9.4.1
Changed
@metamask/snaps-rpc-methods 13.5.2
Changed
- Reduce JSON validation during state updates (#3660)
- As part of this change, JSON sizing limits are not longer enforced for preinstalled Snaps.
- Adjust hooks after interface actions were made synchronous (#3361)
- Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)
@metamask/snaps-sdk 10.0.0
Changed
- BREAKING: Update
IconName
enum with latest icons (#3656)- Some icons have been removed as part of this, for a full list check: https://github.com/MetaMask/snaps/pull/3656/files#diff-2fa2f5fd71c64875ba655a470a6104a2ca5d01ecf3b12c91b79237d6f54e3c4c
- Improve a couple of error messages for UI components (#3625)
- Improve documentation for
transactionOrigin
field (#3568) - Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)
@metamask/snaps-simulation 3.4.2
Changed
- Adjust hooks after changes in RPC method imlementations (#3361, #3660)
- Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)
@metamask/snaps-utils 11.6.0
Added
Changed
@metamask/snaps-webpack-plugin 5.1.1
Fixed
- Add
prettier
as a runtime dependency (#3615)
125.0.0
124.0.0
@metamask/snaps-cli 8.3.0
Added
- Merge manifest validation reports to include latest validation errors and warnings (#3567)
@metamask/snaps-controllers 14.2.2
Fixed
- Throw a different error when the NPM registry returns 404 while fetching tarballs (#3602)
- Prevent logging multiple errors as the cause when a Snap crashes due to an unhandled error (#3569)
@metamask/snaps-utils 11.5.0
Added
- Merge manifest validation reports to include latest validation errors and warnings (#3567)
Fixed
- Disable base64 optimization in React Native (#3564)
123.0.0
@metamask/snaps-cli 8.2.0
Changed
- Add support for eval in watch mode (#3553)
- This enables some extra validation checks in watch mode, which can help
catch issues earlier in the development process.
- This enables some extra validation checks in watch mode, which can help
@metamask/snaps-controllers 14.2.1
Fixed
- Prevent double scheduling events and ensure long-running events work correctly (#3561)
- Emit event when destroying execution environment streams (#3074)
- Ignore terminate calls to not executing Snaps (#3559)
- Properly stop Snaps when clearing state (#3552)
@metamask/snaps-execution-environments 10.2.1
Changed
- Bump ses from
1.13.1
to1.14.0
(#3557)
Fixed
- Ignore "Premature close" stream messages (#3074)
@metamask/snaps-simulation 3.4.1
Fixed
- Ignore "Premature close" stream messages (#3074)
@metamask/snaps-utils 11.4.0
Added
- Add support for eval in watch mode for Snaps CLI (#3553)
Changed
- Bump ses from
1.13.1
to1.14.0
(#3557)
Fixed
- Fix typos in
SnapAuxiliaryFilesStruct
variable andSnapAuxiliaryFile
type (#3545)SnapAuxilaryFilesStruct
andSnapAuxilaryFile
are still exported for
backwards compatibility, but will be removed in a future release.
@metamask/snaps-webpack-plugin 5.1.0
Added
- Add support for eval in watch mode for Snaps CLI (#3553)
Changed
122.0.0
121.0.0
@metamask/preinstalled-example-snap 0.7.0
Added
- Add
trackEvent
method for testingsnap_trackEvent
(#3546)
@metamask/snaps-jest 9.4.0
Added
- Add support for
snap_startTrace
andsnap_endTrace
(#3547) - Add support for
snap_trackError
(#3546) - Add support for
snap_trackEvent
(#3546)
@metamask/snaps-rpc-methods 13.5.0
Changed
- Use
TrackableErrorStruct
from@metamask/snaps-utils
(#3546)
@metamask/snaps-simulation 3.4.0
Added
- Add support for
snap_startTrace
andsnap_endTrace
(#3547) - Add support for
snap_trackError
(#3546) - Add support for
snap_trackEvent
(#3546)
@metamask/snaps-utils 11.3.0
Changed
- Move
TrackableErrorStruct
from@metamask/snaps-rpc-methods
for reusability (#3546)
120.0.0
@metamask/lifecycle-hooks-example-snap 2.3.0
Added
- Add
onActive
andonInactive
lifecycle hooks (#3542)
@metamask/snaps-controllers 14.2.0
Added
- Add support for
onActive
andonInactive
lifecycle hooks (#3542)
Changed
- Bump
@metamask/phishing-controller
from12.6.0
to13.1.0
(#3538)
Fixed
- Use custom state manager for cronjob controller (#3539)
@metamask/snaps-execution-environments 10.2.0
Added
- Add support for
onActive
andonInactive
lifecycle hooks (#3542)
@metamask/snaps-rpc-methods 13.4.0
Added
- Add support
onActive
andonInactive
lifecycle hooks (#3542)
Changed
- Bump
@metamask/rpc-errors
from7.0.2
to7.0.3
(#3525) - Bump
@metamask/utils
from11.4.1
to11.4.2
(#3526)
@metamask/snaps-sdk 9.3.0
Added
- Add support for
onActive
andonInactive
lifecycle hooks (#3542)- These hooks are called when the client is activated or deactivated,
respectively.
- These hooks are called when the client is activated or deactivated,
@metamask/snaps-utils 11.2.0
Added
- Add support for
onActive
andonInactive
lifecycle hooks (#3542)
119.0.0
@metamask/snaps-cli 8.1.1
Fixed
- Display CLI minimum version range properly (#3531)
@metamask/snaps-controllers 14.1.0
Added
- Add support for non-fungible assets to
endowment:assets
(#3527) - Add feature flag to treat local Snaps as preinstalled (#3523)
@metamask/snaps-execution-environments 10.1.0
Added
- Add non-fungible assets support to
onAssetsLookup
andonAssetsMarketData
(#3527)
@metamask/snaps-jest 9.3.0
Added
- Add Snap metadata to simulated accounts (#3528)
@metamask/snaps-sdk 9.2.0
Added
@metamask/snaps-simulation 3.3.0
Added
- Add Snap metadata to simulated accounts (#3528)
@metamask/snaps-utils 11.1.0
Added
- Add support for non-fungible assets to
endowment:assets
(#3527)