Releases: MetaMask/core
Releases · MetaMask/core
470.0.0
@metamask/network-controller 24.0.1
Changed
- Requests to an RPC endpoint that returns a 502 response ("bad gateway") will now be retried (#5923)
- All JSON-RPC errors that represent 4xx and 5xx responses from RPC endpoints now include the HTTP status code under
data.httpStatus
(#5923) - 3xx responses from RPC endpoints are no longer treated as errors (#5923)
- Bump
@metamask/controller-utils
from^11.10.0
to^11.11.0
(#6069) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
Fixed
- If an RPC endpoint returns invalid/unparseable JSON, it is now represented as a JSON-RPC error with code -32700 (parse error) instead of -32603 (internal error) (#5923)
- If an RPC endpoint returns a 401 response, it is now represented as a JSON-RPC error with code -32006 (unauthorized) instead of -32603 (internal error) (#5923)
- If an RPC endpoint returns a 405 response, it is now represented as a JSON-RPC error with code -32080 (client error) instead of -32601 (method not found) (#5923)
- If an RPC endpoint returns a 402, 404, or 5xx response, it is now represented as a JSON-RPC error with code -32002 (resource unavailable error) instead of -32603 (internal error) (#5923)
- If an RPC endpoint returns a 4xx response besides 401, 402, 404, 405, or 429, it is now represented as a JSON-RPC error with code -32080 (client error) instead of -32603 (internal error) (#5923)
- Improve detection of partial JSON responses from RPC endpoints (#5923)
- Fix "Request cannot be constructed from a URL that includes credentials" error when using RPC endpoints with embedded credentials (#6116)
469.0.0
@metamask/seedless-onboarding-controller 2.3.0
Uncategorized
- Seedless onboarding controller: Remove usage of
Buffer
(#6140)
Added
- Added a optional param
maxKeyChainLength
insubmitGlobalPassword
function.(#6134) - Separated vault update logic from
revokeRefreshToken
,revokeRefreshToken
now accepts a revokeToken instead of password. (#6134)
Changed
revokeRefreshToken
is removed and a private function namedrevokeRefreshTokenAndUpdateState
is added as a replacement.(#6136)
468.0.0
467.0.0
466.0.0
@metamask/assets-controllers 72.0.0
Changed
- Update
NftController
to use properly exportedPhishingControllerBulkScanUrlsAction
type from@metamask/phishing-controller
(#6105) - Bump dev dependency
@metamask/phishing-controller
to^13.1.0
(#6120)
@metamask/bridge-controller 36.0.0
Changed
- Bump
@metamask/multichain-network-controller
from^0.9.0
to^0.10.0
(#6114) - BREAKING Require
destWalletAddress
inisValidQuoteRequest
if bridging to or from Solana (#6091) - Bump
@metamask/assets-controllers
to^72.0.0
(#6120)
@metamask/bridge-status-controller 36.0.0
Changed
- Bump
@metamask/bridge-controller
to^36.0.0
(#6120)
@metamask/phishing-controller 13.1.0
Added
465.0.0
@metamask/multichain-network-controller 0.10.0
Changed
- Bump
@metamask/controller-utils
from^11.10.0
to^11.11.0
(#6069) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
Fixed
- Use
scopes
instead ofaddress
to retrieve the network of an account. (#6072)
@metamask/seedless-onboarding-controller 2.1.0
Added
- Added
access_token
andmetadata_access_token
in seedless controller state. (#6060)access_token
can be used by profile sync pairing and for other apis access after wallet is unlocked.metadata_access_token
is used to give access for web3auth metadata apis.
464.0.0
463.0.0
@metamask/notification-services-controller 14.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/profile-sync-controller
to^21.0.0
(#6100)
@metamask/profile-sync-controller 21.0.0
Added
- Add performance tracing to user storage syncing operations (contacts and accounts) (#6050)
- Add
env
options in bothAuthenticationController
andUserStorageController
'sconfig
constructor param (#6082)- This will let consumers choose to use prod, dev or UAT environments for Identity operations
Removed
- BREAKING: Remove schema enforcement for user storage paths (#6075)
- This will improve DX by preventing developers from having to update the schema before using the SDK or Controllers for their features.
- BREAKING: Remove network syncing code (#6081)
- This code has never been used in production, and won't likely be used in the future
- Remove
@metamask/network-controller
dependency and peerDependency
462.0.0
@metamask/assets-controllers 71.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/phishing-controller
to^13.0.0
(#6098)
@metamask/bridge-controller 35.0.0
Added
- Add an optional
isSingleSwapBridgeButtonEnabled
feature flag that indicates whether Swap and Bridge entrypoints should be combined (#6078)
Changed
- BREAKING: Bump peer dependency
@metamask/assets-controllers
from^69.0.0
to^71.0.0
(#6061, #6098) - BREAKING: Bump peer dependency
@metamask/snaps-controllers
from^12.0.0
to^14.0.0
(#6035) - BREAKING Remove
isSnapConfirmationEnabled
feature flag fromChainConfigurationSchema
validation (#6077) - Bump
@metamask/controller-utils
from^11.10.0
to^11.11.0
(#6069) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
@metamask/bridge-status-controller 35.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/bridge-controller
to^35.0.0
(#6098) - BREAKING Submit Solana transactions using
onClientRequest
RPC call by default, which hides the Snap confirmation page from clients. Clients will need to remove conditional redirect the the confirmation page on tx submission (#6077) - Bump
@metamask/controller-utils
from^11.10.0
to^11.11.0
(#6069) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
@metamask/phishing-controller 13.0.0
Added
- Exports
UrlScanCacheEntry
(#6095)