Skip to content

Releases: MetaMask/core

470.0.0

18 Jul 17:43
f1b9848
Compare
Choose a tag to compare

@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

18 Jul 06:31
acd53b9
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.3.0

Uncategorized

  • Seedless onboarding controller: Remove usage of Buffer (#6140)

Added

  • Added a optional param maxKeyChainLength in submitGlobalPassword 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 named revokeRefreshTokenAndUpdateState is added as a replacement.(#6136)

468.0.0

17 Jul 14:13
2433d0e
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.2.0

Added

  • Added a optional param maxKeyChainLength in submitGlobalPassword function.(#6134)

Fixed

  • remove access_token validation when the wallet is locked. (#6133)

467.0.0

16 Jul 15:46
6f7c339
Compare
Choose a tag to compare

@metamask/bridge-controller 36.1.0

Changed

  • Include EVM assetIds in isNativeAddress util when checking whether an address string is a native token (#6076)

466.0.0

15 Jul 19:37
d01a31e
Compare
Choose a tag to compare

@metamask/assets-controllers 72.0.0

Changed

  • Update NftController to use properly exported PhishingControllerBulkScanUrlsAction 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 in isValidQuoteRequest 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

  • Add proper action registration for bulkScanUrls method as PhishingControllerBulkScanUrlsAction (#6105)
  • Export PhishingControllerBulkScanUrlsAction type for external use (#6105)

465.0.0

15 Jul 11:52
ad65ed8
Compare
Choose a tag to compare

@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 of address to retrieve the network of an account. (#6072)

@metamask/seedless-onboarding-controller 2.1.0

Added

  • Added access_token and metadata_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

14 Jul 15:41
525d662
Compare
Choose a tag to compare

@metamask/earn-controller 3.0.0

Changed

  • BREAKING: Removed chainId parameter from refreshPooledStakingVaultMetadata, refreshPooledStakingVaultDailyApys, refreshPooledStakingVaultApyAverages, and refreshPooledStakes methods. (#6106)
  • Bump @metamask/controller-utils from ^11.10.0 to ^11.11.0 (#6069)

463.0.0

10 Jul 14:59
4d531fc
Compare
Choose a tag to compare

@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 both AuthenticationController and UserStorageController's config 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

10 Jul 14:21
a28dc14
Compare
Choose a tag to compare

@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 from ChainConfigurationSchema 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)

Changed

  • BREAKINGscanUrl hits the v2 endpoint now. Returns hostname instead of domainName now. (#5981)
  • Bump @metamask/controller-utils from ^11.10.0 to ^11.11.0 (#6069)

461.0.0

10 Jul 08:07
ca67f74
Compare
Choose a tag to compare

@metamask/seedless-onboarding-controller 2.0.1

Fixed

  • remove buffer usage in seedless controller (#6080)