Releases
v31.0.0
@metamask/snaps-cli 5.0.0
Changed
BREAKING: Disable source maps by default (#2166 )
This slightly speeds up the build process.
You can enable source maps again by setting sourceMap: true
in your Snap config.
Set output.chunkFormat
to commonjs
by default (#2136 )
@metamask/snaps-controllers 5.0.0
Added
Add support for dynamic user interfaces (#1465 , #2126 , #2144 , #2152 , #2143 )
Add support for Snap defined execution timeouts (#2098 )
A Snap can now define maxRequestTime
to extend or shorten its execution timeout.
Add WebViewExecutionService
for mobile execution (#2005 )
Changed
Loosen allowlist requirements (#1672 )
Snaps with certain permissions can now be installed without being allowlisted.
Reintroduce DecompressionStream
for improved installation performance (#2110 )
Bump tar-stream
(#2116 )
This fixes a problem where Snaps would sometimes fail to download from NPM.
Bump several MetaMask dependencies (#2129 , #2132 , #2130 , #2139 , #2142 )
Pass localized snap name to SubjectMetadataController (#2157 )
Removed
BREAKING: Remove endowment permission specifications from this package (#2155 )
They can now be found in snaps-rpc-methods
.
@metamask/snaps-execution-environments 4.0.0
Added
Add WebView execution environment (#2005 )
Add support for dynamic user interfaces (#1465 )
Changed
BREAKING: Stop bundling offscreen execution environment (#2154 )
BREAKING: Deploy multiple bundles to AWS (#2150 )
From now on the bundles will be served at https://execution.metamask.io/%BUILD_TYPE%/%VERSION%/index.html
.
Export ProxySnapExecutor
(#2153 )
Reduce executor bundle sizes (#2160 )
Bump MetaMask dependencies (#2129 , #2132 )
@metamask/snaps-jest 5.0.0
Added
BREAKING: Implement testing framework using Node.js executor (#1982 , #2118 )
The network mocking functionality was removed, but may be reintroduced in a future version.
mockJsonRpc
no longer returns a Promise
.
runCronjob
was renamed to onCronjob
, and sendTransaction
was renamed to onTransaction
.
For backwards compatibility, the old methods are still available, but will be removed in a future version.
Add onHomePage
support (#2104 )
Add onSignature
support (#2114 )
Add snap_getClientStatus
support (#2159 )
Changed
@metamask/snaps-rpc-methods 6.0.0
Added
BREAKING: Add support for dynamic user interfaces (#1465 , #2144 , #2143 )
This adds the snap_createInterface
, snap_updateInterface
, and snap_getInterfaceState
methods.
This is breaking because it changes the expected type of the showDialog
RPC method hook.
BREAKING: Update the permission format for the name lookup endowment (#2113 )
The new format is documented in SIP-12 .
Add endowment permission specifications to this package (#2155 )
Changed
@metamask/snaps-sdk 2.0.0
Changed
BREAKING: Update name lookup API types (#2113 )
The return value and the permission format has changed, see SIP-12 for more details.
Add support for dynamic user interfaces (#1465 , #2126 , #2143 )
Add support for snap defined execution timeouts (#2098 )
Fixed
Fix initial permissions types (#2111 )
@metamask/snaps-utils 6.0.0
Added
Add support for dynamic user interfaces (#1465 , #2126 )
Add support for snap defined execution timeouts (#2098 )
Changed
BREAKING: Update name lookup type validation (#2113 )
The return value and the permission format has changed, see SIP-12 for more details.
Speed up eval-worker for improved CLI performance (#2147 )
Update MetaMask dependencies (#2132 , #2142 )
Fixed
Fix initial permissions types (#2111 )
@metamask/client-status-example-snap 1.0.0
Added
Add snap_getClientStatus
example snap (#2159 )
@metamask/cronjob-example-snap 2.1.1
Changed
Change cronjob interval to run more often (#2164 )
@metamask/name-lookup-example-snap 3.0.0
Changed
BREAKING: Update snap to match new API (#2113 )
This includes updating the permission format in the manifest as well as adjusting the return values.
@metamask/signature-insights-example-snap 1.0.0
Added
Add signature insights example (#2114 )
You can’t perform that action at this time.