Skip to content

Releases: MetaMask/core

295.0.0

06 Feb 00:42
8d7c15e
Compare
Choose a tag to compare

@metamask/token-search-discovery-controller 2.0.0

Added

  • Introduce the logoUrl property to the TokenSearchApiService response (#5195)
    • Specifically in the TokenSearchResponseItem type
  • Introduce TokenDiscoveryApiService to keep discovery and search responsibilities separate (#5214)
    • This service is responsible for fetching discover related data
    • Add getTrendingTokens method to fetch trending tokens by chain
    • Add TokenTrendingResponseItem type for trending token responses
  • Export TokenSearchResponseItem type from the package index (#5214)

Changed

  • Bump @metamask/utils to v11.1.0 (#5223)
  • Update the TokenSearchApiService to use the updated URL for searchTokens (#5195)
    • The URL is now /tokens-search instead of /tokens-search/name
  • BREAKING: The searchTokens method now takes a query parameter instead of name (#5195)

294.0.0

05 Feb 16:36
694e6ff
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.19.0

Changed

  • Improve logic & dependencies between profile sync, auth, user storage & notifications (#5275)
  • Rename ControllerMessenger to Messenger (#5242)
  • Bump @metamask/utils to v11.1.0 (#5223)

@metamask/profile-sync-controller 6.0.0

Changed

  • Improve logic & dependencies between profile sync, auth, user storage & notifications (#5275)
  • Mark @metamask/snaps-controllers peer dependency bump as breaking in CHANGELOG (#5267)
  • Fix eslint warnings & errors (#5261)
  • Rename ControllerMessenger to Messenger (#5244)
  • Bump snaps-sdk to v6.16.0 (#5220)
  • BREAKING: Bump @metamask/snaps-controllers peer dependency from ^9.10.0 to ^9.19.0 (#5265)
  • Bump @metamask/snaps-sdk from ^6.16.0 to ^6.17.1 (#5265)
  • Bump @metamask/snaps-utils from ^8.9.0 to ^8.10.0 (#5265)
  • Bump @metamask/keyring-api" from ^16.1.0 to ^17.0.0 (#5280)

Removed

  • BREAKING: Remove metametrics dependencies in UserStorageController (#5278)

293.0.0

04 Feb 20:05
67c7844
Compare
Choose a tag to compare

@metamask/controller-utils 11.5.0

Added

  • Add utility function createServicePolicy for reducing boilerplate for service classes (#5141, #5154, #5143, #5149, #5188, #5192, #5225)
    • Export constants DEFAULT_CIRCUIT_BREAK_DURATION, DEFAULT_DEGRADED_THRESHOLD, DEFAULT_MAX_CONSECUTIVE_FAILURES, and DEFAULT_MAX_RETRIES
    • Export types ServicePolicy and CreateServicePolicyOptions
    • Re-export BrokenCircuitError, CircuitState, handleAll, and handleWhen from cockatiel
    • Export CockatielEvent type, an alias of the Event type from cockatiel

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/eth-json-rpc-provider 4.1.8

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/json-rpc-engine 10.0.3

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

@metamask/network-controller 22.2.0

Added

  • Export AbstractRpcService type (#5263)

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079, #5135)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.5.0 (#5135, #5272)
  • Bump @metamask/eth-json-rpc-provider from ^4.1.6 to ^4.1.8 (#5082, #5272)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.3 (#5082, #5272)
  • Bump @metamask/rpc-errors from ^7.0.1 to ^7.0.2 (#5080)
  • Bump @metamask/utils from ^10.0.0 to ^11.1.0 (#5080, #5223)

Fixed

  • Fix lookupNetwork so that it will no longer throw an error if networkDidChange subscriptions have been removed before it returns (#5116)
    • This error could occur if the NetworkController's messenger is cleared of subscriptions, as in a "destroy" step.
  • Fix race condition so that after adding a new RPC endpoint to a network, it is possible to access the new endpoint inside of a stateChange event listener via getNetworkConfigurationByNetworkClientId (#5122)
  • Fix selectAvailableNetworkClientIds so that it is properly memoized (#5193)

292.0.0

04 Feb 18:55
797b4d9
Compare
Choose a tag to compare

@metamask/earn-controller 0.1.0

Added

  • Initial release (#5271)

291.0.0

04 Feb 11:12
11845aa
Compare
Choose a tag to compare

@metamask/transaction-controller 44.1.0

Changed

  • Rename ControllerMessenger to Messenger (#5234)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

Fixed

  • Prevent transaction resubmit on multiple endpoints (#5262)

290.0.0

30 Jan 12:22
7290a6d
Compare
Choose a tag to compare

@metamask/accounts-controller 22.0.0

Added

  • Add AccountsController:account{AssetList,Balances,Transactions}Updated events (#5190)
    • Those events are being sent from Account Snaps (through the Snap keyring) and are being re-published by the AccountController.

Changed

  • BREAKING: Now requires SnapKeyring:account{AssetList,Balances,Transactions}Updated events to be registered on the messenger (#5190)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/eth-snap-keyring from ^8.1.1 to ^9.1.1 (#5190), (#5208)

@metamask/assets-controllers 47.0.0

Added

  • Add onBreak and onDegraded methods to CodefiTokenPricesServiceV2 (#5109)
    • These serve the same purpose as the onBreak and onDegraded constructor options, but align more closely with the Cockatiel policy API.

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Deprecate ClientConfigApiService constructor options onBreak and onDegraded in favor of methods (#5109)
  • Add @metamask/controller-utils@^11.4.5 as a dependency (#5109)
    • cockatiel should still be in the dependency tree because it's now a dependency of @metamask/controller-utils
  • Re-introduce @metamask/keyring-api as a runtime dependency (#5206)
    • This was required since the introduction of the MultichainBalancesController.
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/keyring-snap-client from ^3.0.0 to ^3.0.3 (#5190), (#5208)

@metamask/keyring-controller 19.0.5

Changed

  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)

@metamask/multichain-transactions-controller 0.1.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)
  • Bump @metamask/keyring-internal-api from ^2.0.1 to ^4.0.1 (#5190), (#5208)
  • Bump @metamask/keyring-snap-client from ^3.0.0 to ^3.0.3 (#5190), (#5208)

@metamask/notification-services-controller 0.18.0

Changed

  • BREAKING: Bump peer dependency @metamask/profile-sync-controller from ^4.0.0 to ^5.0.0 (#5218)

@metamask/profile-sync-controller 5.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)
  • Bump @metamask/keyring-api from ^14.0.0 to ^16.1.0 (#5190), (#5208)

@metamask/transaction-controller 44.0.0

Changed

  • BREAKING: Bump @metamask/accounts-controller peer dependency from ^21.0.0 to ^22.0.0 (#5218)

@metamask/user-operation-controller 23.0.0

Changed

  • BREAKING: Bump @metamask/transaction-controller peer dependency from ^43.0.0 to ^44.0.0 (#5218)

289.0.0

27 Jan 13:48
69b50e9
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.17.0

Changed

  • BREAKING: Bump depenency firebase from ^10.11.0 to ^11.2.0 (#5196)

288.0.0

22 Jan 21:40
77f5051
Compare
Choose a tag to compare

@metamask/multichain 2.1.0

Added

  • Add key Multichain API methods (#4813)
    • Adds getInternalScopesObject and getSessionScopes helpers for transforming between NormalizedScopesObject and InternalScopesObject.
    • Adds handlers for wallet_getSession, wallet_invokeMethod, and wallet_revokeSession methods.
    • Adds multichainMethodCallValidatorMiddleware for validating Multichain API method params as defined in @metamask/api-specs.
    • Adds MultichainMiddlewareManager to multiplex a request to other middleware based on requested scope.
    • Adds MultichainSubscriptionManager to handle concurrent subscriptions across multiple scopes.
    • Adds bucketScopes which groups the scopes in a NormalizedScopesObject based on if the scopes are already supported, could be supported, or are not supportable.
    • Adds getSupportedScopeObjects helper for getting only the supported methods and notifications from each NormalizedScopeObject in a NormalizedScopesObject.

Changed

  • Bump @metamask/controller-utils from ^11.4.4 to ^11.4.5 (#5012)
  • Bump @metamask/permission-controller from ^11.0.4 to ^11.0.5 (#5012)
  • Bump @metamask/utils to ^11.0.1 and @metamask/rpc-errors to ^7.0.2 (#5080)

Fixed

  • Fixes removeScope mutator incorrectly returning malformed CAIP-25 caveat values (#5183).

287.0.0

22 Jan 12:28
dd6b00b
Compare
Choose a tag to compare

@metamask/accounts-controller 21.0.2

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/eth-snap-keyring from ^8.1.0 to ^8.1.1 (#5177)

@metamask/assets-controllers 46.0.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/keyring-snap-client from ^2.0.0 to ^3.0.0 (#5177)

Fixed

  • Fix type issue in ERC721Standard.getDetails (#4985)
    • The image variable now returns a string instead of a promise when the token image uses the 'ipfs://' protocol.
  • Relax NFTs metadata RPC calls (#5134)
    • We now check the number of NFTs to update against a threshold value (500) to avoid sending an excessive amount of RPC calls to fetch NFTs metadata.

@metamask/keyring-controller 19.0.4

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)
  • Bump @metamask/keyring-internal-api from ^2.0.0 to ^2.0.1 (#5177)
  • Bump @metamask/message-manager from ^12.0.0 to ^11.0.3 (#5169)

@metamask/multichain-transactions-controller 0.0.1

Added

@metamask/profile-sync-controller 4.1.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#5177)

286.0.0

21 Jan 19:33
1a79b53
Compare
Choose a tag to compare

@metamask/queued-request-controller 9.0.0

Added

  • BREAKING: createQueuedRequestMiddleware now expects a useRequestQueue option (#5065)
    • This was previously removed in 20.0.0, but has been re-added for compatibility with Mobile.

Changed

  • BREAKING: Bump peer dependency @metamask/selected-network-controller from ^20.0.2 to ^21.0.0 (#5178)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), #5135)
  • Bump @metamask/controller-utils from ^11.4.4 to ^11.4.5 (#5135)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.2 (#5082)
  • Bump @metamask/rpc-errors from ^7.0.1 to ^7.0.2 (#5080)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
    • This upgrade is not a breaking change because this package does not use generateRandomMnemonic.

@metamask/selected-network-controller 21.0.0

Added

  • BREAKING: The SelectedNetworkController constructor now expects both useRequestQueuePreference and onPreferencesStateChange options (#5065)
    • These were previously removed in 20.0.0, but have been re-added for compatibility with Mobile.

Changed

  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.1 (#5079), #5135)
  • Bump @metamask/json-rpc-engine from ^10.0.1 to ^10.0.2 (#5082)
  • Bump @metamask/utils from ^10.0.0 to ^11.0.1 (#5080)
    • This upgrade is not a breaking change because this package does not use generateRandomMnemonic.