Skip to content

Releases: MetaMask/snaps

0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 19:21
26a1d8d

@metamask/snap-controllers

Added

  • SubjectMetadataController (#61)
  • PermissionController (#132, #141)
  • BREAKING: SnapController: Add max request processing time (#128)

Fixed

  • SnapController: Clean up timeouts after stopping a Snap (#139)
  • WebWorkerExecutionEnvironmentService: Clean up post-termination timeouts (#128)

@metamask/iframe-execution-environment-service

Fixed

  • Clean up post-termination timeouts (#128)

@metamask/rpc-methods

Changed

  • BREAKING: Consolidate Snap state management methods into single method (#135)
    • snap_manageState
  • BREAKING: Replace RPC method and permission description properties with docstrings (#130)

Removed

  • BREAKING: Remove snap_manageAssets (#134)

@metamask/snap-examples

Changed

  • No changes this release.

@metamask/snaps-cli

Fixed

  • Make Windows-compatible (#131)

@metamask/snap-types

Changed

  • No changes this release.

@metamask/snap-workers

Changed

  • No changes this release.

0.3.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 05:52
8132d8e

@metamask/snap-controllers

Changed

  • BREAKING: Update Snap initial states (#126)
    • The idle status is now named installing, and rehydrated snaps will have the status stopped.

Fixed

  • Fix Snap execution and installation bugs (#125)
  • Prevent Snaps from being started before installation is finished (#124)
  • Correctly identify breaking changes in [0.3.0] release (#123)

@metamask/iframe-execution-environment-service

Fixed

  • Correctly identify breaking changes in [0.3.0] release (#123)

@metamask/rpc-methods

Changed

  • No changes this release.

@metamask/snap-examples

Changed

  • No changes this release.

@metamask/snaps-cli

Changed

  • No changes this release.

@metamask/snap-types

Changed

  • No changes this release.

@metamask/snap-workers

Changed

  • No changes this release.

0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 22:04
7a18e53

@metamask/snap-controllers

Added

  • Allow disabling and enabling Snaps (#116)
    • Only enabled Snaps can be started.
  • Start stopped Snaps that receive an RPC message (#114)
  • Add Snap max idle time (#105)
    • A Snap that is idle for more than the max idle time will be stopped.
  • Poll Snaps for their status (#104)
    • If a Snap stops responding, it will be forced to stop.

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)
  • BREAKING: Use the ControllerMessenger to communicate between the SnapController and its execution environment service (#100)

@metamask/iframe-execution-environment-service

Added

  • Poll Snaps for their status (#104)
    • If a Snap stops responding, it will be forced to stop.

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)
  • BREAKING: Use the ControllerMessenger to communicate between the SnapController and its execution environment service (#100)

@metamask/rpc-methods

Changed

  • BREAKING: Make wallet_getBip44Entropy_* implementation safer (#115)
  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)

@metamask/snap-examples

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)

@metamask/snaps-cli

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)

@metamask/snap-types

Added

  • UnresponsiveMessageEvent (#104)
  • ErrorMessageEvent, ServiceMessenger (#100)

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)

@metamask/snap-workers

Changed

  • BREAKING: Enforce consistent naming for Snaps-related functionality (#119)

0.2.2

Choose a tag to compare

@github-actions github-actions released this 01 Oct 20:54
683b32e

@metamask/snap-controllers

Added

  • Added plugin error state (#96)

Fixed

  • Package script issues (#97, #98)

@metamask/iframe-execution-environment-service

Added

  • Plugin error state (#96)

Fixed

  • Package script issues (#97, #98)

@metamask/rpc-methods

Fixed

  • Package script issues (#97, #98)

@metamask/snap-examples

Fixed

  • Package script issues (#97, #98)

@metamask/snaps-cli

Fixed

  • Package script issues (#97, #98)

@metamask/snap-types

Fixed

  • Package script issues (#97, #98)

@metamask/snap-workers

Fixed

  • Package script issues (#97, #98)

0.2.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 20:01
a185603

@metamask/snaps-cli

Fixed

  • Snap produced by mm-snap init (#94)
    • The template used to create the "Hello, world!" snap had become outdated due to a build-time bug.

0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 19:17
0ce2aa7

@metamask/snap-controllers

Changed

  • Update publish scripts (#92)

@metamask/iframe-execution-environment-service

Changed

  • Update publish scripts (#92)

@metamask/rpc-methods

Changed

  • Update publish scripts (#92)

@metamask/snap-examples

Changed

  • Update publish scripts (#92)

@metamask/snaps-cli

Changed

  • Update publish scripts (#92)

@metamask/snap-types

Changed

  • Update publish scripts (#92)

@metamask/snap-workers

Changed

  • Update publish scripts (#92)

0.1.2

Choose a tag to compare

@github-actions github-actions released this 27 Sep 20:02
60f5890

@metamask/snap-controllers

Changed

  • Restore name of handshake method to ping (#90)

@metamask/iframe-execution-environment-service

Changed

  • Restore name of handshake method to ping (#90)

@metamask/snap-workers

Changed

  • Restore name of handshake method to ping (#90)

0.1.1

Choose a tag to compare

@github-actions github-actions released this 24 Sep 23:10
ad5ed2a

@metamask/snap-controllers

Added

  • Out of band error support (#88)

Changed

  • @metamask/controllers@17.0.0 (#87)

@metamask/iframe-execution-environment-service

Added

  • Out of band error support (#88)

@metamask/snap-examples

Added

  • Add missing publish scripts to new packages

Changed

  • Fix examples compatibility issues

@metamask/snaps-cli

Added

  • Missing publish scripts to new packages

0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 00:30
e3a5686

@metamask/snap-controllers

Added

  • Readme file (#71)

Changed

  • (BREAKING) Rename package to @metamask/snap-controllers (#73)

@metamask/iframe-execution-environment-service

Added

  • License and readme files (#71)

Changed

  • (BREAKING) Rename package to @metamask/iframe-execution-environment-service (#73)

@metamask/rpc-methods

Added

  • Readme file (#71)

Changed

  • (BREAKING) Rename package to @metamask/rpc-methods (#73)

@metamask/snap-examples

Changed

  • Initial release (#72)
    • This package was previously a subset of snaps-cli, which has been renamed to @metamask/snaps-cli.
    • Some examples have been deleted because they were outdated.

@metamask/snaps-cli

Changed

  • (BREAKING) Rename package to @metamask/snaps-cli (#72)
    • This package was previously named snaps-cli.
    • As part of the renaming, and due to the scope of the changes to both this package and MetaMask Snaps generally, its versioning and changelog have been reset. The original changelog can be found here.

Removed

@metamask/snap-types

Added

  • Readme file (#71)

Changed

  • (BREAKING) Rename package to @metamask/snap-types (#73)

@metamask/snap-workers

Changed

  • (BREAKING) Rename package to @metamask/snap-workers (#73)

0.0.9

Choose a tag to compare

@github-actions github-actions released this 31 Aug 20:03
06d5af0

@mm-snap/controllers

Added

  • PluginController: Always persist plugin isRunning state as false (#64)
    • Plugins are not automatically running on boot, and we should never persist this state as true.

Changed

  • (BREAKING) @metamask/controllers@15.0.0 (#66)
    • This may cause incompatibilities with other versions of the @metamask/controllers package.