Skip to content

Latest commit

 

History

History
371 lines (222 loc) · 15.8 KB

File metadata and controls

371 lines (222 loc) · 15.8 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.

Added

  • Add support for endowment:messenger (#4055)

Changed

  • Bump @metamask/messenger from ^1.2.0 to ^2.0.0 (#4064)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.3.0 (#4062)
  • Bump @metamask/chain-agnostic-permission from ^1.6.1 to ^1.6.2 (#4036)

Changed

  • Use withKeyringV2Unsafe for accessing entropy (#4009)
  • Bump @metamask/snaps-rpc-methods from 16.0.0 to 17.0.0 (#4020)

Changed

  • Bump @metamask/snaps-rpc-methods from ^15.1.1 to 16.0.0 and handle breaking changes (#3968, #3987, #3993)
  • Bump @metamask/permission-controller 12.3.0 to ^13.1.0 (#3984, #3989)
  • Bump @metamask/json-rpc-engine from ^10.2.4 to ^10.5.0 (#3982, #3992, #3998)
  • Bump @metamask/messenger from ^1.1.1 to ^1.2.0 (#3981)
  • Bump @metamask/chain-agnostic-permission from ^1.5.0 to ^1.6.0 (#3997)

Changed

  • Bump @metamask/messenger from ^0.3.0 to ^1.1.0 (#3930, #3934)
  • Bump @metamask/permission-controller from ^12.2.1 to ^12.3.0 (#3930)

Changed

  • Bump @metamask/snaps-controllers from 18.0.4 to 19.0.0 and handle breaking changes (#3922)

Changed

  • Track whether interface has been displayed before allowing snap_getInterfaceState (#3888)

Changed

  • Remove sourceCode from getSnap implementation (#3777)

Added

  • Add Multichain API support (#3759)

Changed

  • BREAKING: Change default account used by account and asset selector (#3759)
    • The AccountSelector and AssetSelector now use the first account of default secret recovery phrase by default.
  • Bump @metamask/json-rpc-engine from 10.2.0 to 10.2.1 (#3804)

Added

  • Support more chains when simulating Ethereum provider (#3789)

Changed

Added

  • Add support for external images (#3769)

Added

  • Add support for the DateTimePicker component (#3698)
    • The pickDateTime function can be used to interact with the component in tests.
  • Include client versions in snap_getClientStatus (#3724)

Changed

  • Bump @metamask/permission-controller from 12.0.0 to 12.1.1, (#3746, #3714)
  • Bump @metamask/phishing-controller from 13.1.0 to 15.0.0 (#3707)

Changed

  • Bump @metamask/permission-controller from ^11.0.6 to ^12.0.0((#3611)

Removed

  • Remove @metamask/base-controller dependency (#3611)

Added

  • Allow mocking JSON-RPC implementations (#3667)

Changed

Fixed

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

Added

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

Added

  • Add Snap metadata to simulated accounts (#3528)

Added

  • Add support for AssetSelector and AccountSelector (#3462)

Added

  • Add support for onStart (#3455)

Added

  • Add support for onClientRequest (#3445)

Changed

  • BREAKING: Drop support for Node.js 18 and 21 (#3447)
  • Bump @metamask/eth-json-rpc-middleware from 17.0.0 to 17.0.1 (#3427)

Added

  • Add active flag for snap_getClientStatus (#3424)
  • Add support for onProtocolRequest (#3422)

Added

  • Add support for wallet_switchEthereumChain (#2634)
  • Add showTestnets to snap_getPreferences (#3395)

Added

  • Add support for AddressInput (#3312)

Fixed

  • Pass proper origin to handlers (#3292)

Added

  • Add support for getMnemonicSeed hook required by latest RPC methods (#3220)

Changed

  • Bump express to ^4.21.2 (#3196)

Added

  • Add support for SIP-30 (#3156, #3165)
  • Add the interface ID to the return value of getInterface (#3174)

Changed

  • Bump @metamask/phishing-controller from 12.3.2 to 12.4.0 (#3171)
  • Bump @metamask/eth-json-rpc-middleware from 15.2.0 to 15.3.0 (#3148)

Fixed

  • Fix onKeyringRequest not matching the implementation type (#3138)

Added

  • Add additional properties to snap_getPreferences (#3093)

Changed

Fixed

  • Improve unintentionally narrow type for onKeyringRequest helper (#3109)

Added

  • Mock eth_chainId and net_version calls automatically (#3017)

Added

  • BREAKING: Add support for new state methods to snaps-simulation (#2966)
    • The MiddlewareHooks type was removed.
  • Add hideBalances to snap_getPreferences (#2978)
  • Allow unit testing of expanded-view notifications (#2956)
  • Add onBackgroundEvent alias (#2974)

Changed

Added

  • Add waitForUpdate interface action (#2960)
  • Add support for onSettingsPage export (#2911)

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

Added

  • Add interface persistence (#2856)

Added

  • Add function to test onNameLookup (#2857)
  • Add function to test onInstall and onUpdate (#2849)

Changed

  • Bump MetaMask dependencies (#2853)

Added

  • Add support for button form property (#2830)
  • Add function to test onKeyringRequest (#2777)
    • The onKeyringRequest function can be used to test keyring requests.

Removed

  • Remove eth_sign (#2772)
    • This method was removed from the MetaMask extension, so any references to it in Snaps can be removed.

Fixed

  • Add missing dependency on @metamask/snaps-execution-environments (#2791)

Changed

  • Move helper functions to simulation package (#2769)

Fixed

  • Fix invalid exports field (#2740)

Added

  • Initial release of @metamask/snaps-simulation package (#2727)