From 0fdeec36d0521ba518305091108adec7430cd7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Fri, 24 May 2024 12:27:39 +0200 Subject: [PATCH] Packages: Increase the minimum required Node.js version to v18.12.0 (#61930) * Packages: Increase the minimum required Node.js version to v18.12.0 Node.js v18.12.0 was the first long-term supported version introduced in v18.x line (https://nodejs.org/en/blog/release/v18.12.0). It is now the lowest version that is listed as Maintenance LTS releas at https://nodejs.org/en/about/previous-releases. * Add changelog entries Co-authored-by: gziolo Co-authored-by: sirreal Co-authored-by: youknowriad --- package-lock.json | 307 ++++++++++++------ packages/a11y/CHANGELOG.md | 4 + packages/a11y/package.json | 3 +- packages/annotations/CHANGELOG.md | 4 + packages/annotations/package.json | 3 +- packages/api-fetch/CHANGELOG.md | 6 +- packages/api-fetch/package.json | 3 +- packages/autop/CHANGELOG.md | 4 + packages/autop/package.json | 3 +- .../CHANGELOG.md | 4 + .../babel-plugin-import-jsx-pragma/README.md | 2 +- .../package.json | 3 +- packages/babel-plugin-makepot/CHANGELOG.md | 4 + packages/babel-plugin-makepot/README.md | 2 +- packages/babel-plugin-makepot/package.json | 3 +- packages/babel-preset-default/CHANGELOG.md | 1 + packages/babel-preset-default/README.md | 2 +- packages/babel-preset-default/package.json | 3 +- packages/base-styles/CHANGELOG.md | 4 + packages/base-styles/package.json | 4 + packages/blob/CHANGELOG.md | 4 + packages/blob/package.json | 3 +- packages/block-directory/CHANGELOG.md | 4 + packages/block-directory/package.json | 3 +- packages/block-editor/CHANGELOG.md | 4 + packages/block-editor/package.json | 3 +- packages/block-library/CHANGELOG.md | 1 + packages/block-library/package.json | 3 +- .../CHANGELOG.md | 4 + .../package.json | 3 +- .../CHANGELOG.md | 4 + .../package.json | 3 +- packages/blocks/CHANGELOG.md | 1 + packages/blocks/package.json | 3 +- packages/browserslist-config/CHANGELOG.md | 4 + packages/browserslist-config/README.md | 2 +- packages/browserslist-config/package.json | 3 +- packages/commands/CHANGELOG.md | 4 + packages/commands/package.json | 3 +- packages/components/CHANGELOG.md | 3 +- packages/components/package.json | 3 +- packages/compose/CHANGELOG.md | 4 + packages/compose/package.json | 3 +- packages/core-commands/CHANGELOG.md | 6 +- packages/core-commands/package.json | 3 +- packages/core-data/CHANGELOG.md | 1 + packages/core-data/package.json | 3 +- .../CHANGELOG.md | 4 + .../package.json | 4 + .../CHANGELOG.md | 4 + .../package.json | 4 + packages/customize-widgets/CHANGELOG.md | 1 + packages/customize-widgets/package.json | 3 +- packages/data-controls/CHANGELOG.md | 4 + packages/data-controls/package.json | 3 +- packages/data/CHANGELOG.md | 14 +- packages/data/package.json | 3 +- packages/dataviews/CHANGELOG.md | 1 + packages/dataviews/package.json | 3 +- packages/date/CHANGELOG.md | 4 + packages/date/package.json | 3 +- .../CHANGELOG.md | 4 + .../README.md | 2 +- .../package.json | 3 +- packages/deprecated/CHANGELOG.md | 4 + packages/deprecated/package.json | 3 +- packages/docgen/CHANGELOG.md | 6 +- packages/docgen/README.md | 2 + packages/docgen/package.json | 4 + packages/dom-ready/CHANGELOG.md | 4 + packages/dom-ready/package.json | 3 +- packages/dom/CHANGELOG.md | 10 +- packages/dom/package.json | 3 +- .../e2e-test-utils-playwright/CHANGELOG.md | 6 +- packages/e2e-test-utils-playwright/README.md | 5 +- .../e2e-test-utils-playwright/package.json | 3 +- packages/e2e-test-utils/CHANGELOG.md | 12 +- packages/e2e-test-utils/README.md | 2 +- packages/e2e-test-utils/package.json | 3 +- packages/e2e-tests/CHANGELOG.md | 1 + packages/e2e-tests/README.md | 2 +- packages/e2e-tests/package.json | 3 +- packages/edit-post/CHANGELOG.md | 1 + packages/edit-post/package.json | 3 +- packages/edit-site/CHANGELOG.md | 1 + packages/edit-site/package.json | 3 +- packages/edit-widgets/CHANGELOG.md | 1 + packages/edit-widgets/package.json | 3 +- packages/editor/CHANGELOG.md | 1 + packages/editor/package.json | 3 +- packages/element/CHANGELOG.md | 6 +- packages/element/package.json | 3 +- packages/env/CHANGELOG.md | 6 +- packages/env/package.json | 4 + packages/escape-html/CHANGELOG.md | 4 + packages/escape-html/package.json | 3 +- packages/eslint-plugin/CHANGELOG.md | 1 + packages/eslint-plugin/README.md | 2 +- packages/eslint-plugin/package.json | 4 +- packages/format-library/CHANGELOG.md | 4 + packages/format-library/package.json | 3 +- packages/hooks/CHANGELOG.md | 4 + packages/hooks/package.json | 3 +- packages/html-entities/CHANGELOG.md | 4 + packages/html-entities/package.json | 3 +- packages/i18n/CHANGELOG.md | 6 +- packages/i18n/package.json | 3 +- packages/icons/CHANGELOG.md | 11 +- packages/icons/package.json | 3 +- packages/interactivity-router/CHANGELOG.md | 1 + packages/interactivity-router/package.json | 3 +- packages/interactivity/CHANGELOG.md | 1 + packages/interactivity/package.json | 3 +- packages/interface/CHANGELOG.md | 4 + packages/interface/package.json | 3 +- packages/is-shallow-equal/CHANGELOG.md | 4 + packages/is-shallow-equal/package.json | 3 +- packages/jest-console/CHANGELOG.md | 4 + packages/jest-console/README.md | 2 +- packages/jest-console/package.json | 3 +- packages/jest-preset-default/CHANGELOG.md | 1 + packages/jest-preset-default/README.md | 4 +- packages/jest-preset-default/package.json | 3 +- packages/jest-puppeteer-axe/CHANGELOG.md | 6 +- packages/jest-puppeteer-axe/README.md | 2 +- packages/jest-puppeteer-axe/package.json | 3 +- packages/keyboard-shortcuts/CHANGELOG.md | 4 + packages/keyboard-shortcuts/package.json | 3 +- packages/keycodes/CHANGELOG.md | 4 + packages/keycodes/package.json | 3 +- packages/lazy-import/CHANGELOG.md | 4 + packages/lazy-import/package.json | 3 +- packages/list-reusable-blocks/CHANGELOG.md | 4 + packages/list-reusable-blocks/package.json | 3 +- packages/media-utils/CHANGELOG.md | 4 + packages/media-utils/package.json | 3 +- packages/notices/CHANGELOG.md | 4 + packages/notices/package.json | 3 +- .../npm-package-json-lint-config/CHANGELOG.md | 4 + .../npm-package-json-lint-config/README.md | 2 +- .../npm-package-json-lint-config/package.json | 3 +- packages/nux/CHANGELOG.md | 4 + packages/nux/package.json | 3 +- packages/patterns/CHANGELOG.md | 4 + packages/patterns/package.json | 3 +- packages/plugins/CHANGELOG.md | 1 + packages/plugins/package.json | 3 +- packages/postcss-plugins-preset/CHANGELOG.md | 4 + packages/postcss-plugins-preset/README.md | 2 +- packages/postcss-plugins-preset/package.json | 3 +- packages/postcss-themes/CHANGELOG.md | 4 + packages/postcss-themes/README.md | 2 +- packages/postcss-themes/package.json | 3 +- packages/preferences-persistence/CHANGELOG.md | 4 + packages/preferences-persistence/package.json | 3 +- packages/preferences/CHANGELOG.md | 4 + packages/preferences/package.json | 3 +- packages/prettier-config/CHANGELOG.md | 4 + packages/prettier-config/README.md | 2 +- packages/prettier-config/package.json | 3 +- packages/primitives/CHANGELOG.md | 4 + packages/primitives/package.json | 3 +- packages/priority-queue/CHANGELOG.md | 6 +- packages/priority-queue/package.json | 3 +- packages/private-apis/CHANGELOG.md | 1 + packages/private-apis/package.json | 3 +- .../CHANGELOG.md | 4 + .../package.json | 4 + packages/react-i18n/CHANGELOG.md | 4 + packages/react-i18n/package.json | 3 +- packages/react-native-aztec/package.json | 4 + packages/react-native-bridge/package.json | 4 + packages/react-native-editor/package.json | 4 +- .../CHANGELOG.md | 4 + .../README.md | 2 +- .../package.json | 3 +- packages/redux-routine/CHANGELOG.md | 4 + packages/redux-routine/package.json | 3 +- packages/report-flaky-tests/package.json | 4 +- packages/reusable-blocks/CHANGELOG.md | 4 + packages/reusable-blocks/package.json | 3 +- packages/rich-text/CHANGELOG.md | 4 + packages/rich-text/package.json | 3 +- packages/router/CHANGELOG.md | 4 + packages/router/package.json | 3 +- packages/scripts/CHANGELOG.md | 1 + packages/scripts/README.md | 2 +- packages/scripts/package.json | 4 +- packages/server-side-render/CHANGELOG.md | 4 + packages/server-side-render/package.json | 3 +- packages/shortcode/CHANGELOG.md | 4 + packages/shortcode/package.json | 3 +- packages/style-engine/CHANGELOG.md | 10 + packages/style-engine/package.json | 3 +- packages/stylelint-config/CHANGELOG.md | 4 + packages/stylelint-config/README.md | 2 +- packages/stylelint-config/package.json | 3 +- packages/sync/CHANGELOG.md | 4 + packages/sync/package.json | 3 +- packages/token-list/CHANGELOG.md | 4 + packages/token-list/package.json | 3 +- packages/undo-manager/CHANGELOG.md | 5 +- packages/undo-manager/package.json | 3 +- packages/url/CHANGELOG.md | 4 + packages/url/package.json | 3 +- packages/viewport/CHANGELOG.md | 4 + packages/viewport/package.json | 3 +- packages/warning/CHANGELOG.md | 1 + packages/warning/package.json | 3 +- packages/widgets/CHANGELOG.md | 4 + packages/widgets/package.json | 4 + packages/wordcount/CHANGELOG.md | 4 + packages/wordcount/package.json | 3 +- 213 files changed, 799 insertions(+), 234 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc56a316a4f1f8..ea3f6db515dc1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53072,7 +53072,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/annotations": { @@ -53088,7 +53089,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53112,7 +53114,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/autop": { @@ -53123,7 +53126,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/babel-plugin-import-jsx-pragma": { @@ -53132,7 +53136,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": "^7.12.9" @@ -53149,7 +53154,8 @@ "is-plain-object": "^5.0.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": "^7.12.9" @@ -53174,14 +53180,19 @@ "react": "^18.3.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/base-styles": { "name": "@wordpress/base-styles", "version": "4.49.0", "dev": true, - "license": "GPL-2.0-or-later" + "license": "GPL-2.0-or-later", + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } }, "packages/blob": { "name": "@wordpress/blob", @@ -53191,7 +53202,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/block-directory": { @@ -53222,7 +53234,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53282,7 +53295,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53392,7 +53406,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53415,7 +53430,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/block-serialization-spec-parser": { @@ -53427,7 +53443,8 @@ "phpegjs": "^1.0.0-beta7" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/blocks": { @@ -53464,7 +53481,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53489,7 +53507,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/commands": { @@ -53509,7 +53528,8 @@ "cmdk": "^0.2.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53570,7 +53590,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53627,7 +53648,8 @@ "use-memo-one": "^1.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53662,7 +53684,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53697,7 +53720,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53744,7 +53768,11 @@ "name": "@wordpress/create-block-tutorial-template", "version": "3.12.0", "dev": true, - "license": "GPL-2.0-or-later" + "license": "GPL-2.0-or-later", + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } }, "packages/customize-widgets": { "name": "@wordpress/customize-widgets", @@ -53776,7 +53804,8 @@ "fast-deep-equal": "^3.1.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53805,7 +53834,8 @@ "use-memo-one": "^1.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53822,7 +53852,8 @@ "@wordpress/deprecated": "file:../deprecated" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53848,7 +53879,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53900,7 +53932,8 @@ "moment-timezone": "^0.5.40" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dependency-extraction-webpack-plugin": { @@ -53912,7 +53945,8 @@ "json2php": "^0.0.7" }, "engines": { - "node": ">=18" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "webpack": "^5.0.0" @@ -53927,7 +53961,8 @@ "@wordpress/hooks": "file:../hooks" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/docgen": { @@ -53946,6 +53981,10 @@ }, "bin": { "docgen": "bin/cli.js" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dom": { @@ -53957,7 +53996,8 @@ "@wordpress/deprecated": "file:../deprecated" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dom-ready": { @@ -53968,7 +54008,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/e2e-test-utils": { @@ -53986,7 +54027,8 @@ "node-fetch": "^2.6.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54010,7 +54052,8 @@ "web-vitals": "^3.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@playwright/test": ">=1" @@ -54037,7 +54080,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54094,7 +54138,8 @@ "memize": "^2.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54156,7 +54201,8 @@ "react-autosize-textarea": "^7.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54198,7 +54244,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54255,7 +54302,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54277,7 +54325,8 @@ "react-dom": "^18.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/env": { @@ -54301,6 +54350,10 @@ }, "bin": { "wp-env": "bin/wp-env" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/env/node_modules/cliui": { @@ -54425,7 +54478,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/eslint-plugin": { @@ -54453,8 +54507,8 @@ "requireindex": "^1.2.0" }, "engines": { - "node": ">=14", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -54491,7 +54545,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54506,7 +54561,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/html-entities": { @@ -54517,7 +54573,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/i18n": { @@ -54536,7 +54593,8 @@ "pot-to-php": "tools/pot-to-php.js" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/icons": { @@ -54549,7 +54607,8 @@ "@wordpress/primitives": "file:../primitives" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity": { @@ -54562,7 +54621,8 @@ "preact": "^10.19.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity-router": { @@ -54573,7 +54633,8 @@ "@wordpress/interactivity": "file:../interactivity" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity/node_modules/@preact/signals": { @@ -54646,7 +54707,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54661,7 +54723,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/jest-console": { @@ -54674,7 +54737,8 @@ "jest-matcher-utils": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29" @@ -54690,7 +54754,8 @@ "babel-jest": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -54707,7 +54772,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54730,7 +54796,8 @@ "@wordpress/keycodes": "file:../keycodes" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -54745,7 +54812,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/lazy-import": { @@ -54759,7 +54827,8 @@ "semver": "^7.3.5" }, "engines": { - "npm": ">=6.9.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/list-reusable-blocks": { @@ -54777,7 +54846,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54796,7 +54866,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/notices": { @@ -54809,7 +54880,8 @@ "@wordpress/data": "file:../data" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -54821,7 +54893,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "npm-package-json-lint": ">=6.0.0" @@ -54842,7 +54915,8 @@ "@wordpress/icons": "file:../icons" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54871,7 +54945,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54893,7 +54968,8 @@ "memize": "^2.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54910,7 +54986,8 @@ "autoprefixer": "^10.2.5" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "postcss": "^8.0.0" @@ -54922,7 +54999,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "postcss": "^8.0.0" @@ -54946,7 +55024,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54962,7 +55041,8 @@ "@wordpress/api-fetch": "file:../api-fetch" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/prettier-config": { @@ -54971,7 +55051,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "prettier": ">=3" @@ -54987,7 +55068,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/priority-queue": { @@ -54999,7 +55081,8 @@ "requestidlecallback": "^0.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/private-apis": { @@ -55010,7 +55093,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/project-management-automation": { @@ -55024,6 +55108,10 @@ "@babel/runtime": "^7.16.0", "@octokit/request-error": "^2.1.0", "@octokit/webhooks": "7.1.0" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-i18n": { @@ -55037,7 +55125,8 @@ "utility-types": "^3.10.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-native-aztec": { @@ -55048,6 +55137,10 @@ "@wordpress/element": "file:../element", "@wordpress/keycodes": "file:../keycodes" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react": "*", "react-native": "*" @@ -55060,6 +55153,10 @@ "dependencies": { "@wordpress/react-native-aztec": "file:../react-native-aztec" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react-native": "*" } @@ -55114,8 +55211,8 @@ "react-native-webview": "13.6.1" }, "engines": { - "node": ">=12", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-native-editor/node_modules/buffer": { @@ -55179,7 +55276,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "webpack": "^4.8.3 || ^5.0.0" @@ -55196,7 +55294,8 @@ "rungen": "^0.3.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "redux": ">=4" @@ -55213,8 +55312,8 @@ "jest-message-util": "^29.6.2" }, "engines": { - "node": ">=14", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/report-flaky-tests/node_modules/@actions/github": { @@ -55248,7 +55347,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -55272,7 +55372,8 @@ "memize": "^2.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55290,7 +55391,8 @@ "history": "^5.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55365,8 +55467,8 @@ "wp-scripts": "bin/wp-scripts.js" }, "engines": { - "node": ">=18", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@playwright/test": "^1.43.0", @@ -55700,7 +55802,8 @@ "fast-deep-equal": "^3.1.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -55716,7 +55819,8 @@ "memize": "^2.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/style-engine": { @@ -55728,7 +55832,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/stylelint-config": { @@ -55741,7 +55846,8 @@ "stylelint-config-recommended-scss": "^5.0.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "stylelint": "^14.2" @@ -55764,7 +55870,8 @@ "yjs": "~13.6.6" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/token-list": { @@ -55775,7 +55882,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/undo-manager": { @@ -55787,7 +55895,8 @@ "@wordpress/is-shallow-equal": "file:../is-shallow-equal" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/url": { @@ -55799,7 +55908,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/viewport": { @@ -55813,7 +55923,8 @@ "@wordpress/element": "file:../element" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55824,7 +55935,8 @@ "version": "2.58.0", "license": "GPL-2.0-or-later", "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/widgets": { @@ -55846,6 +55958,10 @@ "@wordpress/notices": "file:../notices", "clsx": "^2.1.1" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" @@ -55859,7 +55975,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } } }, diff --git a/packages/a11y/CHANGELOG.md b/packages/a11y/CHANGELOG.md index e2ac2e9155c479..eec8afdfb64264 100644 --- a/packages/a11y/CHANGELOG.md +++ b/packages/a11y/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/a11y/package.json b/packages/a11y/package.json index 83d7626dbaf1fc..6417a952a1a4dd 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/annotations/CHANGELOG.md b/packages/annotations/CHANGELOG.md index a29a5af3b1bb23..def463f303f71c 100644 --- a/packages/annotations/CHANGELOG.md +++ b/packages/annotations/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 2.58.0 (2024-05-16) ## 2.57.0 (2024-05-02) diff --git a/packages/annotations/package.json b/packages/annotations/package.json index 1fbcac83cdd93f..f8a217f3c29379 100644 --- a/packages/annotations/package.json +++ b/packages/annotations/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/api-fetch/CHANGELOG.md b/packages/api-fetch/CHANGELOG.md index ab041b60f1b931..51d540327cbab8 100644 --- a/packages/api-fetch/CHANGELOG.md +++ b/packages/api-fetch/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 6.55.0 (2024-05-16) ## 6.54.0 (2024-05-02) @@ -116,7 +120,7 @@ ### Breaking changes - `OPTIONS` requests handled by the preloading middleware are now resolved as `window.Response` objects if you explicitly set `parse: false` (for consistency with how GET requests are resolved). They used to be resolved as `Plain Old JavaScript Objects`. +`OPTIONS` requests handled by the preloading middleware are now resolved as `window.Response` objects if you explicitly set `parse: false` (for consistency with how GET requests are resolved). They used to be resolved as `Plain Old JavaScript Objects`. ## 5.2.5 (2021-11-07) diff --git a/packages/api-fetch/package.json b/packages/api-fetch/package.json index df9f56f364de9d..e6f1630514ddd6 100644 --- a/packages/api-fetch/package.json +++ b/packages/api-fetch/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/autop/CHANGELOG.md b/packages/autop/CHANGELOG.md index 0b1bfa359d3c1c..7b9ffaa3059c3e 100644 --- a/packages/autop/CHANGELOG.md +++ b/packages/autop/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/autop/package.json b/packages/autop/package.json index b5a86da75b9a6d..db6aab5dd017f6 100644 --- a/packages/autop/package.json +++ b/packages/autop/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md b/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md index 6d90bdb76ed7d3..eeb17e2c6aa8b2 100644 --- a/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md +++ b/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.41.0 (2024-05-16) ## 4.40.0 (2024-05-02) diff --git a/packages/babel-plugin-import-jsx-pragma/README.md b/packages/babel-plugin-import-jsx-pragma/README.md index eb252d501290b7..ebc260277b21ab 100644 --- a/packages/babel-plugin-import-jsx-pragma/README.md +++ b/packages/babel-plugin-import-jsx-pragma/README.md @@ -14,7 +14,7 @@ Install the module to your project using [npm](https://www.npmjs.com/). npm install @wordpress/babel-plugin-import-jsx-pragma ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/babel-plugin-import-jsx-pragma/package.json b/packages/babel-plugin-import-jsx-pragma/package.json index 43bed33e547c9b..736e003fc524ea 100644 --- a/packages/babel-plugin-import-jsx-pragma/package.json +++ b/packages/babel-plugin-import-jsx-pragma/package.json @@ -24,7 +24,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/babel-plugin-makepot/CHANGELOG.md b/packages/babel-plugin-makepot/CHANGELOG.md index f07a220cd79e93..95f4e724c4fd2f 100644 --- a/packages/babel-plugin-makepot/CHANGELOG.md +++ b/packages/babel-plugin-makepot/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.42.0 (2024-05-16) ## 5.41.0 (2024-05-02) diff --git a/packages/babel-plugin-makepot/README.md b/packages/babel-plugin-makepot/README.md index 95f52e55d28f52..3824731e72d848 100644 --- a/packages/babel-plugin-makepot/README.md +++ b/packages/babel-plugin-makepot/README.md @@ -21,7 +21,7 @@ Install the module: npm install @wordpress/babel-plugin-makepot --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/babel-plugin-makepot/package.json b/packages/babel-plugin-makepot/package.json index ed014d8d52e52e..e873958ae19f5b 100644 --- a/packages/babel-plugin-makepot/package.json +++ b/packages/babel-plugin-makepot/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/babel-preset-default/CHANGELOG.md b/packages/babel-preset-default/CHANGELOG.md index 15ced9c9dde12c..be6a8e7a8ff9b7 100644 --- a/packages/babel-preset-default/CHANGELOG.md +++ b/packages/babel-preset-default/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 7.42.0 (2024-05-16) diff --git a/packages/babel-preset-default/README.md b/packages/babel-preset-default/README.md index ff98eb4e526e7f..945e1137a328f4 100644 --- a/packages/babel-preset-default/README.md +++ b/packages/babel-preset-default/README.md @@ -12,7 +12,7 @@ Install the module npm install @wordpress/babel-preset-default --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Usage diff --git a/packages/babel-preset-default/package.json b/packages/babel-preset-default/package.json index 438cce0f47b96b..8f9c9cf9ffc383 100644 --- a/packages/babel-preset-default/package.json +++ b/packages/babel-preset-default/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/base-styles/CHANGELOG.md b/packages/base-styles/CHANGELOG.md index 7fcf25b33253b2..f4e197d1839896 100644 --- a/packages/base-styles/CHANGELOG.md +++ b/packages/base-styles/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.49.0 (2024-05-16) ## 4.48.0 (2024-05-02) diff --git a/packages/base-styles/package.json b/packages/base-styles/package.json index 9af0dafb6ed5a2..1aa6ce31907bc3 100644 --- a/packages/base-styles/package.json +++ b/packages/base-styles/package.json @@ -20,6 +20,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/blob/CHANGELOG.md b/packages/blob/CHANGELOG.md index beb4389a2cfe20..99e2fe11fd7493 100644 --- a/packages/blob/CHANGELOG.md +++ b/packages/blob/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/blob/package.json b/packages/blob/package.json index 56f3296eb4b3e2..0271affb58d963 100644 --- a/packages/blob/package.json +++ b/packages/blob/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-directory/CHANGELOG.md b/packages/block-directory/CHANGELOG.md index 36a61b02938be0..7435a67f225916 100644 --- a/packages/block-directory/CHANGELOG.md +++ b/packages/block-directory/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/block-directory/package.json b/packages/block-directory/package.json index 28ce721fa10d3b..46bc869c3c55e6 100644 --- a/packages/block-directory/package.json +++ b/packages/block-directory/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-editor/CHANGELOG.md b/packages/block-editor/CHANGELOG.md index f854cdd1b3aa5d..27d024a5e561f5 100644 --- a/packages/block-editor/CHANGELOG.md +++ b/packages/block-editor/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 12.26.0 (2024-05-16) ### Internal diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index 25d4aa782da29b..cad39359f1c617 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-library/CHANGELOG.md b/packages/block-library/CHANGELOG.md index ee42f9653ad8ad..efdcdce83503d1 100644 --- a/packages/block-library/CHANGELOG.md +++ b/packages/block-library/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 8.35.0 (2024-05-16) diff --git a/packages/block-library/package.json b/packages/block-library/package.json index c5aa6fbb99992e..68372ad2a98f79 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-serialization-default-parser/CHANGELOG.md b/packages/block-serialization-default-parser/CHANGELOG.md index ac9330ed7a3b1f..a46ea5d2d7116d 100644 --- a/packages/block-serialization-default-parser/CHANGELOG.md +++ b/packages/block-serialization-default-parser/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) diff --git a/packages/block-serialization-default-parser/package.json b/packages/block-serialization-default-parser/package.json index 95ec976756489c..123fff2580df4b 100644 --- a/packages/block-serialization-default-parser/package.json +++ b/packages/block-serialization-default-parser/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-serialization-spec-parser/CHANGELOG.md b/packages/block-serialization-spec-parser/CHANGELOG.md index 7b4ff81fd925fc..f1ef290055f909 100644 --- a/packages/block-serialization-spec-parser/CHANGELOG.md +++ b/packages/block-serialization-spec-parser/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) diff --git a/packages/block-serialization-spec-parser/package.json b/packages/block-serialization-spec-parser/package.json index 7bb23f4bf291ff..572cbe6aa95b74 100644 --- a/packages/block-serialization-spec-parser/package.json +++ b/packages/block-serialization-spec-parser/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "parser.js", "sideEffects": false, diff --git a/packages/blocks/CHANGELOG.md b/packages/blocks/CHANGELOG.md index db9afca0d285a7..46f41ad0b6bbb9 100644 --- a/packages/blocks/CHANGELOG.md +++ b/packages/blocks/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 12.35.0 (2024-05-16) diff --git a/packages/blocks/package.json b/packages/blocks/package.json index e783b5da04318c..7e1efc8cfeb16f 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/browserslist-config/CHANGELOG.md b/packages/browserslist-config/CHANGELOG.md index 67ba56321abbc4..51aa52e81c2b44 100644 --- a/packages/browserslist-config/CHANGELOG.md +++ b/packages/browserslist-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.41.0 (2024-05-16) ## 5.40.0 (2024-05-02) diff --git a/packages/browserslist-config/README.md b/packages/browserslist-config/README.md index 0ab8e724947d7a..2376c8332a2b81 100644 --- a/packages/browserslist-config/README.md +++ b/packages/browserslist-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install browserslist @wordpress/browserslist-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json index 1795bc91bbc92a..e78bf84269cb31 100644 --- a/packages/browserslist-config/package.json +++ b/packages/browserslist-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/commands/CHANGELOG.md b/packages/commands/CHANGELOG.md index 53feb34d45faac..a9f5a293061827 100644 --- a/packages/commands/CHANGELOG.md +++ b/packages/commands/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.29.0 (2024-05-16) ### Internal diff --git a/packages/commands/package.json b/packages/commands/package.json index be0ce7d7b7e989..fc89c6dd2508c2 100644 --- a/packages/commands/package.json +++ b/packages/commands/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 66116146175ece..69470ddb05577f 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ### Enhancements @@ -33,7 +34,7 @@ ### Enhancements -- `FontSizePicker`: Add `vw` and `vh` units to the default units in the font size picker ([#60507]((https://github.com/WordPress/gutenberg/pull/60607)). +- `FontSizePicker`: Add `vw` and `vh` units to the default units in the font size picker ([#60507](<(https://github.com/WordPress/gutenberg/pull/60607)>). - `PaletteEdit`: Use consistent spacing and metrics. ([#61368](https://github.com/WordPress/gutenberg/pull/61368)). - `FormTokenField`: Hide label when not defined ([#61336](https://github.com/WordPress/gutenberg/pull/61336)). - `ComboboxControl`: supports disabled items ([#61294](https://github.com/WordPress/gutenberg/pull/61294)). diff --git a/packages/components/package.json b/packages/components/package.json index e13a600c34feb3..79b01e5f020ee9 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/compose/CHANGELOG.md b/packages/compose/CHANGELOG.md index 25526f536a4e58..3ebf8f4b32e33b 100644 --- a/packages/compose/CHANGELOG.md +++ b/packages/compose/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 6.35.0 (2024-05-16) ## 6.34.0 (2024-05-02) diff --git a/packages/compose/package.json b/packages/compose/package.json index b1cf8250f1ff20..0a3308e7adb0ac 100644 --- a/packages/compose/package.json +++ b/packages/compose/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/core-commands/CHANGELOG.md b/packages/core-commands/CHANGELOG.md index f645ce35258aae..528201ee2c5664 100644 --- a/packages/core-commands/CHANGELOG.md +++ b/packages/core-commands/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.27.0 (2024-05-16) ## 0.26.0 (2024-05-02) @@ -54,4 +58,4 @@ ## 0.2.0 (2023-05-10) -Initial release. \ No newline at end of file +Initial release. diff --git a/packages/core-commands/package.json b/packages/core-commands/package.json index 70b3ce18ec9637..3efea9abf58e48 100644 --- a/packages/core-commands/package.json +++ b/packages/core-commands/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/core-data/CHANGELOG.md b/packages/core-data/CHANGELOG.md index 348e1e7ea0e782..bce1d9e9d520bf 100644 --- a/packages/core-data/CHANGELOG.md +++ b/packages/core-data/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 6.35.0 (2024-05-16) diff --git a/packages/core-data/package.json b/packages/core-data/package.json index bbfc0712dd1899..ac77ad911becbe 100644 --- a/packages/core-data/package.json +++ b/packages/core-data/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/create-block-interactive-template/CHANGELOG.md b/packages/create-block-interactive-template/CHANGELOG.md index a220dcf8f90294..a3e1cba44c0881 100644 --- a/packages/create-block-interactive-template/CHANGELOG.md +++ b/packages/create-block-interactive-template/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.21.0 (2024-05-16) ## 1.20.0 (2024-05-02) diff --git a/packages/create-block-interactive-template/package.json b/packages/create-block-interactive-template/package.json index a1306987f21b3a..337b950b0ac499 100644 --- a/packages/create-block-interactive-template/package.json +++ b/packages/create-block-interactive-template/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/create-block-tutorial-template/CHANGELOG.md b/packages/create-block-tutorial-template/CHANGELOG.md index 63091030fe4e4b..125c54356e63bd 100644 --- a/packages/create-block-tutorial-template/CHANGELOG.md +++ b/packages/create-block-tutorial-template/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.12.0 (2024-05-16) ## 3.11.0 (2024-05-02) diff --git a/packages/create-block-tutorial-template/package.json b/packages/create-block-tutorial-template/package.json index 929fac1da68192..e03355e6e6a2a4 100644 --- a/packages/create-block-tutorial-template/package.json +++ b/packages/create-block-tutorial-template/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/customize-widgets/CHANGELOG.md b/packages/customize-widgets/CHANGELOG.md index d6f184afe97366..499363d1920ef2 100644 --- a/packages/customize-widgets/CHANGELOG.md +++ b/packages/customize-widgets/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 4.35.0 (2024-05-16) diff --git a/packages/customize-widgets/package.json b/packages/customize-widgets/package.json index 0028720426dd8b..c3fe2dbd5e0bbf 100644 --- a/packages/customize-widgets/package.json +++ b/packages/customize-widgets/package.json @@ -17,7 +17,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/data-controls/CHANGELOG.md b/packages/data-controls/CHANGELOG.md index d6c96a3f4a0a01..f90608d4d8c0cd 100644 --- a/packages/data-controls/CHANGELOG.md +++ b/packages/data-controls/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.27.0 (2024-05-16) ## 3.26.0 (2024-05-02) diff --git a/packages/data-controls/package.json b/packages/data-controls/package.json index 09b4e93f822cb4..f4e1f9beda2a98 100644 --- a/packages/data-controls/package.json +++ b/packages/data-controls/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/data/CHANGELOG.md b/packages/data/CHANGELOG.md index 26b545dbaea379..200d37efa904d9 100644 --- a/packages/data/CHANGELOG.md +++ b/packages/data/CHANGELOG.md @@ -2,19 +2,23 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 9.28.0 (2024-05-16) ## 9.27.0 (2024-05-02) ## 9.26.0 (2024-04-19) -- Add new `createSelector` function for creating memoized store selectors ([#60370](https://github.com/WordPress/gutenberg/pull/60370)). +- Add new `createSelector` function for creating memoized store selectors ([#60370](https://github.com/WordPress/gutenberg/pull/60370)). ## 9.25.0 (2024-04-03) ## 9.24.0 (2024-03-21) -- Deprecate the `getIsResolved` meta-selector ([#59679](https://github.com/WordPress/gutenberg/pull/59679)). +- Deprecate the `getIsResolved` meta-selector ([#59679](https://github.com/WordPress/gutenberg/pull/59679)). ## 9.23.0 (2024-03-06) @@ -40,13 +44,13 @@ ### Bug Fix -- Fix `combineReducers()` types ([#55321](https://github.com/WordPress/gutenberg/pull/55321)). +- Fix `combineReducers()` types ([#55321](https://github.com/WordPress/gutenberg/pull/55321)). ## 9.13.0 (2023-10-05) ### Enhancements -- Change implementation of `combineReducers` so that it doesn't use `eval` internally, and can run with a CSP policy that doesn't allow `unsafe-eval` ([#54606](https://github.com/WordPress/gutenberg/pull/54606)). +- Change implementation of `combineReducers` so that it doesn't use `eval` internally, and can run with a CSP policy that doesn't allow `unsafe-eval` ([#54606](https://github.com/WordPress/gutenberg/pull/54606)). ## 9.12.0 (2023-09-20) @@ -56,7 +60,7 @@ ### Enhancements -- Warn if the `useSelect` hook returns different values when called with the same state and parameters ([#53666](https://github.com/WordPress/gutenberg/pull/53666)). +- Warn if the `useSelect` hook returns different values when called with the same state and parameters ([#53666](https://github.com/WordPress/gutenberg/pull/53666)). ## 9.9.0 (2023-08-10) diff --git a/packages/data/package.json b/packages/data/package.json index 5cd8558e3d1003..b289f599fad018 100644 --- a/packages/data/package.json +++ b/packages/data/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dataviews/CHANGELOG.md b/packages/dataviews/CHANGELOG.md index ba4cd177561df3..cba3c4f9c8cb26 100644 --- a/packages/dataviews/CHANGELOG.md +++ b/packages/dataviews/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 1.2.0 (2024-05-16) diff --git a/packages/dataviews/package.json b/packages/dataviews/package.json index 96003e94e8c08c..9fa8ea0c910c5a 100644 --- a/packages/dataviews/package.json +++ b/packages/dataviews/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md index 81d762502bb078..0bdf48871145b6 100644 --- a/packages/date/CHANGELOG.md +++ b/packages/date/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) diff --git a/packages/date/package.json b/packages/date/package.json index ca2c1e1e32b9a4..a3790d910e3b2d 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dependency-extraction-webpack-plugin/CHANGELOG.md b/packages/dependency-extraction-webpack-plugin/CHANGELOG.md index c32bc1bb59d22a..27d099308df2ad 100644 --- a/packages/dependency-extraction-webpack-plugin/CHANGELOG.md +++ b/packages/dependency-extraction-webpack-plugin/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.9.0 (2024-05-16) ## 5.8.0 (2024-05-02) diff --git a/packages/dependency-extraction-webpack-plugin/README.md b/packages/dependency-extraction-webpack-plugin/README.md index 168fb1cfab69d6..9e6b183672f86d 100644 --- a/packages/dependency-extraction-webpack-plugin/README.md +++ b/packages/dependency-extraction-webpack-plugin/README.md @@ -21,7 +21,7 @@ Install the module npm install @wordpress/dependency-extraction-webpack-plugin --save-dev ``` -**Note**: This package requires Node.js 18.0.0 or later. It also requires webpack 5.0.0 or newer. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It also requires webpack 5.0.0 or newer. It is not compatible with older versions. ## Usage diff --git a/packages/dependency-extraction-webpack-plugin/package.json b/packages/dependency-extraction-webpack-plugin/package.json index 504dced33a7a24..3ee7f0bdb7deac 100644 --- a/packages/dependency-extraction-webpack-plugin/package.json +++ b/packages/dependency-extraction-webpack-plugin/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=18" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib", diff --git a/packages/deprecated/CHANGELOG.md b/packages/deprecated/CHANGELOG.md index d37b4083761496..a38f511de523dc 100644 --- a/packages/deprecated/CHANGELOG.md +++ b/packages/deprecated/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/deprecated/package.json b/packages/deprecated/package.json index 1cab7cc0daa34d..656787a875e66b 100644 --- a/packages/deprecated/package.json +++ b/packages/deprecated/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/docgen/CHANGELOG.md b/packages/docgen/CHANGELOG.md index 00864ed655e207..492b7035e959c5 100644 --- a/packages/docgen/CHANGELOG.md +++ b/packages/docgen/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.67.0 (2024-05-16) ## 1.66.0 (2024-05-02) @@ -88,7 +92,7 @@ ### Bug Fixes -- Fix getting param annotations for default exported functions. ([#31603](https://github.com/WordPress/gutenberg/pull/31603)) +- Fix getting param annotations for default exported functions. ([#31603](https://github.com/WordPress/gutenberg/pull/31603)) ## 1.17.0 (2021-04-29) diff --git a/packages/docgen/README.md b/packages/docgen/README.md index f54cd6b9e5773d..4f60d0a3c7a26a 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -16,6 +16,8 @@ Install the module npm install @wordpress/docgen --save-dev ``` +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. + ## Usage ```bash diff --git a/packages/docgen/package.json b/packages/docgen/package.json index 53a6a0fe645d50..0582121d16d74b 100644 --- a/packages/docgen/package.json +++ b/packages/docgen/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "files": [ "bin", "lib" diff --git a/packages/dom-ready/CHANGELOG.md b/packages/dom-ready/CHANGELOG.md index 21df27474119d8..67d4e465a65edc 100644 --- a/packages/dom-ready/CHANGELOG.md +++ b/packages/dom-ready/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/dom-ready/package.json b/packages/dom-ready/package.json index c0b77932a633ed..54f4842c2d93e2 100644 --- a/packages/dom-ready/package.json +++ b/packages/dom-ready/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dom/CHANGELOG.md b/packages/dom/CHANGELOG.md index d8df8412944f9f..dc504c46551367 100644 --- a/packages/dom/CHANGELOG.md +++ b/packages/dom/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) @@ -10,7 +14,7 @@ ## 3.55.0 (2024-04-03) -- fix return types of `focus.tabbable` methods to be `HTMLElement` instead of `Element`. +- fix return types of `focus.tabbable` methods to be `HTMLElement` instead of `Element`. ## 3.54.0 (2024-03-21) @@ -94,7 +98,7 @@ ## 3.14.0 (2022-07-27) -- `getRectangleFromRange` may now return `null`. +- `getRectangleFromRange` may now return `null`. ## 3.13.0 (2022-07-13) @@ -108,7 +112,7 @@ ### Deprecation -- Deprecate `isNumberInput`, as it is no longer used internally ([#40896](https://github.com/WordPress/gutenberg/pull/40896)). +- Deprecate `isNumberInput`, as it is no longer used internally ([#40896](https://github.com/WordPress/gutenberg/pull/40896)). ## 3.8.0 (2022-05-04) diff --git a/packages/dom/package.json b/packages/dom/package.json index 401a70d31a4339..9b8c0b8ded4ae1 100644 --- a/packages/dom/package.json +++ b/packages/dom/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/e2e-test-utils-playwright/CHANGELOG.md b/packages/e2e-test-utils-playwright/CHANGELOG.md index 6cbfad24f34df7..f327489308b648 100644 --- a/packages/e2e-test-utils-playwright/CHANGELOG.md +++ b/packages/e2e-test-utils-playwright/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.26.0 (2024-05-16) ## 0.25.0 (2024-05-02) @@ -54,4 +58,4 @@ ## 0.1.0 (2023-05-10) -- Initial version of the package. +- Initial version of the package. diff --git a/packages/e2e-test-utils-playwright/README.md b/packages/e2e-test-utils-playwright/README.md index d03a6ced191f96..883bd87fb9c3c6 100644 --- a/packages/e2e-test-utils-playwright/README.md +++ b/packages/e2e-test-utils-playwright/README.md @@ -16,7 +16,7 @@ Install the module npm install @wordpress/e2e-test-utils-playwright --save-dev ``` -**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## API @@ -42,6 +42,7 @@ await admin.visitAdminPage( 'options-general.php' ); End to end test utilities for the WordPress Block Editor. To use these utilities, instantiate them within each test file: + ```js test.use( { editor: async ( { page }, use ) => { @@ -53,7 +54,7 @@ test.use( { Within a test or test utility, use the `canvas` property to select elements within the iframe canvas: ```js -await editor.canvas.locator( 'role=document[name="Paragraph block"i]' ) +await editor.canvas.locator( 'role=document[name="Paragraph block"i]' ); ``` ### PageUtils diff --git a/packages/e2e-test-utils-playwright/package.json b/packages/e2e-test-utils-playwright/package.json index 730c7121460ce2..5cee2f8ee1b30d 100644 --- a/packages/e2e-test-utils-playwright/package.json +++ b/packages/e2e-test-utils-playwright/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/e2e-test-utils/CHANGELOG.md b/packages/e2e-test-utils/CHANGELOG.md index a309906a8b0203..cb853af4cdb213 100644 --- a/packages/e2e-test-utils/CHANGELOG.md +++ b/packages/e2e-test-utils/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 10.29.0 (2024-05-16) ## 10.28.0 (2024-05-02) @@ -38,9 +42,9 @@ ### Enhancement -- Update promise order in `loginUser` to avoid any flakiness in the tests. -- Update `activateTheme` to redirect to `themes.php` after theme activation, if theme redirects to some other page. -- Update `activatePlugin` to redirect to `plugins.php` after plugin activation, if plugin redirects to some other page. +- Update promise order in `loginUser` to avoid any flakiness in the tests. +- Update `activateTheme` to redirect to `themes.php` after theme activation, if theme redirects to some other page. +- Update `activatePlugin` to redirect to `plugins.php` after plugin activation, if plugin redirects to some other page. ## 10.12.0 (2023-08-31) @@ -70,7 +74,7 @@ ### Breaking Changes -- Started requiring Jest v29 instead of v27 as a peer dependency. See [breaking changes in Jest 28](https://jestjs.io/blog/2022/04/25/jest-28) and [in jest 29](https://jestjs.io/blog/2022/08/25/jest-29) ([#47388](https://github.com/WordPress/gutenberg/pull/47388)) +- Started requiring Jest v29 instead of v27 as a peer dependency. See [breaking changes in Jest 28](https://jestjs.io/blog/2022/04/25/jest-28) and [in jest 29](https://jestjs.io/blog/2022/08/25/jest-29) ([#47388](https://github.com/WordPress/gutenberg/pull/47388)) ## 9.5.0 (2023-03-01) diff --git a/packages/e2e-test-utils/README.md b/packages/e2e-test-utils/README.md index bce7c84d73716d..196768b0e2487c 100644 --- a/packages/e2e-test-utils/README.md +++ b/packages/e2e-test-utils/README.md @@ -14,7 +14,7 @@ Install the module npm install @wordpress/e2e-test-utils --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## API diff --git a/packages/e2e-test-utils/package.json b/packages/e2e-test-utils/package.json index 4fb38e6e8c8b84..1faa1848272ab2 100644 --- a/packages/e2e-test-utils/package.json +++ b/packages/e2e-test-utils/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/e2e-tests/CHANGELOG.md b/packages/e2e-tests/CHANGELOG.md index 95cbb721932d5e..c377e0db8a79fc 100644 --- a/packages/e2e-tests/CHANGELOG.md +++ b/packages/e2e-tests/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 7.29.0 (2024-05-16) diff --git a/packages/e2e-tests/README.md b/packages/e2e-tests/README.md index 8629700263ebe7..75283a3d9ecc82 100644 --- a/packages/e2e-tests/README.md +++ b/packages/e2e-tests/README.md @@ -80,7 +80,7 @@ Debugging in a Chrome browser can be replaced with `vscode`'s debugger by adding This will run jest, targetting the spec file currently open in the editor. `vscode`'s debugger can now be used to add breakpoints and inspect tests as you would in Chrome DevTools. -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json index 55672505f3d115..d678f568a92a5d 100644 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "dependencies": { "@wordpress/e2e-test-utils": "file:../e2e-test-utils", diff --git a/packages/edit-post/CHANGELOG.md b/packages/edit-post/CHANGELOG.md index 763952b71ab604..7e6b861f8183ba 100644 --- a/packages/edit-post/CHANGELOG.md +++ b/packages/edit-post/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 7.35.0 (2024-05-16) diff --git a/packages/edit-post/package.json b/packages/edit-post/package.json index e2449021e951f4..1c45301173d24d 100644 --- a/packages/edit-post/package.json +++ b/packages/edit-post/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/edit-site/CHANGELOG.md b/packages/edit-site/CHANGELOG.md index 3437c7c35fd9c4..0997d17e849ede 100644 --- a/packages/edit-site/CHANGELOG.md +++ b/packages/edit-site/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 5.35.0 (2024-05-16) diff --git a/packages/edit-site/package.json b/packages/edit-site/package.json index a8b12bdd15b61e..5336726300a5cd 100644 --- a/packages/edit-site/package.json +++ b/packages/edit-site/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/edit-widgets/CHANGELOG.md b/packages/edit-widgets/CHANGELOG.md index 1c76fff573a054..df05e7281b7f21 100644 --- a/packages/edit-widgets/CHANGELOG.md +++ b/packages/edit-widgets/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 5.35.0 (2024-05-16) diff --git a/packages/edit-widgets/package.json b/packages/edit-widgets/package.json index 90181fef8bcd9d..1d48948f81f77d 100644 --- a/packages/edit-widgets/package.json +++ b/packages/edit-widgets/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index b33b049d245a4c..7fb4b4ecf3196f 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 13.35.0 (2024-05-16) diff --git a/packages/editor/package.json b/packages/editor/package.json index 7dba536e425dc4..d6d5731ebbc1fd 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/element/CHANGELOG.md b/packages/element/CHANGELOG.md index d5acd25fc60834..9be466cfa8a13b 100644 --- a/packages/element/CHANGELOG.md +++ b/packages/element/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.35.0 (2024-05-16) ## 5.34.0 (2024-05-02) @@ -136,7 +140,7 @@ ### Bug Fix -- Serialize will now keep correct casing for SVG attributes ([#38936](https://github.com/WordPress/gutenberg/pull/38936)). +- Serialize will now keep correct casing for SVG attributes ([#38936](https://github.com/WordPress/gutenberg/pull/38936)). ## 4.1.0 (2022-01-27) diff --git a/packages/element/package.json b/packages/element/package.json index 819b530bb70b94..2a66b1201f5d2f 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/env/CHANGELOG.md b/packages/env/CHANGELOG.md index 837c42f6d7d21e..4da081b51eb713 100644 --- a/packages/env/CHANGELOG.md +++ b/packages/env/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 9.10.0 (2024-05-16) ## 9.9.0 (2024-05-02) @@ -30,7 +34,7 @@ ### Breaking Change -- Update Docker usage to `docker compose` V2 following [deprecation](https://docs.docker.com/compose/migrate/) of `docker-compose` V1. +- Update Docker usage to `docker compose` V2 following [deprecation](https://docs.docker.com/compose/migrate/) of `docker-compose` V1. ## 8.13.0 (2023-11-29) diff --git a/packages/env/package.json b/packages/env/package.json index 76dbc9b26d1153..9604ededadca45 100644 --- a/packages/env/package.json +++ b/packages/env/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "directories": { "lib": "lib", "test": "tests" diff --git a/packages/escape-html/CHANGELOG.md b/packages/escape-html/CHANGELOG.md index 6f6705c817b9bd..9917b2eeadff4b 100644 --- a/packages/escape-html/CHANGELOG.md +++ b/packages/escape-html/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 2.58.0 (2024-05-16) ## 2.57.0 (2024-05-02) diff --git a/packages/escape-html/package.json b/packages/escape-html/package.json index 2b6b1d1cca07ee..318bf847b8d292 100644 --- a/packages/escape-html/package.json +++ b/packages/escape-html/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 682fac4e8f1f03..6d3791ba7c7a6a 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -7,6 +7,7 @@ - `@wordpress/is-gutenberg-plugin` rule has been replaced by `@wordpress/wp-global-usage` ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). - `@wordpress/wp-process-env` rule has been added and included in the recommended configurations ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). - `@wordpress/gutenberg-phase` rule has been removed (deprecated in v10.0.0) ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 18.1.0 (2024-05-16) diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md index bd629a593f277d..cde410fc9c9926 100644 --- a/packages/eslint-plugin/README.md +++ b/packages/eslint-plugin/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/eslint-plugin --save-dev ``` -**Note**: This package requires `node` 14.0.0 or later, and `npm` 6.14.4 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 00de20335e1f92..0709fdee582c99 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -20,8 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "configs", diff --git a/packages/format-library/CHANGELOG.md b/packages/format-library/CHANGELOG.md index ef7f26e376cd22..4156282600a4b4 100644 --- a/packages/format-library/CHANGELOG.md +++ b/packages/format-library/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/format-library/package.json b/packages/format-library/package.json index 9774a1e55d7c58..46d38ee6441128 100644 --- a/packages/format-library/package.json +++ b/packages/format-library/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/hooks/CHANGELOG.md b/packages/hooks/CHANGELOG.md index ee1aa80308c106..2d918d78d571c4 100644 --- a/packages/hooks/CHANGELOG.md +++ b/packages/hooks/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/hooks/package.json b/packages/hooks/package.json index a1a42614b448e2..7c654b1356a0de 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/html-entities/CHANGELOG.md b/packages/html-entities/CHANGELOG.md index 6f41ea210a8cb6..205d3f03a8ca7c 100644 --- a/packages/html-entities/CHANGELOG.md +++ b/packages/html-entities/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/html-entities/package.json b/packages/html-entities/package.json index 1edf5f0a7e9413..5ef035763394ce 100644 --- a/packages/html-entities/package.json +++ b/packages/html-entities/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index b24be3162bef1d..993d8758c8d27d 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) @@ -114,7 +118,7 @@ ## 4.3.0 (2022-01-27) -- Add new `addLocaleData` method to merge locale data into the Tannin instance by domain. +- Add new `addLocaleData` method to merge locale data into the Tannin instance by domain. ## 4.2.0 (2021-07-21) diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 01f82f8bd21828..da0c793d4f6092 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 5d352804add696..ff3eece680666b 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 9.49.0 (2024-05-16) ## 9.48.0 (2024-05-02) @@ -10,7 +14,7 @@ ## 9.46.0 (2024-04-03) -- Add new `chevronDownSmall` icon. +- Add new `chevronDownSmall` icon. ## 9.45.0 (2024-03-21) @@ -32,7 +36,7 @@ ### New features -- Add new `funnel` icon. +- Add new `funnel` icon. ## 9.36.0 (2023-11-02) @@ -123,14 +127,17 @@ ## 9.0.0 (2022-05-18) ### Breaking Changes + - Removed icons no longer used by the UI: `commentTitle`, `postTitle`, `queryTitle`, `archiveTitle`. ### Enhancement + - Update the `title` icon to match g2 design language. ([#40596](https://github.com/WordPress/gutenberg/pull/40596)) ## 8.4.0 (2022-05-04) ## 8.3.0 (2022-04-21) + ### New Features - Add new `filter` icon. ([#40435](https://github.com/WordPress/gutenberg/pull/40435)) diff --git a/packages/icons/package.json b/packages/icons/package.json index e93a0097b28e70..0d3024b83557a7 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interactivity-router/CHANGELOG.md b/packages/interactivity-router/CHANGELOG.md index 496d76e7bdecc0..d17d6f834b6460 100644 --- a/packages/interactivity-router/CHANGELOG.md +++ b/packages/interactivity-router/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 1.8.0 (2024-05-16) diff --git a/packages/interactivity-router/package.json b/packages/interactivity-router/package.json index 1fd24a11007149..a109c3031d2446 100644 --- a/packages/interactivity-router/package.json +++ b/packages/interactivity-router/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/labels/%5BFeature%5D%20Interactivity%20API" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interactivity/CHANGELOG.md b/packages/interactivity/CHANGELOG.md index bcc1ffcf8a3fce..e40c68a50180a2 100644 --- a/packages/interactivity/CHANGELOG.md +++ b/packages/interactivity/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 5.7.0 (2024-05-16) diff --git a/packages/interactivity/package.json b/packages/interactivity/package.json index 0e93575b25477a..6a5413108768e3 100644 --- a/packages/interactivity/package.json +++ b/packages/interactivity/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/labels/%5BFeature%5D%20Interactivity%20API" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interface/CHANGELOG.md b/packages/interface/CHANGELOG.md index 96919322e0c80e..c423c206747b83 100644 --- a/packages/interface/CHANGELOG.md +++ b/packages/interface/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.35.0 (2024-05-16) ### Internal diff --git a/packages/interface/package.json b/packages/interface/package.json index ce0ab729c7a7d8..7fe5f3b2686493 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/is-shallow-equal/CHANGELOG.md b/packages/is-shallow-equal/CHANGELOG.md index f808ef79e59454..a1a6e782d3845f 100644 --- a/packages/is-shallow-equal/CHANGELOG.md +++ b/packages/is-shallow-equal/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) diff --git a/packages/is-shallow-equal/package.json b/packages/is-shallow-equal/package.json index ffc0daeb6feddf..d205cbc301ac77 100644 --- a/packages/is-shallow-equal/package.json +++ b/packages/is-shallow-equal/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/jest-console/CHANGELOG.md b/packages/jest-console/CHANGELOG.md index 98b8a9e488d1f1..5ea47cbcfc4abf 100644 --- a/packages/jest-console/CHANGELOG.md +++ b/packages/jest-console/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 7.29.0 (2024-05-16) ## 7.28.0 (2024-05-02) diff --git a/packages/jest-console/README.md b/packages/jest-console/README.md index 4e57acef7deb6c..f733ad2be352eb 100644 --- a/packages/jest-console/README.md +++ b/packages/jest-console/README.md @@ -18,7 +18,7 @@ Install the module: npm install @wordpress/jest-console --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Setup diff --git a/packages/jest-console/package.json b/packages/jest-console/package.json index 47d35cb021ab6d..e15e23922e8fbd 100644 --- a/packages/jest-console/package.json +++ b/packages/jest-console/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/jest-preset-default/CHANGELOG.md b/packages/jest-preset-default/CHANGELOG.md index f891b892ed8bae..dfceb60a6670d1 100644 --- a/packages/jest-preset-default/CHANGELOG.md +++ b/packages/jest-preset-default/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 11.29.0 (2024-05-16) diff --git a/packages/jest-preset-default/README.md b/packages/jest-preset-default/README.md index 9f1f70ee122284..8720474a187211 100644 --- a/packages/jest-preset-default/README.md +++ b/packages/jest-preset-default/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/jest-preset-default --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Setup @@ -89,7 +89,7 @@ Finally, you should add `enzyme-to-json/serializer` to the array of [`snapshotSe ```javascript { - snapshotSerializers: [ 'enzyme-to-json/serializer' ] + snapshotSerializers: [ 'enzyme-to-json/serializer' ]; } ``` diff --git a/packages/jest-preset-default/package.json b/packages/jest-preset-default/package.json index 9740bdf26b14a9..795989abfbd317 100644 --- a/packages/jest-preset-default/package.json +++ b/packages/jest-preset-default/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "scripts", diff --git a/packages/jest-puppeteer-axe/CHANGELOG.md b/packages/jest-puppeteer-axe/CHANGELOG.md index 394015516c85fd..12e98b8755ea22 100644 --- a/packages/jest-puppeteer-axe/CHANGELOG.md +++ b/packages/jest-puppeteer-axe/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 6.29.0 (2024-05-16) ## 6.28.0 (2024-05-02) @@ -64,7 +68,7 @@ ### Breaking Changes -- Started requiring Jest v29 instead of v27 as a peer dependency. See [breaking changes in Jest 28](https://jestjs.io/blog/2022/04/25/jest-28) and [in jest 29](https://jestjs.io/blog/2022/08/25/jest-29) ([#47388](https://github.com/WordPress/gutenberg/pull/47388)) +- Started requiring Jest v29 instead of v27 as a peer dependency. See [breaking changes in Jest 28](https://jestjs.io/blog/2022/04/25/jest-28) and [in jest 29](https://jestjs.io/blog/2022/08/25/jest-29) ([#47388](https://github.com/WordPress/gutenberg/pull/47388)) ## 5.11.0 (2023-03-01) diff --git a/packages/jest-puppeteer-axe/README.md b/packages/jest-puppeteer-axe/README.md index fb5b6752c57025..452ffb4b6d1123 100644 --- a/packages/jest-puppeteer-axe/README.md +++ b/packages/jest-puppeteer-axe/README.md @@ -12,7 +12,7 @@ Install the module npm install @wordpress/jest-puppeteer-axe --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Setup diff --git a/packages/jest-puppeteer-axe/package.json b/packages/jest-puppeteer-axe/package.json index 4b65f05b557c17..e4792458d92ff3 100644 --- a/packages/jest-puppeteer-axe/package.json +++ b/packages/jest-puppeteer-axe/package.json @@ -22,7 +22,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/keyboard-shortcuts/CHANGELOG.md b/packages/keyboard-shortcuts/CHANGELOG.md index a4454b3b4f360d..309c0686c1ae4a 100644 --- a/packages/keyboard-shortcuts/CHANGELOG.md +++ b/packages/keyboard-shortcuts/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/keyboard-shortcuts/package.json b/packages/keyboard-shortcuts/package.json index 7527ba7e2294e6..563cdb1a9f2096 100644 --- a/packages/keyboard-shortcuts/package.json +++ b/packages/keyboard-shortcuts/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/keycodes/CHANGELOG.md b/packages/keycodes/CHANGELOG.md index 1287ea94539e27..99d6c1324b7bee 100644 --- a/packages/keycodes/CHANGELOG.md +++ b/packages/keycodes/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/keycodes/package.json b/packages/keycodes/package.json index 7400fcd16e4f04..e198e7a23c97cd 100644 --- a/packages/keycodes/package.json +++ b/packages/keycodes/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/lazy-import/CHANGELOG.md b/packages/lazy-import/CHANGELOG.md index 3396f41183db0d..9b4ccb4a788e89 100644 --- a/packages/lazy-import/CHANGELOG.md +++ b/packages/lazy-import/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.45.0 (2024-05-16) ## 1.44.0 (2024-05-02) diff --git a/packages/lazy-import/package.json b/packages/lazy-import/package.json index 2d3bf4edd1dd8a..3fc3c50d97e532 100644 --- a/packages/lazy-import/package.json +++ b/packages/lazy-import/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "npm": ">=6.9.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "lib/index.js", "types": "build-types", diff --git a/packages/list-reusable-blocks/CHANGELOG.md b/packages/list-reusable-blocks/CHANGELOG.md index 302104feca2cc9..c40cf899c23bf7 100644 --- a/packages/list-reusable-blocks/CHANGELOG.md +++ b/packages/list-reusable-blocks/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/list-reusable-blocks/package.json b/packages/list-reusable-blocks/package.json index 9a53b72e181bf8..10b35bef332669 100644 --- a/packages/list-reusable-blocks/package.json +++ b/packages/list-reusable-blocks/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/media-utils/CHANGELOG.md b/packages/media-utils/CHANGELOG.md index 09ae32eed91f65..8f65e32becda16 100644 --- a/packages/media-utils/CHANGELOG.md +++ b/packages/media-utils/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.49.0 (2024-05-16) ## 4.48.0 (2024-05-02) diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json index 0f126ccae62ee5..1d200320c4b65f 100644 --- a/packages/media-utils/package.json +++ b/packages/media-utils/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/notices/CHANGELOG.md b/packages/notices/CHANGELOG.md index 13dc8d2006dbc4..5d7ea51ecb3391 100644 --- a/packages/notices/CHANGELOG.md +++ b/packages/notices/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.26.0 (2024-05-16) ## 4.25.0 (2024-05-02) diff --git a/packages/notices/package.json b/packages/notices/package.json index 7ecc7c70825ee8..664077d36e5390 100644 --- a/packages/notices/package.json +++ b/packages/notices/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/npm-package-json-lint-config/CHANGELOG.md b/packages/npm-package-json-lint-config/CHANGELOG.md index 2ac3cc4e158b1d..7c4ebdb06735d3 100644 --- a/packages/npm-package-json-lint-config/CHANGELOG.md +++ b/packages/npm-package-json-lint-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.43.0 (2024-05-16) ## 4.42.0 (2024-05-02) diff --git a/packages/npm-package-json-lint-config/README.md b/packages/npm-package-json-lint-config/README.md index dae33adeb5f8a2..f933cc188a8a04 100644 --- a/packages/npm-package-json-lint-config/README.md +++ b/packages/npm-package-json-lint-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install @wordpress/npm-package-json-lint-config ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/npm-package-json-lint-config/package.json b/packages/npm-package-json-lint-config/package.json index 13f2bf6729d327..be03f5633db857 100644 --- a/packages/npm-package-json-lint-config/package.json +++ b/packages/npm-package-json-lint-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/nux/CHANGELOG.md b/packages/nux/CHANGELOG.md index 896ae8fbfe9c5b..d1be7f5513b903 100644 --- a/packages/nux/CHANGELOG.md +++ b/packages/nux/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 8.20.0 (2024-05-16) ## 8.19.0 (2024-05-02) diff --git a/packages/nux/package.json b/packages/nux/package.json index 2bf9a21c527ad8..e06ecb5c0ad675 100644 --- a/packages/nux/package.json +++ b/packages/nux/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/patterns/CHANGELOG.md b/packages/patterns/CHANGELOG.md index 04957c7b205faa..eb2cdc1661c97d 100644 --- a/packages/patterns/CHANGELOG.md +++ b/packages/patterns/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.19.0 (2024-05-16) ## 1.18.0 (2024-05-02) diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 4afd2dc030723b..cf214377d61b0e 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/plugins/CHANGELOG.md b/packages/plugins/CHANGELOG.md index 49ff11a846d8e8..ae572061e64bcc 100644 --- a/packages/plugins/CHANGELOG.md +++ b/packages/plugins/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 6.26.0 (2024-05-16) diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 3155ba00de8eb1..43b5877c4448e3 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/postcss-plugins-preset/CHANGELOG.md b/packages/postcss-plugins-preset/CHANGELOG.md index d93ce9c5e8a5bb..49fc5ca3da5322 100644 --- a/packages/postcss-plugins-preset/CHANGELOG.md +++ b/packages/postcss-plugins-preset/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.42.0 (2024-05-16) ## 4.41.0 (2024-05-02) diff --git a/packages/postcss-plugins-preset/README.md b/packages/postcss-plugins-preset/README.md index 8385a30e6be53f..ac844e279b6f16 100644 --- a/packages/postcss-plugins-preset/README.md +++ b/packages/postcss-plugins-preset/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/postcss-plugins-preset --save ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/postcss-plugins-preset/package.json b/packages/postcss-plugins-preset/package.json index c34db26965ed9a..d3891d679e04a1 100644 --- a/packages/postcss-plugins-preset/package.json +++ b/packages/postcss-plugins-preset/package.json @@ -22,7 +22,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib" diff --git a/packages/postcss-themes/CHANGELOG.md b/packages/postcss-themes/CHANGELOG.md index 284b28f42913aa..d6b1cfadd0ca28 100644 --- a/packages/postcss-themes/CHANGELOG.md +++ b/packages/postcss-themes/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.41.0 (2024-05-16) ## 5.40.0 (2024-05-02) diff --git a/packages/postcss-themes/README.md b/packages/postcss-themes/README.md index 341ecfdbd8b7a6..b23c6c829d1d9e 100644 --- a/packages/postcss-themes/README.md +++ b/packages/postcss-themes/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/postcss-themes --save ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/postcss-themes/package.json b/packages/postcss-themes/package.json index 14082111987ec2..028a1967bbcfb1 100644 --- a/packages/postcss-themes/package.json +++ b/packages/postcss-themes/package.json @@ -24,7 +24,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/preferences-persistence/CHANGELOG.md b/packages/preferences-persistence/CHANGELOG.md index 67924deb7d04f5..78035788442653 100644 --- a/packages/preferences-persistence/CHANGELOG.md +++ b/packages/preferences-persistence/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.50.0 (2024-05-16) ## 1.49.0 (2024-05-02) diff --git a/packages/preferences-persistence/package.json b/packages/preferences-persistence/package.json index c43a4424a44ddf..a7d73fbc0df100 100644 --- a/packages/preferences-persistence/package.json +++ b/packages/preferences-persistence/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/preferences/CHANGELOG.md b/packages/preferences/CHANGELOG.md index 00512c275b24cc..70095e3a329f5c 100644 --- a/packages/preferences/CHANGELOG.md +++ b/packages/preferences/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.35.0 (2024-05-16) ### Internal diff --git a/packages/preferences/package.json b/packages/preferences/package.json index 31dd3fa83bb6db..c6d2347ba9723f 100644 --- a/packages/preferences/package.json +++ b/packages/preferences/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/prettier-config/CHANGELOG.md b/packages/prettier-config/CHANGELOG.md index 39e33692268741..86e0a52d5e518f 100644 --- a/packages/prettier-config/CHANGELOG.md +++ b/packages/prettier-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.15.0 (2024-05-16) ## 3.14.0 (2024-05-02) diff --git a/packages/prettier-config/README.md b/packages/prettier-config/README.md index b07fad62e14e63..efb75513694fc9 100644 --- a/packages/prettier-config/README.md +++ b/packages/prettier-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install @wordpress/prettier-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 06a9ff0f98af23..dd7604f0c3d61a 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib/index.js" diff --git a/packages/primitives/CHANGELOG.md b/packages/primitives/CHANGELOG.md index b1b374c8ec5616..8f5c66d8e810c3 100644 --- a/packages/primitives/CHANGELOG.md +++ b/packages/primitives/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.56.0 (2024-05-16) ### Internal diff --git a/packages/primitives/package.json b/packages/primitives/package.json index be0405d43d81ec..96a450e99ecc00 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/priority-queue/CHANGELOG.md b/packages/priority-queue/CHANGELOG.md index 29790b15341aa9..3a4df3e85ee90a 100644 --- a/packages/priority-queue/CHANGELOG.md +++ b/packages/priority-queue/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 2.58.0 (2024-05-16) ## 2.57.0 (2024-05-02) @@ -108,7 +112,7 @@ ### New features -- Add a new `cancel` method that removes scheduled callbacks without executing them. +- Add a new `cancel` method that removes scheduled callbacks without executing them. ## 2.6.0 (2022-04-08) diff --git a/packages/priority-queue/package.json b/packages/priority-queue/package.json index 17e43f697623d8..236a48c796dc37 100644 --- a/packages/priority-queue/package.json +++ b/packages/priority-queue/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/private-apis/CHANGELOG.md b/packages/private-apis/CHANGELOG.md index 07c8caaa3f8fe3..c70924a8a33be5 100644 --- a/packages/private-apis/CHANGELOG.md +++ b/packages/private-apis/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 0.40.0 (2024-05-16) diff --git a/packages/private-apis/package.json b/packages/private-apis/package.json index f93b01335bf44f..ea2e33468cd35a 100644 --- a/packages/private-apis/package.json +++ b/packages/private-apis/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/project-management-automation/CHANGELOG.md b/packages/project-management-automation/CHANGELOG.md index 70cb5bca2690c5..b1d801f3f93ae3 100644 --- a/packages/project-management-automation/CHANGELOG.md +++ b/packages/project-management-automation/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.57.0 (2024-05-16) ## 1.56.0 (2024-05-02) diff --git a/packages/project-management-automation/package.json b/packages/project-management-automation/package.json index 452bec5a6c3cc2..118acb3faadc49 100644 --- a/packages/project-management-automation/package.json +++ b/packages/project-management-automation/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "lib/index.js", "types": "build-types", "dependencies": { diff --git a/packages/react-i18n/CHANGELOG.md b/packages/react-i18n/CHANGELOG.md index 97149421140125..7b62c13efebfda 100644 --- a/packages/react-i18n/CHANGELOG.md +++ b/packages/react-i18n/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.56.0 (2024-05-16) ## 3.55.0 (2024-05-02) diff --git a/packages/react-i18n/package.json b/packages/react-i18n/package.json index d541c06ac89d4a..51346a5af7c9f5 100644 --- a/packages/react-i18n/package.json +++ b/packages/react-i18n/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index ac47ae64e08141..a6617722f5ecf0 100644 --- a/packages/react-native-aztec/package.json +++ b/packages/react-native-aztec/package.json @@ -18,6 +18,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "dependencies": { "@wordpress/element": "file:../element", "@wordpress/keycodes": "file:../keycodes" diff --git a/packages/react-native-bridge/package.json b/packages/react-native-bridge/package.json index 7fd9dff7a0f6bf..bb8eba0a928dee 100644 --- a/packages/react-native-bridge/package.json +++ b/packages/react-native-bridge/package.json @@ -17,6 +17,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "index.js", "react-native": "index", "dependencies": { diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index 16988d1c5cbcd3..cfc77cc5c264dc 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -23,8 +23,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "src/index.js", "react-native": "src/index", diff --git a/packages/readable-js-assets-webpack-plugin/CHANGELOG.md b/packages/readable-js-assets-webpack-plugin/CHANGELOG.md index 2c06bff5a1cc51..e9be2ae8ae3d4a 100644 --- a/packages/readable-js-assets-webpack-plugin/CHANGELOG.md +++ b/packages/readable-js-assets-webpack-plugin/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 2.41.0 (2024-05-16) ## 2.40.0 (2024-05-02) diff --git a/packages/readable-js-assets-webpack-plugin/README.md b/packages/readable-js-assets-webpack-plugin/README.md index 47d75a6f00edff..eb3eda12692d21 100644 --- a/packages/readable-js-assets-webpack-plugin/README.md +++ b/packages/readable-js-assets-webpack-plugin/README.md @@ -14,7 +14,7 @@ Install the module npm install @wordpress/readable-js-assets-webpack-plugin --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It also requires webpack 4.8.3 and newer. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/readable-js-assets-webpack-plugin/package.json b/packages/readable-js-assets-webpack-plugin/package.json index bfe31e7e650e28..05d962b3708767 100644 --- a/packages/readable-js-assets-webpack-plugin/package.json +++ b/packages/readable-js-assets-webpack-plugin/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/redux-routine/CHANGELOG.md b/packages/redux-routine/CHANGELOG.md index 7ffcc034c21fd5..af1d1e080c214d 100644 --- a/packages/redux-routine/CHANGELOG.md +++ b/packages/redux-routine/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.58.0 (2024-05-16) ## 4.57.0 (2024-05-02) diff --git a/packages/redux-routine/package.json b/packages/redux-routine/package.json index 006884497ce8bf..8d13c9dfc18b44 100644 --- a/packages/redux-routine/package.json +++ b/packages/redux-routine/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/report-flaky-tests/package.json b/packages/report-flaky-tests/package.json index 8766762fcc1b70..77de2a4f3ddee0 100644 --- a/packages/report-flaky-tests/package.json +++ b/packages/report-flaky-tests/package.json @@ -20,8 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "types": "build-types", diff --git a/packages/reusable-blocks/CHANGELOG.md b/packages/reusable-blocks/CHANGELOG.md index 32c32230accba5..6297ea5d7a1b15 100644 --- a/packages/reusable-blocks/CHANGELOG.md +++ b/packages/reusable-blocks/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/reusable-blocks/package.json b/packages/reusable-blocks/package.json index 0f67556f0a4d75..ae584e75ed184a 100644 --- a/packages/reusable-blocks/package.json +++ b/packages/reusable-blocks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/rich-text/CHANGELOG.md b/packages/rich-text/CHANGELOG.md index 7241330acb79e1..81d23a43f25a36 100644 --- a/packages/rich-text/CHANGELOG.md +++ b/packages/rich-text/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 6.35.0 (2024-05-16) ## 6.34.0 (2024-05-02) diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index 8a8396ad075455..546b5926c65f85 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index bc699fce952a9b..528201ee2c5664 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.27.0 (2024-05-16) ## 0.26.0 (2024-05-02) diff --git a/packages/router/package.json b/packages/router/package.json index ce442883350a46..bcdb1fb3d79043 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/scripts/CHANGELOG.md b/packages/scripts/CHANGELOG.md index 124a5e99bfdf60..3e1bfb09f679c9 100644 --- a/packages/scripts/CHANGELOG.md +++ b/packages/scripts/CHANGELOG.md @@ -6,6 +6,7 @@ - Use React's automatic runtime to transform JSX ([#61692](https://github.com/WordPress/gutenberg/pull/61692)). - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 27.9.0 (2024-05-16) diff --git a/packages/scripts/README.md b/packages/scripts/README.md index cb15c7bf8e0cee..af892293e00eb2 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -16,7 +16,7 @@ You only need to install one npm module: npm install @wordpress/scripts --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later, and `npm` 6.14.4 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Setup diff --git a/packages/scripts/package.json b/packages/scripts/package.json index cf8dc0afd5f8ff..e8b03804e8662d 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -19,8 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=18", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "bin", diff --git a/packages/server-side-render/CHANGELOG.md b/packages/server-side-render/CHANGELOG.md index b60a8df9365d05..8a2867beb33071 100644 --- a/packages/server-side-render/CHANGELOG.md +++ b/packages/server-side-render/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 4.35.0 (2024-05-16) ## 4.34.0 (2024-05-02) diff --git a/packages/server-side-render/package.json b/packages/server-side-render/package.json index 4ddbacb7edc26c..d042cb4329efa3 100644 --- a/packages/server-side-render/package.json +++ b/packages/server-side-render/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/shortcode/CHANGELOG.md b/packages/shortcode/CHANGELOG.md index 519b83ea2260db..4cd5c9c886736e 100644 --- a/packages/shortcode/CHANGELOG.md +++ b/packages/shortcode/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/shortcode/package.json b/packages/shortcode/package.json index 6b6b82ce8d512f..2c227eb976bf1b 100644 --- a/packages/shortcode/package.json +++ b/packages/shortcode/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/style-engine/CHANGELOG.md b/packages/style-engine/CHANGELOG.md index 08de0c7ad281f2..8e9bcaebfb4509 100644 --- a/packages/style-engine/CHANGELOG.md +++ b/packages/style-engine/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 1.41.0 (2024-05-16) ## 1.40.0 (2024-05-02) @@ -43,6 +47,7 @@ ## 1.22.0 (2023-08-10) ### Bug Fixes + - Style engine: switch off optimize by default [#53085](https://github.com/WordPress/gutenberg/pull/53085). ## 1.21.0 (2023-07-20) @@ -84,24 +89,29 @@ ## 1.3.0 (2022-10-19) ### Internal + - Style Engine: move PHP unit tests to Gutenberg [#44722](https://github.com/WordPress/gutenberg/pull/44722) ## 1.2.0 (2022-10-05) ### Internal + - Script loader: remove 6.1 wp actions ([#44519](https://github.com/WordPress/gutenberg/pull/44519)) ## 1.1.0 (2022-09-21) ### Enhancement + - Allow for prettified output ([#42909](https://github.com/WordPress/gutenberg/pull/42909)). - Enqueue block supports styles in Gutenberg ([#42880](https://github.com/WordPress/gutenberg/pull/42880)). ### Internal + - Move backend scripts to package ([#39736](https://github.com/WordPress/gutenberg/pull/39736)). - Updating docs, formatting, and separating global functions from the main class file ([#43840](https://github.com/WordPress/gutenberg/pull/43840)). ### New Features + - Add a WP_Style_Engine_Processor object ([#42463](https://github.com/WordPress/gutenberg/pull/42463)). - Add a WP_Style_Engine_CSS_Declarations object ([#42043](https://github.com/WordPress/gutenberg/pull/42043)). - Add Rules and Store objects ([#42222](https://github.com/WordPress/gutenberg/pull/42222)). diff --git a/packages/style-engine/package.json b/packages/style-engine/package.json index dbe8f6c92673aa..008f58cf729e85 100644 --- a/packages/style-engine/package.json +++ b/packages/style-engine/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/stylelint-config/CHANGELOG.md b/packages/stylelint-config/CHANGELOG.md index 02665fbf0f66db..ee2aae030222e2 100644 --- a/packages/stylelint-config/CHANGELOG.md +++ b/packages/stylelint-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 21.41.0 (2024-05-16) ## 21.40.0 (2024-05-02) diff --git a/packages/stylelint-config/README.md b/packages/stylelint-config/README.md index 0e52e5ef190a42..c6d69a9d183489 100644 --- a/packages/stylelint-config/README.md +++ b/packages/stylelint-config/README.md @@ -8,7 +8,7 @@ $ npm install @wordpress/stylelint-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 29c72573a5934b..cae248d0d7164a 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "CHANGELOG.md", diff --git a/packages/sync/CHANGELOG.md b/packages/sync/CHANGELOG.md index 46225885681ef9..16abed443cf820 100644 --- a/packages/sync/CHANGELOG.md +++ b/packages/sync/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.20.0 (2024-05-16) ## 0.19.0 (2024-05-02) diff --git a/packages/sync/package.json b/packages/sync/package.json index b79260dd70881a..f02019326e6649 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/token-list/CHANGELOG.md b/packages/token-list/CHANGELOG.md index 9e09cf2562549f..df5526e5d14495 100644 --- a/packages/token-list/CHANGELOG.md +++ b/packages/token-list/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 2.58.0 (2024-05-16) ## 2.57.0 (2024-05-02) diff --git a/packages/token-list/package.json b/packages/token-list/package.json index 97a6d00a2c1f48..f70b9cba52ae52 100644 --- a/packages/token-list/package.json +++ b/packages/token-list/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/undo-manager/CHANGELOG.md b/packages/undo-manager/CHANGELOG.md index 79ddc2133fb30d..7882af9711a1a9 100644 --- a/packages/undo-manager/CHANGELOG.md +++ b/packages/undo-manager/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 0.18.0 (2024-05-16) ## 0.17.0 (2024-05-02) @@ -35,4 +39,3 @@ ## 0.3.0 (2023-10-05) ## 0.2.0 (2023-09-20) - diff --git a/packages/undo-manager/package.json b/packages/undo-manager/package.json index 3bce5bb232c676..1fd6dfcd1a785d 100644 --- a/packages/undo-manager/package.json +++ b/packages/undo-manager/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/url/CHANGELOG.md b/packages/url/CHANGELOG.md index 03a04af8f3ac12..838566e7837ba9 100644 --- a/packages/url/CHANGELOG.md +++ b/packages/url/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.59.0 (2024-05-16) ## 3.58.0 (2024-05-02) diff --git a/packages/url/package.json b/packages/url/package.json index 3b21b3059f0929..cd747ae652239e 100644 --- a/packages/url/package.json +++ b/packages/url/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/viewport/CHANGELOG.md b/packages/viewport/CHANGELOG.md index e6359b74b636bb..7763a587ea082b 100644 --- a/packages/viewport/CHANGELOG.md +++ b/packages/viewport/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 5.35.0 (2024-05-16) ## 5.34.0 (2024-05-02) diff --git a/packages/viewport/package.json b/packages/viewport/package.json index 501bfb361b5893..3c6dc5efd540c5 100644 --- a/packages/viewport/package.json +++ b/packages/viewport/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/warning/CHANGELOG.md b/packages/warning/CHANGELOG.md index 6eee478e47dbfd..a10a7073d0a5a7 100644 --- a/packages/warning/CHANGELOG.md +++ b/packages/warning/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Variables like `process.env.IS_GUTENBERG_PLUGIN` have been replaced by `globalThis.IS_GUTENBERG_PLUGIN`. Build systems using `process.env` should be updated ([#61486](https://github.com/WordPress/gutenberg/pull/61486)). +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). ## 2.58.0 (2024-05-16) diff --git a/packages/warning/package.json b/packages/warning/package.json index 5591af5c8130ba..5b4b7234e1f699 100644 --- a/packages/warning/package.json +++ b/packages/warning/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/widgets/CHANGELOG.md b/packages/widgets/CHANGELOG.md index 80fc7589f03624..c4833fefe258cf 100644 --- a/packages/widgets/CHANGELOG.md +++ b/packages/widgets/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.35.0 (2024-05-16) ### Internal diff --git a/packages/widgets/package.json b/packages/widgets/package.json index 374e5944096ca7..d15ccd484e966f 100644 --- a/packages/widgets/package.json +++ b/packages/widgets/package.json @@ -16,6 +16,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", diff --git a/packages/wordcount/CHANGELOG.md b/packages/wordcount/CHANGELOG.md index d73b2618804654..dd7f233b7cc9bb 100644 --- a/packages/wordcount/CHANGELOG.md +++ b/packages/wordcount/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum required Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/61930)). Learn more about [Node.js releases](https://nodejs.org/en/about/previous-releases). + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/wordcount/package.json b/packages/wordcount/package.json index f0068a509efaad..b450c0ef55ff27 100644 --- a/packages/wordcount/package.json +++ b/packages/wordcount/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js",