Skip to content

Releases: MetaMask/snaps

164.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 12:32
a2ea600

@metamask/snaps-execution-environments 11.2.0

Added

  • Add Blob as a default endowment (#4063)

Changed

  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)

@metamask/snaps-utils 12.4.0

Added

  • Add Blob as a default endowment (#4063)

163.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 08:23
8898f31

@metamask/preinstalled-example-snap 0.8.1

Fixed

  • Re-add hidden flag (#4068)

@metamask/test-snaps 3.5.2

Fixed

  • Rename duplicate identifiers (#4069)

162.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 11:48
d4cf201

@metamask/test-snaps 3.5.1

Fixed

  • Re-release of 3.5.0 (#4067)

161.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 09:13
02eb9e1

@metamask/preinstalled-example-snap 0.8.0

Added

  • Add messengerCall RPC method (#4055)

@metamask/snaps-jest 10.2.0

Added

  • Add support for endowment:messenger (#4055)

Changed

  • Bump @metamask/superstruct from ^3.2.1 to ^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/messenger from ^1.2.0 to ^2.0.0 (#4064)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)

@metamask/snaps-sdk 11.2.0

Added

  • Add getMessenger for use with endowment:messenger (#4055)

Changed

  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#4064)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)

Fixed

  • Correct KeyringAccountType values (#4057)
    • Removed invalid value entropy:account.
    • Added missing values any:account and stellar:account.

@metamask/snaps-simulation 4.3.0

Added

  • Add support for endowment:messenger (#4055)

Changed

  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#4064)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)
  • Bump @metamask/chain-agnostic-permission from ^1.6.1 to ^1.6.2 (#4036)

@metamask/snaps-utils 12.3.0

Added

  • Add permission validation for endowment:messenger (#4055)

Changed

  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#4064)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)
  • Bump @metamask/slip44 from ^4.4.0 to ^4.5.0 (#4061)

Fixed

  • Correct KeyringAccountType values in KeyringCapabilitiesStruct (#4057)
    • Removed invalid value entropy:account.
    • Added missing values any:account and stellar:account.

@metamask/test-snaps 3.5.0

Added

  • Add button for testing messenger support preinstalled example Snap (#4055)

160.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 17:39
52d3c27

@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 SnapController messenger now requires the following actions and events:
      • AnalyticsController:trackEvent
      • SnapController:snapInstallStarted
      • SnapController:snapInstallFailed
      • SnapController:snapInstalled
      • SnapController:snapUpdated
      • SnapController:snapUninstalled
  • BREAKING: Track analytics for OTA Snap updates (#4049)
    • The SnapController constructor now requires a clientConfig parameter.
  • Add requestPeriodicUpdate method to SnapRegistryController (#4043)

Changed

  • Bump @metamask/storage-service from 1.0.1 to 1.0.2 (#4035)
  • Bump @metamask/approval-controller from 9.0.1 to 9.0.2 (#4026)

159.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 14:13
cecffa1

@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

Choose a tag to compare

@github-actions github-actions released this 28 May 09:07
55e2ed2

@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

Choose a tag to compare

@github-actions github-actions released this 12 May 09:59
7657d68

@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

Choose a tag to compare

@github-actions github-actions released this 08 May 11:23
3c2576c

@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

Choose a tag to compare

@github-actions github-actions released this 29 Apr 13:11
172e890

@metamask/snaps-controllers 20.0.3

Fixed

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