Releases: MetaMask/snaps
Releases · MetaMask/snaps
141.0.0
140.0.0
139.0.0
@metamask/multichain-provider-example-snap 1.0.0
Added
- Initial release (#3813)
@metamask/snaps-cli 8.4.0
Added
- Add
--manifestoption for custom manifests (#3793, #3811)- This is currently only supported for the
watchcommand, andbuild
command for preinstalled Snaps (when used with the--preinstalledflag).
- This is currently only supported for the
- Allow manifest to extend another manifest (#3802)
- For example, you could have a
snap.manifest.jsonfile with common fields,
and asnap.manifest.dev.jsonfile that extends it with
development-specific fields:and// snap.manifest.json { "version": "1.0.0", "proposedName": "My Snap", "initialPermissions": { "endowment:network-access": {} } }
When running// snap.manifest.dev.json { "extends": "./snap.manifest.json", "proposedName": "My Snap (development)", "initialConnections": { "https://localhost:8000": {} } }
mm-snap watch --manifest snap.manifest.dev.json, the
resulting manifest will combine the fields from both files.
- For example, you could have a
- Add
--preinstalledflag to build command to create preinstalled Snap bundle (#3805)
@metamask/snaps-execution-environments 10.4.0
Added
- Add Multichain API support (#3759)
Changed
- Bump
@metamask/json-rpc-enginefrom10.2.0to10.2.1(#3804) - Bump
@metamask/utilsfrom11.8.1to11.9.0(#3783)
@metamask/snaps-jest 10.0.0
Added
- Add Multichain API support (#3759)
Changed
- 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
@metamask/snaps-rollup-plugin 5.0.1
Changed
- Bump
@metamask/snaps-utilsfrom11.7.1to12.0.0(#3793)
@metamask/snaps-rpc-methods 14.2.0
Added
- Add Multichain API support (#3759)
Changed
- Bump
@metamask/json-rpc-enginefrom10.2.0to10.2.1(#3804) - Bump
@metamask/permission-controllerfrom12.1.0to12.2.0(#3746, #3791) - Bump
@metamask/utilsfrom11.8.1to11.9.0(#3783)
Fixed
- Prevent concurrent
wallet_requestSnapsrequests (#3800)
@metamask/snaps-sdk 10.4.0
Added
- Add Multichain API support (#3759)
Changed
- Bump
@metamask/utilsfrom11.8.1to11.9.0(#3783)
@metamask/snaps-simulation 4.0.0
Added
- Add Multichain API support (#3759)
Changed
- 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)
@metamask/snaps-utils 12.0.0
Added
- Add
loadManifestfunction to load extendable manifests (#3793)
Changed
- BREAKING: Allow manifest to extend another manifest (#3802)
checkManifestnow returnsExtendableSnapFiles, containing a manifest
that may extend another manifest.
- BREAKING: Require path to manifest instead of directory in
checkManifestfunction (#3793)
@metamask/snaps-webpack-plugin 5.1.2
Changed
- Bump
@metamask/snaps-utilsfrom11.7.1to12.0.0(#3793)
@metamask/test-snaps 3.4.0
Added
- Add multichain provider example (#3759)
Changed
- Use latest versions of example Snaps (#3813)
138.0.0
@metamask/ethereum-provider-example-snap 3.0.0
Added
- Add
getGenesisBlockmethod for getting genesis block (#3788)
Removed
- Remove unused RPC methods:
getGasPriceandgetVersion(#3788)
@metamask/snaps-controllers 17.2.1
Changed
Fixed
@metamask/snaps-jest 9.8.0
Added
- Support more chains when simulating Ethereum provider (#3789)
Changed
@metamask/snaps-simulation 3.8.0
Added
- Support more chains when simulating Ethereum provider (#3789)
Changed
@metamask/snaps-utils 11.7.1
Changed
- Use
sha256utility from@metamask/utils(#3781) - Bump MetaMask dependencies (#3783, #3748, #3791)
- Fix some typos in the documentation (#3739)
Fixed
- Ensure iframe load listener is removed (#3797)
@metamask/test-snaps 3.3.0
Added
- Add
getGenesisBlockRPC method button (#3788)
Changed
- Use latest versions of example Snaps (#3798)
137.0.0
@metamask/images-example-snap 1.2.0
Added
- Use external images (#3769)
@metamask/snaps-controllers 17.2.0
Added
Changed
- Skip updating registry if signature has not changed (#3779)
@metamask/snaps-jest 9.7.0
Added
- Add support for external images (#3769)
@metamask/snaps-sdk 10.3.0
Added
- Add support for external images (#3769)
@metamask/snaps-simulation 3.7.0
Added
- Add support for external images (#3769)
@metamask/snaps-utils 11.7.0
Added
- Add support for external images (#3769)
@metamask/test-snaps 3.2.0
Changed
- Use latest versions of example Snaps (#3780)
136.0.0
135.0.0
134.0.0
@metamask/interactive-ui-example-snap 2.5.0
Added
- Add example for
DateTimePickercomponent (#3698)
@metamask/snaps-controllers 17.1.0
Added
- Add support for
DateTimePickercomponent (#3698)
Changed
- Bump
@metamask/permission-controllerfrom12.1.0to12.1.1(#3746)
Fixed
- Use
no-cachefor fetching registry (#3760)
@metamask/snaps-execution-environments 10.3.0
Added
- Add support for
DateTimePickercomponent (#3698)
Changed
@metamask/snaps-jest 9.6.0
Added
- Add support for the
DateTimePickercomponent (#3698)- The
pickDateTimefunction can be used to interact with the component in tests.
- The
Changed
- Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
@metamask/snaps-sdk 10.2.0
Added
- Add
DateTimePickercomponent (#3698) - Move
ISO8601DateStructfrom@metamask/snaps-utilsto@metamask/snaps-sdk(#3698)
@metamask/snaps-simulation 3.6.0
Added
- 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)
Changed
- Bump
@metamask/permission-controllerfrom12.0.0to12.1.1(#3746), (#3714) - Bump
@metamask/phishing-controllerfrom13.1.0to15.0.0(#3707)
@metamask/snaps-utils 11.6.2
Changed
- Move
ISO8601DateStructto@metamask/snaps-sdkand re-export it for backwards compatibility (#3698) - Bump
@metamask/snaps-registryfrom3.2.3to3.3.0(#3737) - Bump
@metamask/permission-controllerfrom12.1.0to12.1.1(#3746) - Bump
@metamask/permission-controllerfrom12.0.0to12.1.0(#3714)
@metamask/test-snaps 3.1.0
Added
- Use EIP-6963 for
test-snaps(#3757)
Fixed
- Move
test-snapsdependencies to devDependencies (#3758)
133.0.0
@metamask/snaps-controllers 17.0.0
Added
- BREAKING: Ensure user has onboarded before allowing usage of SnapController (#3731)
- This is breaking as it adds a new required constructor argument to
SnapControllercalledensureOnboardingComplete.
- This is breaking as it adds a new required constructor argument to
- BREAKING: Support specified
clientVersionsin the registry (#3737)- This is breaking as it adds a new required constructor argument to
JsonSnapsRegistrycalledclientConfig.
- This is breaking as it adds a new required constructor argument to
@metamask/snaps-rpc-methods 14.1.1
Fixed
- Use mutex when modifying state using
snap_setState(#3742)