diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index 82242d229f..a0b13a0a1a 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] outputs: child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }} steps: @@ -105,7 +105,7 @@ jobs: needs: prepare strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] package-name: ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }} steps: - uses: actions/checkout@v3 diff --git a/.nvmrc b/.nvmrc index 6f7f377bf5..b009dfb9d9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +lts/* diff --git a/constraints.pro b/constraints.pro index 59e07bbc09..48d0823d8c 100644 --- a/constraints.pro +++ b/constraints.pro @@ -336,8 +336,8 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, DependencyRange, 'peerDep DependencyIdent \= '@metamask/polling-controller', is_controller(DependencyIdent). -% All packages must specify a minimum Node version of 16. -gen_enforced_field(WorkspaceCwd, 'engines.node', '>=16.0.0'). +% All packages must specify a minimum Node version of 18. +gen_enforced_field(WorkspaceCwd, 'engines.node', '>=18.18 || >=20'). % All published packages are public. gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public') :- diff --git a/docs/contributing.md b/docs/contributing.md index 809f21cd1e..322a2e7452 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -2,8 +2,8 @@ ## Getting started -- Install [Node.js](https://nodejs.org) version 16. - - If you're using [NVM](https://github.com/creationix/nvm#installation) (recommended), `nvm use` will ensure that the right version is installed. +- Install the current LTS version of [Node.js](https://nodejs.org) + - If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm install` will install the latest version and running `nvm use` will automatically choose the right node version for you. - Install [Yarn v3](https://yarnpkg.com/getting-started/install). - Run `yarn install` to install dependencies and run any required post-install scripts. - Run `yarn simple-git-hooks` to add a [Git hook](https://github.com/toplenboren/simple-git-hooks#what-is-a-git-hook) to your local development environment which will ensure that all files pass linting before you push a branch. diff --git a/package.json b/package.json index 9617b87b82..236e592105 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "lavamoat": { "allowScripts": { diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index d01717fe3d..ef61ef5227 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [6.0.0] ### Changed diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 6c9275aaa0..930208c20e 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -56,7 +56,7 @@ "@metamask/keyring-controller": "^10.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/address-book-controller/CHANGELOG.md b/packages/address-book-controller/CHANGELOG.md index 3af21bfd08..4709d0f628 100644 --- a/packages/address-book-controller/CHANGELOG.md +++ b/packages/address-book-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [3.1.5] ### Changed diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 42894d243c..a9efcf46de 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/announcement-controller/CHANGELOG.md b/packages/announcement-controller/CHANGELOG.md index 76c7eed599..d57c1e372d 100644 --- a/packages/announcement-controller/CHANGELOG.md +++ b/packages/announcement-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [5.0.0] ### Changed diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index af395df2c2..dc336b9d6a 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -43,7 +43,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index ada134284a..0141705127 100644 --- a/packages/approval-controller/CHANGELOG.md +++ b/packages/approval-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [5.0.0] ### Changed diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 97550dee93..5790ab65c8 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -47,7 +47,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 4a77d29c5a..6d097ea54f 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [20.0.0] ### Added diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 0ba023b944..6f57e31a68 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -74,7 +74,7 @@ "@metamask/preferences-controller": "^5.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/base-controller/CHANGELOG.md b/packages/base-controller/CHANGELOG.md index 28ab65d269..a0249e0cfb 100644 --- a/packages/base-controller/CHANGELOG.md +++ b/packages/base-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [4.0.0] ### Added diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index b9e96696b2..f78ac8a199 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/build-utils/CHANGELOG.md b/packages/build-utils/CHANGELOG.md index 1ea91e0345..fccfb9dda0 100644 --- a/packages/build-utils/CHANGELOG.md +++ b/packages/build-utils/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [1.0.0] ### Added diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 3f9cde27a2..5e9d73d33e 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index b759c02157..5e2fd9dcea 100644 --- a/packages/composable-controller/CHANGELOG.md +++ b/packages/composable-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [4.0.0] ### Changed diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 50afea72d9..84da3993d6 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 3d4643079d..7c9cddf924 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [6.1.0] ### Added diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index f76f9d43a7..52c90e864b 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -51,7 +51,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/ens-controller/CHANGELOG.md b/packages/ens-controller/CHANGELOG.md index 7cbd01e78e..66ea11ebc6 100644 --- a/packages/ens-controller/CHANGELOG.md +++ b/packages/ens-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [7.0.0] ### Changed diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index e7abb9c173..6b41987386 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -52,7 +52,7 @@ "@metamask/network-controller": "^17.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/eth-json-rpc-provider/CHANGELOG.md b/packages/eth-json-rpc-provider/CHANGELOG.md index 55800a7dce..2577af1fc6 100644 --- a/packages/eth-json-rpc-provider/CHANGELOG.md +++ b/packages/eth-json-rpc-provider/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [2.3.0] ### Added diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 2bda95f20d..cb68d94d99 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -54,7 +54,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/gas-fee-controller/CHANGELOG.md b/packages/gas-fee-controller/CHANGELOG.md index dd44d614bf..dd42ae0226 100644 --- a/packages/gas-fee-controller/CHANGELOG.md +++ b/packages/gas-fee-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [11.0.0] ### Changed diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index a17d7f680f..aaa35cd5a6 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -59,7 +59,7 @@ "@metamask/network-controller": "^17.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/json-rpc-engine/CHANGELOG.md b/packages/json-rpc-engine/CHANGELOG.md index 81c9aeffa2..4874106fda 100644 --- a/packages/json-rpc-engine/CHANGELOG.md +++ b/packages/json-rpc-engine/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [7.3.0] ### Added diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index 6d34b23e76..1f53c0a942 100644 --- a/packages/json-rpc-engine/package.json +++ b/packages/json-rpc-engine/package.json @@ -59,7 +59,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/json-rpc-middleware-stream/CHANGELOG.md b/packages/json-rpc-middleware-stream/CHANGELOG.md index 73c7020332..f7094a8fd1 100644 --- a/packages/json-rpc-middleware-stream/CHANGELOG.md +++ b/packages/json-rpc-middleware-stream/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [6.0.0] ### Added diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index 403e815198..b980789a45 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -50,7 +50,7 @@ "webextension-polyfill-ts": "^0.26.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 401c023089..1d747ed3dd 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [10.0.0] ### Changed diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index 05a3cd86b5..b8ff218b30 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -63,7 +63,7 @@ "@metamask/preferences-controller": "^5.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/logging-controller/CHANGELOG.md b/packages/logging-controller/CHANGELOG.md index e72fbc216a..cada2dd416 100644 --- a/packages/logging-controller/CHANGELOG.md +++ b/packages/logging-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [2.0.0] ### Changed diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index 90e532f594..c3fc6e43bf 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index 5e367f9213..82cf644ccd 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [7.3.6] ### Changed diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index 2c1ee14830..25e0306a2c 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -50,7 +50,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index f7094a2395..045fdc5b68 100644 --- a/packages/name-controller/CHANGELOG.md +++ b/packages/name-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [4.0.0] ### Changed diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index 95a858e847..751259c7c0 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -46,7 +46,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index 2dc152a4fa..ff59049e72 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `getNetworkConfigurationByNetworkClientId` method which can be used to retrieve details for both custom and built-in networks (using the network configuration object shape) ([#2055](https://github.com/MetaMask/core/pull/2055)) - Add `NetworkController:getNetworkConfigurationByNetworkClientId` messenger action for the previous method ([#2055](https://github.com/MetaMask/core/pull/2055)) +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 + ## [17.0.0] ### Changed - **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 510795b6cf..7c178d9814 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -63,7 +63,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/notification-controller/CHANGELOG.md b/packages/notification-controller/CHANGELOG.md index 2b7cfdfb35..dc792f0b85 100644 --- a/packages/notification-controller/CHANGELOG.md +++ b/packages/notification-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [4.0.0] ### Changed diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index b84aff4535..8e17f80e6c 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -45,7 +45,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index 2b3fbc7bf0..9d42c4e845 100644 --- a/packages/permission-controller/CHANGELOG.md +++ b/packages/permission-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [6.0.0] ### Added diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 61aad605ab..d6183d6b63 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -55,7 +55,7 @@ "@metamask/approval-controller": "^5.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 650cd4d767..2e9768c8db 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -49,7 +49,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/phishing-controller/CHANGELOG.md b/packages/phishing-controller/CHANGELOG.md index cf6f630775..46be9a55f3 100644 --- a/packages/phishing-controller/CHANGELOG.md +++ b/packages/phishing-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [8.0.0] ### Changed diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index bcb6bf4194..a8edb732d3 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -49,7 +49,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index 278a6f4d3e..ddbe832150 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [2.0.0] ### Changed diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 40e36fb916..7508e65154 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -53,7 +53,7 @@ "@metamask/network-controller": "^17.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/preferences-controller/CHANGELOG.md b/packages/preferences-controller/CHANGELOG.md index d7f7876412..12947fb151 100644 --- a/packages/preferences-controller/CHANGELOG.md +++ b/packages/preferences-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [5.0.0] ### Added diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 1c49df1ea6..e3b9553bae 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -44,7 +44,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index 0abc3485f8..a4064451d9 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Add `QueuedRequestMiddlewareJsonRpcRequest` type ([#1970](https://github.com/MetaMask/core/pull/1970)). +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 + ### Changed - **BREAKING:** `QueuedRequestControllerMessenger` can no longer be defined with any allowed actions or events ([#1970](https://github.com/MetaMask/core/pull/1970)). - Move `@metamask/approval-controller` from devDependency to dependency ([#1970](https://github.com/MetaMask/core/pull/1970)). diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index a45e2a73ef..8c39ce435a 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -60,7 +60,7 @@ "@metamask/selected-network-controller": "^5.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/rate-limit-controller/CHANGELOG.md b/packages/rate-limit-controller/CHANGELOG.md index 15a7cb8d1a..ffcfe13f96 100644 --- a/packages/rate-limit-controller/CHANGELOG.md +++ b/packages/rate-limit-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [4.0.0] ### Changed diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index d3a06b0750..984a16fbc4 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -44,7 +44,7 @@ "typescript": "~4.8.4" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 4f08cfabc3..712d9bcf73 100644 --- a/packages/selected-network-controller/CHANGELOG.md +++ b/packages/selected-network-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [5.0.0] ### Added diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index 67f89f8ef7..556cdbd6ad 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -54,7 +54,7 @@ "@metamask/network-controller": "^17.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 7a34e57db3..83b87adca7 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [8.0.0] ### Changed diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 4ad1169dee..eedee39352 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -57,7 +57,7 @@ "@metamask/logging-controller": "^2.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public", diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 32098337cb..5e8a193412 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -5,6 +5,8 @@ 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] +### Changed +- **BREAKING:** Bump minimum Node version to 18.18 ## [18.3.0] ### Added diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 560d409bc8..520024a304 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -71,7 +71,7 @@ "babel-runtime": "^6.26.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public",