Skip to content

Releases: MetaMask/snaps

0.3.0

05 Nov 22:04
7a18e53
Compare
Choose a tag to compare

@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

01 Oct 20:54
683b32e
Compare
Choose a tag to compare

@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

29 Sep 20:01
a185603
Compare
Choose a tag to compare

@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

29 Sep 19:17
0ce2aa7
Compare
Choose a tag to compare

@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

27 Sep 20:02
60f5890
Compare
Choose a tag to compare

@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

24 Sep 23:10
ad5ed2a
Compare
Choose a tag to compare

@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

09 Sep 00:30
e3a5686
Compare
Choose a tag to compare

@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

31 Aug 20:03
06d5af0
Compare
Choose a tag to compare

@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.

0.0.8

19 Aug 22:06
6a0c84f
Compare
Choose a tag to compare

@mm-snap/iframe-execution-environment-service

Added

  • JSON-RPC error support for iframe execution environment executePlugin (#51)

0.0.7

16 Aug 22:39
e92d2b6
Compare
Choose a tag to compare

@mm-snap/controllers

Fixed

  • Store plugin states in the correct place (#48)
    • Previously, plugin states would be set as top-level keys of the PluginController's state. This broke retrieving plugin states. They are now correctly stored under state.pluginStates.