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.
- Add support for
endowment:messenger(#4055)
- Bump
@metamask/messengerfrom^1.2.0to^2.0.0(#4064) - Bump
@metamask/superstructfrom^3.2.1to^3.3.0(#4062) - Bump
@metamask/chain-agnostic-permissionfrom^1.6.1to^1.6.2(#4036)
- Use
withKeyringV2Unsafefor accessing entropy (#4009) - Bump
@metamask/snaps-rpc-methodsfrom16.0.0to17.0.0(#4020)
- Bump
@metamask/snaps-rpc-methodsfrom^15.1.1to16.0.0and handle breaking changes (#3968, #3987, #3993) - Bump
@metamask/permission-controller12.3.0to^13.1.0(#3984, #3989) - Bump
@metamask/json-rpc-enginefrom^10.2.4to^10.5.0(#3982, #3992, #3998) - Bump
@metamask/messengerfrom^1.1.1to^1.2.0(#3981) - Bump
@metamask/chain-agnostic-permissionfrom^1.5.0to^1.6.0(#3997)
- Bump
@metamask/messengerfrom^0.3.0to^1.1.0(#3930, #3934) - Bump
@metamask/permission-controllerfrom^12.2.1to^12.3.0(#3930)
- Bump
@metamask/snaps-controllersfrom18.0.4to19.0.0and handle breaking changes (#3922)
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
- Remove
sourceCodefromgetSnapimplementation (#3777)
- Add Multichain API support (#3759)
- BREAKING: Change default account used by account and asset selector (#3759)
- The
AccountSelectorandAssetSelectornow use the first account of default secret recovery phrase by default.
- The
- Bump
@metamask/json-rpc-enginefrom10.2.0to10.2.1(#3804)
- Support more chains when simulating Ethereum provider (#3789)
- Add support for external images (#3769)
- Add support for the
DateTimePickercomponent (#3698)- The
pickDateTimefunction can be used to interact with the component in tests.
- The
- Include client versions in
snap_getClientStatus(#3724)
- Bump
@metamask/permission-controllerfrom12.0.0to12.1.1, (#3746, #3714) - Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
- Bump
@metamask/permission-controllerfrom^11.0.6to^12.0.0((#3611)
- Remove
@metamask/base-controllerdependency (#3611)
- Allow mocking JSON-RPC implementations (#3667)
- Adjust hooks after changes in RPC method imlementations (#3361, #3660)
- Bump MetaMask dependencies (#3651, #3638, #3648, #3630, #3628, #3629, #3607, #3623, #3612)
- 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)