From 32bc3e7c92460fc3a0e012b258f23a29abd02b84 Mon Sep 17 00:00:00 2001 From: Tom J Nowell Date: Tue, 2 Jan 2024 09:43:48 +0000 Subject: [PATCH 1/2] switch to Node 20 to match WP core defaults --- provision/core/node-nvm/provision.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provision/core/node-nvm/provision.sh b/provision/core/node-nvm/provision.sh index 302a600f5..0b6c361e8 100644 --- a/provision/core/node-nvm/provision.sh +++ b/provision/core/node-nvm/provision.sh @@ -53,9 +53,9 @@ function vvv_nvm_setup() { fi - vvv_info " - Installing Node 16 via nvm" - nvm install 16 - nvm use 16 + vvv_info " - Installing Node 20 via nvm" + nvm install 20 + nvm use 20 vvv_info " - Ensuring vagrant user owns its own nvm folder" chown -R vagrant:vagrant /home/vagrant/.nvm/ From 19bd1029d2b2e1ab1cee74afee1ff680140284fb Mon Sep 17 00:00:00 2001 From: Tom J Nowell Date: Tue, 2 Jan 2024 09:45:33 +0000 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 524d238ba..b8af23fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,8 @@ permalink: /docs/en-US/changelog/ ### Enhancements -* Switched the default PHP from v7.4 to v8.2 and default Node from v14 to v16 ( #2690 ) +* Switched the default PHP from v7.4 to v8.2 and ~default Node from v14 to v16~ ( #2690 ) +* Use Node 20 as the default version to match WP and Gutenberg ( #2696 ) * WP Coding standards v3 ( #2688 ) * VIP Coding standards v3 ( #2688 ) * Better error messages with links to docs when trying to use a PHP version that isn't installed ( #2689 )