Releases: MetaMask/snaps
Releases · MetaMask/snaps
Release list
164.0.0
163.0.0
162.0.0
161.0.0
@metamask/preinstalled-example-snap 0.8.0
Added
- Add
messengerCallRPC method (#4055)
@metamask/snaps-jest 10.2.0
Added
- Add support for
endowment:messenger(#4055)
Changed
- Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062)
@metamask/snaps-rpc-methods 17.1.0
Added
- Add support for using the messenger in preinstalled Snaps via
endowment:messenger(#4055)
Changed
- Bump
@metamask/messengerfrom^1.2.0to^2.0.0(#4064) - Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062)
@metamask/snaps-sdk 11.2.0
Added
- Add
getMessengerfor use withendowment:messenger(#4055)
Changed
- Bump
@metamask/messengerfrom^1.2.0to^2.0.0(#4064) - Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062)
Fixed
- Correct
KeyringAccountTypevalues (#4057)- Removed invalid value
entropy:account. - Added missing values
any:accountandstellar:account.
- Removed invalid value
@metamask/snaps-simulation 4.3.0
Added
- Add support for
endowment:messenger(#4055)
Changed
- Bump
@metamask/messengerfrom^1.2.0to^2.0.0(#4064) - Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062) - Bump
@metamask/chain-agnostic-permissionfrom^1.6.1to^1.6.2(#4036)
@metamask/snaps-utils 12.3.0
Added
- Add permission validation for
endowment:messenger(#4055)
Changed
- Bump
@metamask/messengerfrom^1.2.0to^2.0.0(#4064) - Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062) - Bump
@metamask/slip44from^4.4.0to^4.5.0(#4061)
Fixed
- Correct
KeyringAccountTypevalues inKeyringCapabilitiesStruct(#4057)- Removed invalid value
entropy:account. - Added missing values
any:accountandstellar:account.
- Removed invalid value
@metamask/test-snaps 3.5.0
Added
- Add button for testing messenger support preinstalled example Snap (#4055)
160.0.0
@metamask/snaps-controllers 21.0.0
Added
- BREAKING: Track Snap lifecycle analytics events in
SnapController(#4048)- This logic was previously in the clients, but can now be removed there.
- The
SnapControllermessenger now requires the following actions and events:AnalyticsController:trackEventSnapController:snapInstallStartedSnapController:snapInstallFailedSnapController:snapInstalledSnapController:snapUpdatedSnapController:snapUninstalled
- BREAKING: Track analytics for OTA Snap updates (#4049)
- The
SnapControllerconstructor now requires aclientConfigparameter.
- The
- Add
requestPeriodicUpdatemethod toSnapRegistryController(#4043)
Changed
159.0.0
@metamask/snaps-controllers 20.0.6
Changed
- Bump
@metamask/permission-controllerfrom13.1.0to13.1.1(#4002) - Bump
@metamask/snaps-rpc-methodsfrom16.0.0to17.0.0(#4020)
@metamask/snaps-jest 10.1.4
Changed
- Bump
@metamask/snaps-simulationfrom^4.1.4to^4.2.0(#4020) - Bump
@metamask/snaps-rpc-methodsfrom16.0.0to17.0.0(#4020)
@metamask/snaps-rpc-methods 17.0.0
Changed
- BREAKING: Use
withKeyringV2Unsafefor accessing entropy (#4009) - Bump
@metamask/permission-controllerfrom13.1.0to13.1.1(#4002)
@metamask/snaps-simulation 4.2.0
Changed
158.0.0
157.0.0
@metamask/snaps-controllers 20.0.5
Changed
- Bump
@metamask/snaps-rpc-methodsfrom^15.1.1to16.0.0(#3999) - Bump
@metamask/json-rpc-enginefrom^10.3.0to^10.5.0(#3992, #3998)
@metamask/snaps-jest 10.1.3
Changed
- Bump
@metamask/snaps-rpc-methodsfrom^15.1.1to16.0.0and handle breaking changes (#3968, #3987, #3993)
@metamask/snaps-rpc-methods 16.0.0
Changed
- BREAKING: Use messenger for permitted method implementations (#3987)
createSnapsMethodMiddlewarenow requires amessengerparameter.createSnapsMethodMiddlewarewill throw if the expected hooks are not passed.- Most previously used method hooks are no longer required.
- BREAKING: Use messenger for restricted method implementations (#3968)
buildSnapRestrictedMethodSpecificationsnow requires amessengerparameter.- Most previously used method hooks are no longer required.
- BREAKING: Assert expected hooks for restricted method specifications (#3993)
buildSnapRestrictedMethodSpecificationswill now throw if the expected hooks are not passed.
- Bump
@metamask/permission-controller12.3.0to^13.1.0(#3984, #3989) - Bump
@metamask/json-rpc-enginefrom^10.2.4to^10.5.0(#3982,#3992, #3998) - Bump
@metamask/messengerfrom^1.1.1to^1.2.0(#3981)
Removed
- BREAKING:
selectHooksandpermittedMethodsare no longer exported (#3987)- A
selectHooksimplementation is exported from@metamask/json-rpc-engineif needed.
- A
@metamask/snaps-sdk 11.1.1
Fixed
- Clarify return type for
snap_getFilecan benull(#3987)
@metamask/snaps-simulation 4.1.4
Changed
- Bump
@metamask/snaps-rpc-methodsfrom^15.1.1to16.0.0and handle breaking changes (#3968, #3987, #3993) - Bump
@metamask/permission-controller12.3.0to^13.1.0(#3984, #3989) - Bump
@metamask/json-rpc-enginefrom^10.2.4to^10.5.0(#3982,#3992, #3998) - Bump
@metamask/messengerfrom^1.1.1to^1.2.0(#3981) - Bump
@metamask/chain-agnostic-permissionfrom^1.5.0to^1.6.0(#3997)
156.0.0
@metamask/snaps-controllers 20.0.4
Changed
- Bump
@metamask/permission-controllerfrom^12.3.0to^13.1.0(#3984, #3989) - Bump
@metamask/json-rpc-enginefrom10.2.4to^10.3.0(#3982) - Bump
@metamask/messengerfrom^1.1.1to^1.2.0(#3981) - Bump
@metamask/base-controllerfrom^9.0.1to^9.1.0(#3959)
Fixed
- Omit installing Snaps from
getAllSnapsandgetRunnableSnaps(#3990)
155.0.0
@metamask/snaps-controllers 20.0.3
Fixed
- Stop relying on account metadata for
MultichainRoutingService(#3974)