diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index cc4849112f..837a02f2ba 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 1868562675..b7874a8b7b 100644 --- a/constraints.pro +++ b/constraints.pro @@ -346,8 +346,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 fd1c489050..24f157d741 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 85cf812cd9..0f5f9cf72d 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,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 31e205eab2..ec6c0cd8da 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 ## [10.0.0] ### Changed diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 0e6b608faf..9a48787b74 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -59,7 +59,7 @@ "@metamask/snaps-controllers": "^4.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 91f608c1c1..207f12e6c5 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.7] ### Changed diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 27c869ce64..6e37097812 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-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/announcement-controller/CHANGELOG.md b/packages/announcement-controller/CHANGELOG.md index c155fd2937..d5cd835b43 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.2] ### Changed diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index 2637f7fb7c..e3cbbbe710 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-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/approval-controller/CHANGELOG.md b/packages/approval-controller/CHANGELOG.md index bf3284db93..91c9dbd3f8 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.1.2] ### Changed diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 14f7fa15ee..02c632e598 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -48,7 +48,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 d22a6f2fe8..920f94271e 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 ## [25.0.0] ### Added diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 23b82e5dba..beb361e198 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -78,7 +78,7 @@ "@metamask/preferences-controller": "^7.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 dd18bbdf42..1e53e1bd2a 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.1.1] ### Changed diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index 50d7753b56..f6b4072a12 100644 --- a/packages/base-controller/package.json +++ b/packages/base-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/build-utils/CHANGELOG.md b/packages/build-utils/CHANGELOG.md index 2daf2a09a5..d5f6d31ebd 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.2] ### Changed diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 64e91b57f9..876b90a073 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/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/composable-controller/CHANGELOG.md b/packages/composable-controller/CHANGELOG.md index bac663149e..6a4c43953d 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 ## [5.0.1] ### Changed diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index 432b6b3c03..24633c1471 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-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/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 7e7e6818f0..6729648315 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 ## [8.0.2] ### Changed diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 6d21c88238..1b04e0a5fb 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -52,7 +52,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 d63e53d3f4..89c75e0ddc 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 ## [9.0.0] ### Changed diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index b075a73f41..b38b584013 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -53,7 +53,7 @@ "@metamask/network-controller": "^17.2.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 c7458d99f0..6e1d501112 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.2] ### Changed diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 64416e7289..6800caa2ed 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 8951930330..576c62f5f6 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 ## [13.0.0] ### Changed diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index aecddfc72c..18f217f29a 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -60,7 +60,7 @@ "@metamask/network-controller": "^17.2.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 d26ba6a9a2..afdaac9f93 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.2] ### Changed diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index 62a0310a18..987173fb4b 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 a96d10095d..6902f217df 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.2] ### Changed diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index 15e00f2a4c..92b4959689 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -51,7 +51,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 d9aa59ba78..7f7f924a77 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 ## [12.2.0] ### Added diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index b2d0e4f124..44934295ac 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -62,7 +62,7 @@ "uuid": "^8.3.2" }, "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 fc5aa1af94..b64932285b 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.2] ### Changed diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index 8b0b074dd9..4fd4c7d0d6 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-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/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index e5ae6f962d..05f69a926f 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.8] ### Changed diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index d3e8c997e8..c8b9c52a66 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/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/name-controller/CHANGELOG.md b/packages/name-controller/CHANGELOG.md index 2fa0e0d3b1..ce4b60ef70 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 ## [5.0.0] ### Changed diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index d07768004f..febf3062cb 100644 --- a/packages/name-controller/package.json +++ b/packages/name-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/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index 4e72f856b2..f6d3609ab4 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/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 ## [17.2.0] ### Changed diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 57ea5cde28..cb7bf7568e 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -64,7 +64,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 a771e02500..733c033a8f 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.2] ### Changed diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index c7299dd1e6..fc48e5dbf0 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-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/permission-controller/CHANGELOG.md b/packages/permission-controller/CHANGELOG.md index 31aae2fb9b..4285cd769a 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 ## [8.0.0] ### Changed diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 7540583309..f559eeff74 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -56,7 +56,7 @@ "@metamask/approval-controller": "^5.1.2" }, "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 1c6ccc1424..5278204303 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 febf426f31..b5d9f719c0 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.2] ### Changed diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index 48ff7d7a2a..a44ba4a29d 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/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/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index c39db16060..fdaa58ea2e 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 ## [5.0.0] ### Changed diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 624354b2f2..eeb4510c5f 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -54,7 +54,7 @@ "@metamask/network-controller": "^17.2.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 f87c730a3b..476d92f03d 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 ## [7.0.0] ### Changed diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index e2dce319d6..8dacddfb49 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -50,7 +50,7 @@ "@metamask/keyring-controller": "^12.2.0" }, "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 40ef10377c..0d81f35cde 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -22,6 +22,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)). - **BREAKING:** Add `@metamask/approval-controller` as dependency and peer dependency ([#1970](https://github.com/MetaMask/core/pull/1970), [#3695](https://github.com/MetaMask/core/pull/3695), [#3680](https://github.com/MetaMask/core/pull/3680)) diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index 60e98b1055..acf5b01374 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -61,7 +61,7 @@ "@metamask/selected-network-controller": "^7.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 cdcbec9ff2..49859cba7e 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.2] ### Changed diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index 597232c433..0987703ebd 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-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/selected-network-controller/CHANGELOG.md b/packages/selected-network-controller/CHANGELOG.md index 116f4a14f3..d960708428 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 ## [7.0.0] ### Changed diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index e73b14bb86..fec416b812 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -55,7 +55,7 @@ "@metamask/network-controller": "^17.2.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 4c9161b86a..5c3e82b1a7 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 ## [12.0.0] ### Changed diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index fb3fbfd143..196621c6ed 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -58,7 +58,7 @@ "@metamask/logging-controller": "^2.0.2" }, "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 f5a7ce15fc..3f367ba7e3 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 ## [21.0.0] ### Changed diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 59b9d6629a..f345ccba5e 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -72,7 +72,7 @@ "babel-runtime": "^6.26.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18 || >=20" }, "publishConfig": { "access": "public",