Skip to content

Releases: MetaMask/snaps

167.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 10:47
f42b562

@metamask/snaps-controllers 21.1.1

Fixed

  • Ensure proper validation of dates after duration offset (#4124)

@metamask/snaps-execution-environments 11.3.1

Fixed

  • Mirror setTimeout endowment in setInterval (#4127)

@metamask/snaps-rpc-methods 17.2.0

Added

  • Add support for array key parameter in snap_getState, returning a Record<string, Json> mapping each key to its resolved value (#4125)

Fixed

  • Check caveat in invokeKeyring (#4128)

@metamask/snaps-sdk 12.1.0

Added

  • Add support for array key parameter in GetStateParams for snap_getState (#4125)

@metamask/test-snaps 3.6.0

Changed

  • Update GetState component to support comma-separated keys via snap_getState array key parameter (#4125)

166.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Aug 11:11
ff9ec9c

@metamask/snaps-rpc-methods 17.1.2

Fixed

  • Block messenger calls to AccountTreeController (#4100)

@metamask/snaps-sdk 12.0.1

Fixed

  • Sync PrivateKeyEncoding type with @metamask/keyring-api (#4104)

@metamask/snaps-utils 12.6.0

Added

  • Add Stellar to the known Snap derivation paths (#4097)

Fixed

  • Sync PrivateKeyEncoding struct with @metamask/keyring-api (#4104)

165.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 11:00
14eeb53

@metamask/snaps-controllers 21.1.0

Added

  • Add optional originMetadata parameter to SnapController, MultichainRoutingService and ExecutionService (#4093)
    • This parameter can be used for specifying additional metadata about the origin of a request.

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/analytics-controller from ^1.1.1 to ^1.2.1 (#4059)

@metamask/snaps-execution-environments 11.3.0

Added

  • Add support for the optional originMetadata property to all handlers that also support origin (#4093)

@metamask/snaps-jest 10.2.1

Changed

  • Bump @metamask/snaps-sdk from ^11.2.0 to ^12.0.0 (#4094)

@metamask/snaps-rpc-methods 17.1.1

Changed

  • Bump @metamask/snaps-sdk from ^11.2.0 to ^12.0.0 (#4094)

@metamask/snaps-sdk 12.0.0

Added

  • BREAKING: KeyringRequest may now include an optional originMetadata property
    • This requires @metamask/keyring-api version 24.1.0 or newer.
  • Add support for the optional originMetadata property to all handlers that also support origin (#4093)

@metamask/snaps-simulation 4.3.1

Changed

  • Bump @metamask/snaps-sdk from ^11.2.0 to ^12.0.0 (#4094)

@metamask/snaps-utils 12.5.0

Added

  • Add optional originMetadata property to SnapRpcHookArgs type (#4093)

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)