Skip to content

Releases: MetaMask/snaps

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)

88.0.0

04 Feb 13:04
2bf5452
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.19.1

Fixed

  • Add name and state to ExecutionService and MultichainRouter (#3058)
  • Allow null in the endowment:assets handlers return value (#3056)
  • Rename ControllerMessenger to Messenger (#3053)

@metamask/snaps-sdk 6.17.1

Fixed

  • Allow null in the endowment:assets handlers return value (#3056)

87.0.0

03 Feb 12:06
17a2dc6
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.19.0

Added

  • Add MultichainRouter for SIP-26 (#2875)
  • Add onProtocolRequest support for SIP-26 (#2875)
  • Add getRunnableSnaps action to SnapController (#3049)

Fixed

  • Set name correctly for SnapController (#3052, #3054)

@metamask/snaps-execution-environments 6.14.0

Added

  • Add onProtocolRequest handler (#2875)
  • Add URLSearchParams as a default endowment (#3047)

@metamask/snaps-rpc-methods 11.11.0

Added

  • Add endowment:protocol permission (#2875)

@metamask/snaps-sdk 6.17.0

Added

  • Add types for onProtocolRequest handler (#2875)
  • Add disabled states to all input components (#3030)

Fixed

  • Fix missing JSDocs for Avatar (#3037)

@metamask/snaps-utils 8.10.0

Added

  • Add support for onProtocolRequest handler (#2875)
  • Add URLSearchParams as a default global (#3047)

86.0.0

27 Jan 13:23
c348998
Compare
Choose a tag to compare

@metamask/snaps-utils 8.9.1

Fixed

  • Correct validation for scopes on endowment:assets permission (#3039)

85.0.0

27 Jan 10:33
b9066f7
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.18.0

Added

  • Add support for onAssetsLookup and onAssetsConversion handlers (#3028)

@metamask/snaps-execution-environments 6.13.0

Added

  • Add Intl as a default global (#3035)
  • Add support for onAssetsLookup and onAssetsConversion handlers (#3028)

@metamask/snaps-rpc-methods 11.10.0

Added

  • Add endowment:assets permission (#3028)

@metamask/snaps-sdk 6.16.0

Added

  • Add types for onAssetsLookup and onAssetsConversion handlers (#3028)
  • Add Skeleton component (#3024)
  • Add border radius prop to Image (#3023)

@metamask/snaps-utils 8.9.0

Added

  • Add support for onAssetsLookup and onAssetsConversion handlers (#3028)
  • Add Intl as a default global (#3035)

84.0.0

20 Jan 14:25
657cf53
Compare
Choose a tag to compare

@metamask/snaps-rpc-methods 11.9.1

Fixed

  • Validate state size in snap_setState method (#3025)
  • Improve error messages for snap_manageState and snap_setState methods (#3025)

83.0.0

15 Jan 09:32
c85d1da
Compare
Choose a tag to compare

@metamask/cronjob-example-snap 3.0.0

Added

  • BREAKING: Add new method to cronjob example snap to test durations (#3016)
    • The scheduleNotification RPC method was renamed to scheduleNotificationWithDate.

@metamask/ethereum-provider-example-snap 2.2.1

Fixed

  • Use proper chain ID for signTypedData call (#3013)

@metamask/snaps-jest 8.11.0

Added

  • Mock eth_chainId and net_version calls automatically (#3017)

@metamask/snaps-simulation 2.1.0

Added

  • Mock eth_chainId and net_version calls automatically (#3017)

82.0.0

14 Jan 11:38
493eedc
Compare
Choose a tag to compare

@metamask/cronjob-example-snap 2.2.0

Added

  • Add support for snap_scheduleBackgroundEvent (#2941)

Changed

@metamask/ethereum-provider-example-snap 2.2.0

Added

  • Added support for eth_signTypedData (#2969)

Changed

@metamask/manage-state-example-snap 3.0.0

Added

  • BREAKING: Use snap_getState, snap_setState, snap_clearState methods (#2916)
    • The methods previously exposed by this Snap have been renamed with a legacy_ prefix.

Changed

@metamask/notification-example-snap 2.3.0

Added

  • Add support for expanded view notifications (#2956)

Changed

@metamask/snaps-cli 6.6.1

Changed

  • Bump MetaMask dependencies (#2946)

Fixed

  • Disable nodeEnv optimization in Webpack (#2970)
    • This previously caused issues with overwriting NODE_ENV.

@metamask/snaps-controllers 9.17.0

Added

  • Added support for non-recurring cronjobs via snap_scheduleBackgroundEvent (#2941)

Changed

Fixed

  • Stop storing messenger manually in CronjobController (#3006)

@metamask/snaps-execution-environments 6.12.0

Changed

Fixed

  • Skip unnecesary provider initialization (#2967)

@metamask/snaps-jest 8.10.0

Added

  • Allow unit testing of expanded-view notifications (#2956)
  • Add onBackgroundEvent alias (#2974)

Changed

  • Bump MetaMask dependencies (#2946)

@metamask/snaps-rpc-methods 11.9.0

Added

  • Add support for non-recurring cronjobs via snap_scheduleBackgroundEvent (#2941, #2975)
  • Add snap_getState, snap_setState, snap_clearState RPC methods (#2916)
  • Add hideBalances to snap_getPreferences (#2978)

Changed

@metamask/snaps-sdk 6.15.0

Added

  • Add support for non-recurring cronjobs via snap_scheduleBackgroundEvent (#2941, #2975)
  • Add snap_getState, snap_setState, snap_clearState methods (#2916)
  • Add backgroundColor property to Container component (#2950)
  • Add hideBalances to snap_getPreferences (#2978)

Changed

  • Bump MetaMask dependencies (#2946, #2989)
  • Make jobs property fully optional in the cronjob endowment (#3005)
  • Allow usage of Text in Value props (#2984)

@metamask/snaps-simulation 2.0.0

Added

  • BREAKING: Add support for new state methods to snaps-simulation (#2966)
    • The MiddlewareHooks type was removed.
  • Add hideBalances to snap_getPreferences (#2978)
  • Allow unit testing of expanded-view notifications (#2956)
  • Add onBackgroundEvent alias (#2974)

Changed

@metamask/snaps-utils 8.8.0

Added

  • Add Massa derivation path (#2979)

Changed

@metamask/snaps-webpack-plugin 4.2.1

Changed

  • Bump MetaMask dependencies (#2946)

81.0.0

17 Dec 12:57
aa5f7a1
Compare
Choose a tag to compare

@metamask/preinstalled-example-snap 0.3.0

Added

@metamask/snaps-browserify-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-cli 6.6.0

Added

  • Allow async initialization logic (#2918)
    • Top-level-await is now available in Snaps.
    • WASM modules are instantiated asynchronously.
  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-controllers 9.16.0

Added

  • Add support for onSettingsPage export (#2911)

Fixed

  • Use BigInt for processing insight chain IDs (#2935)

@metamask/snaps-execution-environments 6.11.0

Added

  • Allow Snap exports to have async initialization logic (#2918)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-jest 8.9.0

Added

  • Add waitForUpdate interface action (#2960)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-rollup-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-rpc-methods 11.8.0

Added

  • Add onSettingsPage endowment (#2911)

@metamask/snaps-sdk 6.14.0

Added

  • Add onSettingsPage export (#2911)
  • Add Banner component (#2961)
  • Support fontWeight prop on Text (#2959)
  • Support size prop on Button (#2953)
  • Add loading state for Button (#2930)

Fixed

  • Improve Field validation errors (#2937)

@metamask/snaps-simulation 1.5.0

Added

  • Add waitForUpdate interface action (#2960)
  • Add support for onSettingsPage export (#2911)

@metamask/snaps-utils 8.7.0

Added

  • Add onSettingsPage export (#2911)
  • Automatically add platformVersion to manifest (#2938)

@metamask/snaps-webpack-plugin 4.2.0

Added

  • Automatically add platformVersion to manifest (#2938)