Skip to content

0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Dec 07:02
· 1283 commits to main since this release
a57a2ed

@metamask/snap-controllers

Added

  • "Endowment" permissions (#152)
  • SnapController endowment permissions support (#155)
  • Network access endowment permission (#154)
  • Snap installation events (#162)

Changed

  • BREAKING: Refactor SnapController to support the new Snaps publishing specification (#140, #157, #163)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull requests for details.
  • BREAKING: Rename Snap name property to id (#147)
  • BREAKING: Introduce the required permissionType field to PermissionController permission specifications (#152)
  • Make SubjectMetadataController subject metadata name optional (#151)

Removed

  • BREAKING: Inline snap functionality (#148)

@metamask/example-snap

Added

  • SVG icon (#163)
    • Adds an icon file at images/icon.svg and a reference to it in snap.manifest.json.

Changed

  • BREAKING: Support the new Snaps publishing specification (#140, #157)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull requests for details.

@metamask/iframe-execution-environment-service

Changed

  • BREAKING: Support the new Snaps publishing specification (#140)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull request for details.
  • BREAKING: Rename Snap name property to id (#147)

@metamask/rpc-methods

Added

  • "Endowment" permissions (#152)

Changed

  • BREAKING: Support the new Snaps publishing specification (#140)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull request for details.
  • BREAKING: Rename Snap name property to id (#147)
  • BREAKING: Update snap_confirm parameters (#158)
  • Improve types and documentation for selectHooks (#149)

Fixed

  • Restricted Snap method origin handling (#150)

@metamask/snap-examples

Changed

  • BREAKING: Support the new Snaps publishing specification (#140)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull request for details.
  • BREAKING: Update all example Snaps per new publishing specification (#157)

Removed

  • BREAKING: "hello-snaps` example (#157)

@metamask/snaps-cli

Added

  • Snap SVG icon support (#163)

Changed

  • BREAKING: Support the new Snaps publishing specification (#140, #160)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull requests for details.
  • BREAKING: Rename Snap name property to id (#147)
  • BREAKING: Update ses to version ^0.15.3 (#159)
    • This will cause behavioral changes for code executed under SES, and may require modifications to code that previously executed without issues.

@metamask/snap-types

Added

  • SnapExecutionData type (#155)

Changed

  • BREAKING: Rename Snap name property to id (#147)

@metamask/snap-workers

Changed

  • BREAKING: Support the new Snaps publishing specification (#140)
    • This introduces several breaking changes to how Snaps are developed, hosted, and represented at runtime. See the specification and the referenced pull requests for details.
  • BREAKING: Rename Snap name property to id (#147)
  • BREAKING: Update ses to version ^0.15.3 (#159)
    • This will cause behavioral changes for code executed under SES, and may require modifications to code that previously executed without issues.