Skip to content

Releases: MetaMask/snaps

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)

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)