Skip to content

Releases: MetaMask/snaps

104.0.0

Choose a tag to compare

@github-actions github-actions released this 08 May 09:22
e8a6f38

@metamask/snaps-controllers 12.0.0

Added

  • Add Snap export usage metrics (#3281)

Changed

  • Bump @metamask/post-message-stream from 9.0.0 to 10.0.0 (#3322)
  • Bump @metamask/base-controller from 8.0.0 to 8.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/webpack instead of
      dist/browserify.
    • The node-process and node-thread environments can now be imported as
      @metamask/snaps-execution-environments/node-process and
      @metamask/snaps-execution-environments/node-thread respectively.
  • Change request notification order (#3381)
  • Bump @metamask/post-message-stream from 9.0.0 to 10.0.0 (#3322)
  • Bump @metamask/providers from 22.0.1 to 22.1.0 (#3363)

Removed

  • BREAKING: Remove web worker execution environment (#3371)

@metamask/snaps-rpc-methods 12.2.0

Added

  • Add snap_trackEvent method (#3375)

Changed

  • Bump @metamask/utils from 11.2.0 to 11.3.0 (#3232)

@metamask/snaps-sdk 6.23.0

Added

  • Add snap_trackEvent method (#3375)

Changed

  • Bump @metamask/providers from 22.0.1 to 22.1.0 (#3363)

@metamask/snaps-utils 9.2.2

Changed

  • Bump @metamask/post-message-stream from 9.0.0 to 10.0.0 (#3322)
  • Bump @metamask/base-controller from 8.0.0 to 8.0.1 (#3365)

103.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Apr 10:48
e60a89d

@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

Choose a tag to compare

@github-actions github-actions released this 23 Apr 13:18
d6d1729

@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

Choose a tag to compare

@github-actions github-actions released this 16 Apr 13:11
8cf11b2

@metamask/wasm-example-snap 2.1.5

Fixed

  • Remove deprecated Browserify options (#3313)

100.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Apr 09:42
4f9015f

@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

Choose a tag to compare

@github-actions github-actions released this 07 Apr 15:39
88142f9

@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

Choose a tag to compare

@github-actions github-actions released this 27 Mar 08:24
e871704

@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

Choose a tag to compare

@github-actions github-actions released this 26 Mar 11:33
b041605

@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

Choose a tag to compare

@github-actions github-actions released this 25 Mar 11:53
b941366

@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

Choose a tag to compare

@github-actions github-actions released this 18 Mar 15:11
74b4f45

@metamask/snaps-controllers 11.0.1

Fixed

  • Handle withKeyring breaking change in MultichainRouter (#3238)