Skip to content

Releases: MetaMask/snaps

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)

93.0.0

04 Mar 17:42
9047dbf
Compare
Choose a tag to compare

@metamask/snaps-rpc-methods 11.13.1

Fixed

  • Unlock client before calling getEntropySources in snap_listEntropySources method (#3194)

92.0.0

04 Mar 11:58
4832fd7
Compare
Choose a tag to compare

@metamask/webpack-plugin-example-snap 2.1.4

Fixed

  • Bump test-snaps version (#3192)

91.0.0

03 Mar 11:43
2aadca0
Compare
Choose a tag to compare

@metamask/bip32-example-snap 2.3.0

Added

  • Add support for SIP-30 (#3165)
    • The Snap now has a getEntropySources method that returns an array of
      entropy sources.
    • The existing methods now have an optional source parameter that can be
      used to specify the entropy source to use.

@metamask/bip44-example-snap 2.2.0

Added

  • Add support for SIP-30 (#3165)
    • The Snap now has a getEntropySources method that returns an array of
      entropy sources.
    • The existing methods now have an optional source parameter that can be
      used to specify the entropy source to use.

@metamask/get-entropy-example-snap 2.2.0

Added

  • Add support for SIP-30 (#3165)
    • The Snap now has a getEntropySources method that returns an array of
      entropy sources.
    • The existing methods now have an optional source parameter that can be
      used to specify the entropy source to use.

@metamask/preferences-example-snap 1.0.0

Added

  • Initial release (#3154)

@metamask/snaps-controllers 10.0.1

Changed

  • Log unhandled Snap errors (#3157)
  • Bump @metamask/phishing-controller from 12.3.2 to 12.4.0 (#3171)

Fixed

  • Improve error messaging (#3142)

@metamask/snaps-jest 8.13.0

Added

  • Add support for SIP-30 (#3156, #3165)
  • Add the interface ID to the return value of getInterface (#3174)

@metamask/snaps-rpc-methods 11.13.0

Added

  • Implement SIP-30 (#3156, #3165)
    • This adds a snap_listEntropySources method, which returns a list of
      entropy sources.
    • The snap_get*Entropy methods now accept an optional source parameter to
      specify the entropy source to use.

@metamask/snaps-sdk 6.19.0

Added

  • Implement SIP-30 (#3156, #3165)
    • This adds a snap_listEntropySources method, which returns a list of
      entropy sources.
    • The snap_get*Entropy methods now accept an optional source parameter to
      specify the entropy source to use.

Changed

  • Update documentation of Box crossAlignment property (#3133)

@metamask/snaps-simulation 2.3.0

Added

  • Add support for SIP-30 (#3156, #3165)
  • Add the interface ID to the return value of getInterface (#3174)

Changed

  • Bump @metamask/phishing-controller from 12.3.2 to 12.4.0 (#3171)
  • Bump @metamask/eth-json-rpc-middleware from 15.2.0 to 15.3.0 (#3148)

Fixed

  • Fix onKeyringRequest not matching the implementation type (#3138)

@metamask/snaps-utils 9.0.1

Fixed

  • Improve error messaging (#3142)

90.0.0

18 Feb 13:35
d736d82
Compare
Choose a tag to compare

@metamask/protocol-example-snap 1.0.0

Added

  • Initial release (#3089)

@metamask/snaps-controllers 10.0.0

Changed

  • BREAKING: Use a WebView per Snap on mobile (#3085)
    • WebViewExecutionService now requires createWebView and removeWebView constructor arguments, getWebView is no longer supported.
  • BREAKING: Encode messages in WebViewMessageStream as byte arrays (#3077)
    • A version of the Snaps execution environment that supports this encoding is required.
  • Bump MetaMask dependencies (#3091, #3092, #3084, #3083, #3082, #3050)

Fixed

  • Recreate JSON-RPC request in MultichainRouter (#3086)
  • Properly pass down execution service constructor args (#3110)

@metamask/snaps-execution-environments 7.0.0

Changed

  • BREAKING: Use a WebView per Snap on mobile (#3085)
    • The WebView bundle no longer supports proxy executor calls and functions as a single executor.
  • BREAKING: Encode messages in WebViewMessageStream as byte arrays (#3077)
    • A version of snaps-controllers that supports this encoding is required.
  • Bump MetaMask dependencies (#3091, #3057, #3050)

@metamask/snaps-jest 8.12.0

Changed

Fixed

  • Fix unintentionally narrow type for onKeyringRequest helper (#3109)

@metamask/snaps-rpc-methods 11.12.0

Added

  • Add additional properties to snap_getPreferences (#3093)

Changed

@metamask/snaps-sdk 6.18.0

Added

  • Add additional properties to snap_getPreferences (#3093)
  • Add crossAlignment to Box (#3115)

Changed

@metamask/snaps-simulation 2.2.0

Added

  • Add additional properties to snap_getPreferences (#3093)

Changed

Fixed

  • Improve unintentionally narrow type for onKeyringRequest helper (#3109)

@metamask/snaps-utils 9.0.0

Changed

  • BREAKING: Remove duplicate CAIP types (#3071)
    • The following functions, values, types, and structs were removed from @metamask/snaps-utils:
      • CHAIN_ID_REGEX
      • ACCOUNT_ID_REGEX
      • ACCOUNT_ADDRESS_REGEX
      • parseChainId
      • parseAccountId
      • LimitedString
      • ChainIdStringStruct
      • ChainIdStruct
      • AccountIdStruct
      • AccountIdArrayStruct
      • AccountAddressStruct
      • AccountAddress
      • ChainStruct
      • Chain
      • NamespaceStruct
      • Namespace
      • NamespaceIdStruct
      • NamespaceId
      • isNamespaceId
      • isChainId
      • isAccountId
      • isAccountIdArray
      • isNamespace
  • Bump MetaMask dependencies (#3091, #3082, #3050)

89.0.0

11 Feb 10:05
cbb24ac
Compare
Choose a tag to compare

@metamask/snaps-cli 6.7.0

Added

  • Add --analyze flag to build command to enable bundle analyzer (#3075)