From f02c5209fd0378cfafe29c4567200a9a081a63b6 Mon Sep 17 00:00:00 2001 From: cryptodev-2s <109512101+cryptodev-2s@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:49:12 +0100 Subject: [PATCH] Release/171.0.0 (#4508) ## Explanation This release includes the following packages: - `@metamask/assets-controllers`: 35.0.0 - `@metamask/ens-controller`: 13.0.0 - `@metamask/eth-json-rpc-provider`: 4.1.0 - `@metamask/gas-fee-controller`: 19.0.0 - `@metamask/network-controller`: 20.0.0 - `@metamask/polling-controller`: 9.0.0 - `@metamask/queued-request-controller`: 3.0.0 - `@metamask/selected-network-controller`: 16.0.0 - `@metamask/transaction-controller`: 35.0.0 - `@metamask/user-operation-controller`: 14.0.0 ## References ## Changelog ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate --- package.json | 4 +- packages/assets-controllers/CHANGELOG.md | 15 +++- packages/assets-controllers/package.json | 8 +-- packages/ens-controller/CHANGELOG.md | 9 ++- packages/ens-controller/package.json | 6 +- packages/eth-json-rpc-provider/CHANGELOG.md | 14 +++- packages/eth-json-rpc-provider/package.json | 2 +- packages/gas-fee-controller/CHANGELOG.md | 10 ++- packages/gas-fee-controller/package.json | 8 +-- packages/network-controller/CHANGELOG.md | 12 +++- packages/network-controller/package.json | 4 +- packages/polling-controller/CHANGELOG.md | 9 ++- packages/polling-controller/package.json | 6 +- .../queued-request-controller/CHANGELOG.md | 10 ++- .../queued-request-controller/package.json | 10 +-- .../selected-network-controller/CHANGELOG.md | 9 ++- .../selected-network-controller/package.json | 6 +- packages/transaction-controller/CHANGELOG.md | 10 ++- packages/transaction-controller/package.json | 12 ++-- .../user-operation-controller/CHANGELOG.md | 12 +++- .../user-operation-controller/package.json | 16 ++--- yarn.lock | 72 +++++++++---------- 22 files changed, 177 insertions(+), 87 deletions(-) diff --git a/package.json b/package.json index d08f37be6b..f4f005d53d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "170.0.0", + "version": "171.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { @@ -56,7 +56,7 @@ "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", "@metamask/eth-block-tracker": "^9.0.3", - "@metamask/eth-json-rpc-provider": "^4.0.0", + "@metamask/eth-json-rpc-provider": "^4.1.0", "@metamask/json-rpc-engine": "^9.0.0", "@metamask/utils": "^8.3.0", "@types/jest": "^27.4.1", diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index c6bf2671c5..869c8c5b06 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [35.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- Bump `@metamask/polling-controller` to `^9.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- Bump `@metamask/accounts-controller` to `^17.2.0` ([#4498](https://github.com/MetaMask/core/pull/4498)) + +### Fixed + +- Add support for tokenURI encoded images to `NftController` methods `addNft`, `watchNft` and `updateNftMetadata` ([#4482](https://github.com/MetaMask/core/pull/4482)) + ## [34.0.0] ### Added @@ -981,7 +993,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@34.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@35.0.0...HEAD +[35.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@34.0.0...@metamask/assets-controllers@35.0.0 [34.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@33.0.0...@metamask/assets-controllers@34.0.0 [33.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@32.0.0...@metamask/assets-controllers@33.0.0 [32.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@31.0.0...@metamask/assets-controllers@32.0.0 diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index b6257f930e..b52424af72 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/assets-controllers", - "version": "34.0.0", + "version": "35.0.0", "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)", "keywords": [ "MetaMask", @@ -55,8 +55,8 @@ "@metamask/eth-query": "^4.0.0", "@metamask/keyring-controller": "^17.1.0", "@metamask/metamask-eth-abis": "^3.1.1", - "@metamask/network-controller": "^19.0.0", - "@metamask/polling-controller": "^8.0.0", + "@metamask/network-controller": "^20.0.0", + "@metamask/polling-controller": "^9.0.0", "@metamask/preferences-controller": "^13.0.0", "@metamask/rpc-errors": "^6.2.1", "@metamask/utils": "^8.3.0", @@ -91,7 +91,7 @@ "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", "@metamask/keyring-controller": "^17.0.0", - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@metamask/preferences-controller": "^13.0.0" }, "engines": { diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index 89f1a1bfab..a079bd1a53 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [12.0.0] ### Changed @@ -195,7 +201,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@12.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@13.0.0...HEAD +[13.0.0]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@12.0.0...@metamask/ens-controller@13.0.0 [12.0.0]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@11.0.0...@metamask/ens-controller@12.0.0 [11.0.0]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@10.0.1...@metamask/ens-controller@11.0.0 [10.0.1]: https://github.com/MetaMask/core/compare/@metamask/ens-controller@10.0.0...@metamask/ens-controller@10.0.1 diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index 1bc1316b78..71a3f1b22e 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/ens-controller", - "version": "12.0.0", + "version": "13.0.0", "description": "Maps ENS names to their resolved addresses by chain id", "keywords": [ "MetaMask", @@ -49,7 +49,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", @@ -59,7 +59,7 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/network-controller": "^19.0.0" + "@metamask/network-controller": "^20.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/eth-json-rpc-provider/CHANGELOG.md b/packages/eth-json-rpc-provider/CHANGELOG.md index 1e0e3ad584..f758cb2f35 100644 --- a/packages/eth-json-rpc-provider/CHANGELOG.md +++ b/packages/eth-json-rpc-provider/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.1.0] + +### Added + +- Make `SafeEventEmitterProvider` EIP-1193 compatible by adding a `request` method ([#4422](https://github.com/MetaMask/core/pull/4422)) + - Now `SafeEventEmitterProvider` is compatible with `@metamask/eth-query`, `@metamask/ethjs-query`, `BrowserProvider` from Ethers v6 and `Web3Provider` from Ethers v5 + +### Deprecated + +- Mark `sendAsync` method as deprecated in favor of `request` method ([#4422](https://github.com/MetaMask/core/pull/4422)) + ## [4.0.0] ### Changed @@ -107,7 +118,8 @@ Release `v2.0.0` is identical to `v1.0.1` aside from Node.js version requirement - Initial release, including `providerFromEngine` and `providerFromMiddleware`. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.0...HEAD +[4.1.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.0.0...@metamask/eth-json-rpc-provider@4.1.0 [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@3.0.2...@metamask/eth-json-rpc-provider@4.0.0 [3.0.2]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@3.0.1...@metamask/eth-json-rpc-provider@3.0.2 [3.0.1]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@3.0.0...@metamask/eth-json-rpc-provider@3.0.1 diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 107378b615..650a026ff1 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eth-json-rpc-provider", - "version": "4.0.0", + "version": "4.1.0", "description": "Create an Ethereum provider using a JSON-RPC engine or middleware", "keywords": [ "MetaMask", diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index 0cec9acf3f..a6f06ffd47 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [19.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- Bump `@metamask/polling-controller` to `^9.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [18.0.0] ### Added @@ -304,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/gas-fee-controller@18.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@19.0.0...HEAD +[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@18.0.0...@metamask/gas-fee-controller@19.0.0 [18.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@17.0.0...@metamask/gas-fee-controller@18.0.0 [17.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@16.0.0...@metamask/gas-fee-controller@17.0.0 [16.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@15.1.2...@metamask/gas-fee-controller@16.0.0 diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 9d5a588762..b301f92683 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": "18.0.0", + "version": "19.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", @@ -45,8 +45,8 @@ "@metamask/controller-utils": "^11.0.0", "@metamask/eth-query": "^4.0.0", "@metamask/ethjs-unit": "^0.3.0", - "@metamask/network-controller": "^19.0.0", - "@metamask/polling-controller": "^8.0.0", + "@metamask/network-controller": "^20.0.0", + "@metamask/polling-controller": "^9.0.0", "@metamask/utils": "^8.3.0", "@types/bn.js": "^5.1.5", "@types/uuid": "^8.3.0", @@ -68,7 +68,7 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/network-controller": "^19.0.0" + "@metamask/network-controller": "^20.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index de3beeb534..8cc368ac8d 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -7,10 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [20.0.0] + +### Added + +- Add a new `log` argument to the constructor ([#4440](https://github.com/MetaMask/core/pull/4440)) + - The new `log` argument must be a `Logger` object from the `loglevel` package and will be used to log a message when we fail to connect to a network or the network responds with an unknown error + ### Changed - **BREAKING:** Update `networksMetadata` state property so that the keys in the object will only ever be network client IDs and not RPC URLs ([#4254](https://github.com/MetaMask/core/pull/4254)) - Some keys could have been RPC URLs if the initial network controller state had a `providerConfig` with an empty `id`, but since `providerConfig` is being removed, that won't happen anymore. +- Bump `@metamask/eth-block-tracker` to `^9.0.3` ([#4418](https://github.com/MetaMask/core/pull/4418)) +- Bump `@metamask/eth-json-rpc-provider` to `^4.1.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) ### Removed @@ -515,7 +524,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@19.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@20.0.0...HEAD +[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@19.0.0...@metamask/network-controller@20.0.0 [19.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@18.1.3...@metamask/network-controller@19.0.0 [18.1.3]: https://github.com/MetaMask/core/compare/@metamask/network-controller@18.1.2...@metamask/network-controller@18.1.3 [18.1.2]: https://github.com/MetaMask/core/compare/@metamask/network-controller@18.1.1...@metamask/network-controller@18.1.2 diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index edeee0b580..aa89a1ea44 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/network-controller", - "version": "19.0.0", + "version": "20.0.0", "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", "keywords": [ "MetaMask", @@ -46,7 +46,7 @@ "@metamask/eth-block-tracker": "^9.0.3", "@metamask/eth-json-rpc-infura": "^9.1.0", "@metamask/eth-json-rpc-middleware": "^12.1.1", - "@metamask/eth-json-rpc-provider": "^4.0.0", + "@metamask/eth-json-rpc-provider": "^4.1.0", "@metamask/eth-query": "^4.0.0", "@metamask/json-rpc-engine": "^9.0.0", "@metamask/rpc-errors": "^6.2.1", diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index 35d0580fb3..b6fad02093 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [9.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [8.0.0] ### Changed @@ -143,7 +149,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@8.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@9.0.0...HEAD +[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@8.0.0...@metamask/polling-controller@9.0.0 [8.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@7.0.0...@metamask/polling-controller@8.0.0 [7.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@6.0.2...@metamask/polling-controller@7.0.0 [6.0.2]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@6.0.1...@metamask/polling-controller@6.0.2 diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 7e312b70a0..76bb1fb35b 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/polling-controller", - "version": "8.0.0", + "version": "9.0.0", "description": "Polling Controller is the base for controllers that polling by networkClientId", "keywords": [ "MetaMask", @@ -43,7 +43,7 @@ "dependencies": { "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@metamask/utils": "^8.3.0", "@types/uuid": "^8.3.0", "fast-json-stable-stringify": "^2.1.0", @@ -61,7 +61,7 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/network-controller": "^19.0.0" + "@metamask/network-controller": "^20.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index 58eb74746b..82af339eef 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- **BREAKING:** Bump peerDependency `@metamask/selected-network-controller` to `^16.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [2.0.0] ### Added @@ -213,7 +220,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@2.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@3.0.0...HEAD +[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@2.0.0...@metamask/queued-request-controller@3.0.0 [2.0.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@1.0.0...@metamask/queued-request-controller@2.0.0 [1.0.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.12.0...@metamask/queued-request-controller@1.0.0 [0.12.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@0.11.0...@metamask/queued-request-controller@0.12.0 diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index e97e6da4a8..a4239f8991 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": "2.0.0", + "version": "3.0.0", "description": "Includes a controller and middleware that implements a request queue", "keywords": [ "MetaMask", @@ -50,8 +50,8 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^19.0.0", - "@metamask/selected-network-controller": "^15.0.2", + "@metamask/network-controller": "^20.0.0", + "@metamask/selected-network-controller": "^16.0.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "immer": "^9.0.6", @@ -65,8 +65,8 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/network-controller": "^19.0.0", - "@metamask/selected-network-controller": "^15.0.0" + "@metamask/network-controller": "^20.0.0", + "@metamask/selected-network-controller": "^16.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index d5a4504e54..7770ada000 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [16.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [15.0.2] ### Fixed @@ -235,7 +241,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release ([#1643](https://github.com/MetaMask/core/pull/1643)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.2...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@16.0.0...HEAD +[16.0.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.2...@metamask/selected-network-controller@16.0.0 [15.0.2]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.1...@metamask/selected-network-controller@15.0.2 [15.0.1]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@15.0.0...@metamask/selected-network-controller@15.0.1 [15.0.0]: https://github.com/MetaMask/core/compare/@metamask/selected-network-controller@14.0.0...@metamask/selected-network-controller@15.0.0 diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index f006349159..0ec175cd39 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/selected-network-controller", - "version": "15.0.2", + "version": "16.0.0", "description": "Provides an interface to the currently selected networkClientId for a given domain", "keywords": [ "MetaMask", @@ -43,7 +43,7 @@ "dependencies": { "@metamask/base-controller": "^6.0.0", "@metamask/json-rpc-engine": "^9.0.0", - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@metamask/permission-controller": "^10.0.0", "@metamask/swappable-obj-proxy": "^2.2.0", "@metamask/utils": "^8.3.0" @@ -63,7 +63,7 @@ "typescript": "~4.9.5" }, "peerDependencies": { - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@metamask/permission-controller": "^10.0.0" }, "engines": { diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index eca1312a1b..d39bf5e6f9 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [35.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- **BREAKING:** Bump peerDependency `@metamask/gas-fee-controller` to `^19.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [34.0.0] ### Changed @@ -910,7 +917,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@34.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@35.0.0...HEAD +[35.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@34.0.0...@metamask/transaction-controller@35.0.0 [34.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@33.0.1...@metamask/transaction-controller@34.0.0 [33.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@33.0.0...@metamask/transaction-controller@33.0.1 [33.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@32.0.0...@metamask/transaction-controller@33.0.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 2471fd7636..d52c9d20dd 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "34.0.0", + "version": "35.0.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", @@ -52,9 +52,9 @@ "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", "@metamask/eth-query": "^4.0.0", - "@metamask/gas-fee-controller": "^18.0.0", + "@metamask/gas-fee-controller": "^19.0.0", "@metamask/metamask-eth-abis": "^3.1.1", - "@metamask/network-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0", "@metamask/nonce-tracker": "^5.0.0", "@metamask/rpc-errors": "^6.2.1", "@metamask/utils": "^8.3.0", @@ -68,7 +68,7 @@ "devDependencies": { "@babel/runtime": "^7.23.9", "@metamask/auto-changelog": "^3.4.4", - "@metamask/eth-json-rpc-provider": "^4.0.0", + "@metamask/eth-json-rpc-provider": "^4.1.0", "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/keyring-api": "^8.0.0", "@types/bn.js": "^5.1.5", @@ -88,8 +88,8 @@ "@babel/runtime": "^7.23.9", "@metamask/accounts-controller": "^17.0.0", "@metamask/approval-controller": "^7.0.0", - "@metamask/gas-fee-controller": "^18.0.0", - "@metamask/network-controller": "^19.0.0" + "@metamask/gas-fee-controller": "^19.0.0", + "@metamask/network-controller": "^20.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index a47bdb0ed5..257c0f7f6e 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [14.0.0] + +### Changed + +- **BREAKING:** Bump peerDependency `@metamask/network-controller` to `^20.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- **BREAKING:** Bump peerDependency `@metamask/gas-fee-controller` to `^19.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- **BREAKING:** Bump peerDependency `@metamask/transaction-controller` to `^35.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) +- Bump `@metamask/polling-controller` to `^9.0.0` ([#4508](https://github.com/MetaMask/core/pull/4508)) + ## [13.0.0] ### Changed @@ -176,7 +185,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release ([#3749](https://github.com/MetaMask/core/pull/3749)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@13.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@14.0.0...HEAD +[14.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@13.0.0...@metamask/user-operation-controller@14.0.0 [13.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@12.0.1...@metamask/user-operation-controller@13.0.0 [12.0.1]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@12.0.0...@metamask/user-operation-controller@12.0.1 [12.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@11.0.0...@metamask/user-operation-controller@12.0.0 diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 864de523ef..ba0fc1a415 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/user-operation-controller", - "version": "13.0.0", + "version": "14.0.0", "description": "Creates user operations and manages their life cycle", "keywords": [ "MetaMask", @@ -46,12 +46,12 @@ "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", "@metamask/eth-query": "^4.0.0", - "@metamask/gas-fee-controller": "^18.0.0", + "@metamask/gas-fee-controller": "^19.0.0", "@metamask/keyring-controller": "^17.1.0", - "@metamask/network-controller": "^19.0.0", - "@metamask/polling-controller": "^8.0.0", + "@metamask/network-controller": "^20.0.0", + "@metamask/polling-controller": "^9.0.0", "@metamask/rpc-errors": "^6.2.1", - "@metamask/transaction-controller": "^34.0.0", + "@metamask/transaction-controller": "^35.0.0", "@metamask/utils": "^8.3.0", "bn.js": "^5.2.1", "immer": "^9.0.6", @@ -71,10 +71,10 @@ }, "peerDependencies": { "@metamask/approval-controller": "^7.0.0", - "@metamask/gas-fee-controller": "^18.0.0", + "@metamask/gas-fee-controller": "^19.0.0", "@metamask/keyring-controller": "^17.0.0", - "@metamask/network-controller": "^19.0.0", - "@metamask/transaction-controller": "^34.0.0" + "@metamask/network-controller": "^20.0.0", + "@metamask/transaction-controller": "^35.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/yarn.lock b/yarn.lock index 8ce4548dc7..98ff2d1bb8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2324,8 +2324,8 @@ __metadata: "@metamask/keyring-api": "npm:^8.0.0" "@metamask/keyring-controller": "npm:^17.1.0" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^19.0.0" - "@metamask/polling-controller": "npm:^8.0.0" + "@metamask/network-controller": "npm:^20.0.0" + "@metamask/polling-controller": "npm:^9.0.0" "@metamask/preferences-controller": "npm:^13.0.0" "@metamask/rpc-errors": "npm:^6.2.1" "@metamask/utils": "npm:^8.3.0" @@ -2354,7 +2354,7 @@ __metadata: "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 "@metamask/keyring-controller": ^17.0.0 - "@metamask/network-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 "@metamask/preferences-controller": ^13.0.0 languageName: unknown linkType: soft @@ -2561,7 +2561,7 @@ __metadata: "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" "@metamask/eth-block-tracker": "npm:^9.0.3" - "@metamask/eth-json-rpc-provider": "npm:^4.0.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.0" "@metamask/json-rpc-engine": "npm:^9.0.0" "@metamask/utils": "npm:^8.3.0" "@types/jest": "npm:^27.4.1" @@ -2625,7 +2625,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" - "@metamask/network-controller": "npm:^19.0.0" + "@metamask/network-controller": "npm:^20.0.0" "@metamask/utils": "npm:^8.3.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2636,7 +2636,7 @@ __metadata: typedoc-plugin-missing-exports: "npm:^2.0.0" typescript: "npm:~4.9.5" peerDependencies: - "@metamask/network-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 languageName: unknown linkType: soft @@ -2768,7 +2768,7 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider": +"@metamask/eth-json-rpc-provider@npm:^4.1.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider": version: 0.0.0-use.local resolution: "@metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider" dependencies: @@ -2991,7 +2991,7 @@ __metadata: languageName: node linkType: hard -"@metamask/gas-fee-controller@npm:^18.0.0, @metamask/gas-fee-controller@workspace:packages/gas-fee-controller": +"@metamask/gas-fee-controller@npm:^19.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: @@ -3000,8 +3000,8 @@ __metadata: "@metamask/controller-utils": "npm:^11.0.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-unit": "npm:^0.3.0" - "@metamask/network-controller": "npm:^19.0.0" - "@metamask/polling-controller": "npm:^8.0.0" + "@metamask/network-controller": "npm:^20.0.0" + "@metamask/polling-controller": "npm:^9.0.0" "@metamask/utils": "npm:^8.3.0" "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^27.4.1" @@ -3019,7 +3019,7 @@ __metadata: typescript: "npm:~4.9.5" uuid: "npm:^8.3.2" peerDependencies: - "@metamask/network-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 languageName: unknown linkType: soft @@ -3230,7 +3230,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/network-controller@npm:^19.0.0, @metamask/network-controller@workspace:packages/network-controller": +"@metamask/network-controller@npm:^20.0.0, @metamask/network-controller@workspace:packages/network-controller": version: 0.0.0-use.local resolution: "@metamask/network-controller@workspace:packages/network-controller" dependencies: @@ -3241,7 +3241,7 @@ __metadata: "@metamask/eth-block-tracker": "npm:^9.0.3" "@metamask/eth-json-rpc-infura": "npm:^9.1.0" "@metamask/eth-json-rpc-middleware": "npm:^12.1.1" - "@metamask/eth-json-rpc-provider": "npm:^4.0.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/json-rpc-engine": "npm:^9.0.0" "@metamask/rpc-errors": "npm:^6.2.1" @@ -3462,14 +3462,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/polling-controller@npm:^8.0.0, @metamask/polling-controller@workspace:packages/polling-controller": +"@metamask/polling-controller@npm:^9.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": "npm:^3.4.4" "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" - "@metamask/network-controller": "npm:^19.0.0" + "@metamask/network-controller": "npm:^20.0.0" "@metamask/utils": "npm:^8.3.0" "@types/jest": "npm:^27.4.1" "@types/uuid": "npm:^8.3.0" @@ -3483,7 +3483,7 @@ __metadata: typescript: "npm:~4.9.5" uuid: "npm:^8.3.2" peerDependencies: - "@metamask/network-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 languageName: unknown linkType: soft @@ -3577,9 +3577,9 @@ __metadata: "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" "@metamask/json-rpc-engine": "npm:^9.0.0" - "@metamask/network-controller": "npm:^19.0.0" + "@metamask/network-controller": "npm:^20.0.0" "@metamask/rpc-errors": "npm:^6.2.1" - "@metamask/selected-network-controller": "npm:^15.0.2" + "@metamask/selected-network-controller": "npm:^16.0.0" "@metamask/swappable-obj-proxy": "npm:^2.2.0" "@metamask/utils": "npm:^8.3.0" "@types/jest": "npm:^27.4.1" @@ -3594,8 +3594,8 @@ __metadata: typedoc-plugin-missing-exports: "npm:^2.0.0" typescript: "npm:~4.9.5" peerDependencies: - "@metamask/network-controller": ^19.0.0 - "@metamask/selected-network-controller": ^15.0.0 + "@metamask/network-controller": ^20.0.0 + "@metamask/selected-network-controller": ^16.0.0 languageName: unknown linkType: soft @@ -3644,14 +3644,14 @@ __metadata: languageName: node linkType: hard -"@metamask/selected-network-controller@npm:^15.0.2, @metamask/selected-network-controller@workspace:packages/selected-network-controller": +"@metamask/selected-network-controller@npm:^16.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": "npm:^3.4.4" "@metamask/base-controller": "npm:^6.0.0" "@metamask/json-rpc-engine": "npm:^9.0.0" - "@metamask/network-controller": "npm:^19.0.0" + "@metamask/network-controller": "npm:^20.0.0" "@metamask/permission-controller": "npm:^10.0.0" "@metamask/swappable-obj-proxy": "npm:^2.2.0" "@metamask/utils": "npm:^8.3.0" @@ -3667,7 +3667,7 @@ __metadata: typedoc-plugin-missing-exports: "npm:^2.0.0" typescript: "npm:~4.9.5" peerDependencies: - "@metamask/network-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 "@metamask/permission-controller": ^10.0.0 languageName: unknown linkType: soft @@ -3823,7 +3823,7 @@ __metadata: languageName: node linkType: hard -"@metamask/transaction-controller@npm:^34.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": +"@metamask/transaction-controller@npm:^35.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: @@ -3839,13 +3839,13 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" - "@metamask/eth-json-rpc-provider": "npm:^4.0.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" - "@metamask/gas-fee-controller": "npm:^18.0.0" + "@metamask/gas-fee-controller": "npm:^19.0.0" "@metamask/keyring-api": "npm:^8.0.0" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^19.0.0" + "@metamask/network-controller": "npm:^20.0.0" "@metamask/nonce-tracker": "npm:^5.0.0" "@metamask/rpc-errors": "npm:^6.2.1" "@metamask/utils": "npm:^8.3.0" @@ -3871,8 +3871,8 @@ __metadata: "@babel/runtime": ^7.23.9 "@metamask/accounts-controller": ^17.0.0 "@metamask/approval-controller": ^7.0.0 - "@metamask/gas-fee-controller": ^18.0.0 - "@metamask/network-controller": ^19.0.0 + "@metamask/gas-fee-controller": ^19.0.0 + "@metamask/network-controller": ^20.0.0 languageName: unknown linkType: soft @@ -3885,12 +3885,12 @@ __metadata: "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" "@metamask/eth-query": "npm:^4.0.0" - "@metamask/gas-fee-controller": "npm:^18.0.0" + "@metamask/gas-fee-controller": "npm:^19.0.0" "@metamask/keyring-controller": "npm:^17.1.0" - "@metamask/network-controller": "npm:^19.0.0" - "@metamask/polling-controller": "npm:^8.0.0" + "@metamask/network-controller": "npm:^20.0.0" + "@metamask/polling-controller": "npm:^9.0.0" "@metamask/rpc-errors": "npm:^6.2.1" - "@metamask/transaction-controller": "npm:^34.0.0" + "@metamask/transaction-controller": "npm:^35.0.0" "@metamask/utils": "npm:^8.3.0" "@types/jest": "npm:^27.4.1" bn.js: "npm:^5.2.1" @@ -3906,10 +3906,10 @@ __metadata: uuid: "npm:^8.3.2" peerDependencies: "@metamask/approval-controller": ^7.0.0 - "@metamask/gas-fee-controller": ^18.0.0 + "@metamask/gas-fee-controller": ^19.0.0 "@metamask/keyring-controller": ^17.0.0 - "@metamask/network-controller": ^19.0.0 - "@metamask/transaction-controller": ^34.0.0 + "@metamask/network-controller": ^20.0.0 + "@metamask/transaction-controller": ^35.0.0 languageName: unknown linkType: soft