Releases: MetaMask/snaps
Releases · MetaMask/snaps
Release list
104.0.0
@metamask/snaps-controllers 12.0.0
Added
- Add Snap export usage metrics (#3281)
Changed
- Bump
@metamask/post-message-streamfrom9.0.0to10.0.0(#3322) - Bump
@metamask/base-controllerfrom8.0.0to8.0.1(#3365)
Removed
- BREAKING: Remove web worker execution service (#3371)
Fixed
- Catch cronjob errors during initialization (#3373)
- Clear unencrypted Snap state when resetting the client (#3382)
@metamask/snaps-execution-environments 8.0.0
Changed
- BREAKING: Build Snaps execution environments with Webpack (#3322)
- The execution environments are now in
dist/webpackinstead of
dist/browserify. - The
node-processandnode-threadenvironments can now be imported as
@metamask/snaps-execution-environments/node-processand
@metamask/snaps-execution-environments/node-threadrespectively.
- The execution environments are now in
- Change request notification order (#3381)
- Bump
@metamask/post-message-streamfrom9.0.0to10.0.0(#3322) - Bump
@metamask/providersfrom22.0.1to22.1.0(#3363)
Removed
- BREAKING: Remove web worker execution environment (#3371)
@metamask/snaps-rpc-methods 12.2.0
Added
- Add
snap_trackEventmethod (#3375)
Changed
- Bump
@metamask/utilsfrom11.2.0to11.3.0(#3232)
@metamask/snaps-sdk 6.23.0
Added
- Add
snap_trackEventmethod (#3375)
Changed
- Bump
@metamask/providersfrom22.0.1to22.1.0(#3363)
@metamask/snaps-utils 9.2.2
Changed
103.0.0
@metamask/snaps-controllers 11.2.3
Fixed
- Use more performant function to determine if message is a notification (#3352)
- Stop unnecessarily encoding messages in web view executor (#3347)
@metamask/snaps-execution-environments 7.2.2
Fixed
- Reduce unnecessary validation on responses (#3350)
- Return early from executor if possible to avoid unnecessary checks (#3349)
- Stop unnecessarily encoding messages in web view executor (#3347)
@metamask/snaps-sdk 6.22.1
Fixed
- Use
typedUnionforUserInputEventStruct(#3344)- This improves the performance of the
UserInputEventStructtype, and allows
for better error messages when using it.
- This improves the performance of the
@metamask/snaps-utils 9.2.1
Fixed
102.0.0
@metamask/snaps-cli 7.1.0
Added
- Add
sandboxcommand to run sandbox tool (#3306)- This command allows you to run the Snaps sandbox tool, which is useful for
quickly testing and debugging Snaps.
- This command allows you to run the Snaps sandbox tool, which is useful for
Changed
- Bump
@metamask/utilsfrom11.2.0to11.4.0(#3232)
@metamask/snaps-controllers 11.2.2
Fixed
- Increase size of request queue when Snap is starting up (#3340)
@metamask/snaps-sandbox 1.0.0
Added
- Initial release of this package (#3345)
101.0.0
100.0.0
@metamask/send-flow-example-snap 1.1.2
Fixed
- Add missing
displayAvatarprops (#3312)
@metamask/snaps-cli 7.0.0
Changed
- BREAKING: Remove deprecated Browserify configuration (#3313)
- The Browserify bundler is no longer supported. Snaps using the Browserify
bundler will need to be migrated to the new configuration format based on
Webpack. - The
bundleroption in the Snap configuration file was removed, and the CLI
will show an error if it's used in config. - Several command line flags that were used to configure the Browserify
bundler were removed.- Use the config file to provide these options instead.
- The removed options are:
--bundle--dist--eval--manifest--outfileName--root--sourceMaps--src--stripComments--suppressWarnings--transpilationMode--depsToTranspile--verboseErrors--writeManifest--serve
- The Browserify bundler is no longer supported. Snaps using the Browserify
@metamask/snaps-controllers 11.2.1
Fixed
- Make comparision case sensitive in MultichainRouter (#3310)
@metamask/snaps-execution-environments 7.2.1
Fixed
- Add missing
includeMarketDataparam toonAssetsConversionhandler (#3323)
@metamask/snaps-simulation 2.5.0
Added
- Add support for
AddressInput(#3312)
99.0.0
@metamask/interactive-ui-example-snap 2.4.0
Added
- Add disabled state (#3293)
@metamask/snaps-controllers 11.2.0
Added
- Add support for market data to
onAssetsConversionhandler (#3299) - Add support for
onAssetHistoricalPricehandler (#3282)
Changed
- Debounce persistence of state updates (#3258)
Fixed
- Inject
contextintoonUserInputrequest (#3298) - Consider protocol Snaps when determining
isSupportedScope(#3284) - Validate origin in
handleRequest(#3292) - Update
nameandsymbolto be optional in a fungible asset type (#3300) - Stop refreshing phishing list when updating interfaces (#3272)
@metamask/snaps-execution-environments 7.2.0
Added
- Add support for market data to
onAssetsConversionhandler (#3299) - Add support for
onAssetHistoricalPricehandler (#3282)
@metamask/snaps-jest 8.14.1
Fixed
- Pass proper origin to handlers (#3292)
@metamask/snaps-rpc-methods 12.1.0
Added
- Add
onAssetHistoricalPricehandler (#3282)
@metamask/snaps-sdk 6.22.0
Added
- Add
nonEmptyRecordstruct (#3288) - Add support for market data to
onAssetsConversionhandler (#3299) - Add support for
onAssetHistoricalPricehandler (#3282)
Fixed
- Improve error messages for
AddressStruct(#3270) - Improve performance of
typedUnion(#3275) - Update
nameandsymbolto be optional in fungible asset types (#3300)
@metamask/snaps-simulation 2.4.1
Fixed
- Pass proper origin to handlers (#3292)
@metamask/snaps-utils 9.2.0
Added
98.0.0
97.0.0
96.0.0
@metamask/send-flow-example-snap 1.1.0
Changed
- Use new
AddressInputcomponent (#3167)
@metamask/snaps-controllers 11.1.0
Added
- Add support for the
AddressInputcomponent (#3129) - Add support for the
AssetSelectorcomponent (#3166) - Add mutex to
getSnapStateto prevent concurrent decryption (#3234)
Changed
- Increase Snap interface context size limit slightly (#3246)
- Bump
@metamask/key-treefrom10.1.0to10.1.1(#3254) - Bump
nanoidfrom3.1.31to3.3.10(#3228, #3255)
@metamask/snaps-sdk 6.20.0
Added
Changed
- Bump
@metamask/key-treefrom10.0.2to10.1.1(#3254, #3217) - Bump
@metamask/providersfrom20.0.0to21.0.0(#3247)
@metamask/snaps-utils 9.1.0
Added
- Add utilities for validating
AssetSelectorcomponent (#3166)
Changed
95.0.0
@metamask/snaps-controllers 11.0.1
Fixed
- Handle
withKeyringbreaking change inMultichainRouter(#3238)