Skip to content

Releases: MetaMask/core

179.0.0

22 Jul 15:15
cc09e4e
Compare
Choose a tag to compare

@metamask/approval-controller 7.0.2

Changed

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/base-controller from ^6.0.1 from ^6.0.2 (#4544)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/base-controller 6.0.2

Changed

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/controller-utils 11.0.2

Changed

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/json-rpc-engine 9.0.2

Changed

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/json-rpc-middleware-stream 8.0.2

Uncategorized

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/permission-controller 11.0.0

Changed

  • BREAKING: Rename enum property names to match PascalCase instead of camelCase (#4521)
    • The affected enums are: CaveatMutatorOperations, MethodNames.
  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/base-controller from ^6.0.1 to ^6.0.2 (#4544)
  • Bump @metamask/controller-utils from ^11.0.1 to ^11.0.2 (#4544)
  • Bump @metamask/json-rpc-engine from ^9.0.1 to ^9.0.2 (#4544)
  • Bump @metamask/utils from ^9.0.0 to ^9.1.0 (#4529)

@metamask/phishing-controller 10.1.1

Changed

  • Bump TypeScript version to ~5.0.4 and set moduleResolution option to Node16 (#3645)
  • Bump @metamask/base-controller from ^6.0.1 to ^6.0.2 (#4544)
  • Bump @metamask/controller-utils from ^11.0.1 to ^11.0.2 (#4544)

178.0.0

19 Jul 16:27
e441444
Compare
Choose a tag to compare

@metamask/notification-services-controller 0.1.2

Added

  • added catch statements in NotificationServicesController to silently fail push notifications (#4536)

  • added checks to see feature announcement environments before fetching announcements (#4530)

Removed

  • removed retries when fetching announcements and wallet notifications. Clients are to handle retries now. (#4531)

@metamask/profile-sync-controller 0.1.4

Added

  • added LoginResponse validation in profile syncing SDK (#4541)

  • added snap caching when calling the message signing snap (#4532)

Removed

  • removed a server-side node dependency from profile-sync-sdk (#4539)

Fixed

  • removed a catch statement call in AuthenticationController to prevent infinite crashes. (#4533)

177.0.0

17 Jul 15:49
30df5f0
Compare
Choose a tag to compare

@metamask/phishing-controller 10.1.0

Added

  • Port PhishingDetector from eth-phishing-detector; add TypeScript types (#4137)
  • Add support for IPFS CID blocking to PhishingDetector (#4465)

Changed

  • Bump @metamask/base-controller to ^6.0.1 (#4517)
  • Bump @metamask/controller-utils to ^11.0.1 (#4517)

176.0.0

16 Jul 22:08
83957e2
Compare
Choose a tag to compare

@metamask/keyring-controller 17.1.1

Changed

  • Bump @metamask/utils to ^9.0.0, @metamask/rpc-errors to ^6.3.1 (#4516)

Fixed

  • Clear encryption salt and key in setLocked and #createNewVaultWithKeyring to ensure that encryption key is always generated with the latest password (#4514)

@metamask/message-manager 10.0.1

Changed

  • Bump @metamask/utils to ^9.0.0, @metamask/rpc-errors to ^6.3.1 (#4516)

Fixed

  • Add EventEmitter type annotation to the hub class field of AbstractMessageManager (#4510)
    • This ensures that hub is not inferred to be a generic type, which would break types for downstream consumers.

175.0.0

16 Jul 10:45
8768a17
Compare
Choose a tag to compare

@metamask/assets-controllers 36.0.0

Added

  • Add optional topBid property to the NftMetadata type. This property must be of type TopBid. (#4522)
  • Add optional floorAsk property to the TokenCollection type. This property must be of type FloorAskCollection. (#4522)
  • Add linea mainnet support to nft detection supported networks (#4515)
  • The Collection type is expanded to include the following 'string'-type optional properties: contractDeployedAt, creator, ownerCount, and an optional property topBid of the type TopBid & { sourceDomain?: string; }. (#4443)

Changed

  • Fetch NFT collections data from the NFT-API Get Collections endpoint when calling the detectNfts method of NftDetectionController, and the updateNftMetadata and watchNft methods of NftController. (#4443)
  • Bump @metamask/utils to ^9.0.0 (#4516)
  • Bump @metamask/rpc-errors to ^6.3.1 (#4516)

Fixed

  • BREAKING: The attributes property of the NftMetadata type must be of type Attributes[] (#4522)
    • The attributes property was added and typed as Attributes on v28.0.0.

174.0.0

15 Jul 12:06
a520e59
Compare
Choose a tag to compare

@metamask/profile-sync-controller 0.1.3

Changed

  • Switch ethers to a devDependency (#4518)

173.0.0

12 Jul 17:04
43db7ac
Compare
Choose a tag to compare

@metamask/eth-json-rpc-provider 4.1.1

Changed

  • Bump @metamask/json-rpc-engine to ^9.0.1 (#4517)
  • Bump @metamask/rpc-errors to ^6.3.1 (#4516)
  • Bump @metamask/utils to ^9.0.0 (#4516)

@metamask/json-rpc-middleware-stream 8.0.1

Changed

  • Bump @metamask/json-rpc-engine to ^9.0.1 (#4517)
  • Bump @metamask/rpc-errors to ^6.3.1 (#4516)
  • Bump @metamask/utils to ^9.0.0 (#4516)

Fixed

  • Fix incorrect notification detection logic (#4427)
    • Previously, response objects with a falsy id property were detected as notifications. Now, we check for the absence of the id property.

172.0.0

11 Jul 19:47
a68021b
Compare
Choose a tag to compare

@metamask/approval-controller 7.0.1

Changed

  • Bump @metamask/rpc-errors from 6.2.1 to ^6.3.1 (#4516)
  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#4516)
  • Bump @metamask/base-controller to ^6.0.1 (#4517)

@metamask/base-controller 6.0.1

Changed

  • Bump @metamask/rpc-errors from 6.2.1 to ^6.3.1 (#4516)
  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#4516)

@metamask/controller-utils 11.0.1

Changed

  • Bump @metamask/rpc-errors from 6.2.1 to ^6.3.1 (#4516)
  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#4516)

@metamask/json-rpc-engine 9.0.1

Changed

  • Bump @metamask/rpc-errors from 6.2.1 to ^6.3.1 (#4516)
  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#4516)

@metamask/permission-controller 10.0.1

Changed

  • Bump @metamask/rpc-errors from 6.2.1 to ^6.3.1 (#4516)
  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#4516)
  • Bump @metamask/base-controller to ^9.0.1 (#4517)
  • Bump @metamask/controller-utils to ^11.0.1 (#4517)
  • Bump @metamask/json-rpc-engine to ^9.0.1 (#4517)

171.0.0

10 Jul 14:52
f02c520
Compare
Choose a tag to compare

@metamask/assets-controllers 35.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)
  • Bump @metamask/polling-controller to ^9.0.0 (#4508)
  • Bump @metamask/accounts-controller to ^17.2.0 (#4498)

Fixed

  • Add support for tokenURI encoded images to NftController methods addNft, watchNft and updateNftMetadata (#4482)

@metamask/ens-controller 13.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)

@metamask/eth-json-rpc-provider 4.1.0

Added

  • Make SafeEventEmitterProvider EIP-1193 compatible by adding a request method (#4422)
    • Now SafeEventEmitterProvider is compatible with @metamask/eth-query, @metamask/ethjs-query, BrowserProvider from Ethers v6 and Web3Provider from Ethers v5

Deprecated

  • Mark sendAsync method as deprecated in favor of request method (#4422)

@metamask/gas-fee-controller 19.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)
  • Bump @metamask/polling-controller to ^9.0.0 (#4508)

@metamask/network-controller 20.0.0

Added

  • Add a new log argument to the constructor (#4440)
    • The new log argument must be a Logger object from the loglevel package and will be used to log a message when we fail to connect to a network or the network responds with an unknown error

Changed

  • BREAKING: Update networksMetadata state property so that the keys in the object will only ever be network client IDs and not RPC URLs (#4254)
    • Some keys could have been RPC URLs if the initial network controller state had a providerConfig with an empty id, but since providerConfig is being removed, that won't happen anymore.
  • Bump @metamask/eth-block-tracker to ^9.0.3 (#4418)
  • Bump @metamask/eth-json-rpc-provider to ^4.1.0 (#4508)

Removed

  • BREAKING: Remove providerConfig property from state along with ProviderConfig type and NetworkController:getProviderConfig messenger action (#4254)
    • The best way to obtain the equivalent configuration object, e.g. to access the chain ID of the currently selected network, is to get selectedNetworkClientId from state, pass this to the NetworkController:getNetworkClientId messenger action, and then use the configuration property on the network client.

@metamask/polling-controller 9.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)

@metamask/queued-request-controller 3.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)
  • BREAKING: Bump peerDependency @metamask/selected-network-controller to ^16.0.0 (#4508)

@metamask/selected-network-controller 16.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)

@metamask/transaction-controller 35.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)
  • BREAKING: Bump peerDependency @metamask/gas-fee-controller to ^19.0.0 (#4508)

@metamask/user-operation-controller 14.0.0

Changed

  • BREAKING: Bump peerDependency @metamask/network-controller to ^20.0.0 (#4508)
  • BREAKING: Bump peerDependency @metamask/gas-fee-controller to ^19.0.0 (#4508)
  • BREAKING: Bump peerDependency @metamask/transaction-controller to ^35.0.0 (#4508)
  • Bump @metamask/polling-controller to ^9.0.0 (#4508)

170.0.0

03 Jul 21:49
a3acb59
Compare
Choose a tag to compare

@metamask/accounts-controller 17.2.0

Added

  • Add internal actions and events to AccountsController (#4496, #4497)
    • Add events AccountsController:accountAdded, AccountsController:accountRemoved, and export corresponding event types AccountsControllerAccountAddedEvent, AccountsControllerAccountRemovedEvent.
    • Export action types AccountsControllerListMultichainAccountsAction, AccountsControllerGetSelectedMultichainAccountAction, AccountsControllerGetNextAvailableAccountNameAction.

Changed

  • Improve support of non-EVM accounts (#4494)
    • We now use listMultichainAccounts instead of listAccounts for non-EVM specific multichain methods
  • Emit selectedAccountChange and update lastSelected for initial account (#4494)

@metamask/gas-fee-controller 18.0.0

Added

  • BREAKING: Add constructor options to GasFeeController: EIP1559APIEndpoint (required), and legacyAPIEndpoint (optional) which defaults to LEGACY_GAS_PRICES_API_URL. (#4446)
    • These URLs are no longer hardcoded within the controller.

Removed

  • BREAKING: Remove infuraAPIKey as a constructor option for GasFeeController. This class field was previously used to construct and send the Authorization header for Infura gas API requests. (#4446)

@metamask/transaction-controller 34.0.0

Changed

  • BREAKING: Bump dependency and peer dependency @metamask/gas-fee-controller to ^18.0.0 (#4498)
  • Bump dependency @metamask/accounts-controller to ^17.2.0 (#4498)

@metamask/user-operation-controller 13.0.0

Changed

  • BREAKING: Bump dependency and peer dependency @metamask/gas-fee-controller to ^18.0.0 (#4498)
  • BREAKING: Bump dependency and peer dependency @metamask/transaction-controller to ^34.0.0 (#4498)