Skip to content

Releases: MetaMask/snaps

159.0.0

02 Jun 14:13
cecffa1

Choose a tag to compare

@metamask/snaps-controllers 20.0.6

Changed

  • Bump @metamask/permission-controller from 13.1.0 to 13.1.1 (#4002)
  • Bump @metamask/snaps-rpc-methods from 16.0.0 to 17.0.0 (#4020)

@metamask/snaps-jest 10.1.4

Changed

  • Bump @metamask/snaps-simulation from ^4.1.4 to ^4.2.0 (#4020)
  • Bump @metamask/snaps-rpc-methods from 16.0.0 to 17.0.0 (#4020)

@metamask/snaps-rpc-methods 17.0.0

Changed

  • BREAKING: Use withKeyringV2Unsafe for accessing entropy (#4009)
  • Bump @metamask/permission-controller from 13.1.0 to 13.1.1 (#4002)

@metamask/snaps-simulation 4.2.0

Changed

  • Use withKeyringV2Unsafe for accessing entropy (#4009)
  • Bump @metamask/snaps-rpc-methods from 16.0.0 to 17.0.0 (#4020)

158.0.0

28 May 09:07
55e2ed2

Choose a tag to compare

@metamask/snaps-execution-environments 11.1.1

Fixed

  • Simplify endowment handling (#4012)

@metamask/snaps-utils 12.2.1

Fixed

  • Improve email addresses validation in validateLink function (#4005)

157.0.0

12 May 09:59
7657d68

Choose a tag to compare

@metamask/snaps-controllers 20.0.5

Changed

  • Bump @metamask/snaps-rpc-methods from ^15.1.1 to 16.0.0 (#3999)
  • Bump @metamask/json-rpc-engine from ^10.3.0 to ^10.5.0 (#3992, #3998)

@metamask/snaps-jest 10.1.3

Changed

  • Bump @metamask/snaps-rpc-methods from ^15.1.1 to 16.0.0 and handle breaking changes (#3968, #3987, #3993)

@metamask/snaps-rpc-methods 16.0.0

Changed

  • BREAKING: Use messenger for permitted method implementations (#3987)
    • createSnapsMethodMiddleware now requires a messenger parameter.
    • createSnapsMethodMiddleware will 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)
    • buildSnapRestrictedMethodSpecifications now requires a messenger parameter.
    • Most previously used method hooks are no longer required.
  • BREAKING: Assert expected hooks for restricted method specifications (#3993)
    • buildSnapRestrictedMethodSpecifications will now throw if the expected hooks are not passed.
  • Bump @metamask/permission-controller 12.3.0 to ^13.1.0 (#3984, #3989)
  • Bump @metamask/json-rpc-engine from ^10.2.4 to ^10.5.0 (#3982,#3992, #3998)
  • Bump @metamask/messenger from ^1.1.1 to ^1.2.0 (#3981)

Removed

  • BREAKING: selectHooks and permittedMethods are no longer exported (#3987)
    • A selectHooks implementation is exported from @metamask/json-rpc-engine if needed.

@metamask/snaps-sdk 11.1.1

Fixed

  • Clarify return type for snap_getFile can be null (#3987)

@metamask/snaps-simulation 4.1.4

Changed

  • Bump @metamask/snaps-rpc-methods from ^15.1.1 to 16.0.0 and handle breaking changes (#3968, #3987, #3993)
  • Bump @metamask/permission-controller 12.3.0 to ^13.1.0 (#3984, #3989)
  • Bump @metamask/json-rpc-engine from ^10.2.4 to ^10.5.0 (#3982,#3992, #3998)
  • Bump @metamask/messenger from ^1.1.1 to ^1.2.0 (#3981)
  • Bump @metamask/chain-agnostic-permission from ^1.5.0 to ^1.6.0 (#3997)

156.0.0

08 May 11:23
3c2576c

Choose a tag to compare

@metamask/snaps-controllers 20.0.4

Changed

  • Bump @metamask/permission-controller from ^12.3.0 to ^13.1.0 (#3984, #3989)
  • Bump @metamask/json-rpc-engine from 10.2.4 to ^10.3.0 (#3982)
  • Bump @metamask/messenger from ^1.1.1 to ^1.2.0 (#3981)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#3959)

Fixed

  • Omit installing Snaps from getAllSnaps and getRunnableSnaps (#3990)

155.0.0

29 Apr 13:11
172e890

Choose a tag to compare

@metamask/snaps-controllers 20.0.3

Fixed

  • Stop relying on account metadata for MultichainRoutingService (#3974)

154.0.0

28 Apr 12:45
581474c

Choose a tag to compare

@metamask/snaps-controllers 20.0.2

Fixed

  • Increase iframe unload timeout (#3971)

153.0.0

21 Apr 10:52
353d009

Choose a tag to compare

@metamask/snaps-execution-environments 11.1.0

Added

  • Export endowment factories via @metamask/snaps-execution-environments/endowments (#3957)

Changed

  • Bump @metamask/utils from 11.10.0 to 11.11.0 (#3935)
  • Bump @metamask/json-rpc-engine from 10.2.3 to 10.2.4 (#3925)
  • Bump @lavamoat/webpack from 2.0.0 to 2.1.1 (#3945)

152.0.0

15 Apr 08:44
c2d6c7d

Choose a tag to compare

@metamask/snaps-controllers 20.0.1

Fixed

  • Skip refetching the registry in handleRegistryUpdate (#3961)

151.0.0

14 Apr 16:40
d3466f6

Choose a tag to compare

@metamask/snaps-rpc-methods 15.1.1

Fixed

  • Make KeyringOrigin caveat explicitly optional (#3955)

150.0.0

14 Apr 12:03
c339e31

Choose a tag to compare

@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)
    • SnapController now listens for SnapRegistryController:registryUpdated.
  • Bump @metamask/messenger from ^1.1.0 to ^1.1.1 (#3944)
  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#3935)

@metamask/snaps-rpc-methods 15.1.0

Added

  • Add capabilities caveat support to endowment:keyring (#3903)
    • Snap manifests can now declare a capabilities object under endowment:keyring describing the capabilities supported by the keyring.
    • New getKeyringCaveatCapabilities function to retrieve the capabilities caveat value from a permission.

Changed

  • Bump @metamask/messenger from ^1.1.0 to ^1.1.1 (#3944)
  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#3935)

@metamask/snaps-sdk 11.1.0

Added

  • Add CollapsibleSection component (#3952)
  • Add types for KeyringCapabilities (#3903)

Changed

  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#3935)

@metamask/snaps-utils 12.2.0

Added

  • Add KeyringCapabilities type and KeyringCapabilitiesStruct / assertIsKeyringCapabilities exports for the endowment:keyring capabilities caveat (#3903)

Changed

  • Bump @metamask/messenger from ^1.1.0 to ^1.1.1 (#3944)
  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#3935)

@metamask/test-snaps 3.4.2

Changed

  • Use latest versions of example Snaps (#3954)