Skip to content

Releases: MetaMask/snaps

103.0.0

28 Apr 10:48
e60a89d
Compare
Choose a tag to compare

@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 typedUnion for UserInputEventStruct (#3344)
    • This improves the performance of the UserInputEventStruct type, and allows
      for better error messages when using it.

@metamask/snaps-utils 9.2.1

Fixed

  • Reduce unnecessary validation on responses (#3350)
  • Speed up JSON size calculation (#3348)

102.0.0

23 Apr 13:18
d6d1729
Compare
Choose a tag to compare

@metamask/snaps-cli 7.1.0

Added

  • Add sandbox command to run sandbox tool (#3306)
    • This command allows you to run the Snaps sandbox tool, which is useful for
      quickly testing and debugging Snaps.

Changed

  • Bump @metamask/utils from 11.2.0 to 11.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

16 Apr 13:11
8cf11b2
Compare
Choose a tag to compare

@metamask/wasm-example-snap 2.1.5

Fixed

  • Remove deprecated Browserify options (#3313)

100.0.0

16 Apr 09:42
4f9015f
Compare
Choose a tag to compare

@metamask/send-flow-example-snap 1.1.2

Fixed

  • Add missing displayAvatar props (#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 bundler option 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

@metamask/snaps-controllers 11.2.1

Fixed

  • Make comparision case sensitive in MultichainRouter (#3310)

@metamask/snaps-execution-environments 7.2.1

Fixed

  • Add missing includeMarketData param to onAssetsConversion handler (#3323)

@metamask/snaps-simulation 2.5.0

Added

  • Add support for AddressInput (#3312)

99.0.0

07 Apr 15:39
88142f9
Compare
Choose a tag to compare

@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 onAssetsConversion handler (#3299)
  • Add support for onAssetHistoricalPrice handler (#3282)

Changed

  • Debounce persistence of state updates (#3258)

Fixed

  • Inject context into onUserInput request (#3298)
  • Consider protocol Snaps when determining isSupportedScope (#3284)
  • Validate origin in handleRequest (#3292)
  • Update name and symbol to 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 onAssetsConversion handler (#3299)
  • Add support for onAssetHistoricalPrice handler (#3282)

@metamask/snaps-jest 8.14.1

Fixed

  • Pass proper origin to handlers (#3292)

@metamask/snaps-rpc-methods 12.1.0

Added

  • Add onAssetHistoricalPrice handler (#3282)

@metamask/snaps-sdk 6.22.0

Added

  • Add nonEmptyRecord struct (#3288)
  • Add support for market data to onAssetsConversion handler (#3299)
  • Add support for onAssetHistoricalPrice handler (#3282)

Fixed

  • Improve error messages for AddressStruct (#3270)
  • Improve performance of typedUnion (#3275)
  • Update name and symbol to 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

  • Add ISO 8601 time structs (#3287)
  • Add support for market data to onAssetsConversion handler (#3299)
  • Add support for onAssetHistoricalPrice handler (#3282)

98.0.0

27 Mar 08:24
e871704
Compare
Choose a tag to compare

@metamask/send-flow-example-snap 1.1.1

Changed

  • Use new displayAvatar prop on AddressInput component (#3264, #3267, #3268)

@metamask/snaps-sdk 6.21.0

Added

  • Add displayAvatar prop to AddressInput component (#3264)

97.0.0

26 Mar 11:33
b041605
Compare
Choose a tag to compare

@metamask/snaps-execution-environments 7.1.0

Added

  • Add support for the AddressInput component (#3129)
  • Add support for the AssetSelector component (#3166)

Changed

  • Bump @metamask/snaps from 20.0.0to21.0.0` (#3247)
  • Bump nanoid from 3.1.31 to 3.3.10 (#3228, #3255)

96.0.0

25 Mar 11:53
b941366
Compare
Choose a tag to compare

@metamask/send-flow-example-snap 1.1.0

Changed

  • Use new AddressInput component (#3167)

@metamask/snaps-controllers 11.1.0

Added

  • Add support for the AddressInput component (#3129)
  • Add support for the AssetSelector component (#3166)
  • Add mutex to getSnapState to prevent concurrent decryption (#3234)

Changed

  • Increase Snap interface context size limit slightly (#3246)
  • Bump @metamask/key-tree from 10.1.0 to 10.1.1 (#3254)
  • Bump nanoid from 3.1.31 to 3.3.10 (#3228, #3255)

@metamask/snaps-sdk 6.20.0

Added

  • Add AddressInput component (#3129)
  • Add AssetSelector component (#3166)

Changed

  • Bump @metamask/key-tree from 10.0.2 to 10.1.1 (#3254, #3217)
  • Bump @metamask/providers from 20.0.0 to 21.0.0 (#3247)

@metamask/snaps-utils 9.1.0

Added

  • Add utilities for validating AssetSelector component (#3166)

Changed

  • Bump @metamask/key-tree from 10.0.2 to 10.1.1 (#3254, #3217)

95.0.0

18 Mar 15:11
74b4f45
Compare
Choose a tag to compare

@metamask/snaps-controllers 11.0.1

Fixed

  • Handle withKeyring breaking change in MultichainRouter (#3238)

94.0.0

13 Mar 11:13
aeb9c7d
Compare
Choose a tag to compare

@metamask/snaps-controllers 11.0.0

Changed

  • BREAKING: Use mnemonic seed for state encryption key derivation (#3217)
    • SnapController now expects a getMnemonicSeed hook that must return the BIP-39 seed for the user's primary mnemonic.

@metamask/snaps-jest 8.14.0

Added

  • Add support for getMnemonicSeed hook required by latest RPC methods (#3220)

Changed

  • Bump express to ^4.21.2 (#3196)

@metamask/snaps-rpc-methods 12.0.0

Changed

  • BREAKING: Use mnemonic seed for snap_get*Entropy RPC methods (#3220)
    • A getMnemonicSeed hook is now required to support the RPC methods.
  • Use mnemonic seed for state encryption key derivation (#3217)

@metamask/snaps-simulation 2.4.0

Added

  • Add support for getMnemonicSeed hook required by latest RPC methods (#3220)

Changed

  • Bump express to ^4.21.2 (#3196)