Skip to content

Releases: MetaMask/snaps

135.0.0

08 Dec 10:37
08cf90f

Choose a tag to compare

@metamask/snaps-controllers 17.1.1

Fixed

  • Improve registry verification speed (#3770)
  • Increase default ping timeout (#3773)

@metamask/snaps-utils 11.6.3

Changed

  • Bump @metamask/snaps-registry from 3.3.0 to 4.0.0 (#3770)

134.0.0

02 Dec 15:51
e21d3a3

Choose a tag to compare

@metamask/interactive-ui-example-snap 2.5.0

Added

  • Add example for DateTimePicker component (#3698)

@metamask/snaps-controllers 17.1.0

Added

  • Add support for DateTimePicker component (#3698)

Changed

  • Bump @metamask/permission-controller from 12.1.0 to 12.1.1 (#3746)

Fixed

  • Use no-cache for fetching registry (#3760)

@metamask/snaps-execution-environments 10.3.0

Added

  • Add support for DateTimePicker component (#3698)

Changed

  • Bump @lavamoat/webpack from 1.5.3 to 1.5.4 (#3751)
  • Bump lavamoat from 10.0.1 to 10.0.2 (#3752)

@metamask/snaps-jest 9.6.0

Added

  • Add support for the DateTimePicker component (#3698)
    • The pickDateTime function can be used to interact with the component in tests.

Changed

  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

@metamask/snaps-sdk 10.2.0

Added

  • Add DateTimePicker component (#3698)
  • Move ISO8601DateStruct from @metamask/snaps-utils to @metamask/snaps-sdk (#3698)

@metamask/snaps-simulation 3.6.0

Added

  • Add support for the DateTimePicker component (#3698)
    • The pickDateTime function can be used to interact with the component in tests.
  • Include client versions in snap_getClientStatus (#3724)

Changed

  • Bump @metamask/permission-controller from 12.0.0 to 12.1.1 (#3746), (#3714)
  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

@metamask/snaps-utils 11.6.2

Changed

  • Move ISO8601DateStruct to @metamask/snaps-sdk and re-export it for backwards compatibility (#3698)
  • Bump @metamask/snaps-registry from 3.2.3 to 3.3.0 (#3737)
  • Bump @metamask/permission-controller from 12.1.0 to 12.1.1 (#3746)
  • Bump @metamask/permission-controller from 12.0.0 to 12.1.0 (#3714)

@metamask/test-snaps 3.1.0

Added

  • Use EIP-6963 for test-snaps (#3757)

Fixed

  • Move test-snaps dependencies to devDependencies (#3758)

133.0.0

19 Nov 09:41
163e512

Choose a tag to compare

@metamask/snaps-controllers 17.0.0

Added

  • BREAKING: Ensure user has onboarded before allowing usage of SnapController (#3731)
    • This is breaking as it adds a new required constructor argument to SnapController called ensureOnboardingComplete.
  • BREAKING: Support specified clientVersions in the registry (#3737)
    • This is breaking as it adds a new required constructor argument to JsonSnapsRegistry called clientConfig.

@metamask/snaps-rpc-methods 14.1.1

Fixed

  • Use mutex when modifying state using snap_setState (#3742)

132.0.0

11 Nov 11:25
c8affd0

Choose a tag to compare

@metamask/snaps-controllers 16.1.1

Fixed

  • Override disableSnapInstallation feature flag when using automatic updates (#3735)

131.0.0

06 Nov 14:35
e081eb2

Choose a tag to compare

@metamask/preinstalled-example-snap 0.7.2

Fixed

  • Prevent race condition (#3725)

@metamask/snaps-controllers 16.1.0

Added

  • Add NPM proxy support (#3695)

Changed

  • Bump @metamask/permission-controller from 12.0.0 to 12.1.0 (#3714)
  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

Removed

  • Remove logic for granting CAIP-25 permissions (#3723)

Fixed

  • Prevent initial connections from being revoked as unused on update (#3729)
  • Keep dynamic permissions on update (#3726)

@metamask/snaps-execution-environments 10.2.3

Fixed

  • Input change events in onUserInput now accepts null values (#3722)

@metamask/snaps-rpc-methods 14.1.0

Changed

  • Include client and platform versions in snap_getClientStatus (#3724)
  • Bump @metamask/permission-controller from 12.0.0 to 12.1.0 (#3714)

@metamask/snaps-sdk 10.1.0

Changed

  • Include client and platform versions in snap_getClientStatus (#3724)

Fixed

  • Input change events in onUserInput now accepts null values (#3722)

130.0.0

28 Oct 15:55
a20241d

Choose a tag to compare

@metamask/test-snaps 3.0.0

Changed

  • Make @metamask/test-snaps publishable (#3679)

129.0.0

27 Oct 23:20
98669a2

Choose a tag to compare

@metamask/snaps-controllers 16.0.0

Changed

  • BREAKING: Use new Messenger from @metamask/messenger (#3611)
    • Previously, SnapController, CronjobController, SnapInsightsController, SnapInterfaceController, MultichainRouter, ExecutionService and WebSocketService accepted a RestrictedMessenger instance from @metamask/base-controller.
  • BREAKING: Metadata property anonymous renamed to includeInDebugSnapshot (#3611)
  • Bump @metamask/approval-controller from ^7.2.0 to ^8.0.0((#3611)
  • Bump @metamask/base-controller from ^8.4.1 to ^9.0.0((#3611)
  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

@metamask/snaps-jest 9.5.1

Changed

  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

Removed

  • Remove @metamask/base-controller dependency (#3611)

@metamask/snaps-rpc-methods 14.0.0

Changed

  • BREAKING: handleSnapInstall now accepts a messenger parameter of type Messenger instead of a messagingSystem parameter of type RestrictedMessenger (#3611)
  • BREAKING: MockControllerMessenger now extends Messenger from @metamask/messenger instead of from @metamask/base-controller (#3611)
  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

Removed

  • Remove @metamask/base-controller dependency (#3611)

@metamask/snaps-simulation 3.5.1

Changed

  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

Removed

  • Remove @metamask/base-controller dependency (#3611)

@metamask/snaps-utils 11.6.1

Changed

  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

128.0.0

20 Oct 11:30
3fda705

Choose a tag to compare

@metamask/snaps-controllers 15.0.2

Fixed

  • Throw if Snap not installed (#3666)

@metamask/snaps-jest 9.5.0

Added

  • Allow mocking JSON-RPC implementations (#3667)

@metamask/snaps-rpc-methods 13.5.3

Fixed

  • Wait for unlock before handling manageAccounts requests (#3686)
  • Throw if Snap not installed (#3666)

@metamask/snaps-simulation 3.5.0

Added

  • Allow mocking JSON-RPC implementations (#3667)

@metamask/test-snaps 2.28.1

Fixed

  • Add missing track event button for preinstalled example Snap (#3550)

127.0.0

07 Oct 09:55
3754d30

Choose a tag to compare

@metamask/snaps-controllers 15.0.1

Fixed

  • Stop creating errors before needing to throw (#3664)

126.0.0

02 Oct 10:50
93f69e5

Choose a tag to compare

@metamask/snaps-controllers 15.0.0

Added

  • BREAKING: Allow updating preinstalled Snaps via the registry (#3616)
    • SnapController:updateBlockedSnaps has been renamed to SnapController:updateRegistry.
  • Add two new controller state metadata properties: includeInStateLogs and usedInUi (#3632)

Changed

  • BREAKING: Make SnapInterfaceController:createInterface and SnapInterfaceController:updateInterface actions synchronous (#3361)
  • BREAKING: Remove useCaip25Permission feature flag and enable behaviour by default (#3413)
  • BREAKING: Use hash private functions for updating internals (#3601)
    • updateSnap, processRequestedSnap and authorize are no longer publicly available functions.
  • Move JSON-RPC request inspection outside of the executor (#3356)
  • Simplify JSON-RPC failure validation (#3661)
  • Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)

Fixed

  • Properly roll back initialConnections (#3618)
  • Display a warning instead of an error when Snaps fail to terminate (#3621)

@metamask/snaps-execution-environments 10.2.2

Changed

@metamask/snaps-jest 9.4.1

Changed

@metamask/snaps-rpc-methods 13.5.2

Changed

  • Reduce JSON validation during state updates (#3660)
    • As part of this change, JSON sizing limits are not longer enforced for preinstalled Snaps.
  • Adjust hooks after interface actions were made synchronous (#3361)
  • Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)

@metamask/snaps-sdk 10.0.0

Changed

@metamask/snaps-simulation 3.4.2

Changed

@metamask/snaps-utils 11.6.0

Added

  • Add IOTA derivation path (#3653)
  • Support byte encoding strings in getJsonSizeUnsafe (#3660)

Changed

@metamask/snaps-webpack-plugin 5.1.1

Fixed

  • Add prettier as a runtime dependency (#3615)