Skip to content

Releases: MetaMask/snaps

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)

80.0.0

04 Dec 11:09
f1d3cd6
Compare
Choose a tag to compare

@metamask/notification-example-snap 2.2.0

Changed

  • Add link to notification example (#2915)

@metamask/snaps-cli 6.5.4

Fixed

  • Bundle and initialize WASM modules using Base64 encoding (#2913)

@metamask/snaps-controllers 9.15.0

Added

  • Add clientCryptography property for specifying custom cryptography functions (#2909)

@metamask/snaps-jest 8.8.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-rpc-methods 11.7.0

Added

  • Add JSX content property to snap_notify (#2881)
    • This content will be displayed in an upcoming expanded view for notifications.
  • Add getClientCryptography hook for specifying custom cryptography functions (#2909)

@metamask/snaps-sdk 6.13.0

Added

  • Add size prop to Text (#2908)
  • Add JSX content property to snap_notify (#2881)
    • This content will be displayed in an upcoming expanded view for notifications.

Changed

  • Allow Field in Box (#2926)
  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-simulation 1.4.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

@metamask/snaps-utils 8.6.1

Changed

  • Bump @metamask/key-tree from ^9.1.2 to ^10.0.1 (#2909)

79.0.0

25 Nov 10:11
a5714d5
Compare
Choose a tag to compare

@metamask/snaps-controllers 9.14.0

Added

  • Emit snapInstalled and snapUpdated events for preinstalled Snaps (#2900)
    • This indirectly makes preinstalled Snaps trigger cronjobs and lifecycle hooks more reliably.

@metamask/snaps-jest 8.8.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-rpc-methods 11.6.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-sdk 6.12.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

@metamask/snaps-simulation 1.4.0

Added

  • Add snap_getInterfaceContext JSON-RPC method (#2902)

78.0.0

20 Nov 09:44
406f7a2
Compare
Choose a tag to compare

@metamask/snaps-cli 6.5.3

Fixed

  • Ignore query strings when parsing URLs (#2883)

@metamask/snaps-controllers 9.13.0

Added

  • Add interface persistence (#2856)

Changed

  • Use arrayBuffer for fetching local Snaps (#2884)
    • This fixes some incompatiblities with React Native.

@metamask/snaps-execution-environments 6.10.0

Added

  • Add isSecureContext global (#2893)

Fixed

  • Remove unnecessary proxy for provider globals (#2850)
  • Make fetch responses an instance of Response (#2889)

@metamask/snaps-jest 8.7.1

Added

  • Add interface persistence (#2856)

@metamask/snaps-sdk 6.11.0

Added

  • Add support for Address in Card title (#2894)

@metamask/snaps-simulation 1.3.1

Added

  • Add interface persistence (#2856)

@metamask/snaps-utils 8.6.0

Added

  • Add isSecureContext global (#2893)

77.0.0

11 Nov 10:31
87234d3
Compare
Choose a tag to compare

@metamask/snaps-utils 8.5.2

Fixed

  • Add line beginning to origin regex (#2876)

76.0.0

01 Nov 09:26
90b8e43
Compare
Choose a tag to compare

@metamask/snaps-utils 8.5.1

Fixed

  • Use regular import to reference package.json (#2871)

75.0.0

31 Oct 12:41
965b265
Compare
Choose a tag to compare

@metamask/snaps-cli 6.5.2

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-controllers 9.12.0

Added

  • Add platform version field to manifest (#2803)

Changed

  • Bump MetaMask dependencies (#2853)

Fixed

  • Stop unnecesarily validating JSON for stored state (#2845)
  • Reduce unnecessary JSON validation (#2844)

@metamask/snaps-execution-environments 6.9.2

Changed

  • Bump MetaMask dependencies (#2853)

Fixed

  • Reduce unnecessary JSON validation (#2844)

@metamask/snaps-jest 8.7.0

Added

  • Add function to test onNameLookup (#2857)
  • Add function to test onInstall and onUpdate (#2849)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-rpc-methods 11.5.1

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-sdk 6.10.0

Added

  • Add snap_getCurrencyRate to SnapMethods (#2843)
  • Add truncate, displayName and avatar props to Address component (#2833)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-simulation 1.3.0

Added

  • Add function to test onNameLookup (#2857)
  • Add function to test onInstall and onUpdate (#2849)

Changed

  • Bump MetaMask dependencies (#2853)

@metamask/snaps-utils 8.5.0

Added

  • Add platform version field to manifest (#2803)
  • Add Kadena derivation path (#2851)

Changed

  • Bump MetaMask dependencies (#2853)