Skip to content

Releases: MetaMask/snaps

128.0.0

17 Oct 08:50
e246ad7

Choose a tag to compare

@metamask/test-snaps 3.0.0

Changed

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

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)

125.0.0

25 Aug 09:32
e7dbca4

Choose a tag to compare

@metamask/snaps-rpc-methods 13.5.1

Fixed

  • Await sendWebSocketMessage promise (#3608)
    • Errors were not previously being thrown when calling snap_sendWebSocketMessage, this also fixes that.

124.0.0

20 Aug 12:21
d533022

Choose a tag to compare

@metamask/snaps-cli 8.3.0

Added

  • Merge manifest validation reports to include latest validation errors and warnings (#3567)

@metamask/snaps-controllers 14.2.2

Fixed

  • Throw a different error when the NPM registry returns 404 while fetching tarballs (#3602)
  • Prevent logging multiple errors as the cause when a Snap crashes due to an unhandled error (#3569)

@metamask/snaps-utils 11.5.0

Added

  • Merge manifest validation reports to include latest validation errors and warnings (#3567)

Fixed

  • Disable base64 optimization in React Native (#3564)

123.0.0

06 Aug 14:25
fcdb865

Choose a tag to compare

@metamask/snaps-cli 8.2.0

Changed

  • Add support for eval in watch mode (#3553)
    • This enables some extra validation checks in watch mode, which can help
      catch issues earlier in the development process.

@metamask/snaps-controllers 14.2.1

Fixed

  • Prevent double scheduling events and ensure long-running events work correctly (#3561)
  • Emit event when destroying execution environment streams (#3074)
  • Ignore terminate calls to not executing Snaps (#3559)
  • Properly stop Snaps when clearing state (#3552)

@metamask/snaps-execution-environments 10.2.1

Changed

  • Bump ses from 1.13.1 to 1.14.0 (#3557)

Fixed

  • Ignore "Premature close" stream messages (#3074)

@metamask/snaps-simulation 3.4.1

Fixed

  • Ignore "Premature close" stream messages (#3074)

@metamask/snaps-utils 11.4.0

Added

  • Add support for eval in watch mode for Snaps CLI (#3553)

Changed

  • Bump ses from 1.13.1 to 1.14.0 (#3557)

Fixed

  • Fix typos in SnapAuxiliaryFilesStruct variable and SnapAuxiliaryFile type (#3545)
    • SnapAuxilaryFilesStruct and SnapAuxilaryFile are still exported for
      backwards compatibility, but will be removed in a future release.

@metamask/snaps-webpack-plugin 5.1.0

Added

  • Add support for eval in watch mode for Snaps CLI (#3553)

Changed

  • Bump @metamask/utils from 11.4.0 to 11.4.2 (#3516, #3526)

122.0.0

31 Jul 13:16
554d5d0

Choose a tag to compare

@metamask/preinstalled-example-snap 0.7.1

Fixed

  • Add missing testing functionality (#3550)

121.0.0

31 Jul 09:50
e8633e9

Choose a tag to compare

@metamask/preinstalled-example-snap 0.7.0

Added

  • Add trackEvent method for testing snap_trackEvent (#3546)

@metamask/snaps-jest 9.4.0

Added

  • Add support for snap_startTrace and snap_endTrace (#3547)
  • Add support for snap_trackError (#3546)
  • Add support for snap_trackEvent (#3546)

@metamask/snaps-rpc-methods 13.5.0

Changed

  • Use TrackableErrorStruct from @metamask/snaps-utils (#3546)

@metamask/snaps-simulation 3.4.0

Added

  • Add support for snap_startTrace and snap_endTrace (#3547)
  • Add support for snap_trackError (#3546)
  • Add support for snap_trackEvent (#3546)

@metamask/snaps-utils 11.3.0

Changed

  • Move TrackableErrorStruct from @metamask/snaps-rpc-methods for reusability (#3546)

120.0.0

22 Jul 10:49
51c5627

Choose a tag to compare

@metamask/lifecycle-hooks-example-snap 2.3.0

Added

  • Add onActive and onInactive lifecycle hooks (#3542)

@metamask/snaps-controllers 14.2.0

Added

  • Add support for onActive and onInactive lifecycle hooks (#3542)

Changed

  • Bump @metamask/phishing-controller from 12.6.0 to 13.1.0 (#3538)

Fixed

  • Use custom state manager for cronjob controller (#3539)

@metamask/snaps-execution-environments 10.2.0

Added

  • Add support for onActive and onInactive lifecycle hooks (#3542)

@metamask/snaps-rpc-methods 13.4.0

Added

  • Add support onActive and onInactive lifecycle hooks (#3542)

Changed

  • Bump @metamask/rpc-errors from 7.0.2 to 7.0.3 (#3525)
  • Bump @metamask/utils from 11.4.1 to 11.4.2 (#3526)

@metamask/snaps-sdk 9.3.0

Added

  • Add support for onActive and onInactive lifecycle hooks (#3542)
    • These hooks are called when the client is activated or deactivated,
      respectively.

@metamask/snaps-utils 11.2.0

Added

  • Add support for onActive and onInactive lifecycle hooks (#3542)

119.0.0

09 Jul 11:48
75c8329

Choose a tag to compare

@metamask/snaps-cli 8.1.1

Fixed

  • Display CLI minimum version range properly (#3531)

@metamask/snaps-controllers 14.1.0

Added

  • Add support for non-fungible assets to endowment:assets (#3527)
  • Add feature flag to treat local Snaps as preinstalled (#3523)

@metamask/snaps-execution-environments 10.1.0

Added

  • Add non-fungible assets support to onAssetsLookup and onAssetsMarketData (#3527)

@metamask/snaps-jest 9.3.0

Added

  • Add Snap metadata to simulated accounts (#3528)

@metamask/snaps-sdk 9.2.0

Added

  • Add types for non-fungible assets in endowment:assets (#3527)
  • Allow all children in Row (#3532)

@metamask/snaps-simulation 3.3.0

Added

  • Add Snap metadata to simulated accounts (#3528)

@metamask/snaps-utils 11.1.0

Added

  • Add support for non-fungible assets to endowment:assets (#3527)