Releases: MetaMask/snaps
Releases · MetaMask/snaps
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
154.0.0
153.0.0
@metamask/snaps-execution-environments 11.1.0
Added
- Export endowment factories via
@metamask/snaps-execution-environments/endowments(#3957)
Changed
152.0.0
151.0.0
150.0.0
@metamask/name-lookup-example-snap 3.1.2
Fixed
- Allow Snap to resolve names on multiple chains (#3953)
@metamask/snaps-controllers 20.0.0
Changed
- BREAKING: Always consume latest registry in
updateRegistry(#3948, #3949)SnapControllernow listens forSnapRegistryController:registryUpdated.
- Bump
@metamask/messengerfrom^1.1.0to^1.1.1(#3944) - Bump
@metamask/utilsfrom^11.10.0to^11.11.0(#3935)
@metamask/snaps-rpc-methods 15.1.0
Added
- Add
capabilitiescaveat support toendowment:keyring(#3903)- Snap manifests can now declare a
capabilitiesobject underendowment:keyringdescribing the capabilities supported by the keyring. - New
getKeyringCaveatCapabilitiesfunction to retrieve the capabilities caveat value from a permission.
- Snap manifests can now declare a
Changed
- Bump
@metamask/messengerfrom^1.1.0to^1.1.1(#3944) - Bump
@metamask/utilsfrom^11.10.0to^11.11.0(#3935)
@metamask/snaps-sdk 11.1.0
Added
Changed
- Bump
@metamask/utilsfrom^11.10.0to^11.11.0(#3935)
@metamask/snaps-utils 12.2.0
Added
- Add
KeyringCapabilitiestype andKeyringCapabilitiesStruct/assertIsKeyringCapabilitiesexports for theendowment:keyringcapabilities caveat (#3903)
Changed
- Bump
@metamask/messengerfrom^1.1.0to^1.1.1(#3944) - Bump
@metamask/utilsfrom^11.10.0to^11.11.0(#3935)
@metamask/test-snaps 3.4.2
Changed
- Use latest versions of example Snaps (#3954)