diff --git a/package.json b/package.json index 1f4a9ec31e..6feaef4d68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "92.0.0", + "version": "93.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 b051ebb997..d01717fe3d 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/keyring-controller` to ^10.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [5.0.0] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/keyring-controller` to ^9.0.0 @@ -46,7 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release ([#1637](https://github.com/MetaMask/core/pull/1637)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@5.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@6.0.0...HEAD +[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@5.0.0...@metamask/accounts-controller@6.0.0 [5.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@4.0.0...@metamask/accounts-controller@5.0.0 [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@3.0.0...@metamask/accounts-controller@4.0.0 [3.0.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@2.0.2...@metamask/accounts-controller@3.0.0 diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 3e6d2753e6..6c9275aaa0 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/accounts-controller", - "version": "5.0.0", + "version": "6.0.0", "description": "Manages internal accounts", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/eth-snap-keyring": "^2.0.0", "@metamask/keyring-api": "^1.1.0", "@metamask/snaps-utils": "^3.2.0", @@ -42,7 +42,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.3", - "@metamask/keyring-controller": "^9.0.0", + "@metamask/keyring-controller": "^10.0.0", "@metamask/snaps-controllers": "^3.2.0", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", @@ -53,7 +53,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/keyring-controller": "^9.0.0" + "@metamask/keyring-controller": "^10.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index 9bef1b08c6..3af21bfd08 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.1.5] +### Changed +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) +- Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is not a breaking change because this controller still inherits from BaseController v1. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [3.1.4] ### Changed - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) @@ -61,7 +68,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/address-book-controller@3.1.4...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/address-book-controller@3.1.5...HEAD +[3.1.5]: https://github.com/MetaMask/core/compare/@metamask/address-book-controller@3.1.4...@metamask/address-book-controller@3.1.5 [3.1.4]: https://github.com/MetaMask/core/compare/@metamask/address-book-controller@3.1.3...@metamask/address-book-controller@3.1.4 [3.1.3]: https://github.com/MetaMask/core/compare/@metamask/address-book-controller@3.1.2...@metamask/address-book-controller@3.1.3 [3.1.2]: https://github.com/MetaMask/core/compare/@metamask/address-book-controller@3.1.1...@metamask/address-book-controller@3.1.2 diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 3d12e67146..63c9923046 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/address-book-controller", - "version": "3.1.4", + "version": "3.1.5", "description": "Manages a list of recipient addresses associated with nicknames", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/utils": "^8.2.0" }, "devDependencies": { diff --git a/packages/announcement-controller/CHANGELOG.md b/packages/announcement-controller/CHANGELOG.md index 2d882c6ee7..76c7eed599 100644 --- a/packages/announcement-controller/CHANGELOG.md +++ b/packages/announcement-controller/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. + ## [4.0.3] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -65,7 +70,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/announcement-controller@4.0.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/announcement-controller@5.0.0...HEAD +[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/announcement-controller@4.0.3...@metamask/announcement-controller@5.0.0 [4.0.3]: https://github.com/MetaMask/core/compare/@metamask/announcement-controller@4.0.2...@metamask/announcement-controller@4.0.3 [4.0.2]: https://github.com/MetaMask/core/compare/@metamask/announcement-controller@4.0.1...@metamask/announcement-controller@4.0.2 [4.0.1]: https://github.com/MetaMask/core/compare/@metamask/announcement-controller@4.0.0...@metamask/announcement-controller@4.0.1 diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index 5d3fe2f92e..af395df2c2 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/announcement-controller", - "version": "4.0.3", + "version": "5.0.0", "description": "Manages in-app announcements", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3" + "@metamask/base-controller": "^4.0.0" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.3", diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index ea3df7430e..ada134284a 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 (TODO: THIS PR) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) + ## [4.1.0] ### Added - Add `show` option for `startFlow` ([#1886](https://github.com/MetaMask/core/pull/1886)) @@ -91,7 +97,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/approval-controller@4.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/approval-controller@5.0.0...HEAD +[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/approval-controller@4.1.0...@metamask/approval-controller@5.0.0 [4.1.0]: https://github.com/MetaMask/core/compare/@metamask/approval-controller@4.0.1...@metamask/approval-controller@4.1.0 [4.0.1]: https://github.com/MetaMask/core/compare/@metamask/approval-controller@4.0.0...@metamask/approval-controller@4.0.1 [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/approval-controller@3.5.2...@metamask/approval-controller@4.0.0 diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 2c6fcc5e4e..97550dee93 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/approval-controller", - "version": "4.1.0", + "version": "5.0.0", "description": "Manages requests that require user approval", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.2.0", "nanoid": "^3.1.31" diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 4908fe541f..4a77d29c5a 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -6,6 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [20.0.0] +### Added +- **BREAKING**: `TokenRatesControllerState` now has required `contractExchangeRatesByChainId` property which an object keyed by `chainId` and `nativeCurrency` ([#2015](https://github.com/MetaMask/core/pull/2015)) +- **BREAKING**: `TokenRatesController` constructor params now requires `getNetworkClientById` ([#2015](https://github.com/MetaMask/core/pull/2015)) +- Add types `CurrencyRateControllerEvents` and `CurrencyRateControllerActions` ([#2029](https://github.com/MetaMask/core/pull/2029)) +- Add polling-related methods to TokenRatesController ([#2015](https://github.com/MetaMask/core/pull/2015)) + - `startPollingByNetworkClientId` + - `stopPollingByPollingToken` + - `stopAllPolling` + - `_executePoll` +- Add `updateExchangeRatesByChainId` method to TokenRatesController ([#2015](https://github.com/MetaMask/core/pull/2015)) + - This is a lower-level version of `updateExchangeRates` that takes chain ID, native currency, and token addresses. +- `TokenRatesController` constructor params now accepts optional `interval` and `threshold` ([#2015](https://github.com/MetaMask/core/pull/2015)) +- `TokenRatesController.fetchExchangeRate()` now accepts an optional `tokenAddresses` as the last parameter ([#2015](https://github.com/MetaMask/core/pull/2015)) +- `TokenRatesController.getChainSlug()` now accepts an optional `chainId` parameter ([#2015](https://github.com/MetaMask/core/pull/2015)) +- `TokenRatesController.fetchAndMapExchangeRates()` now accepts an optional `tokenAddresses` as the last parameter ([#2015](https://github.com/MetaMask/core/pull/2015)) + +### Changed +- **BREAKING:** Bump dependency on `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/polling-controller` to ^2.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/preferences-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [19.0.0] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -383,7 +409,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@19.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@20.0.0...HEAD +[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@19.0.0...@metamask/assets-controllers@20.0.0 [19.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@18.0.0...@metamask/assets-controllers@19.0.0 [18.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@17.0.0...@metamask/assets-controllers@18.0.0 [17.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@16.0.0...@metamask/assets-controllers@17.0.0 diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index e8ce6b8d52..1771492615 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/assets-controllers", - "version": "19.0.0", + "version": "20.0.0", "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)", "keywords": [ "MetaMask", @@ -35,15 +35,15 @@ "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.0", "@metamask/abi-utils": "^2.0.2", - "@metamask/approval-controller": "^4.1.0", - "@metamask/base-controller": "^3.2.3", + "@metamask/approval-controller": "^5.0.0", + "@metamask/base-controller": "^4.0.0", "@metamask/contract-metadata": "^2.4.0", - "@metamask/controller-utils": "^5.0.2", + "@metamask/controller-utils": "^6.0.0", "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "3.0.0", - "@metamask/network-controller": "^16.0.0", - "@metamask/polling-controller": "^1.0.2", - "@metamask/preferences-controller": "^4.4.3", + "@metamask/network-controller": "^17.0.0", + "@metamask/polling-controller": "^2.0.0", + "@metamask/preferences-controller": "^5.0.0", "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.2.0", "@types/uuid": "^8.3.0", @@ -69,9 +69,9 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/approval-controller": "^4.1.0", - "@metamask/network-controller": "^16.0.0", - "@metamask/preferences-controller": "^4.4.3" + "@metamask/approval-controller": "^5.0.0", + "@metamask/network-controller": "^17.0.0", + "@metamask/preferences-controller": "^5.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index 485aad9898..28ab65d269 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -6,6 +6,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Added +- Add `ControllerGetStateAction` and `ControllerStateChangeEvent` types ([#1890](https://github.com/MetaMask/core/pull/1890), [#2029](https://github.com/MetaMask/core/pull/2029)) +- Add `NamespacedName` type ([#1890](https://github.com/MetaMask/core/pull/1890)) + - This is the narrowest supertype of all names defined within a given namespace. +- Add `NotNamespacedBy` type, which matches an action/event name if and only if it is not prefixed by a given namespace ([#2051](https://github.com/MetaMask/core/pull/2051)) + +### Changed +- **BREAKING:** Alter controller messenger `ActionHandler` type so `Action` type parameter must satisfy (updated) `ActionConstraint` ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** Alter controller messenger `ExtractActionParameters` utility type so `Action` type parameter must satisfy (updated) `ActionConstraint` ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** Alter controller messenger `ExtractEventHandler` utility type so `Event` type parameter must satisfy `EventConstraint` ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** Alter controller messenger `ExtractEventPayload` utility type so `Event` type parameter must satisfy `EventConstraint` and `Event['payload']` must be an array (to match behavior of `ExtractEventHandler`) ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** Alter controller messenger `SelectorFunction` type so that its generic parameter `Args` is replaced by `Event`, which must satisfy `EventConstraint`, and it returns a function whose arguments satisfy the event payload type specified by `Event` ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** `BaseController` is now renamed to `BaseControllerV1` and has been deprecated; `BaseController` now points to what was previously called `BaseControllerV2` ([#2078](https://github.com/MetaMask/core/pull/2078)) + - This should encourage use of `BaseController` v2 for new controllers going forward. + - If your controller is importing `BaseControllerV2`, you will need to import `BaseController` instead. + - If your controller is still importing `BaseController` v1, you will need to import and use `BaseControllerV1` instead. That said, please consider migrating your controller to v2. +- **BREAKING:** The restricted controller messenger now allows calling all internal events and actions by default and prohibits explicitly allowlisting any of them ([#2050](https://github.com/MetaMask/core/pull/2050), [#2051](https://github.com/MetaMask/core/pull/2051)) + - Previously internal events and actions were only usable if they were listed as "allowed" via the `allowedActions` or `allowedEvents` options to the `RestrictedControllerMessenger` constructor or `ControllerMessenger.getRestricted()`. Now this works implicitly. + - In fact, attempting to allowlist any of them will raise a type error, as otherwise, it would be possible to specify a partial list of allowed actions or events, and that would be misleading, since all of them are allowed anyway. +- **BREAKING:** Rename `Namespaced` type to `NamespacedBy` ([#2051](https://github.com/MetaMask/core/pull/2051)) +- Alter controller messenger `ActionConstraint['handler']` type to remove usage of `any` ([#1890](https://github.com/MetaMask/core/pull/1890)) + - This type is now defined as the universal supertype of all functions, meaning any function can be safely assigned as an action handler, regardless of argument types, number of arguments, or return value type. +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) + ## [3.2.3] ### Changed - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) @@ -73,7 +98,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/base-controller@3.2.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/base-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/base-controller@3.2.3...@metamask/base-controller@4.0.0 [3.2.3]: https://github.com/MetaMask/core/compare/@metamask/base-controller@3.2.2...@metamask/base-controller@3.2.3 [3.2.2]: https://github.com/MetaMask/core/compare/@metamask/base-controller@3.2.1...@metamask/base-controller@3.2.2 [3.2.1]: https://github.com/MetaMask/core/compare/@metamask/base-controller@3.2.0...@metamask/base-controller@3.2.1 diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index 1197743585..b9e96696b2 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/base-controller", - "version": "3.2.3", + "version": "4.0.0", "description": "Provides scaffolding for controllers as well a communication system for all controllers", "keywords": [ "MetaMask", diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index ca14172c27..b759c02157 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. + ## [3.0.3] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -45,7 +50,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/composable-controller@3.0.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/composable-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/composable-controller@3.0.3...@metamask/composable-controller@4.0.0 [3.0.3]: https://github.com/MetaMask/core/compare/@metamask/composable-controller@3.0.2...@metamask/composable-controller@3.0.3 [3.0.2]: https://github.com/MetaMask/core/compare/@metamask/composable-controller@3.0.1...@metamask/composable-controller@3.0.2 [3.0.1]: https://github.com/MetaMask/core/compare/@metamask/composable-controller@3.0.0...@metamask/composable-controller@3.0.1 diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 0006b03970..50afea72d9 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/composable-controller", - "version": "3.0.3", + "version": "4.0.0", "description": "Consolidates the state from multiple controllers into one", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3" + "@metamask/base-controller": "^4.0.0" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.3", diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 87637f475f..f2e1e45595 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -5,8 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [6.0.0] ### Changed -- Bump dependency `@metamask/eth-query` from ^3.0.1 to ^4.0.0 ([#2028](https://github.com/MetaMask/core/pull/2028)) +- **BREAKING:** Bump `@metamask/eth-query` to ^4.0.0 ([#2028](https://github.com/MetaMask/core/pull/2028)) + - This affects `query`: the `sendAsync` method on the given EthQuery must now have a narrower type +- Bump `@metamask/utils` from ^8.1.0 to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) +- Change `BUILT_IN_NETWORKS` so that `rpc` entry now has a dummy `ticker` ([#1794](https://github.com/MetaMask/core/pull/1794)) +- Replace `ethjs-unit` ^0.1.6 with `@metamask/ethjs-unit` ^0.2.1 ([#2064](https://github.com/MetaMask/core/pull/2064)) + +### Fixed +- Move `@metamask/eth-query` from a development dependency to a runtime dependency ([#1815](https://github.com/MetaMask/core/pull/1815)) ## [5.0.2] ### Changed @@ -169,7 +178,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/controller-utils@5.0.2...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@6.0.0...HEAD +[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@5.0.2...@metamask/controller-utils@6.0.0 [5.0.2]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@5.0.1...@metamask/controller-utils@5.0.2 [5.0.1]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@5.0.0...@metamask/controller-utils@5.0.1 [5.0.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@4.3.2...@metamask/controller-utils@5.0.0 diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 657cf9b6db..070c401875 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/controller-utils", - "version": "5.0.2", + "version": "6.0.0", "description": "Data and convenience functions shared by multiple packages", "keywords": [ "MetaMask", diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index e592300a04..7cbd01e78e 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [6.0.1] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -86,7 +93,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/ens-controller@6.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@7.0.0...HEAD +[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@6.0.1...@metamask/ens-controller@7.0.0 [6.0.1]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@6.0.0...@metamask/ens-controller@6.0.1 [6.0.0]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@5.0.2...@metamask/ens-controller@6.0.0 [5.0.2]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@5.0.1...@metamask/ens-controller@5.0.2 diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index 9371005e60..a8f69c3af7 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/ens-controller", - "version": "6.0.1", + "version": "7.0.0", "description": "Maps ENS names to their resolved addresses by chain id", "keywords": [ "MetaMask", @@ -31,9 +31,9 @@ }, "dependencies": { "@ethersproject/providers": "^5.7.0", - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", - "@metamask/network-controller": "^16.0.0", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", + "@metamask/network-controller": "^17.0.0", "@metamask/utils": "^8.2.0", "ethereum-ens-network-map": "^1.0.2", "punycode": "^2.1.1" @@ -49,7 +49,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/network-controller": "^16.0.0" + "@metamask/network-controller": "^17.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index e7fc07ce9e..dd44d614bf 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Replace `ethjs-unit` ^0.1.6 with `@metamask/ethjs-unit` ^0.2.1 ([#2064](https://github.com/MetaMask/core/pull/2064)) +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/polling-controller` to ^2.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [10.0.1] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -125,7 +134,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/gas-fee-controller@10.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@11.0.0...HEAD +[11.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@10.0.1...@metamask/gas-fee-controller@11.0.0 [10.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@10.0.0...@metamask/gas-fee-controller@10.0.1 [10.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@9.0.0...@metamask/gas-fee-controller@10.0.0 [9.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@8.0.0...@metamask/gas-fee-controller@9.0.0 diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 95ea392db1..c31e56a8e9 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/gas-fee-controller", - "version": "10.0.1", + "version": "11.0.0", "description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens", "keywords": [ "MetaMask", @@ -30,12 +30,12 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/eth-query": "^4.0.0", "@metamask/ethjs-unit": "^0.2.1", - "@metamask/network-controller": "^16.0.0", - "@metamask/polling-controller": "^1.0.2", + "@metamask/network-controller": "^17.0.0", + "@metamask/polling-controller": "^2.0.0", "@metamask/utils": "^8.2.0", "@types/uuid": "^8.3.0", "ethereumjs-util": "^7.0.10", @@ -56,7 +56,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/network-controller": "^16.0.0" + "@metamask/network-controller": "^17.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index edde5b3428..401c023089 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [10.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/message-manager` to ^7.3.6 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/preferences-controller` to ^4.5.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [9.0.0] ### Added - Add `KeyringController:persistAllKeyrings` messenger action ([#1965](https://github.com/MetaMask/core/pull/1965)) @@ -233,7 +240,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@9.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@10.0.0...HEAD +[10.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@9.0.0...@metamask/keyring-controller@10.0.0 [9.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.1.0...@metamask/keyring-controller@9.0.0 [8.1.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.3...@metamask/keyring-controller@8.1.0 [8.0.3]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.2...@metamask/keyring-controller@8.0.3 diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index d3af495315..05a3cd86b5 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/keyring-controller", - "version": "9.0.0", + "version": "10.0.0", "description": "Stores identities seen in the wallet and manages interactions such as signing", "keywords": [ "MetaMask", @@ -31,10 +31,10 @@ }, "dependencies": { "@keystonehq/metamask-airgapped-keyring": "^0.13.1", - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/eth-keyring-controller": "^15.0.0", - "@metamask/message-manager": "^7.3.5", - "@metamask/preferences-controller": "^4.4.3", + "@metamask/message-manager": "^7.3.6", + "@metamask/preferences-controller": "^5.0.0", "@metamask/utils": "^8.2.0", "async-mutex": "^0.2.6", "ethereumjs-util": "^7.0.10", @@ -60,7 +60,7 @@ "uuid": "^8.3.2" }, "peerDependencies": { - "@metamask/preferences-controller": "^4.4.3" + "@metamask/preferences-controller": "^5.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/logging-controller/CHANGELOG.md b/packages/logging-controller/CHANGELOG.md index 5dd4951540..e72fbc216a 100644 --- a/packages/logging-controller/CHANGELOG.md +++ b/packages/logging-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [1.0.4] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -29,7 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release - Add logging controller ([#1089](https://github.com/MetaMask/core.git/pull/1089)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@1.0.4...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@2.0.0...HEAD +[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@1.0.4...@metamask/logging-controller@2.0.0 [1.0.4]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@1.0.3...@metamask/logging-controller@1.0.4 [1.0.3]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@1.0.2...@metamask/logging-controller@1.0.3 [1.0.2]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@1.0.1...@metamask/logging-controller@1.0.2 diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index bfc80f1e58..9c2eca87c9 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/logging-controller", - "version": "1.0.4", + "version": "2.0.0", "description": "Manages logging data to assist users and support staff", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "uuid": "^8.3.2" }, "devDependencies": { diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index a67e05a7f2..5e367f9213 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.3.6] +### Changed +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) +- Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is not breaking because the message managers still inherit from BaseController v1. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [7.3.5] ### Changed - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) @@ -126,7 +133,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/message-manager@7.3.5...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/message-manager@7.3.6...HEAD +[7.3.6]: https://github.com/MetaMask/core/compare/@metamask/message-manager@7.3.5...@metamask/message-manager@7.3.6 [7.3.5]: https://github.com/MetaMask/core/compare/@metamask/message-manager@7.3.4...@metamask/message-manager@7.3.5 [7.3.4]: https://github.com/MetaMask/core/compare/@metamask/message-manager@7.3.3...@metamask/message-manager@7.3.4 [7.3.3]: https://github.com/MetaMask/core/compare/@metamask/message-manager@7.3.2...@metamask/message-manager@7.3.3 diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index ae05fc7caf..b689f8748d 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/message-manager", - "version": "7.3.5", + "version": "7.3.6", "description": "Stores and manages interactions with signing requests", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/utils": "^8.2.0", "@types/uuid": "^8.3.0", diff --git a/packages/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index ab833a00de..f7094a2395 100644 --- a/packages/name-controller/CHANGELOG.md +++ b/packages/name-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) + ## [3.0.1] ### Changed - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) @@ -37,7 +43,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial Release ([#1647](https://github.com/MetaMask/core/pull/1647)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/name-controller@3.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/name-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/name-controller@3.0.1...@metamask/name-controller@4.0.0 [3.0.1]: https://github.com/MetaMask/core/compare/@metamask/name-controller@3.0.0...@metamask/name-controller@3.0.1 [3.0.0]: https://github.com/MetaMask/core/compare/@metamask/name-controller@2.0.0...@metamask/name-controller@3.0.0 [2.0.0]: https://github.com/MetaMask/core/compare/@metamask/name-controller@1.0.0...@metamask/name-controller@2.0.0 diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index 93e6cc9112..95a858e847 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/name-controller", - "version": "3.0.1", + "version": "4.0.0", "description": "Stores and suggests names for values such as Ethereum addresses", "keywords": [ "MetaMask", @@ -31,7 +31,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/utils": "^8.2.0", "async-mutex": "^0.2.6" }, diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index c883961a29..275e475daf 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [17.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [16.0.0] ### Changed - **BREAKING:** Bump dependency `@metamask/eth-query` from ^3.0.1 to ^4.0.0 ([#2028](https://github.com/MetaMask/core/pull/2028)) @@ -309,7 +315,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/network-controller@16.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@17.0.0...HEAD +[17.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@16.0.0...@metamask/network-controller@17.0.0 [16.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@15.2.0...@metamask/network-controller@16.0.0 [15.2.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@15.1.0...@metamask/network-controller@15.2.0 [15.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@15.0.0...@metamask/network-controller@15.1.0 diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index d23b1b6922..a57e717056 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/network-controller", - "version": "16.0.0", + "version": "17.0.0", "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/eth-json-rpc-infura": "^9.0.0", "@metamask/eth-json-rpc-middleware": "^12.0.1", "@metamask/eth-json-rpc-provider": "^2.3.0", diff --git a/packages/notification-controller/CHANGELOG.md b/packages/notification-controller/CHANGELOG.md index 74466e9b94..2b7cfdfb35 100644 --- a/packages/notification-controller/CHANGELOG.md +++ b/packages/notification-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) + ## [3.1.3] ### Changed - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) @@ -50,7 +56,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/notification-controller@3.1.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.3...@metamask/notification-controller@4.0.0 [3.1.3]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.2...@metamask/notification-controller@3.1.3 [3.1.2]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.1...@metamask/notification-controller@3.1.2 [3.1.1]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.0...@metamask/notification-controller@3.1.1 diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index a3aa97dd3f..b84aff4535 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/notification-controller", - "version": "3.1.3", + "version": "4.0.0", "description": "Manages display of notifications within MetaMask", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/utils": "^8.2.0", "nanoid": "^3.1.31" }, diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index 8aeaadc006..2b3fbc7bf0 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.0.0] +### Added +- Add new handler to `permissionRpcMethods.handlers` for `wallet_revokePermissions` RPC method ([#1889](https://github.com/MetaMask/core/pull/1889)) + +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- **BREAKING:** Update `PermittedRpcMethodHooks` type so it must support signature for `wallet_revokePermission` hook ([#1889](https://github.com/MetaMask/core/pull/1889)) +- Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [5.0.1] ### Changed - Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1895](https://github.com/MetaMask/core/pull/1895)) @@ -102,7 +113,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/permission-controller@5.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/permission-controller@6.0.0...HEAD +[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/permission-controller@5.0.1...@metamask/permission-controller@6.0.0 [5.0.1]: https://github.com/MetaMask/core/compare/@metamask/permission-controller@5.0.0...@metamask/permission-controller@5.0.1 [5.0.0]: https://github.com/MetaMask/core/compare/@metamask/permission-controller@4.1.2...@metamask/permission-controller@5.0.0 [4.1.2]: https://github.com/MetaMask/core/compare/@metamask/permission-controller@4.1.1...@metamask/permission-controller@4.1.2 diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index aa76075980..54c96910e7 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/permission-controller", - "version": "5.0.1", + "version": "6.0.0", "description": "Mediates access to JSON-RPC methods, used to interact with pieces of the MetaMask stack, via middleware for json-rpc-engine", "keywords": [ "MetaMask", @@ -30,9 +30,9 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/approval-controller": "^4.1.0", - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/approval-controller": "^5.0.0", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/json-rpc-engine": "^7.3.0", "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.2.0", @@ -52,7 +52,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/approval-controller": "^4.1.0" + "@metamask/approval-controller": "^5.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 2558a2d55b..650cd4d767 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/json-rpc-engine": "^7.3.0", "@metamask/utils": "^8.2.0" }, diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index 2aac6cab84..cf6f630775 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [7.0.1] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -97,7 +103,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/phishing-controller@7.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@8.0.0...HEAD +[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@7.0.1...@metamask/phishing-controller@8.0.0 [7.0.1]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@7.0.0...@metamask/phishing-controller@7.0.1 [7.0.0]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@6.0.2...@metamask/phishing-controller@7.0.0 [6.0.2]: https://github.com/MetaMask/core/compare/@metamask/phishing-controller@6.0.1...@metamask/phishing-controller@6.0.2 diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index f74cf3c47e..2924187f80 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/phishing-controller", - "version": "7.0.1", + "version": "8.0.0", "description": "Maintains a periodically updated list of approved and unapproved website origins", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@types/punycode": "^2.1.0", "eth-phishing-detect": "^1.2.0", "punycode": "^2.1.1" diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index 23be47d73c..278a6f4d3e 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [1.0.2] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -39,7 +46,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.2...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@2.0.0...HEAD +[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.2...@metamask/polling-controller@2.0.0 [1.0.2]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.1...@metamask/polling-controller@1.0.2 [1.0.1]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.0...@metamask/polling-controller@1.0.1 [1.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@0.2.0...@metamask/polling-controller@1.0.0 diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index c39071efcf..60f8f1ef2f 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/polling-controller", - "version": "1.0.2", + "version": "2.0.0", "description": "Polling Controller is the base for controllers that polling by networkClientId", "keywords": [ "MetaMask", @@ -30,9 +30,9 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", - "@metamask/network-controller": "^16.0.0", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", + "@metamask/network-controller": "^17.0.0", "@metamask/utils": "^8.2.0", "@types/uuid": "^8.3.0", "fast-json-stable-stringify": "^2.1.0", @@ -50,7 +50,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/network-controller": "^16.0.0" + "@metamask/network-controller": "^17.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/preferences-controller/CHANGELOG.md b/packages/preferences-controller/CHANGELOG.md index 6ca35f2f31..d7f7876412 100644 --- a/packages/preferences-controller/CHANGELOG.md +++ b/packages/preferences-controller/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0] +### Added +- **BREAKING** Add required property `showIncomingTransactions` to `PreferencesState` ([#1659](https://github.com/MetaMask/core/pull/1659)) +- Add types `EtherscanSupportedChains`, `EtherscanSupportedHexChainId` ([#1659](https://github.com/MetaMask/core/pull/1659)) +- Add constant `ETHERSCAN_SUPPORTED_CHAIN_IDS` ([#1659](https://github.com/MetaMask/core/pull/1659)) +- Add `setEnabledNetworkIncomingTransactions` method ([#1659](https://github.com/MetaMask/core/pull/1659)) + - This can be used to set the `showIncomingTransactions` preference for the given chain ID. + +### Changed +- Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is not breaking because this controller still inherits from BaseController v1. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [4.4.3] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -76,7 +89,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/preferences-controller@4.4.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@5.0.0...HEAD +[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.3...@metamask/preferences-controller@5.0.0 [4.4.3]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.2...@metamask/preferences-controller@4.4.3 [4.4.2]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.1...@metamask/preferences-controller@4.4.2 [4.4.1]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.0...@metamask/preferences-controller@4.4.1 diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 1ba9e98799..ceebdaf90a 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/preferences-controller", - "version": "4.4.3", + "version": "5.0.0", "description": "Manages user-configurable settings for MetaMask", "keywords": [ "MetaMask", @@ -30,8 +30,8 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2" + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.3", diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index 275398a9e4..2f23b75121 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/selected-network-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [0.1.4] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -32,7 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.1.4...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.1.4...@metamask/queued-request-controller@0.2.0 [0.1.4]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.1.3...@metamask/queued-request-controller@0.1.4 [0.1.3]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.1.2...@metamask/queued-request-controller@0.1.3 [0.1.2]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.1.1...@metamask/queued-request-controller@0.1.2 diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index 1b4d900164..0902efa8a5 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/queued-request-controller", - "version": "0.1.4", + "version": "0.2.0", "description": "Includes a controller and middleware that implements a request queue", "keywords": [ "MetaMask", @@ -30,17 +30,17 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/json-rpc-engine": "^7.3.0", - "@metamask/network-controller": "^16.0.0", + "@metamask/network-controller": "^17.0.0", "@metamask/rpc-errors": "^6.1.0", - "@metamask/selected-network-controller": "^3.1.2", + "@metamask/selected-network-controller": "^4.0.0", "@metamask/swappable-obj-proxy": "^2.1.0", "@metamask/utils": "^8.2.0" }, "devDependencies": { - "@metamask/approval-controller": "^4.1.0", + "@metamask/approval-controller": "^5.0.0", "@metamask/auto-changelog": "^3.4.3", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", @@ -55,8 +55,8 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/network-controller": "^16.0.0", - "@metamask/selected-network-controller": "^3.1.2" + "@metamask/network-controller": "^17.0.0", + "@metamask/selected-network-controller": "^4.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index 38d67814f1..15a7cb8d1a 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Changed +- **BREAKING:** Enforce that `RateLimitedApi['method']` matches action handler type instead of using `any` ([#1890](https://github.com/MetaMask/core/pull/1890)) +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. + ## [3.0.3] ### Changed - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747)) @@ -51,7 +57,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/rate-limit-controller@3.0.3...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@3.0.3...@metamask/rate-limit-controller@4.0.0 [3.0.3]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@3.0.2...@metamask/rate-limit-controller@3.0.3 [3.0.2]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@3.0.1...@metamask/rate-limit-controller@3.0.2 [3.0.1]: https://github.com/MetaMask/core/compare/@metamask/rate-limit-controller@3.0.0...@metamask/rate-limit-controller@3.0.1 diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index c83b8e364f..d3a06b0750 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/rate-limit-controller", - "version": "3.0.3", + "version": "4.0.0", "description": "Contains logic for rate-limiting API endpoints by requesting origin", "keywords": [ "MetaMask", @@ -30,7 +30,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/rpc-errors": "^6.1.0" }, "devDependencies": { diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 86ed3cdb96..40135d7bda 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [3.1.2] ### Changed - **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 @@ -44,7 +50,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial Release ([#1643](https://github.com/MetaMask/core/pull/1643)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@3.1.2...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@3.1.2...@metamask/selected-network-controller@4.0.0 [3.1.2]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@3.1.1...@metamask/selected-network-controller@3.1.2 [3.1.1]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@3.1.0...@metamask/selected-network-controller@3.1.1 [3.1.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@3.0.0...@metamask/selected-network-controller@3.1.0 diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index ea14a4175f..d3f447452c 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": "3.1.2", + "version": "4.0.0", "description": "Provides an interface to the currently selected networkClientId for a given domain", "keywords": [ "MetaMask", @@ -30,9 +30,9 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/base-controller": "^3.2.3", + "@metamask/base-controller": "^4.0.0", "@metamask/json-rpc-engine": "^7.3.0", - "@metamask/network-controller": "^16.0.0", + "@metamask/network-controller": "^17.0.0", "@metamask/swappable-obj-proxy": "^2.1.0" }, "devDependencies": { @@ -50,7 +50,7 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/network-controller": "^16.0.0" + "@metamask/network-controller": "^17.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 422021d846..7a34e57db3 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0] +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/keyring-controller` to ^10.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/logging-controller` to ^2.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/message-manager` to ^7.3.6 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [7.0.0] ### Changed - **BREAKING**: Add `@metamask/keyring-controller` as a dependency and peer dependency @@ -102,7 +112,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release ([#1214](https://github.com/MetaMask/core/pull/1214)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@7.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@8.0.0...HEAD +[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@7.0.0...@metamask/signature-controller@8.0.0 [7.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@6.1.3...@metamask/signature-controller@7.0.0 [6.1.3]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@6.1.2...@metamask/signature-controller@6.1.3 [6.1.2]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@6.1.1...@metamask/signature-controller@6.1.2 diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 83026ba5cb..b97190e113 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/signature-controller", - "version": "7.0.0", + "version": "8.0.0", "description": "Processes signing requests in order to sign arbitrary and typed data", "keywords": [ "MetaMask", @@ -30,12 +30,12 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/approval-controller": "^4.1.0", - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", - "@metamask/keyring-controller": "^9.0.0", - "@metamask/logging-controller": "^1.0.4", - "@metamask/message-manager": "^7.3.5", + "@metamask/approval-controller": "^5.0.0", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", + "@metamask/keyring-controller": "^10.0.0", + "@metamask/logging-controller": "^2.0.0", + "@metamask/message-manager": "^7.3.6", "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.2.0", "ethereumjs-util": "^7.0.10", @@ -52,9 +52,9 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/approval-controller": "^4.1.0", - "@metamask/keyring-controller": "^9.0.0", - "@metamask/logging-controller": "^1.0.4" + "@metamask/approval-controller": "^5.0.0", + "@metamask/keyring-controller": "^10.0.0", + "@metamask/logging-controller": "^2.0.0" }, "engines": { "node": ">=16.0.0" diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index b48f5d092d..4769e7c544 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -6,6 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [18.0.0] +### Added +- Add `updateEditableParams` method ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Add `initApprovals` method to trigger the approval flow for any pending transactions during initialisation ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Add `getTransactions` method to search transactions using the given criteria and options ([#2056](https://github.com/MetaMask/core/pull/2056)) + +### Changed +- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. +- **BREAKING:** Add `finished` and `publish-skip` events to `Events` type +- **BREAKING:** Update `TransactionReceipt` type so `transactionIndex` is now a string rather than a number ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `nonce-tracker` to ^3.0.0 ([#2040](https://github.com/MetaMask/core/pull/2040)) +- The controller now emits a `transaction-status-update` event each time the status of a transaction changes (e.g. submitted, rejected, etc.) ([#2027](https://github.com/MetaMask/core/pull/2027)) +- Make `getCurrentAccountEIP1559Compatibility` constructor parameter optional ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Normalize the gas values provided to the `speedUpTransaction` and `stopTransaction` methods ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Persist any property changes performed by the `afterSign` hook ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Report success to the approver if publishing is skipped by the `beforePublish` hook ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Update `postTxBalance` after all swap transactions ([#2056](https://github.com/MetaMask/core/pull/2056)) +- Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/gas-fee-controller` to ^11.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) +- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) + ## [17.0.0] ### Added - **BREAKING:** Add additional support swaps support ([#1877](https://github.com/MetaMask/core/pull/1877)) @@ -288,7 +311,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@17.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@18.0.0...HEAD +[18.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@17.0.0...@metamask/transaction-controller@18.0.0 [17.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@16.0.0...@metamask/transaction-controller@17.0.0 [16.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@15.0.0...@metamask/transaction-controller@16.0.0 [15.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@14.0.0...@metamask/transaction-controller@15.0.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index cc4063fc37..6258f24345 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "17.0.0", + "version": "18.0.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", @@ -33,13 +33,13 @@ "@ethereumjs/common": "^3.2.0", "@ethereumjs/tx": "^4.2.0", "@ethersproject/abi": "^5.7.0", - "@metamask/approval-controller": "^4.1.0", - "@metamask/base-controller": "^3.2.3", - "@metamask/controller-utils": "^5.0.2", + "@metamask/approval-controller": "^5.0.0", + "@metamask/base-controller": "^4.0.0", + "@metamask/controller-utils": "^6.0.0", "@metamask/eth-query": "^4.0.0", - "@metamask/gas-fee-controller": "^10.0.1", + "@metamask/gas-fee-controller": "^11.0.0", "@metamask/metamask-eth-abis": "^3.0.0", - "@metamask/network-controller": "^16.0.0", + "@metamask/network-controller": "^17.0.0", "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.2.0", "async-mutex": "^0.2.6", @@ -65,9 +65,9 @@ "typescript": "~4.8.4" }, "peerDependencies": { - "@metamask/approval-controller": "^4.1.0", - "@metamask/gas-fee-controller": "^10.0.1", - "@metamask/network-controller": "^16.0.0", + "@metamask/approval-controller": "^5.0.0", + "@metamask/gas-fee-controller": "^11.0.0", + "@metamask/network-controller": "^17.0.0", "babel-runtime": "^6.26.0" }, "engines": { diff --git a/yarn.lock b/yarn.lock index a2742fec15..fe60e44483 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1370,10 +1370,10 @@ __metadata: resolution: "@metamask/accounts-controller@workspace:packages/accounts-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/eth-snap-keyring": ^2.0.0 "@metamask/keyring-api": ^1.1.0 - "@metamask/keyring-controller": ^9.0.0 + "@metamask/keyring-controller": ^10.0.0 "@metamask/snaps-controllers": ^3.2.0 "@metamask/snaps-utils": ^3.2.0 "@metamask/utils": ^8.2.0 @@ -1389,7 +1389,7 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/keyring-controller": ^9.0.0 + "@metamask/keyring-controller": ^10.0.0 languageName: unknown linkType: soft @@ -1409,8 +1409,8 @@ __metadata: resolution: "@metamask/address-book-controller@workspace:packages/address-book-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -1427,7 +1427,7 @@ __metadata: resolution: "@metamask/announcement-controller@workspace:packages/announcement-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 jest: ^27.5.1 @@ -1438,12 +1438,12 @@ __metadata: languageName: unknown linkType: soft -"@metamask/approval-controller@^4.0.0, @metamask/approval-controller@^4.1.0, @metamask/approval-controller@workspace:packages/approval-controller": +"@metamask/approval-controller@^5.0.0, @metamask/approval-controller@workspace:packages/approval-controller": version: 0.0.0-use.local resolution: "@metamask/approval-controller@workspace:packages/approval-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -1458,6 +1458,19 @@ __metadata: languageName: unknown linkType: soft +"@metamask/approval-controller@npm:^4.0.0, @metamask/approval-controller@npm:^4.1.0": + version: 4.1.0 + resolution: "@metamask/approval-controller@npm:4.1.0" + dependencies: + "@metamask/base-controller": ^3.2.3 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.1.0 + immer: ^9.0.6 + nanoid: ^3.1.31 + checksum: b75c900fc656cfc141f8954ccb48346970d561ba83852ec1d27cecddb6606033e03ea560d7253847bd09dfb8317548c9be9cb92c50d906e55134d892d3785806 + languageName: node + linkType: hard + "@metamask/assets-controllers@workspace:packages/assets-controllers": version: 0.0.0-use.local resolution: "@metamask/assets-controllers@workspace:packages/assets-controllers" @@ -1467,17 +1480,17 @@ __metadata: "@ethersproject/contracts": ^5.7.0 "@ethersproject/providers": ^5.7.0 "@metamask/abi-utils": ^2.0.2 - "@metamask/approval-controller": ^4.1.0 + "@metamask/approval-controller": ^5.0.0 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/contract-metadata": ^2.4.0 - "@metamask/controller-utils": ^5.0.2 + "@metamask/controller-utils": ^6.0.0 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-provider-http": ^0.2.0 "@metamask/metamask-eth-abis": 3.0.0 - "@metamask/network-controller": ^16.0.0 - "@metamask/polling-controller": ^1.0.2 - "@metamask/preferences-controller": ^4.4.3 + "@metamask/network-controller": ^17.0.0 + "@metamask/polling-controller": ^2.0.0 + "@metamask/preferences-controller": ^5.0.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -1498,9 +1511,9 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/approval-controller": ^4.1.0 - "@metamask/network-controller": ^16.0.0 - "@metamask/preferences-controller": ^4.4.3 + "@metamask/approval-controller": ^5.0.0 + "@metamask/network-controller": ^17.0.0 + "@metamask/preferences-controller": ^5.0.0 languageName: unknown linkType: soft @@ -1519,7 +1532,7 @@ __metadata: languageName: node linkType: hard -"@metamask/base-controller@^3.2.0, @metamask/base-controller@^3.2.3, @metamask/base-controller@workspace:packages/base-controller": +"@metamask/base-controller@^4.0.0, @metamask/base-controller@workspace:packages/base-controller": version: 0.0.0-use.local resolution: "@metamask/base-controller@workspace:packages/base-controller" dependencies: @@ -1538,6 +1551,16 @@ __metadata: languageName: unknown linkType: soft +"@metamask/base-controller@npm:^3.2.0, @metamask/base-controller@npm:^3.2.3": + version: 3.2.3 + resolution: "@metamask/base-controller@npm:3.2.3" + dependencies: + "@metamask/utils": ^8.1.0 + immer: ^9.0.6 + checksum: f49fcf2bf892ec25657c2d72a50b3c4f3cad59acb1b74d9fdcdf564107b8f38f73647c696aaa9699d94828b5797d8f1479dab44a2dbcda987c268b0088bb3b76 + languageName: node + linkType: hard + "@metamask/browser-passworder@npm:^4.2.0": version: 4.2.0 resolution: "@metamask/browser-passworder@npm:4.2.0" @@ -1552,7 +1575,7 @@ __metadata: resolution: "@metamask/composable-controller@workspace:packages/composable-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 immer: ^9.0.6 @@ -1572,7 +1595,7 @@ __metadata: languageName: node linkType: hard -"@metamask/controller-utils@^5.0.2, @metamask/controller-utils@workspace:packages/controller-utils": +"@metamask/controller-utils@^6.0.0, @metamask/controller-utils@workspace:packages/controller-utils": version: 0.0.0-use.local resolution: "@metamask/controller-utils@workspace:packages/controller-utils" dependencies: @@ -1596,6 +1619,21 @@ __metadata: languageName: unknown linkType: soft +"@metamask/controller-utils@npm:^5.0.2": + version: 5.0.2 + resolution: "@metamask/controller-utils@npm:5.0.2" + dependencies: + "@metamask/eth-query": ^3.0.1 + "@metamask/utils": ^8.1.0 + "@spruceid/siwe-parser": 1.1.3 + eth-ens-namehash: ^2.0.8 + ethereumjs-util: ^7.0.10 + ethjs-unit: ^0.1.6 + fast-deep-equal: ^3.1.3 + checksum: 2345ab9ee0ba900fe2249d80009acfcf458bc60b30418234d00f5f04247b1182a585050572237f8ab09aa23032a24b99ad96399fc0798a0e9a114a29c3bf90d6 + languageName: node + linkType: hard + "@metamask/core-monorepo@workspace:.": version: 0.0.0-use.local resolution: "@metamask/core-monorepo@workspace:." @@ -1662,9 +1700,9 @@ __metadata: dependencies: "@ethersproject/providers": ^5.7.0 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 - "@metamask/network-controller": ^16.0.0 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 + "@metamask/network-controller": ^17.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -1676,7 +1714,7 @@ __metadata: typedoc-plugin-missing-exports: ^2.0.0 typescript: ~4.8.4 peerDependencies: - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 languageName: unknown linkType: soft @@ -1807,6 +1845,16 @@ __metadata: languageName: node linkType: hard +"@metamask/eth-query@npm:^3.0.1": + version: 3.0.1 + resolution: "@metamask/eth-query@npm:3.0.1" + dependencies: + json-rpc-random-id: ^1.0.0 + xtend: ^4.0.1 + checksum: b9a323dff67328eace7d54fc8b0bc4dd763bf15760870656cbd5aad5380d1ee4489fb5c59506290d5f77cf55e74e530ee97b52702a329f1090ec03a6158434b7 + languageName: node + linkType: hard + "@metamask/eth-query@npm:^4.0.0": version: 4.0.0 resolution: "@metamask/eth-query@npm:4.0.0" @@ -1880,17 +1928,17 @@ __metadata: languageName: node linkType: hard -"@metamask/gas-fee-controller@^10.0.1, @metamask/gas-fee-controller@workspace:packages/gas-fee-controller": +"@metamask/gas-fee-controller@^11.0.0, @metamask/gas-fee-controller@workspace:packages/gas-fee-controller": version: 0.0.0-use.local resolution: "@metamask/gas-fee-controller@workspace:packages/gas-fee-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-unit": ^0.2.1 - "@metamask/network-controller": ^16.0.0 - "@metamask/polling-controller": ^1.0.2 + "@metamask/network-controller": ^17.0.0 + "@metamask/polling-controller": ^2.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 "@types/jest-when": ^2.7.3 @@ -1907,7 +1955,7 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 languageName: unknown linkType: soft @@ -1984,7 +2032,7 @@ __metadata: languageName: node linkType: hard -"@metamask/keyring-controller@^9.0.0, @metamask/keyring-controller@workspace:packages/keyring-controller": +"@metamask/keyring-controller@^10.0.0, @metamask/keyring-controller@workspace:packages/keyring-controller": version: 0.0.0-use.local resolution: "@metamask/keyring-controller@workspace:packages/keyring-controller" dependencies: @@ -1993,11 +2041,11 @@ __metadata: "@keystonehq/bc-ur-registry-eth": ^0.9.0 "@keystonehq/metamask-airgapped-keyring": ^0.13.1 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/eth-keyring-controller": ^15.0.0 "@metamask/eth-sig-util": ^7.0.0 - "@metamask/message-manager": ^7.3.5 - "@metamask/preferences-controller": ^4.4.3 + "@metamask/message-manager": ^7.3.6 + "@metamask/preferences-controller": ^5.0.0 "@metamask/scure-bip39": ^2.1.1 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -2015,17 +2063,17 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/preferences-controller": ^4.4.3 + "@metamask/preferences-controller": ^5.0.0 languageName: unknown linkType: soft -"@metamask/logging-controller@^1.0.4, @metamask/logging-controller@workspace:packages/logging-controller": +"@metamask/logging-controller@^2.0.0, @metamask/logging-controller@workspace:packages/logging-controller": version: 0.0.0-use.local resolution: "@metamask/logging-controller@workspace:packages/logging-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 jest: ^27.5.1 @@ -2037,13 +2085,13 @@ __metadata: languageName: unknown linkType: soft -"@metamask/message-manager@^7.3.5, @metamask/message-manager@workspace:packages/message-manager": +"@metamask/message-manager@^7.3.6, @metamask/message-manager@workspace:packages/message-manager": version: 0.0.0-use.local resolution: "@metamask/message-manager@workspace:packages/message-manager" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/eth-sig-util": ^7.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -2072,7 +2120,7 @@ __metadata: resolution: "@metamask/name-controller@workspace:packages/name-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 async-mutex: ^0.2.6 @@ -2085,14 +2133,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/network-controller@^16.0.0, @metamask/network-controller@workspace:packages/network-controller": +"@metamask/network-controller@^17.0.0, @metamask/network-controller@workspace:packages/network-controller": version: 0.0.0-use.local resolution: "@metamask/network-controller@workspace:packages/network-controller" dependencies: "@json-rpc-specification/meta-schema": ^1.0.6 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/eth-json-rpc-infura": ^9.0.0 "@metamask/eth-json-rpc-middleware": ^12.0.1 "@metamask/eth-json-rpc-provider": ^2.3.0 @@ -2126,7 +2174,7 @@ __metadata: resolution: "@metamask/notification-controller@workspace:packages/notification-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -2170,18 +2218,38 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@^5.0.0, @metamask/permission-controller@workspace:packages/permission-controller": - version: 0.0.0-use.local - resolution: "@metamask/permission-controller@workspace:packages/permission-controller" +"@metamask/permission-controller@npm:^5.0.0": + version: 5.0.1 + resolution: "@metamask/permission-controller@npm:5.0.1" dependencies: "@metamask/approval-controller": ^4.1.0 - "@metamask/auto-changelog": ^3.4.3 "@metamask/base-controller": ^3.2.3 "@metamask/controller-utils": ^5.0.2 "@metamask/json-rpc-engine": ^7.3.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/utils": ^8.2.0 "@types/deep-freeze-strict": ^1.1.0 + deep-freeze-strict: ^1.1.1 + immer: ^9.0.6 + nanoid: ^3.1.31 + peerDependencies: + "@metamask/approval-controller": ^4.1.0 + checksum: fc61df3f5532b35b9ec26ca712848d680d616103e3d06470691412ee8b5a4b70e27d530065f601b64e0a5c2022aa129b8e6ddcc7c3e8325720aa0f639e3e10ba + languageName: node + linkType: hard + +"@metamask/permission-controller@workspace:packages/permission-controller": + version: 0.0.0-use.local + resolution: "@metamask/permission-controller@workspace:packages/permission-controller" + dependencies: + "@metamask/approval-controller": ^5.0.0 + "@metamask/auto-changelog": ^3.4.3 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 + "@metamask/json-rpc-engine": ^7.3.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.2.0 + "@types/deep-freeze-strict": ^1.1.0 "@types/jest": ^27.4.1 deep-freeze-strict: ^1.1.1 deepmerge: ^4.2.2 @@ -2193,7 +2261,7 @@ __metadata: typedoc-plugin-missing-exports: ^2.0.0 typescript: ~4.8.4 peerDependencies: - "@metamask/approval-controller": ^4.1.0 + "@metamask/approval-controller": ^5.0.0 languageName: unknown linkType: soft @@ -2202,7 +2270,7 @@ __metadata: resolution: "@metamask/permission-log-controller@workspace:packages/permission-log-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/json-rpc-engine": ^7.3.0 "@metamask/utils": ^8.2.0 "@types/deep-freeze-strict": ^1.1.0 @@ -2219,13 +2287,26 @@ __metadata: languageName: unknown linkType: soft -"@metamask/phishing-controller@^7.0.0, @metamask/phishing-controller@workspace:packages/phishing-controller": +"@metamask/phishing-controller@npm:^7.0.0": + version: 7.0.1 + resolution: "@metamask/phishing-controller@npm:7.0.1" + dependencies: + "@metamask/base-controller": ^3.2.3 + "@metamask/controller-utils": ^5.0.2 + "@types/punycode": ^2.1.0 + eth-phishing-detect: ^1.2.0 + punycode: ^2.1.1 + checksum: 9d7b4db829ce78163bc308ef520382a4d3eb43597acf05b56e1f712c56dfc60b504f61f532ebdc656f9fbeb8c26f62b7cf075aef3c5d8263b993c628cc485d81 + languageName: node + linkType: hard + +"@metamask/phishing-controller@workspace:packages/phishing-controller": version: 0.0.0-use.local resolution: "@metamask/phishing-controller@workspace:packages/phishing-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@types/jest": ^27.4.1 "@types/punycode": ^2.1.0 deepmerge: ^4.2.2 @@ -2241,14 +2322,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/polling-controller@^1.0.2, @metamask/polling-controller@workspace:packages/polling-controller": +"@metamask/polling-controller@^2.0.0, @metamask/polling-controller@workspace:packages/polling-controller": version: 0.0.0-use.local resolution: "@metamask/polling-controller@workspace:packages/polling-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 - "@metamask/network-controller": ^16.0.0 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 + "@metamask/network-controller": ^17.0.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 "@types/uuid": ^8.3.0 @@ -2262,7 +2343,7 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 languageName: unknown linkType: soft @@ -2276,13 +2357,13 @@ __metadata: languageName: node linkType: hard -"@metamask/preferences-controller@^4.4.3, @metamask/preferences-controller@workspace:packages/preferences-controller": +"@metamask/preferences-controller@^5.0.0, @metamask/preferences-controller@workspace:packages/preferences-controller": version: 0.0.0-use.local resolution: "@metamask/preferences-controller@workspace:packages/preferences-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 jest: ^27.5.1 @@ -2316,14 +2397,14 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/queued-request-controller@workspace:packages/queued-request-controller" dependencies: - "@metamask/approval-controller": ^4.1.0 + "@metamask/approval-controller": ^5.0.0 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/json-rpc-engine": ^7.3.0 - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 "@metamask/rpc-errors": ^6.1.0 - "@metamask/selected-network-controller": ^3.1.2 + "@metamask/selected-network-controller": ^4.0.0 "@metamask/swappable-obj-proxy": ^2.1.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -2338,8 +2419,8 @@ __metadata: typedoc-plugin-missing-exports: ^2.0.0 typescript: ~4.8.4 peerDependencies: - "@metamask/network-controller": ^16.0.0 - "@metamask/selected-network-controller": ^3.1.2 + "@metamask/network-controller": ^17.0.0 + "@metamask/selected-network-controller": ^4.0.0 languageName: unknown linkType: soft @@ -2348,7 +2429,7 @@ __metadata: resolution: "@metamask/rate-limit-controller@workspace:packages/rate-limit-controller" dependencies: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/rpc-errors": ^6.1.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -2394,14 +2475,14 @@ __metadata: languageName: node linkType: hard -"@metamask/selected-network-controller@^3.1.2, @metamask/selected-network-controller@workspace:packages/selected-network-controller": +"@metamask/selected-network-controller@^4.0.0, @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: "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 + "@metamask/base-controller": ^4.0.0 "@metamask/json-rpc-engine": ^7.3.0 - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 "@metamask/swappable-obj-proxy": ^2.1.0 "@types/jest": ^27.4.1 deepmerge: ^4.2.2 @@ -2415,7 +2496,7 @@ __metadata: typedoc-plugin-missing-exports: ^2.0.0 typescript: ~4.8.4 peerDependencies: - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 languageName: unknown linkType: soft @@ -2423,13 +2504,13 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/signature-controller@workspace:packages/signature-controller" dependencies: - "@metamask/approval-controller": ^4.1.0 + "@metamask/approval-controller": ^5.0.0 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 - "@metamask/keyring-controller": ^9.0.0 - "@metamask/logging-controller": ^1.0.4 - "@metamask/message-manager": ^7.3.5 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 + "@metamask/keyring-controller": ^10.0.0 + "@metamask/logging-controller": ^2.0.0 + "@metamask/message-manager": ^7.3.6 "@metamask/rpc-errors": ^6.1.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -2442,9 +2523,9 @@ __metadata: typedoc-plugin-missing-exports: ^2.0.0 typescript: ~4.8.4 peerDependencies: - "@metamask/approval-controller": ^4.1.0 - "@metamask/keyring-controller": ^9.0.0 - "@metamask/logging-controller": ^1.0.4 + "@metamask/approval-controller": ^5.0.0 + "@metamask/keyring-controller": ^10.0.0 + "@metamask/logging-controller": ^2.0.0 languageName: unknown linkType: soft @@ -2564,15 +2645,15 @@ __metadata: "@ethereumjs/common": ^3.2.0 "@ethereumjs/tx": ^4.2.0 "@ethersproject/abi": ^5.7.0 - "@metamask/approval-controller": ^4.1.0 + "@metamask/approval-controller": ^5.0.0 "@metamask/auto-changelog": ^3.4.3 - "@metamask/base-controller": ^3.2.3 - "@metamask/controller-utils": ^5.0.2 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-provider-http": ^0.2.0 - "@metamask/gas-fee-controller": ^10.0.1 + "@metamask/gas-fee-controller": ^11.0.0 "@metamask/metamask-eth-abis": ^3.0.0 - "@metamask/network-controller": ^16.0.0 + "@metamask/network-controller": ^17.0.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/utils": ^8.2.0 "@types/jest": ^27.4.1 @@ -2593,9 +2674,9 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: - "@metamask/approval-controller": ^4.1.0 - "@metamask/gas-fee-controller": ^10.0.1 - "@metamask/network-controller": ^16.0.0 + "@metamask/approval-controller": ^5.0.0 + "@metamask/gas-fee-controller": ^11.0.0 + "@metamask/network-controller": ^17.0.0 babel-runtime: ^6.26.0 languageName: unknown linkType: soft @@ -5604,7 +5685,7 @@ __metadata: languageName: node linkType: hard -"ethjs-unit@npm:0.1.6": +"ethjs-unit@npm:0.1.6, ethjs-unit@npm:^0.1.6": version: 0.1.6 resolution: "ethjs-unit@npm:0.1.6" dependencies: