Releases: MetaMask/snaps
Releases · MetaMask/snaps
147.0.0
146.0.0
@metamask/send-flow-example-snap 1.2.1
Changed
- Update interface logic (#3888)
@metamask/snaps-controllers 18.0.3
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-execution-environments 11.0.1
Changed
- Bump
sesfrom1.14.0to1.15.0(#3880)
@metamask/snaps-jest 10.1.1
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-rpc-methods 15.0.0
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
Removed
- BREAKING: Remove
snap_getCurrencyRate(#3866) - BREAKING: Remove
snap_experimentalProviderRequest(#3858)
Fixed
- Require any interface permission to use RPC methods (#3864)
@metamask/snaps-sdk 11.0.0
Changed
- Allow additional icon colors in
Iconcomponent (#3895)- This adds the
warning,error, andsuccesscolors to theIcon
component.
- This adds the
- Move
isSnapErrorandisSerializedSnapErrorto SDK (#3891)
Removed
- BREAKING: Remove
snap_getCurrencyRate(#3866) - BREAKING: Remove deprecated UI builders (#3859)
- BREAKING: Remove
snap_experimentalProviderRequest(#3858)
@metamask/snaps-simulation 4.1.1
Changed
- Track whether interface has been displayed before allowing
snap_getInterfaceState(#3888)
@metamask/snaps-utils 12.1.1
Changed
- Move
isSnapErrorandisSerializedSnapErrorto@metamask/snaps-sdk(#3891)- They are re-exported from this package for backwards compatibility, but will
be removed in a future release.
- They are re-exported from this package for backwards compatibility, but will
@metamask/test-snaps 3.4.1
Changed
- Use latest versions of example Snaps (#3896)
145.0.0
144.0.0
143.0.0
142.0.0
@metamask/snaps-controllers 18.0.0
Added
- BREAKING: Use
StorageServiceto store source code (#3777)
Changed
- BREAKING: Remove
closeAllConnectionsconstructor argument (#3814) - Pass executor parameters by object (#3803)
- Bump
lodashfrom4.17.21to4.17.23(#3821) - Bump
tarfrom7.0.0to7.1.0(#3821) - Bump
@metamask/json-rpc-enginefrom10.2.0to10.2.1(#3804)
Fixed
- Disallow using unconnected accounts in
MultichainRouter(#3837) - Update
SnapControllerstate whenSnapsRegistrychanges (#3828) - Update documentation for
MultichainRouter(#3827) - Manually construct
keyring_resolveAccountAddressrequest (#3822)
@metamask/snaps-execution-environments 11.0.0
Changed
- BREAKING: Pass executor parameters by object (#3803)
@metamask/snaps-jest 10.1.0
Changed
- Remove
sourceCodefromgetSnapimplementation (#3777)
@metamask/snaps-rpc-methods 14.3.0
Added
- Add middleware to validate
wallet_snappermission request (#3838)
Fixed
- Cleanup endowment handling of
maxRequestTime(#3826)
@metamask/snaps-simulation 4.1.0
Changed
- Remove
sourceCodefromgetSnapimplementation (#3777)
@metamask/snaps-utils 12.1.0
Added
Changed
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)