Releases: MetaMask/snaps
Releases · MetaMask/snaps
73.0.0
@metamask/preinstalled-example-snap 0.2.0
Added
- Add some basic logic to make the buttons work (#2829)
@metamask/snaps-cli 6.5.0
Added
- Add support for TypeScript type-checking (#2783)
- This introduces a new configuration option,
typescript.enabled
, which can
be set totrue
to enable TypeScript type-checking. - You can optionally specify a custom
tsconfig.json
file by setting
typescript.configFile
to the path of the file.
- This introduces a new configuration option,
@metamask/snaps-controllers 9.11.1
Fixed
- Pass full URLs to
PhishingController
(#2835) - Ignore Snap insight response if transaction or signature has already been signed (#2825)
@metamask/snaps-jest 8.6.0
Added
- Add function to test
onKeyringRequest
(#2777)- The
onKeyringRequest
function can be used to test keyring requests.
- The
@metamask/snaps-rpc-methods 11.5.0
Removed
- Remove support for JSX in
snap_notify
notifications (#2837)- This is technically a breaking change, but this feature was never actually
implemented, so it should not affect any existing code. - This will be re-implemented in a future release.
- This is technically a breaking change, but this feature was never actually
@metamask/snaps-sdk 6.9.0
Added
- Add
sm
size variant toHeading
component (#2831) - Add
min
,max
andstep
props to numberInput
component (#2821) - Add
Avatar
component (#2820)
Removed
- Remove support for JSX in
snap_notify
notifications (#2837)- This is technically a breaking change, but this feature was never actually
implemented, so it should not affect any existing code. - This will be re-implemented in a future release.
- This is technically a breaking change, but this feature was never actually
@metamask/snaps-simulation 1.2.0
Added
- Add support for button
form
property (#2830) - Add function to test
onKeyringRequest
(#2777)- The
onKeyringRequest
function can be used to test keyring requests.
- The
@metamask/snaps-utils 8.4.1
Fixed
72.0.0
@metamask/snaps-cli 6.4.0
Changed
- Format Snap manifests with Prettier (#2787)
@metamask/snaps-controllers 9.11.0
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
Removed
- Remove
AccountSelector
component (#2794)- This is technically a breaking change, but the
AccountSelector
component was never actually implemented, so it
should not affect any existing code.
- This is technically a breaking change, but the
@metamask/snaps-execution-environments 6.9.1
Removed
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
@metamask/snaps-rpc-methods 11.4.0
Added
- Add
snap_experimentalProviderRequest
JSON-RPC method (#2773)- This method is experimental and will likely be removed in a future release.
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
Fixed
- Use
BigInt
to parse chain IDs (#2781)
@metamask/snaps-sdk 6.8.0
Added
- Add
snap_experimentalProviderRequest
JSON-RPC method (#2773)- This method is experimental and will likely be removed in a future release.
Changed
- Allow updating interface context (#2809)
snap_updateInterface
now accepts acontext
parameter to update the
context of an interface.
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
Removed
- Remove
AccountSelector
component (#2794)- This is technically a breaking change, but the
AccountSelector
component was never actually implemented, so it
should not affect any existing code.
- This is technically a breaking change, but the
@metamask/snaps-simulation 1.1.1
Removed
- Remove
eth_sign
(#2772)- This method was removed from the MetaMask extension, so any references to it
in Snaps can be removed.
- This method was removed from the MetaMask extension, so any references to it
Fixed
- Add missing dependency on
@metamask/snaps-execution-environments
(#2791)
@metamask/snaps-utils 8.4.0
Added
- Add
isSnapId
utility function (#2808)
71.0.0
@metamask/send-flow-example-snap 1.0.0
Changed
- Initial release of the
@metamask/send-flow-example-snap
example.
@metamask/snaps-cli 6.3.4
Changed
@metamask/snaps-controllers 9.10.0
Changed
- Add
AccountSelector
component (#2764, #2768, #2766) - Convert
createWindow
parameters to options bag (#2765)
@metamask/snaps-execution-environments 6.9.0
Changed
- Convert
createWindow
parameters to options bag (#2765)
@metamask/snaps-jest 8.5.0
Changed
- Move helper functions to simulation package (#2769)
@metamask/snaps-rpc-methods 11.3.0
Added
- Add
snap_getCurrencyRate
JSON-RPC method (#2763)
@metamask/snaps-sdk 6.7.0
Added
- Add
snap_getCurrencyRate
JSON-RPC method (#2763) - Add
AccountSelector
component (#2764, #2768) - Add
size
prop to theHeading
component (#2759)
Changed
- Allow
Link
inRow
andAddress
inLink
(#2761)
@metamask/snaps-simulation 1.1.0
Changed
- Move helper functions to simulation package (#2769)
@metamask/snaps-utils 8.3.0
Added
- Add
currency
struct (#2763)
Changed
- Convert
createWindow
parameters to options bag (#2765)
Fixed
- Update
package.json
struct to allowrepository.directory
(#2754)
70.0.0
@metamask/interactive-ui-example-snap 2.3.0
Added
- Add example for
Selector
component (#2724)
Fixed
- Fix wrong address being shown on transaction insights (#2733)
@metamask/snaps-controllers 9.9.0
Added
- Add support for
metamask:
schemed URLs (#2719)
@metamask/snaps-execution-environments 6.8.0
Added
- Add support for
metamask:
schemed URLs (#2719)
@metamask/snaps-rpc-methods 11.2.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
@metamask/snaps-sdk 6.6.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
@metamask/snaps-utils 8.2.0
Added
- Add support for
metamask:
schemed URLs (#2719) - Add support for JSX in
snap_notify
notifications (#2706)
Fixed
- Validate list of emails in
validateLink
function (#2750)
69.0.0
68.0.0
67.0.0
@metamask/snaps-execution-environments 6.7.2
Fixed
- Fix missing execution environment bundles (#2734)
@metamask/snaps-jest 8.4.0
Added
- Add support for selector component (#2724)
- Interfaces now have a
selectFromSelector
function that can be used to
select an option from a selector.
- Interfaces now have a
Changed
- Extract simulation part of
snaps-jest
to separate package (#2727)
@metamask/snaps-simulation 1.0.0
Added
- Initial release of
@metamask/snaps-simulation
package (#2727)
66.0.0
65.0.0
@metamask/create-snap 4.0.4
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-browserify-plugin 4.1.2
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-cli 6.3.3
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-controllers 9.7.0
Added
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-execution-environments 6.7.1
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-jest 8.3.2
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-rollup-plugin 4.1.2
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-rpc-methods 11.1.1
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-sdk 6.5.0
Added
- Add
center
prop toBox
component (#2716) - Add
form
prop toButton
component (#2712)- This allows the
Button
component to be used outside of forms, but still
submit a form when clicked.
- This allows the
Fixed
- Fix invalid types in type declaration in some cases (#2714)
- Fix type issue with
Field
children (#2715)Field
now accepts booleans andnull
as children, in addition to the
existing types.
@metamask/snaps-utils 8.1.1
Fixed
- Fix invalid types in type declaration in some cases (#2714)
@metamask/snaps-webpack-plugin 4.1.2
Fixed
- Fix invalid types in type declaration in some cases (#2714)
64.0.0
@metamask/create-snap 4.0.3
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
@metamask/bip32-example-snap 2.2.1
Fixed
- Bump MetaMask dependencies
@metamask/bip44-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/browserify-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/browserify-plugin-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/client-status-example-snap 1.0.3
Fixed
- Bump MetaMask dependencies
@metamask/cronjob-example-snap 2.1.4
Fixed
- Bump MetaMask dependencies
@metamask/dialog-example-snap 2.3.1
Fixed
- Bump MetaMask dependencies
@metamask/error-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/ethereum-provider-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/ethers-js-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/file-upload-example-snap 1.0.1
Fixed
- Bump MetaMask dependencies
@metamask/get-entropy-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/get-file-example-snap 1.1.3
Fixed
- Bump MetaMask dependencies
@metamask/home-page-example-snap 1.1.3
Fixed
- Bump MetaMask dependencies
@metamask/images-example-snap 1.1.1
Fixed
- Bump MetaMask dependencies
@metamask/interactive-ui-example-snap 2.2.1
Fixed
- Bump MetaMask dependencies
@metamask/consumer-signer-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/core-signer-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/json-rpc-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/jsx-example-snap 1.2.1
Fixed
- Bump MetaMask dependencies
@metamask/lifecycle-hooks-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/localization-example-snap 1.1.4
Fixed
- Bump MetaMask dependencies
@metamask/manage-state-example-snap 2.2.3
Fixed
- Bump MetaMask dependencies
@metamask/name-lookup-example-snap 3.1.1
Fixed
- Bump MetaMask dependencies
@metamask/network-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/notification-example-snap 2.1.4
Fixed
- Bump MetaMask dependencies
@metamask/rollup-plugin-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/signature-insights-example-snap 1.0.3
Fixed
- Bump MetaMask dependencies
@metamask/insights-example-snap 2.2.3
Fixed
- Bump MetaMask dependencies
@metamask/wasm-example-snap 2.1.4
Fixed
- Bump MetaMask dependencies
@metamask/webpack-plugin-example-snap 2.1.3
Fixed
- Bump MetaMask dependencies
@metamask/snaps-browserify-plugin 4.1.1
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
@metamask/snaps-cli 6.3.2
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680)
@metamask/snaps-controllers 9.6.0
Added
- Add
stopAllSnaps
function toSnapController
(#2674)
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)
@metamask/snaps-execution-environments 6.7.0
Changed
- Unblock
wallet_requestSnaps
(#2661)
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)
@metamask/snaps-jest 8.3.1
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)
@metamask/snaps-rollup-plugin 4.1.1
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
@metamask/snaps-rpc-methods 11.1.0
Changed
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)
@metamask/snaps-sdk 6.4.0
Added
Changed
Fixed
- Allow any element as the child of the
Container
component (#2698) - Disallow images and icons in footers (#2676)
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)
@metamask/snaps-utils 8.1.0
Added
- Add Bitcoin Taproot derivation paths (#2695)
Changed
- Improve
validateLink
error handling (#2702)
Fixed
- Fix ESM version of the package (#2682)
- This fixes the ESM version of the package to be fully compliant with the ESM
standard.
- This fixes the ESM version of the package to be fully compliant with the ESM
- Bump
@metamask/utils
from^9.1.0
to^9.2.1
(#2680) - Bump other MetaMask dependencies (#2703)