Releases: MetaMask/core
Releases · MetaMask/core
477.0.0
476.0.0
@metamask/account-tree-controller 0.6.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171)
@metamask/accounts-controller 32.0.0
Added
Changed
- BREAKING: Bump peer dependency
@metamask/snaps-controllers
from^12.0.0
to^14.0.0
(#6035) - Bump
@metamask/snaps-sdk
from^7.1.0
to^9.0.0
(#6035) - Bump
@metamask/snaps-utils
from^9.4.0
to^11.0.0
(#6035) - Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146) - Bump
@metamask/keyring-internal-api
from^6.2.0
to^7.0.0
(#6146) - Bump
@metamask/keyring-utils
from^3.0.0
to^3.1.0
(#6146) - Bump
@metamask/eth-snap-keyring
from^13.0.0
to^14.0.0
(#6146) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
@metamask/assets-controllers 73.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/transaction-controller
to^59.0.0
(#6171) - Improved
TokenDetectionController
token handling flow (#6012)- Detected tokens are now implicitly added directly to
allTokens
instead of being added toallDetectedTokens
first - This simplifies the token import flow and improves performance by eliminating the manual UI import step
- Enhanced
TokenDetectionController
to use direct RPC calls when basic functionality is disabled (#6012) - Token detection now falls back to direct RPC calls instead of API-based detection when basic functionality is turned off
- Detected tokens are now implicitly added directly to
- Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146)
Fixed
- Fix
TokenDetectionController
to respect the detection toggle setting (#6012)- Token detection will no longer run when the detection toggle is disabled, even during user refresh operations
- Improved
CurrencyRateController
behavior when basic functionality is disabled (#6012)- Disabled requests to CryptoCompare when basic functionality is turned off to avoid unnecessary API calls
- Improve error handling in
MultichainAssetsRatesController
for Snap request failures (#6104)- Enhanced
#handleSnapRequest
method with detailed error logging and graceful failure recovery - Added null safety checks to prevent crashes when Snap requests return null
- Controller now continues operation when individual Snap requests fail instead of crashing
- Added comprehensive unit tests covering various error scenarios including JSON-RPC errors and network failures
- Enhanced
@metamask/bridge-controller 37.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/assets-controllers
from^72.0.0
to^73.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/transaction-controller
from^58.0.0
to^59.0.0
(#6171), (#6027)
@metamask/bridge-status-controller 37.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/bridge-controller
to^37.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/transaction-controller
to^59.0.0
(#6171), (#6027)
@metamask/delegation-controller 0.6.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
@metamask/earn-controller 4.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171)
@metamask/multichain-account-service 0.2.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171)
@metamask/multichain-network-controller 0.11.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171) - Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146) - Bump
@metamask/keyring-internal-api
from^6.2.0
to^7.0.0
(#6146)
@metamask/multichain-transactions-controller 4.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171) - BREAKING: Bump peer dependency
@metamask/snaps-controllers
from^12.0.0
to^14.0.0
(#6035) - Bump
@metamask/snaps-sdk
from^7.1.0
to^9.0.0
(#6035) - Bump
@metamask/snaps-utils
from^9.4.0
to^11.0.0
(#6035) - Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146) - Bump
@metamask/keyring-internal-api
from^6.2.0
to^7.0.0
(#6146) - Bump
@metamask/keyring-snap-client
from^5.0.0
to^6.0.0
(#6146) - Bump
@metamask/utils
from^11.2.0
to^11.4.2
(#6054)
@metamask/notification-services-controller 15.0.0
Added
- Add
BASE
chain to notification UI config inui/constants.ts
(#6124)
Changed
- BREAKING: Bump peer dependency
@metamask/profile-sync-controller
to^22.0.0
(#6171) - Update push notification utility
getChainSymbol
inget-notification-message.ts
to use UI constants (#6124)
Removed
- BREAKING: Cleanup old config/constants (#6124)
- Remove
NOTIFICATION_CHAINS
constant fromnotification-schema.ts
- Remove
CHAIN_SYMBOLS
constant fromnotification-schema.ts
- Remove
SUPPORTED_CHAINS
constant fromnotification-schema.ts
- Remove
Trigger
type fromnotification-schema.ts
- Remove
TRIGGERS
constant fromnotification-schema.ts
- Remove
@metamask/profile-sync-controller 22.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
from^31.0.0
to^32.0.0
(#6171)
@metamask/signature-controller 32.0.0
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171)
@metamask/transaction-controller 59.0.0
Added
- Add fallback to the sequential hook when
publishBatchHook
returns empty (#6063)
Changed
- BREAKING: Bump peer dependency
@metamask/accounts-controller
to^32.0.0
(#6171)
Fixed
- Normalize transaction
data
to ensure case-insensitive detection (#6102)
@metamask/user-operation-controller 38.0.0
Changed
475.0.0
474.0.0
@metamask/bridge-controller 36.2.0
Changed
- Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146)
@metamask/bridge-status-controller 36.1.0
Added
- Add
restartPollingForFailedAttempts
action to restart polling for txs that are not in a final state but have too many failed attempts (#6149)
Changed
- Bump
@metamask/keyring-api
from^18.0.0
to^19.0.0
(#6146)
Fixed
- Don't poll indefinitely for bridge tx status if the tx is not found. Implement exponential backoff to prevent overwhelming the bridge API. (#6149)
473.0.0
472.0.0
471.0.0
@metamask/account-tree-controller 0.5.0
Changed
- BREAKING: Add
@metamask/account-api
peer dependency (#6115), (#6146) - BREAKING: Types
AccountWallet
andAccountGroup
have been respectively renamed toAccountWalletObject
andAccountGroupObject
(#6115)- Those names are now used by the
@metamask/account-api
package to define higher-level interfaces.
- Those names are now used by the
- BREAKING: Bump peer dependency
@metamask/snaps-controllers
from^12.0.0
to^14.0.0
(#6035) - Bump
@metamask/snaps-sdk
from^7.1.0
to^9.0.0
(#6035) - Bump
@metamask/snaps-utils
from^9.4.0
to^11.0.0
(#6035) - Properly export
AccountWalletCategory
constant and conversion functions (#6062)
Removed
- BREAKING: No longer export
AccountWalletCategory
,toAccountWalletId
,toAccountGroupId
andtoDefaultAccountGroupId
(#6115)- You should now import them from the
@metamask/account-api
package (peer dependency).
- You should now import them from the
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)