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.
- Ignore "Premature close" stream messages (#3074)
- Add support for
snap_startTraceandsnap_endTrace(#3547) - Add support for
snap_trackError(#3546) - Add support for
snap_trackEvent(#3546)
- Add Snap metadata to simulated accounts (#3528)
- Add support for
AssetSelectorandAccountSelector(#3462)
- Add support for
onStart(#3455)
- Add support for
onClientRequest(#3445)
- BREAKING: Drop support for Node.js 18 and 21 (#3447)
- Bump
@metamask/eth-json-rpc-middlewarefrom17.0.0to17.0.1(#3427)
- Add support for
AddressInput(#3312)
- Pass proper origin to handlers (#3292)
- Add support for
getMnemonicSeedhook required by latest RPC methods (#3220)
- Bump
expressto^4.21.2(#3196)
- Add support for SIP-30 (#3156, #3165)
- Add the interface ID to the return value of
getInterface(#3174)
- Bump
@metamask/phishing-controllerfrom12.3.2to12.4.0(#3171) - Bump
@metamask/eth-json-rpc-middlewarefrom15.2.0to15.3.0(#3148)
- Fix
onKeyringRequestnot matching the implementation type (#3138)
- Add additional properties to
snap_getPreferences(#3093)
- Improve unintentionally narrow type for
onKeyringRequesthelper (#3109)
- Mock
eth_chainIdandnet_versioncalls automatically (#3017)
- BREAKING: Add support for new state methods to
snaps-simulation(#2966)- The
MiddlewareHookstype was removed.
- The
- Add
hideBalancestosnap_getPreferences(#2978) - Allow unit testing of expanded-view notifications (#2956)
- Add
onBackgroundEventalias (#2974)
- Bump
@metamask/key-treefrom^9.1.2to^10.0.1(#2909)
- Add
snap_getInterfaceContextJSON-RPC method (#2902)
- Add interface persistence (#2856)
- Bump MetaMask dependencies (#2853)
- Add support for button
formproperty (#2830) - Add function to test
onKeyringRequest(#2777)- The
onKeyringRequestfunction can be used to test keyring requests.
- The
- Remove
eth_sign(#2772)- This method was removed from the MetaMask extension, so any references to it in Snaps can be removed.
- Add missing dependency on
@metamask/snaps-execution-environments(#2791)
- Move helper functions to simulation package (#2769)
- Fix invalid
exportsfield (#2740)
- Initial release of
@metamask/snaps-simulationpackage (#2727)