Releases: MetaMask/snaps
Releases · MetaMask/snaps
135.0.0
134.0.0
@metamask/interactive-ui-example-snap 2.5.0
Added
- Add example for
DateTimePickercomponent (#3698)
@metamask/snaps-controllers 17.1.0
Added
- Add support for
DateTimePickercomponent (#3698)
Changed
- Bump
@metamask/permission-controllerfrom12.1.0to12.1.1(#3746)
Fixed
- Use
no-cachefor fetching registry (#3760)
@metamask/snaps-execution-environments 10.3.0
Added
- Add support for
DateTimePickercomponent (#3698)
Changed
@metamask/snaps-jest 9.6.0
Added
- Add support for the
DateTimePickercomponent (#3698)- The
pickDateTimefunction can be used to interact with the component in tests.
- The
Changed
- Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
@metamask/snaps-sdk 10.2.0
Added
- Add
DateTimePickercomponent (#3698) - Move
ISO8601DateStructfrom@metamask/snaps-utilsto@metamask/snaps-sdk(#3698)
@metamask/snaps-simulation 3.6.0
Added
- Add support for the
DateTimePickercomponent (#3698)- The
pickDateTimefunction can be used to interact with the component in tests.
- The
- Include client versions in
snap_getClientStatus(#3724)
Changed
- Bump
@metamask/permission-controllerfrom12.0.0to12.1.1(#3746), (#3714) - Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
@metamask/snaps-utils 11.6.2
Changed
- Move
ISO8601DateStructto@metamask/snaps-sdkand re-export it for backwards compatibility (#3698) - Bump
@metamask/snaps-registryfrom3.2.3to3.3.0(#3737) - Bump
@metamask/permission-controllerfrom12.1.0to12.1.1(#3746) - Bump
@metamask/permission-controllerfrom12.0.0to12.1.0(#3714)
@metamask/test-snaps 3.1.0
Added
- Use EIP-6963 for
test-snaps(#3757)
Fixed
- Move
test-snapsdependencies to devDependencies (#3758)
133.0.0
@metamask/snaps-controllers 17.0.0
Added
- BREAKING: Ensure user has onboarded before allowing usage of SnapController (#3731)
- This is breaking as it adds a new required constructor argument to
SnapControllercalledensureOnboardingComplete.
- This is breaking as it adds a new required constructor argument to
- BREAKING: Support specified
clientVersionsin the registry (#3737)- This is breaking as it adds a new required constructor argument to
JsonSnapsRegistrycalledclientConfig.
- This is breaking as it adds a new required constructor argument to
@metamask/snaps-rpc-methods 14.1.1
Fixed
- Use mutex when modifying state using
snap_setState(#3742)
132.0.0
131.0.0
@metamask/preinstalled-example-snap 0.7.2
Fixed
- Prevent race condition (#3725)
@metamask/snaps-controllers 16.1.0
Added
- Add NPM proxy support (#3695)
Changed
- Bump
@metamask/permission-controllerfrom12.0.0to12.1.0(#3714) - Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
Removed
- Remove logic for granting CAIP-25 permissions (#3723)
Fixed
- Prevent initial connections from being revoked as unused on update (#3729)
- Keep dynamic permissions on update (#3726)
@metamask/snaps-execution-environments 10.2.3
Fixed
- Input change events in
onUserInputnow acceptsnullvalues (#3722)
@metamask/snaps-rpc-methods 14.1.0
Changed
- Include client and platform versions in
snap_getClientStatus(#3724) - Bump
@metamask/permission-controllerfrom12.0.0to12.1.0(#3714)
@metamask/snaps-sdk 10.1.0
Changed
- Include client and platform versions in
snap_getClientStatus(#3724)
Fixed
- Input change events in
onUserInputnow acceptsnullvalues (#3722)
130.0.0
129.0.0
@metamask/snaps-controllers 16.0.0
Changed
- BREAKING: Use new
Messengerfrom@metamask/messenger(#3611)- Previously,
SnapController,CronjobController,SnapInsightsController,SnapInterfaceController,MultichainRouter,ExecutionServiceandWebSocketServiceaccepted aRestrictedMessengerinstance from@metamask/base-controller.
- Previously,
- BREAKING: Metadata property
anonymousrenamed toincludeInDebugSnapshot(#3611) - Bump
@metamask/approval-controllerfrom^7.2.0to^8.0.0((#3611) - Bump
@metamask/base-controllerfrom^8.4.1to^9.0.0((#3611) - Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
@metamask/snaps-jest 9.5.1
Changed
- Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
Removed
- Remove
@metamask/base-controllerdependency (#3611)
@metamask/snaps-rpc-methods 14.0.0
Changed
- BREAKING:
handleSnapInstallnow accepts amessengerparameter of typeMessengerinstead of amessagingSystemparameter of typeRestrictedMessenger(#3611) - BREAKING:
MockControllerMessengernow extendsMessengerfrom@metamask/messengerinstead of from@metamask/base-controller(#3611) - Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
Removed
- Remove
@metamask/base-controllerdependency (#3611)
@metamask/snaps-simulation 3.5.1
Changed
- Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
Removed
- Remove
@metamask/base-controllerdependency (#3611)
@metamask/snaps-utils 11.6.1
Changed
- Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
128.0.0
@metamask/snaps-controllers 15.0.2
Fixed
- Throw if Snap not installed (#3666)
@metamask/snaps-jest 9.5.0
Added
- Allow mocking JSON-RPC implementations (#3667)
@metamask/snaps-rpc-methods 13.5.3
Fixed
@metamask/snaps-simulation 3.5.0
Added
- Allow mocking JSON-RPC implementations (#3667)
@metamask/test-snaps 2.28.1
Fixed
- Add missing track event button for preinstalled example Snap (#3550)
127.0.0
126.0.0
@metamask/snaps-controllers 15.0.0
Added
- BREAKING: Allow updating preinstalled Snaps via the registry (#3616)
SnapController:updateBlockedSnapshas been renamed toSnapController:updateRegistry.
- Add two new controller state metadata properties:
includeInStateLogsandusedInUi(#3632)
Changed
- BREAKING: Make
SnapInterfaceController:createInterfaceandSnapInterfaceController:updateInterfaceactions synchronous (#3361) - BREAKING: Remove
useCaip25Permissionfeature flag and enable behaviour by default (#3413) - BREAKING: Use hash private functions for updating internals (#3601)
updateSnap,processRequestedSnapandauthorizeare 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.requestfunction.
- 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
IconNameenum 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
transactionOriginfield (#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
prettieras a runtime dependency (#3615)