Skip to content

Latest commit

 

History

History
303 lines (241 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

303 lines (241 loc) · 13.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • No changes this release.

Changed

  • No changes this release.

Added

  • Add placeholder parameter for prompt dialog (#1007)

Fixed

  • Fix snap_getBip32PublicKey manifest validation (#970)

Added

  • Add snap_getEntropy JSON-RPC method (#940)
  • Add permission validation to snap.manifest.json (#910)

Changed

  • BREAKING: Remove wallet_enable and wallet_installSnaps in favor of wallet_requestSnaps (#909)
  • BREAKING: Refactor RPC method params and add tests (#922)

Removed

  • BREAKING: Remove snap_getAppKey (#867)

Changed

  • BREAKING: Bump @metamask/key-tree to 6.0.0 (#918)
    • All hexadecimal values are now prefixed with 0x
    • The package no longer uses Buffer. Because of that some fields have been renamed.

Changed

  • No changes this release.

Added

  • Add JSON-RPC validation for Snap RPC requests (#833)

Changed

  • No changes this release.

Added

  • Add snap_dialog method and deprecate snap_confirm (#799)

Added

  • Add snap_getBip32PublicKey RPC method (#729)

Changed

  • Expose master fingerprints on BIP-32 and SLIP-10 nodes (#773)
    • Accomplished by bumping @metamask/key-tree to 5.0.2
  • Allow deriving child nodes with getBip32Entropy (#751)

Removed

  • BREAKING: Remove deprecated snap_getBip44Entropy_* method (#717)

Fixed

  • Fix race condition in wallet_getSnaps (#756)
  • Fix fingerprint derivation on BIP-32 and SLIP-10 nodes (#773)
    • Accomplished by bumping @metamask/key-tree to 5.0.2

Added

  • BREAKING: Add Transaction Insight API (#642)
  • Add snap_getBip44Entropy RPC method and deprecate snap_getBip44Entropy_* (#690)

Changed

  • BREAKING: Simplify manifest format for permission caveats (#705)

Changed

  • No changes this release.

Added

  • BREAKING: Add snap_getBip32Entropy method (#683)
  • Add new validation and limit for storage (#621)

Changed

  • No changes this release.

Changed

  • Reduce TypeScript compilation target to ES2017 (#628)

Changed

  • BREAKING: Bump minimum Node version to 16 (#601)
  • BREAKING: Replace getRpcMessageHandler action with handleRpcRequest (#497, #557)

Changed

  • No changes this release.

Changed

  • No changes this release.

Changed

  • BREAKING: Increase TypeScript compilation target to ES2020 (#449)
    • This should not be breaking for consumers on any non-deprecated browser or Node.js version.

Added

  • BREAKING: Add in-app notifications (#419)

Changed

  • BREAKING: Bump @metamask/key-tree to 4.0.0 (#446)

Changed

  • No changes this release.

Fixed

  • Fixed an issue with determining whether existing permissions satisfy requested permissions (#402)

Changed

  • BREAKING: Wait for unlock on some RPC methods (#356)
  • BREAKING: Use PermissionController:revokePermissionForAllSubjects (#351)
  • Upgraded TypeScript version to minimum 4.4 (#360)

Fixed

  • BREAKING: Fix prompting for existing permissions (#354)

Changed

  • BREAKING: Bump minimum Node version from 12 to 14 (#331)

Changed

  • No changes this release.

Changed

  • No changes this release.

Changed

  • Throw when trying to invoke a non-installed Snap (#286)

Added

  • snap_notify RPC method (#234)

Changed

  • BREAKING: Enforce JSON-compatibility of snap state (#233)
    • This state was always supposed to be JSON-compatible, and this is now enforced.

Changed

  • @metamask/controllers@^25.1.0 (#207)

Changed

  • No changes this release.

Changed

  • No changes this release.

Changed

  • No changes this release.

Changed

  • BREAKING: Rename restricted method permission builder exports (#171)

Fixed

  • Fix snap_confirm validation logic (#168)
    • 0.6.0 contained a bug where the method would reject most valid parameter combinations.

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)

Added

  • Added title and subtitle to snap_confirm (#145)

Changed

  • BREAKING: Update restricted RPC methods per new PermissionController (#143)
  • BREAKING: Convert all TypeScript interface declarations to type equivalents (#143)
  • Update restricted RPC methods per new permissions system (#143)

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)

Changed

  • No changes this release.

Changed

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

Fixed

  • Package script issues (#97, #98)

Changed

  • Update publish scripts (#92)

Added

  • Readme file (#71)

Changed

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

Changed

  • BREAKING: Migrate CommandEngine message format to JSON-RPC (#11)
  • BREAKING: Use generic execution environment interface (#19)

Added

  • First semi-stable release.