diff --git a/.changeset/ninety-apes-talk.md b/.changeset/ninety-apes-talk.md new file mode 100644 index 000000000000..581b6b93d5cf --- /dev/null +++ b/.changeset/ninety-apes-talk.md @@ -0,0 +1,14 @@ +--- +"@astrojs/prism": minor +"astro": patch +"create-astro": minor +"@astrojs/mdx": minor +"@astrojs/preact": minor +"@astrojs/react": minor +"@astrojs/solid-js": minor +"@astrojs/svelte": minor +"@astrojs/vue": minor +"@astrojs/telemetry": minor +--- + +Rollback supported `node@16` version. Minimum versions are now `node@14.20.0` or `node@16.14.0`. diff --git a/.github/ISSUE_TEMPLATE/---01-bug-report.yml b/.github/ISSUE_TEMPLATE/---01-bug-report.yml index f8701dfb802d..c74e756071c0 100644 --- a/.github/ISSUE_TEMPLATE/---01-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/---01-bug-report.yml @@ -11,7 +11,7 @@ body: Thank you for taking the time to file a bug report! Please fill out this form as completely as possible. ✅ I am using the **latest version of Astro** and all plugins. - ✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.16.0+`) + ✅ I am using a version of Node that supports ESM (`v14.20.0+`, or `v16.14.0+`) - type: input id: astro-version attributes: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7833d12c3541..9da31686c4aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ We welcome contributions of any size and skill level. As an open source project, ### Prerequisite ```shell -node: "^14.20.0 || >=16.16.0" +node: "^14.20.0 || >=16.14.0" pnpm: "^7.5.0" # otherwise, your build will fail ``` diff --git a/package.json b/package.json index e55c59a1c98e..9b2710809393 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "packages/astro/test/fixtures/static build/pkg" ], "engines": { - "node": "^14.20.0 || >=16.16.0", + "node": "^14.20.0 || >=16.14.0", "pnpm": ">=7.5.0" }, "packageManager": "pnpm@7.5.0", diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index cdaa41cc08cd..7daa1813404f 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -23,6 +23,6 @@ "prismjs": "^1.28.0" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/astro/astro.js b/packages/astro/astro.js index 66bba7cc434e..78ec4d9b9a97 100755 --- a/packages/astro/astro.js +++ b/packages/astro/astro.js @@ -50,7 +50,7 @@ async function main() { // it's okay to hard-code the valid Node versions here since they will not change over time. if (typeof require === 'undefined') { console.error(`\nNode.js v${version} is not supported by Astro! -Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.16.0"\n`); +Please upgrade to a version of Node.js with complete ESM support: "^14.20.0 || >=16.14.0"\n`); } // Not supported: Report the most helpful error message possible. diff --git a/packages/astro/package.json b/packages/astro/package.json index a4e346ef8cfb..bc373a76bb8f 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -170,7 +170,7 @@ "srcset-parse": "^1.1.0" }, "engines": { - "node": "^14.20.0 || >=16.16.0", + "node": "^14.20.0 || >=16.14.0", "npm": ">=6.14.0" } } diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 756f04fc62ac..ec3b13c99171 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -50,6 +50,6 @@ "uvu": "^0.5.3" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 869a6d79c057..05ad0975882d 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -43,6 +43,6 @@ "linkedom": "^0.14.12" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 4f93a3cffc23..cab0810a1340 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -44,6 +44,6 @@ "preact": "^10.6.5" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index e4d2da231780..886f1cf1f588 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -49,6 +49,6 @@ "react-dom": "^17.0.2 || ^18.0.0" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 5c51d83b81f5..735e088da763 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -43,6 +43,6 @@ "solid-js": "^1.4.3" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 14ecf6489a9e..9d39dcb1ef0e 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -48,6 +48,6 @@ "svelte": "^3.46.4" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 06b7e7855587..874637d204bf 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -45,6 +45,6 @@ "vue": "^3.2.30" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } } diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 3a7f37b528ba..960743f7e1c1 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -42,6 +42,6 @@ "astro-scripts": "workspace:*" }, "engines": { - "node": "^14.20.0 || >=16.16.0" + "node": "^14.20.0 || >=16.14.0" } }