Releases: MetaMask/snaps
Releases · MetaMask/snaps
59.0.0
58.0.0
@metamask/snaps-controllers 9.3.1
Changed
- Bump
@metamask/approval-controller
from^7.0.0
to^7.0.2
(#2593) - Bump
@metamask/base-controller
from^6.0.1
to^6.0.2
(#2593) - Bump
@metamask/json-rpc-engine
from^9.0.0
to^9.0.2
(#2593) - Bump
@metamask/json-rpc-middleware-stream
from^8.0.0
to^8.0.2
(#2593) - Bump
@metamask/permission-controller
from^10.0.1
to^11.0.0
(#2593) - Bump
@metamask/phishing-controller
from^10.0.0
to^10.1.1
(#2593) - Bump
@metamask/snaps-utils
from^7.8.0
to^7.8.1
(#2595)
@metamask/snaps-execution-environments 6.6.2
Changed
- Bump
@metamask/json-rpc-engine
from^9.0.0
to^9.0.2
(#2593) - Bump
@metamask/snaps-utils
from^7.8.0
to^7.8.1
(#2595)
@metamask/snaps-rpc-methods 10.0.1
Changed
- Bump
@metamask/json-rpc-engine
from^9.0.0
to^9.0.2
(#2593) - Bump
@metamask/permission-controller
from^10.0.1
to^11.0.0
(#2593) - Bump
@metamask/snaps-utils
from^7.8.0
to^7.8.1
(#2595)
@metamask/snaps-utils 7.8.1
Changed
57.0.0
@metamask/snaps-controllers 9.3.0
Added
- Add
snap_resolveInterface
RPC method to theSnapInterfaceController
(#2509) - Add
SnapInsightsController
(#2555)
Changed
- Bump
@metamask/base-controller
from^6.0.0
to^6.0.1
(#2445) - Bump
@metamask/permission-controller
from^10.0.0
to^10.0.1
(#2445) - Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#2445) - Bump
@metamask/snaps-registry
from^3.1.0
to^3.2.1
(#2445) - Bump
@metamask/snaps-rpc-methods
to^10.0.0
(#2589) - Bump
@metamask/snaps-sdk
to^6.1.0
(#2589) - Bump
@metamask/snaps-utils
to^7.8.0
(#2589) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#2445) - Bump peer dependency
@metamask/snaps-execution-environments
to^6.6.1
(#2589)
Fixed
- Handle initial connections for preinstalled Snaps (#2591)
- Account for revoked origins when calculating the difference in
initialConnections
(#2535)- Fixes issue of revoking permissions that are already revoked.
- Enables revoked connections to be highlighted as being re-added in the UI.
- Enforce stricter size limits for source code, static auxiliary files, and
snap_getFile
return values (#2527)- Prevent communication failures by enabling compliance with JSON-RPC extension message requirements.
@metamask/snaps-execution-environments 6.6.1
Changed
- Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#2445) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#2445)
Fixed
- Replace
superstruct
with ESM-compatible@metamask/superstruct
^3.1.0
(#2445)- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16
orNodeNext
as itsmoduleResolution
option.
- This fixes the issue of this package being unusable by any TypeScript project that uses
- Set
@metamask/providers
from^17.0.0
to17.0.0
(#2445)17.1.0
and17.1.1
introduce regressions.
56.0.0
@metamask/snaps-rpc-methods 10.0.0
Added
- BREAKING:
snap_dialog
now takes therequestUserApproval
hook (#2509)- It should bind to the
addAndShowRequest
method of theApprovalController
. - Add type
DialogApprovalTypes
and objectDIALOG_APPROVAL_TYPES
.
- It should bind to the
Changed
- Bump
@metamask/key-tree
from^9.1.1
to^9.1.2
(#2445) - Bump
@metamask/permission-controller
from^10.0.0
to^10.0.1
(#2445) - Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#2445) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#2445)
Fixed
- Replace
superstruct
with ESM-compatible@metamask/superstruct
^3.1.0
(#2445)- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16
orNodeNext
as itsmoduleResolution
option.
- This fixes the issue of this package being unusable by any TypeScript project that uses
@metamask/snaps-sdk 6.1.0
Added
- Add non-restricted RPC method
snap_resolveInterface
(#2509)- This method allows a Snap to resolve a given user interface bound to a
snap_dialog
with a custom value. - Add new types
ResolveInterfaceParams
,ResolveInterfaceResult
.
- This method allows a Snap to resolve a given user interface bound to a
- Add
Card
component (#2480) - Add
BoxChildStruct
,FormChildStruct
,FieldChildUnionStruct
(#2409) - Add
Container
andFooter
components (#2517)
Changed
- Update
RootJSXElement
to allowContainer
orBox
at the root (#2526) - Bump
@metamask/key-tree
from^9.1.1
to^9.1.2
(#2445) - Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#2445) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#2445)
Fixed
- Replace
superstruct
with ESM-compatible@metamask/superstruct
^3.1.0
(#2445)- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16
orNodeNext
as itsmoduleResolution
option.
- This fixes the issue of this package being unusable by any TypeScript project that uses
- Set
@metamask/providers
from^17.0.0
to17.0.0
(#2445)17.1.0
and17.1.1
introduce regressions.
@metamask/snaps-utils 7.8.0
Added
- Move
serialiseJsx
function fromsnaps-jest
tosnaps-utils
(#2409)
Changed
- Bump
@metamask/base-controller
from^6.0.0
to^6.0.1
(#2445) - Bump
@metamask/key-tree
from^9.1.1
to^9.1.2
(#2445) - Bump
@metamask/permission-controller
from^10.0.0
to^10.0.1
(#2445) - Bump
@metamask/rpc-errors
from^6.2.1
to^6.3.1
(#2445) - Bump
@metamask/snaps-registry
from^3.1.0
to^3.2.1
(#2445) - Bump
@metamask/utils
from^8.3.0
to^9.1.0
(#2445)
Fixed
55.0.0
54.0.0
53.0.0
@metamask/snaps-cli 6.2.1
Fixed
- Improve validation of
endowment:rpc
(#2512)
@metamask/snaps-controllers 9.1.0
Added
- Add
Checkbox
component (#2501) - Add
FileInput
component (#2469) - Support additional components inside forms (#2497)
@metamask/snaps-execution-environments 6.5.0
Added
Fixed
- Support parameters in
setTimeout
andsetInterval
(#2513)
@metamask/snaps-jest 8.2.0
Added
- Add support for
Checkbox
tosnaps-jest
(#2515)- Checkboxes can be interacted with using
clickElement
.
- Checkboxes can be interacted with using
- Add support for
FileInput
tosnaps-jest
(#2494)- Files can be uploaded to file inputs using
uploadFile
.
- Files can be uploaded to file inputs using
@metamask/snaps-rpc-methods 9.1.4
Changed
- Bump MetaMask dependencies (#2516)
@metamask/snaps-sdk 6.0.0
Added
- BREAKING: Add
FileInput
component (#2469, #2504)FormSubmitEvent
may now contain values of typeFile
.
- BREAKING: Add
Checkbox
component (#2501)FormSubmitEvent
andInputChangeEvent
may now contain values of typeboolean
.
- Add
alignment
prop toText
(#2489) - Add
Tooltip
component (#2490) - Support additional components inside forms (#2497)
- Support conditional children in most JSX components (#2506)
@metamask/snaps-utils 7.7.0
Added
- Support conditional children in most JSX components (#2506)
- Support additional components inside forms (#2497)
Fixed
- Improve validation of
endowment:rpc
(#2512)
@metamask/file-upload-example-snap 1.0.0
Added
@metamask/interactive-ui-example-snap 2.1.0
Added
- Add
Checkbox
to interactive UI example (#2515)
@metamask/jsx-example-snap 1.1.0
Added
- Add
Tooltip
to JSX example (#2498)
52.0.0
@metamask/snaps-controllers 9.0.0
Changed
- BREAKING: Defer creation of offscreen document in
OffscreenExecutionService
(#2473) - Update
onNameLookup
response to includedomainName
(#2484) - Bump MetaMask dependencies (#2460)
Fixed
- Properly decrypt legacy state blobs (#2472)
@metamask/snaps-execution-environments 6.4.0
Changed
@metamask/snaps-jest 8.1.3
Changed
@metamask/snaps-rpc-methods 9.1.3
Changed
- Bump MetaMask dependencies (#2460)
@metamask/snaps-sdk 5.0.0
Added
Changed
- Update
onNameLookup
response types (#2484)
Removed
- BREAKING: Remove
parseSvg
andisSvg
internals (#2475)
Fixed
- Correct Row variant in JSX (#2486)
- Revert requiring at least one child in JSX components (#2481, #2470)
- Correct docs for
Input
andDropdown
(#2479)
@metamask/snaps-utils 7.6.0
Added
- Support nested children in JSX (#2482)
Changed
Fixed
- Fix a problem with converting legacy UIs that used
row()
(#2486) - Revert requiring at least one child in JSX components (#2470)
@metamask/name-lookup-example-snap 3.1.0
Changed
- Update
onNameLookup
response to includedomainName
(#2484)
51.0.0
@metamask/snaps-controllers 8.4.0
Added
- Add
hidden
flag for preinstalled Snaps (#2463)
Fixed
- Use first Dropdown option as the default value (#2465)
@metamask/snaps-sdk 4.4.2
Fixed
- Require at least 1 child in JSX components (#2466)
@metamask/snaps-utils 7.5.0
Added
Fixed
- Require at least 1 child in JSX components (#2466)
50.0.0
@metamask/snaps-controllers 8.3.1
Fixed
- Fix
react-native
export for tools that don't supportpackage.json
exports (#2451)
@metamask/snaps-jest 8.1.2
Fixed
- Fix invalid
@metamask/snaps-sdk
imports (#2452)
@metamask/snaps-rpc-methods 9.1.2
Fixed
- Fix invalid
@metamask/snaps-sdk
imports (#2452)
@metamask/snaps-sdk 4.4.1
Fixed
- Fix invalid
@metamask/snaps-sdk
imports (#2452)
@metamask/snaps-utils 7.4.1
Fixed
- Fix invalid
@metamask/snaps-sdk
imports (#2452)