Releases: MetaMask/snaps
Releases · MetaMask/snaps
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)
149.0.0
@metamask/snaps-controllers 19.0.1
Changed
- Bump
@metamask/approval-controllerfrom^9.0.0to^9.0.1(#3930) - Bump
@metamask/base-controllerfrom^9.0.0to^9.0.1(#3930) - Bump
@metamask/json-rpc-enginefrom^10.2.3to^10.2.4(#3925) - Bump
@metamask/messengerfrom^0.3.0to^1.1.0(#3930, #3934) - Bump
@metamask/permission-controllerfrom^12.2.1to^12.3.0(#3930) - Bump
@metamask/storage-servicefrom^1.0.0to^1.0.1(#3930)
@metamask/snaps-rpc-methods 15.0.2
Changed
- Bump
@metamask/json-rpc-enginefrom^10.2.3to^10.2.4(#3925) - Bump
@metamask/messengerfrom^0.3.0to^1.1.0(#3930, #3934) - Bump
@metamask/permission-controllerfrom^12.2.1to^12.3.0(#3930)
@metamask/snaps-simulation 4.1.3
Changed
- Bump
@metamask/messengerfrom^0.3.0to^1.1.0(#3930, #3934) - Bump
@metamask/permission-controllerfrom^12.2.1to^12.3.0(#3930)
@metamask/snaps-utils 12.1.3
Changed
148.0.0
@metamask/snaps-controllers 19.0.0
Changed
- BREAKING: All action types were renamed from
DoSomethingtoControllerNameDoSomethingAction(#3907, #3911, #3912, #3916, #3918)SnapControlleractions:GetSnapis nowSnapControllerGetSnapAction.- Note: The method is now called
getSnapinstead ofget. - Note: It now returns
nullif a Snap is not found, instead of
undefined.
- Note: The method is now called
HandleSnapRequestis nowSnapControllerHandleRequestAction.GetSnapStateis nowSnapControllerGetSnapStateAction.HasSnapis nowSnapControllerHasSnapAction.- Note: The method is now called
hasSnapinstead ofhas.
- Note: The method is now called
UpdateSnapStateis nowSnapControllerUpdateSnapStateAction.ClearSnapStateis nowSnapControllerClearSnapStateAction.UpdateRegistryis nowSnapControllerUpdateRegistryAction.EnableSnapis nowSnapControllerEnableSnapAction.- Note: The method is now called
enableSnapinstead ofenable.
- Note: The method is now called
DisableSnapis nowSnapControllerDisableSnapAction.- Note: The method is now called
disableSnapinstead ofdisable.
- Note: The method is now called
RemoveSnapis nowSnapControllerRemoveSnapAction.- Note: The method is now called
removeSnapinstead ofremove.
- Note: The method is now called
GetPermittedSnapsis nowSnapControllerGetPermittedSnapsAction.- Note: The method is now called
getPermittedSnapsinstead ofgetPermitted.
- Note: The method is now called
GetAllSnapsis nowSnapControllerGetAllSnapsAction.- Note: The method is now called
getAllSnapsinstead ofgetAll.
- Note: The method is now called
GetRunnableSnapsis nowSnapControllerGetRunnableSnapsAction.StopAllSnapsis nowSnapControllerStopAllSnapsAction.InstallSnapsis nowSnapControllerInstallSnapsAction.- Note: The method is now called
installSnapsinstead ofinstall.
- Note: The method is now called
DisconnectOriginis nowSnapControllerDisconnectOriginAction.- Note: The method is now called
disconnectOrigininstead ofremoveSnapFromSubject.
- Note: The method is now called
RevokeDynamicPermissionsis nowSnapControllerRevokeDynamicSnapPermissionsAction.GetSnapFileis nowSnapControllerGetSnapFileAction.IsMinimumPlatformVersionis nowSnapControllerIsMinimumPlatformVersionAction.SetClientActiveis nowSnapControllerSetClientActiveAction.
CronjobControlleractions:Scheduleis nowCronjobControllerScheduleAction.Cancelis nowCronjobControllerCancelAction.Getis nowCronjobControllerGetAction.
SnapInterfaceControlleractions:CreateInterfaceis nowSnapInterfaceControllerCreateInterfaceAction.GetInterfaceis nowSnapInterfaceControllerGetInterfaceAction.UpdateInterfaceis nowSnapInterfaceControllerUpdateInterfaceAction.DeleteInterfaceis nowSnapInterfaceControllerDeleteInterfaceAction.UpdateInterfaceStateis nowSnapInterfaceControllerUpdateInterfaceStateAction.ResolveInterfaceis nowSnapInterfaceControllerResolveInterfaceAction.
ExecutionServiceactions:ExecuteSnapis nowExecutionServiceExecuteSnapAction.HandleRequestis nowExecutionServiceHandleRequestAction.TerminateSnapis nowExecutionServiceTerminateSnapAction.GetExecutionStatusis nowExecutionServiceGetExecutionStatusAction.
SnapRegistryControlleractions:GetResultis nowSnapRegistryControllerGetAction.GetMetadatais nowSnapRegistryControllerGetMetadataAction.ResolveVersionis nowSnapRegistryControllerResolveVersionAction.Updateis nowSnapRegistryControllerRequestUpdateAction.- Note: The method is now called
requestUpdateinstead ofupdate.
- Note: The method is now called
- BREAKING: All event types were renamed from
OnSomethingtoControllerOnSomethingEvent(#3907, #3916)SnapControllerevents:SnapStateChangewas removed in favour ofSnapControllerStateChangeEvent.SnapBlockedis nowSnapControllerSnapBlockedEvent.SnapInstallStartedis nowSnapControllerSnapInstallStartedEvent.SnapInstallFailedis nowSnapControllerSnapInstallFailedEvent.SnapInstalledis nowSnapControllerSnapInstalledEvent.SnapUninstalledis nowSnapControllerSnapUninstalledEvent.SnapUnblockedis nowSnapControllerSnapUnblockedEvent.SnapUpdatedis nowSnapControllerSnapUpdatedEvent.SnapRolledbackis nowSnapControllerSnapRolledbackEvent.SnapTerminatedis nowSnapControllerSnapTerminatedEvent.SnapEnabledis nowSnapControllerSnapEnabledEvent.SnapDisabledis nowSnapControllerSnapDisabledEvent.
ExecutionServiceevents:ErrorMessageEventis nowExecutionServiceUnhandledErrorEvent.OutboundRequestis nowExecutionServiceOutboundRequestEvent.OutboundResponseis nowExecutionServiceOutboundResponseEvent.
- BREAKING:: Rename
MultichainRoutertoMultichainRoutingServiceand update action types accordingly (#3913)- This is consistent with the naming of other services.
- BREAKING: Rename
JsonSnapsRegistrytoSnapRegistryControllerand update action types accordingly (#3918)- This is consistent with the naming of other controllers.
- The controller name is now
SnapRegistryControllerinstead ofSnapsRegistryas well.
- BREAKING:
MultichainRoutingServicenow requiresSnapController:getRunnableSnapsinstead ofSnapController:getAllSnaps(#3913) - BREAKING:
SnapInsightsControllernow requiresSnapController:getRunnableSnapsinstead ofSnapController:getAllSnaps(#3915) - RREAKING: Replace
ExecutionServiceinterface with abstract class (#3916)- The
ExecutionServiceis now an abstract class and replaces the previousAbstractExecutionServiceclass interface.
- The
Removed
- RREAKING: Remove
AbstractExecutionServiceclass in favour ofExecutionService(#3916) - BREAKING: Remove
incrementActiveReferencesanddecrementActiveReferencesactions and methods fromSnapController(#3907, #3920)- This was never used in production.
- BREAKING: Remove public
getTruncatedSnapandgetTruncatedSnapExpectmethods fromSnapController(#3923)
@metamask/snaps-execution-environments 11.0.2
Changed
@metamask/snaps-jest 10.1.2
Changed
- Bump
@metamask/snaps-controllersfrom18.0.4to19.0.0and handle breaking changes (#3922)
@metamask/snaps-rpc-methods 15.0.1
Changed
- Bump
@metamask/snaps-controllersfrom18.0.4to19.0.0and handle breaking changes (#3922)
@metamask/snaps-simulation 4.1.2
Changed
- Bump
@metamask/snaps-controllersfrom18.0.4to19.0.0and handle breaking changes (#3922)
@metamask/snaps-utils 12.1.2
Changed
- Bump
@metamask/snaps-controllersfrom18.0.4to19.0.0and handle breaking changes (#3922)
147.0.0
146.0.0
@metamask/send-flow-example-snap 1.2.1
Changed
- Update interface logic (#3888)
@metamask/snaps-controllers 18.0.3
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-execution-environments 11.0.1
Changed
- Bump
sesfrom1.14.0to1.15.0(#3880)
@metamask/snaps-jest 10.1.1
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-rpc-methods 15.0.0
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
Removed
- BREAKING: Remove
snap_getCurrencyRate(#3866) - BREAKING: Remove
snap_experimentalProviderRequest(#3858)
Fixed
- Require any interface permission to use RPC methods (#3864)
@metamask/snaps-sdk 11.0.0
Changed
- Allow additional icon colors in
Iconcomponent (#3895)- This adds the
warning,error, andsuccesscolors to theIcon
component.
- This adds the
- Move
isSnapErrorandisSerializedSnapErrorto SDK (#3891)
Removed
- BREAKING: Remove
snap_getCurrencyRate(#3866) - BREAKING: Remove deprecated UI builders (#3859)
- BREAKING: Remove
snap_experimentalProviderRequest(#3858)
@metamask/snaps-simulation 4.1.1
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-utils 12.1.1
Changed
- Move
isSnapErrorandisSerializedSnapErrorto@metamask/snaps-sdk(#3891)- They are re-exported from this package for backwards compatibility, but will
be removed in a future release.
- They are re-exported from this package for backwards compatibility, but will
@metamask/test-snaps 3.4.1
Changed
- Use latest versions of example Snaps (#3896)