From 233b70529b824140df893a89fd80701425066194 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 12:36:26 +0200 Subject: [PATCH 01/32] Initialize Release 161.0.0 --- packages/accounts-controller/CHANGELOG.md | 9 +++++++++ packages/address-book-controller/CHANGELOG.md | 5 +++++ packages/approval-controller/CHANGELOG.md | 4 ++++ packages/assets-controllers/CHANGELOG.md | 20 +++++++++++++++++++ packages/base-controller/CHANGELOG.md | 4 ++++ packages/chain-controller/CHANGELOG.md | 4 ++++ packages/composable-controller/CHANGELOG.md | 4 ++++ packages/controller-utils/CHANGELOG.md | 4 ++++ packages/ens-controller/CHANGELOG.md | 5 +++++ packages/gas-fee-controller/CHANGELOG.md | 5 +++++ packages/keyring-controller/CHANGELOG.md | 7 +++++++ packages/logging-controller/CHANGELOG.md | 4 ++++ packages/message-manager/CHANGELOG.md | 4 ++++ packages/name-controller/CHANGELOG.md | 4 ++++ packages/network-controller/CHANGELOG.md | 6 ++++++ packages/notification-controller/CHANGELOG.md | 4 ++++ packages/permission-controller/CHANGELOG.md | 4 ++++ .../permission-log-controller/CHANGELOG.md | 4 ++++ packages/phishing-controller/CHANGELOG.md | 5 +++++ packages/polling-controller/CHANGELOG.md | 4 ++++ packages/profile-sync-controller/CHANGELOG.md | 4 ++++ .../queued-request-controller/CHANGELOG.md | 4 ++++ packages/rate-limit-controller/CHANGELOG.md | 4 ++++ .../selected-network-controller/CHANGELOG.md | 4 ++++ packages/signature-controller/CHANGELOG.md | 4 ++++ packages/transaction-controller/CHANGELOG.md | 11 ++++++++++ .../user-operation-controller/CHANGELOG.md | 4 ++++ 27 files changed, 145 insertions(+) diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index 2ec126b7d7..847b27249a 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- fix: remove setting new account as the last selected account ([#4363](https://github.com/MetaMask/core/pull/4363)) +- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- fix: use listMultichainAccount in getAccountByAddress ([#4375](https://github.com/MetaMask/core/pull/4375)) +- fix: remove mock export ([#4369](https://github.com/MetaMask/core/pull/4369)) +- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) + ## [16.0.0] ### Changed diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index 0ce44eb48b..a6af50b178 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- upgrade address book controller to base controller v2 ([#4392](https://github.com/MetaMask/core/pull/4392)) +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [5.0.0] ### Changed diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index ef5cf06d1c..1c1297ec91 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [7.0.0] ### Changed diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index fad9153b82..1bb52041e1 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- upgrade TokenRatesController to BaseControllerV2 ([#4314](https://github.com/MetaMask/core/pull/4314)) +- refactor: update Nft Controllers to use selectedAccountId instead of selectedAddress ([#4221](https://github.com/MetaMask/core/pull/4221)) +- refactor: update account tracker to use selected account ([#4225](https://github.com/MetaMask/core/pull/4225)) +- [TokenRatesController] - Keep addresses in checksum format ([#4377](https://github.com/MetaMask/core/pull/4377)) +- fix: avoid multiple calls to refresh nft metadata ([#4325](https://github.com/MetaMask/core/pull/4325)) +- feat: add mantle to price api supported chains ([#4376](https://github.com/MetaMask/core/pull/4376)) +- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) +- fix: remove value from price api call ([#4364](https://github.com/MetaMask/core/pull/4364)) +- TokenListController: providerConfig -> selectedNetworkClientId ([#4316](https://github.com/MetaMask/core/pull/4316)) +- TokensController: providerConfig -> selectedNetworkClientId ([#4353](https://github.com/MetaMask/core/pull/4353)) +- AccountTrackerController: Remove ref to providerConfig ([#4306](https://github.com/MetaMask/core/pull/4306)) +- AssetsContractController: providerConfig -> selectedNetworkClientId ([#4315](https://github.com/MetaMask/core/pull/4315)) +- fix: fix market data of assets controller if no data ([#4361](https://github.com/MetaMask/core/pull/4361)) +- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) +- fix: Mutex never gets released on refresh function of AccountTrackerController ([#4270](https://github.com/MetaMask/core/pull/4270)) + ## [32.0.0] ### Changed diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index 801dc144f6..a0fbe3c78f 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [6.0.0] ### Changed diff --git a/packages/chain-controller/CHANGELOG.md b/packages/chain-controller/CHANGELOG.md index b518709c7b..aa3bbdf581 100644 --- a/packages/chain-controller/CHANGELOG.md +++ b/packages/chain-controller/CHANGELOG.md @@ -7,4 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) + [Unreleased]: https://github.com/MetaMask/core/ diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index a074b1488b..fcff4a3ccb 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [7.0.0] ### Changed diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index fbbca40d6b..74420a82b2 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [11.0.0] ### Added diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index 89f1a1bfab..69121a2d15 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- EnsController: providerConfig -> selectedNetworkClientId ([#4354](https://github.com/MetaMask/core/pull/4354)) + ## [12.0.0] ### Changed diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index 19e0ef69e7..db21bba0f1 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- GasFeeController: providerConfig -> selectedNetworkClientId ([#4356](https://github.com/MetaMask/core/pull/4356)) + ## [17.0.0] ### Changed diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index c5a7a20070..709b38e230 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- feat: Allow overwriting built-in keyring builders ([#4362](https://github.com/MetaMask/core/pull/4362)) +- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) + ### Changed - Deprecate QR keyring methods ([#4365](https://github.com/MetaMask/core/pull/4365)) diff --git a/packages/logging-controller/CHANGELOG.md b/packages/logging-controller/CHANGELOG.md index 006f42b4e0..e1e0eb24c4 100644 --- a/packages/logging-controller/CHANGELOG.md +++ b/packages/logging-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [5.0.0] ### Changed diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index 1cb9b3b848..d73dded835 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [10.0.0] ### Changed diff --git a/packages/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index 1d76978d49..9fd65909ef 100644 --- a/packages/name-controller/CHANGELOG.md +++ b/packages/name-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [8.0.0] ### Changed diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index 8e76f49010..ca4e2d1b35 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) +- AssetsContractController: providerConfig -> selectedNetworkClientId ([#4315](https://github.com/MetaMask/core/pull/4315)) + ## [19.0.0] ### Changed diff --git a/packages/notification-controller/CHANGELOG.md b/packages/notification-controller/CHANGELOG.md index 182d9021cc..bf891e6295 100644 --- a/packages/notification-controller/CHANGELOG.md +++ b/packages/notification-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [6.0.0] ### Changed diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index c768e0c80d..1462b5509e 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [10.0.0] ### Changed diff --git a/packages/permission-log-controller/CHANGELOG.md b/packages/permission-log-controller/CHANGELOG.md index ad1ff6dd12..7d4a356779 100644 --- a/packages/permission-log-controller/CHANGELOG.md +++ b/packages/permission-log-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [3.0.0] ### Changed diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index 4c88127577..8aa1d3fcd6 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- [phishing-controller] Add `PhishingDetector` from `eth-phishing-detector` ([#4137](https://github.com/MetaMask/core/pull/4137)) + ## [10.0.0] ### Changed diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index 35d0580fb3..d935102599 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [8.0.0] ### Changed diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index b518709c7b..8b485bb2d7 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,4 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + [Unreleased]: https://github.com/MetaMask/core/ diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index d714aae7a9..d23562d9d3 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Release 160.0.0 ([#4374](https://github.com/MetaMask/core/pull/4374)) + ## [0.12.0] ### Changed diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index 91da273a4d..32affd94bc 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [6.0.0] ### Changed diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 768a549308..497f007609 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- fix: add `SelectedNetworkController` setNetworkClientId useRequestQueuePreference guard ([#4388](https://github.com/MetaMask/core/pull/4388)) + ## [15.0.1] ### Fixed diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 10f37cd76f..438dd550f7 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [18.0.0] ### Changed diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index b13981cbee..b1d2e5a47a 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) +- testfix(transaction-controller): Refactor provider setup to provide correct providers and tracker ([#4391](https://github.com/MetaMask/core/pull/4391)) +- fix(transaction-controller): Return global ethQuery when `!isMultichainEnabled` ([#4390](https://github.com/MetaMask/core/pull/4390)) +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) +- TransactionController: providerConfig -> selectedNetworkClientId ([#4357](https://github.com/MetaMask/core/pull/4357)) +- fix: update transaction controllers to use selected account ([#4244](https://github.com/MetaMask/core/pull/4244)) +- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) +- fix: support skipping updates to the simulation history for clients with disabled history ([#4349](https://github.com/MetaMask/core/pull/4349)) + ## [32.0.0] ### Changed diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index c6812db3ae..27f3626327 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Uncategorized + +- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) + ## [12.0.0] ### Changed From 25a6c51a79242462c3dfa5350ed3f2e4a3af648e Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:26:42 +0200 Subject: [PATCH 02/32] Update Release 161.0.0 --- package.json | 2 +- packages/accounts-controller/CHANGELOG.md | 5 ++++- packages/accounts-controller/package.json | 2 +- packages/address-book-controller/CHANGELOG.md | 5 ----- packages/approval-controller/CHANGELOG.md | 4 ---- packages/assets-controllers/CHANGELOG.md | 5 ++++- packages/assets-controllers/package.json | 2 +- packages/base-controller/CHANGELOG.md | 4 ---- packages/chain-controller/CHANGELOG.md | 5 ++++- packages/chain-controller/package.json | 2 +- packages/composable-controller/CHANGELOG.md | 4 ---- packages/controller-utils/CHANGELOG.md | 4 ---- packages/ens-controller/CHANGELOG.md | 5 ----- packages/gas-fee-controller/CHANGELOG.md | 5 ----- packages/keyring-controller/CHANGELOG.md | 5 ++++- packages/keyring-controller/package.json | 2 +- packages/logging-controller/CHANGELOG.md | 4 ---- packages/message-manager/CHANGELOG.md | 4 ---- packages/name-controller/CHANGELOG.md | 4 ---- packages/network-controller/CHANGELOG.md | 6 ------ packages/notification-controller/CHANGELOG.md | 4 ---- packages/permission-controller/CHANGELOG.md | 4 ---- packages/permission-log-controller/CHANGELOG.md | 4 ---- packages/phishing-controller/CHANGELOG.md | 5 ----- packages/polling-controller/CHANGELOG.md | 4 ---- packages/profile-sync-controller/CHANGELOG.md | 4 ---- packages/queued-request-controller/CHANGELOG.md | 4 ---- packages/rate-limit-controller/CHANGELOG.md | 4 ---- packages/selected-network-controller/CHANGELOG.md | 5 ++++- packages/selected-network-controller/package.json | 2 +- packages/signature-controller/CHANGELOG.md | 4 ---- packages/transaction-controller/CHANGELOG.md | 5 ++++- packages/transaction-controller/package.json | 2 +- packages/user-operation-controller/CHANGELOG.md | 4 ---- 34 files changed, 31 insertions(+), 103 deletions(-) diff --git a/package.json b/package.json index 21d8ae7442..7a21382110 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "160.0.0", + "version": "161.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index 847b27249a..a2cb878569 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [17.0.0] + ### Uncategorized - fix: remove setting new account as the last selected account ([#4363](https://github.com/MetaMask/core/pull/4363)) @@ -211,7 +213,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#1637](https://github.com/MetaMask/core/pull/1637)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@16.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@17.0.0...HEAD +[17.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@16.0.0...@metamask/accounts-controller@17.0.0 [16.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@15.0.0...@metamask/accounts-controller@16.0.0 [15.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@14.0.0...@metamask/accounts-controller@15.0.0 [14.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@13.0.0...@metamask/accounts-controller@14.0.0 diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index c5d2fb4f4a..20a1e5fbfa 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/accounts-controller", - "version": "16.0.0", + "version": "17.0.0", "description": "Manages internal accounts", "keywords": [ "MetaMask", diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index a6af50b178..0ce44eb48b 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- upgrade address book controller to base controller v2 ([#4392](https://github.com/MetaMask/core/pull/4392)) -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [5.0.0] ### Changed diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index 1c1297ec91..ef5cf06d1c 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [7.0.0] ### Changed diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 1bb52041e1..ffe05f8cc1 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [33.0.0] + ### Uncategorized - chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) @@ -909,7 +911,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@32.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@33.0.0...HEAD +[33.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@32.0.0...@metamask/assets-controllers@33.0.0 [32.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@31.0.0...@metamask/assets-controllers@32.0.0 [31.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@30.0.0...@metamask/assets-controllers@31.0.0 [30.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@29.0.0...@metamask/assets-controllers@30.0.0 diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 53a82f2192..8fa6f945b9 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/assets-controllers", - "version": "32.0.0", + "version": "33.0.0", "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)", "keywords": [ "MetaMask", diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index a0fbe3c78f..801dc144f6 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [6.0.0] ### Changed diff --git a/packages/chain-controller/CHANGELOG.md b/packages/chain-controller/CHANGELOG.md index aa3bbdf581..d7fdc4674b 100644 --- a/packages/chain-controller/CHANGELOG.md +++ b/packages/chain-controller/CHANGELOG.md @@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.0] + ### Uncategorized - chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) -[Unreleased]: https://github.com/MetaMask/core/ +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/chain-controller@0.1.0...HEAD +[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/chain-controller@0.1.0 diff --git a/packages/chain-controller/package.json b/packages/chain-controller/package.json index 63e9286350..cebebef3c7 100644 --- a/packages/chain-controller/package.json +++ b/packages/chain-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/chain-controller", - "version": "0.0.0", + "version": "0.1.0", "description": "Manages chain-agnostic providers", "keywords": [ "MetaMask", diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index fcff4a3ccb..a074b1488b 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [7.0.0] ### Changed diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 74420a82b2..fbbca40d6b 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [11.0.0] ### Added diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index 69121a2d15..89f1a1bfab 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- EnsController: providerConfig -> selectedNetworkClientId ([#4354](https://github.com/MetaMask/core/pull/4354)) - ## [12.0.0] ### Changed diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index db21bba0f1..19e0ef69e7 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- GasFeeController: providerConfig -> selectedNetworkClientId ([#4356](https://github.com/MetaMask/core/pull/4356)) - ## [17.0.0] ### Changed diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 709b38e230..9e2d2051cb 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [17.1.0] + ### Uncategorized - chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) @@ -493,7 +495,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.1.0...HEAD +[17.1.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.0.0...@metamask/keyring-controller@17.1.0 [17.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@16.1.0...@metamask/keyring-controller@17.0.0 [16.1.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@16.0.0...@metamask/keyring-controller@16.1.0 [16.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@15.0.0...@metamask/keyring-controller@16.0.0 diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index e76abc1091..88dc40a577 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/keyring-controller", - "version": "17.0.0", + "version": "17.1.0", "description": "Stores identities seen in the wallet and manages interactions such as signing", "keywords": [ "MetaMask", diff --git a/packages/logging-controller/CHANGELOG.md b/packages/logging-controller/CHANGELOG.md index e1e0eb24c4..006f42b4e0 100644 --- a/packages/logging-controller/CHANGELOG.md +++ b/packages/logging-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [5.0.0] ### Changed diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index d73dded835..1cb9b3b848 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [10.0.0] ### Changed diff --git a/packages/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index 9fd65909ef..1d76978d49 100644 --- a/packages/name-controller/CHANGELOG.md +++ b/packages/name-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [8.0.0] ### Changed diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index ca4e2d1b35..8e76f49010 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) -- AssetsContractController: providerConfig -> selectedNetworkClientId ([#4315](https://github.com/MetaMask/core/pull/4315)) - ## [19.0.0] ### Changed diff --git a/packages/notification-controller/CHANGELOG.md b/packages/notification-controller/CHANGELOG.md index bf891e6295..182d9021cc 100644 --- a/packages/notification-controller/CHANGELOG.md +++ b/packages/notification-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [6.0.0] ### Changed diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index 1462b5509e..c768e0c80d 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [10.0.0] ### Changed diff --git a/packages/permission-log-controller/CHANGELOG.md b/packages/permission-log-controller/CHANGELOG.md index 7d4a356779..ad1ff6dd12 100644 --- a/packages/permission-log-controller/CHANGELOG.md +++ b/packages/permission-log-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [3.0.0] ### Changed diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index 8aa1d3fcd6..4c88127577 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- [phishing-controller] Add `PhishingDetector` from `eth-phishing-detector` ([#4137](https://github.com/MetaMask/core/pull/4137)) - ## [10.0.0] ### Changed diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index d935102599..35d0580fb3 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [8.0.0] ### Changed diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index 8b485bb2d7..b518709c7b 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,8 +7,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - [Unreleased]: https://github.com/MetaMask/core/ diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index d23562d9d3..d714aae7a9 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Release 160.0.0 ([#4374](https://github.com/MetaMask/core/pull/4374)) - ## [0.12.0] ### Changed diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index 32affd94bc..91da273a4d 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [6.0.0] ### Changed diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 497f007609..1ce16377dc 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [15.0.2] + ### Uncategorized - fix: add `SelectedNetworkController` setNetworkClientId useRequestQueuePreference guard ([#4388](https://github.com/MetaMask/core/pull/4388)) @@ -233,7 +235,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release ([#1643](https://github.com/MetaMask/core/pull/1643)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.2...HEAD +[15.0.2]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.1...@metamask/selected-network-controller@15.0.2 [15.0.1]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.0...@metamask/selected-network-controller@15.0.1 [15.0.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@14.0.0...@metamask/selected-network-controller@15.0.0 [14.0.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@13.0.0...@metamask/selected-network-controller@14.0.0 diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index 31de0bff5e..f006349159 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/selected-network-controller", - "version": "15.0.1", + "version": "15.0.2", "description": "Provides an interface to the currently selected networkClientId for a given domain", "keywords": [ "MetaMask", diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 438dd550f7..10f37cd76f 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [18.0.0] ### Changed diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index b1d2e5a47a..0b56e6810e 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [33.0.0] + ### Uncategorized - chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) @@ -887,7 +889,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@32.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@33.0.0...HEAD +[33.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@32.0.0...@metamask/transaction-controller@33.0.0 [32.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@31.0.0...@metamask/transaction-controller@32.0.0 [31.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@30.0.0...@metamask/transaction-controller@31.0.0 [30.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@29.1.0...@metamask/transaction-controller@30.0.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 8ad1341ae4..bd05981f2b 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "32.0.0", + "version": "33.0.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index 27f3626327..c6812db3ae 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Uncategorized - -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) - ## [12.0.0] ### Changed From 7beeba924b1299f827c7d464a81f8ff121da34d4 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:04 +0200 Subject: [PATCH 03/32] chore: update accounts-controller CHANGELOG.md --- packages/accounts-controller/CHANGELOG.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index a2cb878569..8104f932f8 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -9,14 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [17.0.0] -### Uncategorized - -- fix: remove setting new account as the last selected account ([#4363](https://github.com/MetaMask/core/pull/4363)) -- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- fix: use listMultichainAccount in getAccountByAddress ([#4375](https://github.com/MetaMask/core/pull/4375)) -- fix: remove mock export ([#4369](https://github.com/MetaMask/core/pull/4369)) -- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) +### Changed + +- **BREAKING:** Newly added account is no longer set as the last selected account ([#4363](https://github.com/MetaMask/core/pull/4363)) +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) + +### Fixed + +- Use `listMultichainAccount` in `getAccountByAddress` ([#4375](https://github.com/MetaMask/core/pull/4375)) ## [16.0.0] From 9f61b2b5757a1208011d009843972f8466085c64 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:14 +0200 Subject: [PATCH 04/32] chore: update assets-controller CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 46 ++++++++++++++---------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index ffe05f8cc1..f288c818f6 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -9,25 +9,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [33.0.0] -### Uncategorized - -- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- upgrade TokenRatesController to BaseControllerV2 ([#4314](https://github.com/MetaMask/core/pull/4314)) -- refactor: update Nft Controllers to use selectedAccountId instead of selectedAddress ([#4221](https://github.com/MetaMask/core/pull/4221)) -- refactor: update account tracker to use selected account ([#4225](https://github.com/MetaMask/core/pull/4225)) -- [TokenRatesController] - Keep addresses in checksum format ([#4377](https://github.com/MetaMask/core/pull/4377)) -- fix: avoid multiple calls to refresh nft metadata ([#4325](https://github.com/MetaMask/core/pull/4325)) -- feat: add mantle to price api supported chains ([#4376](https://github.com/MetaMask/core/pull/4376)) -- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) -- fix: remove value from price api call ([#4364](https://github.com/MetaMask/core/pull/4364)) -- TokenListController: providerConfig -> selectedNetworkClientId ([#4316](https://github.com/MetaMask/core/pull/4316)) -- TokensController: providerConfig -> selectedNetworkClientId ([#4353](https://github.com/MetaMask/core/pull/4353)) -- AccountTrackerController: Remove ref to providerConfig ([#4306](https://github.com/MetaMask/core/pull/4306)) -- AssetsContractController: providerConfig -> selectedNetworkClientId ([#4315](https://github.com/MetaMask/core/pull/4315)) -- fix: fix market data of assets controller if no data ([#4361](https://github.com/MetaMask/core/pull/4361)) -- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) -- fix: Mutex never gets released on refresh function of AccountTrackerController ([#4270](https://github.com/MetaMask/core/pull/4270)) +### Added + +- Added `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) +- Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376)) + +### Changed + +- **BREAKING:** `NftController` constructor argument `selectedAddress` has been removed. ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** `NftController` now requires `AccountsController:get{Account,SelectedAccount}` messenger actions. ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** `NftController` now requires `AccountsController:selectedEvmAccountChange` event. ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** `NftDetectionController` now requires `AccountsControlelr:getSelectedAccount` messenger actions. ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** `AccountTrackerController` now requires a controller messenger ([#4225](https://github.com/MetaMask/core/pull/4225)) +- Removed `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` from the constructor arguments of the `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) +- Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) +- Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) +- `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) + +### Fixed + +- Catch the case when data are not available for given token ([#4361](https://github.com/MetaMask/core/pull/4361)) +- Mutex released on the finally block of refresh function ([#4270](https://github.com/MetaMask/core/pull/4270)) + +### Removed + +- Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) ## [32.0.0] From dc931457f3531d08721e6db054dc4d402c2932fe Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:21 +0200 Subject: [PATCH 05/32] chore: update chain-controller CHANGELOG.md --- packages/chain-controller/CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/chain-controller/CHANGELOG.md b/packages/chain-controller/CHANGELOG.md index d7fdc4674b..d2c084da9e 100644 --- a/packages/chain-controller/CHANGELOG.md +++ b/packages/chain-controller/CHANGELOG.md @@ -9,9 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.1.0] -### Uncategorized +### Changed -- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/chain-controller@0.1.0...HEAD [0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/chain-controller@0.1.0 From 12151520f8d8e59d04f85686be09af187affb323 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:28 +0200 Subject: [PATCH 06/32] chore: update keyring-controller CHANGELOG.md --- packages/keyring-controller/CHANGELOG.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 9e2d2051cb..eba54fed52 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -9,15 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [17.1.0] -### Uncategorized - -- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- feat: Allow overwriting built-in keyring builders ([#4362](https://github.com/MetaMask/core/pull/4362)) -- deps: @metamask/keyring-api@^6.1.1->^6.4.0 ([#4355](https://github.com/MetaMask/core/pull/4355)) - ### Changed +- Add support for overwriting built-in keyring builders for the Simple and HD keyring ([#4362](https://github.com/MetaMask/core/pull/4362)) - Deprecate QR keyring methods ([#4365](https://github.com/MetaMask/core/pull/4365)) - `cancelQRSignRequest` - `cancelQRSynchronization` @@ -32,6 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `submitQRCryptoAccount` - `submitQRSignature` - `unlockQRHardwareWalletAccount` +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) ## [17.0.0] From b57a7f898ac9c57d66ba8caa76ae955b2182facf Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:39 +0200 Subject: [PATCH 07/32] chore: update selected-network-controller CHANGELOG.md --- packages/selected-network-controller/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 1ce16377dc..d5a4504e54 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -9,9 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [15.0.2] -### Uncategorized +### Fixed -- fix: add `SelectedNetworkController` setNetworkClientId useRequestQueuePreference guard ([#4388](https://github.com/MetaMask/core/pull/4388)) +- `setNetworkClientId()` no longer modifies state nor creates/updates proxies when the `useRequestQueuePreference` flag is false ([#4388](https://github.com/MetaMask/core/pull/4388)) ## [15.0.1] From ec719c8ff6b885ae006a0990437552d010a05cf5 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:54:51 +0200 Subject: [PATCH 08/32] chore: update transaction-controller CHANGELOG.md --- packages/transaction-controller/CHANGELOG.md | 21 ++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 0b56e6810e..3cee29ef6c 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -9,16 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [33.0.0] -### Uncategorized - -- chore(deps): bump @metamask/{keyring-api,eth-snap-keyring} ([#4405](https://github.com/MetaMask/core/pull/4405)) -- testfix(transaction-controller): Refactor provider setup to provide correct providers and tracker ([#4391](https://github.com/MetaMask/core/pull/4391)) -- fix(transaction-controller): Return global ethQuery when `!isMultichainEnabled` ([#4390](https://github.com/MetaMask/core/pull/4390)) -- Restore ESLint warnings as errors (ignoring them for now) ([#4382](https://github.com/MetaMask/core/pull/4382)) -- TransactionController: providerConfig -> selectedNetworkClientId ([#4357](https://github.com/MetaMask/core/pull/4357)) -- fix: update transaction controllers to use selected account ([#4244](https://github.com/MetaMask/core/pull/4244)) -- chore(test): Refactor FakeBlockTracker provider injection ([#4345](https://github.com/MetaMask/core/pull/4345)) -- fix: support skipping updates to the simulation history for clients with disabled history ([#4349](https://github.com/MetaMask/core/pull/4349)) +### Changed + +- **BREAKING:** `getSelectedAddress` is replaced with `getSelectedAccount` in the `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) +- **BREAKING:** `getCurrentAccount` returns an `InternalAccount` instead of a `string` in the `IncomingTransactionHelper` ([#4244](https://github.com/MetaMask/core/pull/4244)) +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) + +### Fixed + +- `MultichainTrackingHelper.getEthQuery` now returns global `ethQuery` with ([#4390](https://github.com/MetaMask/core/pull/4390)) +- Support skipping updates to the simulation history for clients with disabled history ([#4349](https://github.com/MetaMask/core/pull/4349)) ## [32.0.0] From e631ca51edcfc97b5aa9925fc9e9423c5d2f17f9 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 13:55:49 +0200 Subject: [PATCH 09/32] chore: yarn constraints --fix --- packages/accounts-controller/package.json | 2 +- packages/assets-controllers/package.json | 6 +++--- packages/preferences-controller/package.json | 2 +- packages/queued-request-controller/package.json | 2 +- packages/signature-controller/package.json | 2 +- packages/transaction-controller/package.json | 4 ++-- packages/user-operation-controller/package.json | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 20a1e5fbfa..8f9b11c1fe 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -55,7 +55,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.0.0", + "@metamask/keyring-controller": "^17.1.0", "@metamask/snaps-controllers": "^8.1.1", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 8fa6f945b9..f592e17c74 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -47,13 +47,13 @@ "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.0", "@metamask/abi-utils": "^2.0.2", - "@metamask/accounts-controller": "^16.0.0", + "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", "@metamask/base-controller": "^6.0.0", "@metamask/contract-metadata": "^2.4.0", "@metamask/controller-utils": "^11.0.0", "@metamask/eth-query": "^4.0.0", - "@metamask/keyring-controller": "^17.0.0", + "@metamask/keyring-controller": "^17.1.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/network-controller": "^19.0.0", "@metamask/polling-controller": "^8.0.0", @@ -88,7 +88,7 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/accounts-controller": "^16.0.0", + "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", "@metamask/keyring-controller": "^17.0.0", "@metamask/network-controller": "^19.0.0", diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index d136b52d6d..8465f6c9a4 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -46,7 +46,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.0.0", + "@metamask/keyring-controller": "^17.1.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index 4b05d57170..a6e33594cd 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -51,7 +51,7 @@ "devDependencies": { "@metamask/auto-changelog": "^3.4.4", "@metamask/network-controller": "^19.0.0", - "@metamask/selected-network-controller": "^15.0.1", + "@metamask/selected-network-controller": "^15.0.2", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "immer": "^9.0.6", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 5abe6874d7..245b89d31f 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -44,7 +44,7 @@ "@metamask/approval-controller": "^7.0.0", "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", - "@metamask/keyring-controller": "^17.0.0", + "@metamask/keyring-controller": "^17.1.0", "@metamask/logging-controller": "^5.0.0", "@metamask/message-manager": "^10.0.0", "@metamask/rpc-errors": "^6.2.1", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index bd05981f2b..1b34db2bf6 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -47,7 +47,7 @@ "@ethersproject/abi": "^5.7.0", "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.0", - "@metamask/accounts-controller": "^16.0.0", + "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", @@ -86,7 +86,7 @@ }, "peerDependencies": { "@babel/runtime": "^7.23.9", - "@metamask/accounts-controller": "^16.0.0", + "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", "@metamask/gas-fee-controller": "^17.0.0", "@metamask/network-controller": "^19.0.0" diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index ea2e6338e4..bac9c0a988 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -47,11 +47,11 @@ "@metamask/controller-utils": "^11.0.0", "@metamask/eth-query": "^4.0.0", "@metamask/gas-fee-controller": "^17.0.0", - "@metamask/keyring-controller": "^17.0.0", + "@metamask/keyring-controller": "^17.1.0", "@metamask/network-controller": "^19.0.0", "@metamask/polling-controller": "^8.0.0", "@metamask/rpc-errors": "^6.2.1", - "@metamask/transaction-controller": "^32.0.0", + "@metamask/transaction-controller": "^33.0.0", "@metamask/utils": "^8.3.0", "bn.js": "^5.2.1", "immer": "^9.0.6", @@ -74,7 +74,7 @@ "@metamask/gas-fee-controller": "^17.0.0", "@metamask/keyring-controller": "^17.0.0", "@metamask/network-controller": "^19.0.0", - "@metamask/transaction-controller": "^32.0.0" + "@metamask/transaction-controller": "^33.0.0" }, "engines": { "node": "^18.18 || >=20" From dc2a86383d30ff9c0f172d1549784095a2407290 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 14:22:05 +0200 Subject: [PATCH 10/32] chore: update changelogs after for constraints fixes --- packages/accounts-controller/CHANGELOG.md | 1 + packages/assets-controllers/CHANGELOG.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index 8104f932f8..3c750b0d52 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Newly added account is no longer set as the last selected account ([#4363](https://github.com/MetaMask/core/pull/4363)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-controller` to `^17.1.0` (`devDependencies`) ([#4413](https://github.com/MetaMask/core/pull/4413)) ### Fixed diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index f288c818f6..146684df2d 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -21,12 +21,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** `NftController` now requires `AccountsController:selectedEvmAccountChange` event. ([#4221](https://github.com/MetaMask/core/pull/4221)) - **BREAKING:** `NftDetectionController` now requires `AccountsControlelr:getSelectedAccount` messenger actions. ([#4221](https://github.com/MetaMask/core/pull/4221)) - **BREAKING:** `AccountTrackerController` now requires a controller messenger ([#4225](https://github.com/MetaMask/core/pull/4225)) -- Removed `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` from the constructor arguments of the `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) +- **BREAKING:** Removed `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` from the constructor arguments of the `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) +- **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) - Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) ### Fixed From 43da8a83883e1c58a309fa1c225f1c3b6014ded2 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 14:22:41 +0200 Subject: [PATCH 11/32] chore: yarn.lock --- yarn.lock | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7dba9c6ed5..d82e498cd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1609,7 +1609,7 @@ __metadata: languageName: node linkType: hard -"@metamask/accounts-controller@^16.0.0, @metamask/accounts-controller@workspace:packages/accounts-controller": +"@metamask/accounts-controller@^17.0.0, @metamask/accounts-controller@workspace:packages/accounts-controller": version: 0.0.0-use.local resolution: "@metamask/accounts-controller@workspace:packages/accounts-controller" dependencies: @@ -1618,7 +1618,7 @@ __metadata: "@metamask/base-controller": ^6.0.0 "@metamask/eth-snap-keyring": ^4.3.1 "@metamask/keyring-api": ^8.0.0 - "@metamask/keyring-controller": ^17.0.0 + "@metamask/keyring-controller": ^17.1.0 "@metamask/snaps-controllers": ^8.1.1 "@metamask/snaps-sdk": ^4.2.0 "@metamask/snaps-utils": ^7.4.0 @@ -1727,7 +1727,7 @@ __metadata: "@ethersproject/contracts": ^5.7.0 "@ethersproject/providers": ^5.7.0 "@metamask/abi-utils": ^2.0.2 - "@metamask/accounts-controller": ^16.0.0 + "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 "@metamask/auto-changelog": ^3.4.4 "@metamask/base-controller": ^6.0.0 @@ -1736,7 +1736,7 @@ __metadata: "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-provider-http": ^0.3.0 "@metamask/keyring-api": ^8.0.0 - "@metamask/keyring-controller": ^17.0.0 + "@metamask/keyring-controller": ^17.1.0 "@metamask/metamask-eth-abis": ^3.1.1 "@metamask/network-controller": ^19.0.0 "@metamask/polling-controller": ^8.0.0 @@ -1765,7 +1765,7 @@ __metadata: typescript: ~4.9.5 uuid: ^8.3.2 peerDependencies: - "@metamask/accounts-controller": ^16.0.0 + "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 "@metamask/keyring-controller": ^17.0.0 "@metamask/network-controller": ^19.0.0 @@ -2479,7 +2479,7 @@ __metadata: languageName: node linkType: hard -"@metamask/keyring-controller@^17.0.0, @metamask/keyring-controller@workspace:packages/keyring-controller": +"@metamask/keyring-controller@^17.1.0, @metamask/keyring-controller@workspace:packages/keyring-controller": version: 0.0.0-use.local resolution: "@metamask/keyring-controller@workspace:packages/keyring-controller" dependencies: @@ -2822,7 +2822,7 @@ __metadata: "@metamask/auto-changelog": ^3.4.4 "@metamask/base-controller": ^6.0.0 "@metamask/controller-utils": ^11.0.0 - "@metamask/keyring-controller": ^17.0.0 + "@metamask/keyring-controller": ^17.1.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 jest: ^27.5.1 @@ -2888,7 +2888,7 @@ __metadata: "@metamask/json-rpc-engine": ^9.0.0 "@metamask/network-controller": ^19.0.0 "@metamask/rpc-errors": ^6.2.1 - "@metamask/selected-network-controller": ^15.0.1 + "@metamask/selected-network-controller": ^15.0.2 "@metamask/swappable-obj-proxy": ^2.2.0 "@metamask/utils": ^8.3.0 "@types/jest": ^27.4.1 @@ -2953,7 +2953,7 @@ __metadata: languageName: node linkType: hard -"@metamask/selected-network-controller@^15.0.1, @metamask/selected-network-controller@workspace:packages/selected-network-controller": +"@metamask/selected-network-controller@^15.0.2, @metamask/selected-network-controller@workspace:packages/selected-network-controller": version: 0.0.0-use.local resolution: "@metamask/selected-network-controller@workspace:packages/selected-network-controller" dependencies: @@ -2989,7 +2989,7 @@ __metadata: "@metamask/auto-changelog": ^3.4.4 "@metamask/base-controller": ^6.0.0 "@metamask/controller-utils": ^11.0.0 - "@metamask/keyring-controller": ^17.0.0 + "@metamask/keyring-controller": ^17.1.0 "@metamask/logging-controller": ^5.0.0 "@metamask/message-manager": ^10.0.0 "@metamask/rpc-errors": ^6.2.1 @@ -3132,7 +3132,7 @@ __metadata: languageName: node linkType: hard -"@metamask/transaction-controller@^32.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": +"@metamask/transaction-controller@^33.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: @@ -3143,7 +3143,7 @@ __metadata: "@ethersproject/abi": ^5.7.0 "@ethersproject/contracts": ^5.7.0 "@ethersproject/providers": ^5.7.0 - "@metamask/accounts-controller": ^16.0.0 + "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 "@metamask/auto-changelog": ^3.4.4 "@metamask/base-controller": ^6.0.0 @@ -3178,7 +3178,7 @@ __metadata: uuid: ^8.3.2 peerDependencies: "@babel/runtime": ^7.23.9 - "@metamask/accounts-controller": ^16.0.0 + "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 "@metamask/gas-fee-controller": ^17.0.0 "@metamask/network-controller": ^19.0.0 @@ -3195,11 +3195,11 @@ __metadata: "@metamask/controller-utils": ^11.0.0 "@metamask/eth-query": ^4.0.0 "@metamask/gas-fee-controller": ^17.0.0 - "@metamask/keyring-controller": ^17.0.0 + "@metamask/keyring-controller": ^17.1.0 "@metamask/network-controller": ^19.0.0 "@metamask/polling-controller": ^8.0.0 "@metamask/rpc-errors": ^6.2.1 - "@metamask/transaction-controller": ^32.0.0 + "@metamask/transaction-controller": ^33.0.0 "@metamask/utils": ^8.3.0 "@types/jest": ^27.4.1 bn.js: ^5.2.1 @@ -3218,7 +3218,7 @@ __metadata: "@metamask/gas-fee-controller": ^17.0.0 "@metamask/keyring-controller": ^17.0.0 "@metamask/network-controller": ^19.0.0 - "@metamask/transaction-controller": ^32.0.0 + "@metamask/transaction-controller": ^33.0.0 languageName: unknown linkType: soft From c3d89d69a52dbec6b1a4396cf2ed4a0744eba71c Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 14:28:47 +0200 Subject: [PATCH 12/32] chore: fix changelog for assets-controllers --- packages/assets-controllers/CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 146684df2d..6ebb709966 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -30,15 +30,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) +### Removed + +- Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) + ### Fixed - Catch the case when data are not available for given token ([#4361](https://github.com/MetaMask/core/pull/4361)) - Mutex released on the finally block of refresh function ([#4270](https://github.com/MetaMask/core/pull/4270)) -### Removed - -- Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) - ## [32.0.0] ### Changed From 009d5b8df6e9c3481e0a2c27252336e831ed4e59 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 14:36:28 +0200 Subject: [PATCH 13/32] chore: update changelog for transaction-controller --- packages/transaction-controller/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 3cee29ef6c..69e47dc529 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** `getSelectedAddress` is replaced with `getSelectedAccount` in the `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) - **BREAKING:** `getCurrentAccount` returns an `InternalAccount` instead of a `string` in the `IncomingTransactionHelper` ([#4244](https://github.com/MetaMask/core/pull/4244)) +- **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) From ddeef9de960b2ba25f5fff6896aec8d531d78e56 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 14:52:43 +0200 Subject: [PATCH 14/32] chore: update changelog for keyring-controller --- packages/keyring-controller/CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index eba54fed52..6da5df73ed 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Add support for overwriting built-in keyring builders for the Simple and HD keyring ([#4362](https://github.com/MetaMask/core/pull/4362)) +- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) + +### Deprecated + - Deprecate QR keyring methods ([#4365](https://github.com/MetaMask/core/pull/4365)) - `cancelQRSignRequest` - `cancelQRSynchronization` @@ -26,8 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `submitQRCryptoAccount` - `submitQRSignature` - `unlockQRHardwareWalletAccount` -- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) -- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) ## [17.0.0] From a7710dbbe2170d19ebe9d802cd1fb8b56502e95e Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 16:37:53 +0200 Subject: [PATCH 15/32] chore: update assets-controllers CHANGELOG.md Co-authored-by: Jongsun Suh --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 6ebb709966..bc6f48c906 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -37,7 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Catch the case when data are not available for given token ([#4361](https://github.com/MetaMask/core/pull/4361)) -- Mutex released on the finally block of refresh function ([#4270](https://github.com/MetaMask/core/pull/4270)) +- Fix `refresh` method remaining locked indefinitely after it was run successfully. Now lock is released on successful as well as failed runs. ([#4270](https://github.com/MetaMask/core/pull/4270)) ## [32.0.0] From faa8750c3158ed3f334671af989b3d739f8d5d5f Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 16:44:55 +0200 Subject: [PATCH 16/32] chore: update assets-controllers CHANGELOG.md Co-authored-by: Jongsun Suh --- packages/assets-controllers/CHANGELOG.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index bc6f48c906..9775a5910d 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -11,17 +11,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) +- **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) +(https://github.com/MetaMask/core/pull/4225)) + - Add `AccountTrackerControllerMessenger` type +- `NftController` now allows `AccountsController:getAccount`, `AccountsController:getSelectedAccount` as messenger actions and subscribes to the `AccountsController:selectedEvmAccountChange` messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) +- `NftDetectionController` now allows `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) +- Add `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) - Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376)) ### Changed -- **BREAKING:** `NftController` constructor argument `selectedAddress` has been removed. ([#4221](https://github.com/MetaMask/core/pull/4221)) -- **BREAKING:** `NftController` now requires `AccountsController:get{Account,SelectedAccount}` messenger actions. ([#4221](https://github.com/MetaMask/core/pull/4221)) -- **BREAKING:** `NftController` now requires `AccountsController:selectedEvmAccountChange` event. ([#4221](https://github.com/MetaMask/core/pull/4221)) -- **BREAKING:** `NftDetectionController` now requires `AccountsControlelr:getSelectedAccount` messenger actions. ([#4221](https://github.com/MetaMask/core/pull/4221)) -- **BREAKING:** `AccountTrackerController` now requires a controller messenger ([#4225](https://github.com/MetaMask/core/pull/4225)) -- **BREAKING:** Removed `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` from the constructor arguments of the `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) - **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) - Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) @@ -32,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- **BREAKING:** Remove `NftController` constructor options `selectedAddress`. ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225] - Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) ### Fixed From b7fdc160777a9048064dd77f6e4e6d1956fb8267 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 16:53:20 +0200 Subject: [PATCH 17/32] fix: fix assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 9775a5910d..0aede01514 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -12,7 +12,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) -(https://github.com/MetaMask/core/pull/4225)) - Add `AccountTrackerControllerMessenger` type - `NftController` now allows `AccountsController:getAccount`, `AccountsController:getSelectedAccount` as messenger actions and subscribes to the `AccountsController:selectedEvmAccountChange` messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) - `NftDetectionController` now allows `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) @@ -32,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - **BREAKING:** Remove `NftController` constructor options `selectedAddress`. ([#4221](https://github.com/MetaMask/core/pull/4221)) -- **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225] +- **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225](https://github.com/MetaMask/core/pull/4225)) - Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) ### Fixed From b998da8b7bf18763320208a0b5a59399d7fcf00d Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 16:53:49 +0200 Subject: [PATCH 18/32] chore: re-categorized some changes in assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 0aede01514..7b1d1d9a6e 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -15,7 +15,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `AccountTrackerControllerMessenger` type - `NftController` now allows `AccountsController:getAccount`, `AccountsController:getSelectedAccount` as messenger actions and subscribes to the `AccountsController:selectedEvmAccountChange` messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) - `NftDetectionController` now allows `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) -- Add `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) - Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376)) ### Changed @@ -24,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) +- Add `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) From 4cd1d528edd853f9c23e61fa5ac390ed09c90eea Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 17:13:21 +0200 Subject: [PATCH 19/32] chore: update changelog entry for assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 7b1d1d9a6e..a7da3e076a 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Catch the case when data are not available for given token ([#4361](https://github.com/MetaMask/core/pull/4361)) +- Prevent the use of market data when not available for a given token ([#4361](https://github.com/MetaMask/core/pull/4361)) - Fix `refresh` method remaining locked indefinitely after it was run successfully. Now lock is released on successful as well as failed runs. ([#4270](https://github.com/MetaMask/core/pull/4270)) ## [32.0.0] From 8b7ae3d92a7f813b8e6d7806391351f9784b11b5 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:00:53 +0200 Subject: [PATCH 20/32] chore: update changelog entry for assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index a7da3e076a..13841dcdfc 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) -- Add `Mutex` lock in the `updateNftMetadata` function ([#4325](https://github.com/MetaMask/core/pull/4325)) +- Prevent unnecessary state updates when executing the `NftController`'s `updateNftMetadata` method by comparing the metadata of fetched NFTs and NFTs in state and synchronizing state updates using a mutex lock. ([#4325](https://github.com/MetaMask/core/pull/4325)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) From 451d35674662e34a0399bf8131ac47a974445ac1 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:05:05 +0200 Subject: [PATCH 21/32] chore: re-categorized some changes in assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 13841dcdfc..d8d16ff8c1 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -23,7 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) -- Prevent unnecessary state updates when executing the `NftController`'s `updateNftMetadata` method by comparing the metadata of fetched NFTs and NFTs in state and synchronizing state updates using a mutex lock. ([#4325](https://github.com/MetaMask/core/pull/4325)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) @@ -36,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Prevent unnecessary state updates when executing the `NftController`'s `updateNftMetadata` method by comparing the metadata of fetched NFTs and NFTs in state and synchronizing state updates using a mutex lock. ([#4325](https://github.com/MetaMask/core/pull/4325)) - Prevent the use of market data when not available for a given token ([#4361](https://github.com/MetaMask/core/pull/4361)) - Fix `refresh` method remaining locked indefinitely after it was run successfully. Now lock is released on successful as well as failed runs. ([#4270](https://github.com/MetaMask/core/pull/4270)) From b6bc2d9d1470fc55891800d74d4046b12c40c25a Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:17:45 +0200 Subject: [PATCH 22/32] chore: update assets-controllers CHANGELOG.md Co-authored-by: Elliot Winkler --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index d8d16ff8c1..2a73760985 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) - Add `AccountTrackerControllerMessenger` type -- `NftController` now allows `AccountsController:getAccount`, `AccountsController:getSelectedAccount` as messenger actions and subscribes to the `AccountsController:selectedEvmAccountChange` messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** The `NftController` messenger must now allow `AccountsController:getAccount` and `AccountsController:getSelectedAccount` as messenger actions and `AccountsController:selectedEvmAccountChange` as a messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) - `NftDetectionController` now allows `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) - Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376)) From 18a8a483e9456156cf5b838aca0fb7d95b9ca32b Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:21:08 +0200 Subject: [PATCH 23/32] chore: update assets-controllers CHANGELOG.md Co-authored-by: Elliot Winkler --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 2a73760985..926ebc415a 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) - Add `AccountTrackerControllerMessenger` type - **BREAKING:** The `NftController` messenger must now allow `AccountsController:getAccount` and `AccountsController:getSelectedAccount` as messenger actions and `AccountsController:selectedEvmAccountChange` as a messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) -- `NftDetectionController` now allows `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) +- **BREAKING:** `NftDetectionController` messenger must now allow `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) - Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376)) ### Changed From 13d91ae5b55da22762d5816e954b31f1d670feeb Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:36:36 +0200 Subject: [PATCH 24/32] chore: initial release for chain-controller Co-authored-by: Elliot Winkler --- packages/chain-controller/CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/chain-controller/CHANGELOG.md b/packages/chain-controller/CHANGELOG.md index d2c084da9e..9faa52486d 100644 --- a/packages/chain-controller/CHANGELOG.md +++ b/packages/chain-controller/CHANGELOG.md @@ -11,8 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) -- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) +- Initial release [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/chain-controller@0.1.0...HEAD [0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/chain-controller@0.1.0 From c9a61392ecf9dfc9bbe1ea6099afea951e28ee75 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:40:19 +0200 Subject: [PATCH 25/32] chore: update entries for #4314 --- packages/assets-controllers/CHANGELOG.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 926ebc415a..e7d3a3e240 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -12,6 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225)) +- **BREAKING:** Add `messenger` option to `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - This messenger must allow the actions `TokensController:getState`, `NetworkController:getNetworkClientById`, `NetworkController:getState`, and `PreferencesController:getState` and allow the events `PreferencesController:stateChange`, `TokensController:stateChange`, and `NetworkController:stateChange`. +- Add types `TokenRatesControllerGetStateAction`, `TokenRatesControllerActions`, `TokenRatesControllerStateChangeEvent`, `TokenRatesControllerEvents`, `TokenRatesControllerMessenger`([#4314](https://github.com/MetaMask/core/pull/4314)) +- Add function `getDefaultTokenRatesControllerState` ([#4314](https://github.com/MetaMask/core/pull/4314)) +- Add `enable` and `disable` methods to `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - These are used to stop and restart polling. +- Export `ContractExchangeRates` type ([#4314](https://github.com/MetaMask/core/pull/4314)) - Add `AccountTrackerControllerMessenger` type - **BREAKING:** The `NftController` messenger must now allow `AccountsController:getAccount` and `AccountsController:getSelectedAccount` as messenger actions and `AccountsController:selectedEvmAccountChange` as a messenger event ([#4221](https://github.com/MetaMask/core/pull/4221)) - **BREAKING:** `NftDetectionController` messenger must now allow `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221)) @@ -20,7 +27,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) -- Upgrade `TokenRatesController` to `BaseControllerV2` ([#4314](https://github.com/MetaMask/core/pull/4314)) +- **BREAKING:** `TokenRatesController` now inherits from `StaticIntervalPollingController` instead of `StaticIntervalPollingControllerV1` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - The constructor now takes a single options object rather than three arguments. Some options have been removed; see later entries. +- **BREAKING:** Rename `TokenRatesState` to `TokenRatesControllerState`, and convert from `interface` to `type` ([#4314](https://github.com/MetaMask/core/pull/4314)) - Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) @@ -29,6 +38,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- **BREAKING:** Remove `nativeCurrency`, `chainId`, `selectedAddress`, `allTokens`, and `allDetectedTokens` from configuration options for `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - The messenger is now used to obtain information from other controllers where this data was originally expected to come from. +- **BREAKING:** Remove `config` property and `configure` method from `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - The controller now takes a single options object which can be used for configuration, and configuration is now kept internally. +- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314)) + - Use the controller messenger for subscribing to and publishing events instead. +- **BREAKING:** Remove `TokenRatesConfig` type ([#4314](https://github.com/MetaMask/core/pull/4314)) + - Some of these properties have been merged into the options that `TokenRatesController` takes. - **BREAKING:** Remove `NftController` constructor options `selectedAddress`. ([#4221](https://github.com/MetaMask/core/pull/4221)) - **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225](https://github.com/MetaMask/core/pull/4225)) - Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) From 37bc18237ddce01b1c0d236f20cc72675d7000a7 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:42:37 +0200 Subject: [PATCH 26/32] chore: update assets-controllers CHANGELOG.md Co-authored-by: Elliot Winkler --- packages/assets-controllers/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index e7d3a3e240..fe4c8bc8dd 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -48,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Some of these properties have been merged into the options that `TokenRatesController` takes. - **BREAKING:** Remove `NftController` constructor options `selectedAddress`. ([#4221](https://github.com/MetaMask/core/pull/4221)) - **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225](https://github.com/MetaMask/core/pull/4225)) -- Remove `value` from price API responses ([#4364](https://github.com/MetaMask/core/pull/4364)) +- **BREAKING:** Remove `value` property from the data for each token in `state.marketData` ([#4364](https://github.com/MetaMask/core/pull/4364)) + - The `price` property should be used instead. ### Fixed From f71d036637b996baf51dcb02c62751f712b54f08 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:44:16 +0200 Subject: [PATCH 27/32] chore: update assets-controllers CHANGELOG.md --- packages/assets-controllers/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index fe4c8bc8dd..7d9421beed 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -30,7 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** `TokenRatesController` now inherits from `StaticIntervalPollingController` instead of `StaticIntervalPollingControllerV1` ([#4314](https://github.com/MetaMask/core/pull/4314)) - The constructor now takes a single options object rather than three arguments. Some options have been removed; see later entries. - **BREAKING:** Rename `TokenRatesState` to `TokenRatesControllerState`, and convert from `interface` to `type` ([#4314](https://github.com/MetaMask/core/pull/4314)) -- Update Nft controllers to use `selectedAccountId` instead of `selectedAddress` ([#4221](https://github.com/MetaMask/core/pull/4221)) +- The `NftController` now reads the selected address via the `AccountsController`, using the `AccountsController:selectedEvmAccountChange` messenger event to stay up to date ([#4221](https://github.com/MetaMask/core/pull/4221)) +- `NftDetectionController` now reads the currently selected account from `AccountsController` instead of `PreferencesController` ([#4221](https://github.com/MetaMask/core/pull/4221)) - `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) From 374c25bf61a8a0a9cd443b336bbe8f023791f8a8 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:49:01 +0200 Subject: [PATCH 28/32] chore: update transaction-controller CHANGELOG.md Co-authored-by: Elliot Winkler --- packages/transaction-controller/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 69e47dc529..bc835ed008 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- **BREAKING:** `getSelectedAddress` is replaced with `getSelectedAccount` in the `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) +- **BREAKING:** The `TransactionController` messenger must now allow the `AccountsController:getSelectedAccount` action ([#4244](https://github.com/MetaMask/core/pull/4244)) - **BREAKING:** `getCurrentAccount` returns an `InternalAccount` instead of a `string` in the `IncomingTransactionHelper` ([#4244](https://github.com/MetaMask/core/pull/4244)) - **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) From 83c5a8f3f9bf38a7319a3acac5125bb196e2dba2 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:50:35 +0200 Subject: [PATCH 29/32] chore: update changelog for transaction-controller --- packages/transaction-controller/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index bc835ed008..c5d7e2daa6 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -17,6 +17,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) +### Removed + +- Remove `getSelectedAddress` option from `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) + - The AccountsController is used to get the currently selected address automatically. + ### Fixed - `MultichainTrackingHelper.getEthQuery` now returns global `ethQuery` with ([#4390](https://github.com/MetaMask/core/pull/4390)) From f273f6e1001589b157deaa1407a9983990d47a30 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 18:53:58 +0200 Subject: [PATCH 30/32] chore: update changelog for assets-controller --- packages/assets-controllers/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 7d9421beed..c8c8a1b216 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -32,7 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Rename `TokenRatesState` to `TokenRatesControllerState`, and convert from `interface` to `type` ([#4314](https://github.com/MetaMask/core/pull/4314)) - The `NftController` now reads the selected address via the `AccountsController`, using the `AccountsController:selectedEvmAccountChange` messenger event to stay up to date ([#4221](https://github.com/MetaMask/core/pull/4221)) - `NftDetectionController` now reads the currently selected account from `AccountsController` instead of `PreferencesController` ([#4221](https://github.com/MetaMask/core/pull/4221)) -- `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413)) @@ -57,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Prevent unnecessary state updates when executing the `NftController`'s `updateNftMetadata` method by comparing the metadata of fetched NFTs and NFTs in state and synchronizing state updates using a mutex lock. ([#4325](https://github.com/MetaMask/core/pull/4325)) - Prevent the use of market data when not available for a given token ([#4361](https://github.com/MetaMask/core/pull/4361)) - Fix `refresh` method remaining locked indefinitely after it was run successfully. Now lock is released on successful as well as failed runs. ([#4270](https://github.com/MetaMask/core/pull/4270)) +- `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377)) ## [32.0.0] From 347751fcb23cf272a3c6fa968dbb5ec1f8dae75e Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 19:03:28 +0200 Subject: [PATCH 31/32] chore: update changelog for transaction-controller --- packages/transaction-controller/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index c5d7e2daa6..65809c324a 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed -- Remove `getSelectedAddress` option from `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) +- **BREAKING:** Remove `getSelectedAddress` option from `TransactionController` ([#4244](https://github.com/MetaMask/core/pull/4244)) - The AccountsController is used to get the currently selected address automatically. ### Fixed From 16aed634b163794442d1f2d239ac9b875b024122 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Wed, 12 Jun 2024 19:04:38 +0200 Subject: [PATCH 32/32] chore: update changelog for keyring-controller --- packages/keyring-controller/CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 6da5df73ed..ad9c384ec2 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -9,9 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [17.1.0] -### Changed +### Added - Add support for overwriting built-in keyring builders for the Simple and HD keyring ([#4362](https://github.com/MetaMask/core/pull/4362)) + +### Changed + - Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405)) - Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405))