From e2584c6fb3011f5150c28563b2c301eae5b290fd Mon Sep 17 00:00:00 2001 From: Michael Novotny Date: Thu, 31 Aug 2023 23:02:24 -0500 Subject: [PATCH] Updates minimum node version in documentation (#54839) Updates minimum node version in documentation as we've changed what we require since written. DX-2046 --- .../01-building-your-application/06-configuring/08-babel.mdx | 2 +- .../01-building-your-application/08-upgrading/03-version-13.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/03-pages/01-building-your-application/06-configuring/08-babel.mdx b/docs/03-pages/01-building-your-application/06-configuring/08-babel.mdx index 876a97a796845..249dcc7e274be 100644 --- a/docs/03-pages/01-building-your-application/06-configuring/08-babel.mdx +++ b/docs/03-pages/01-building-your-application/06-configuring/08-babel.mdx @@ -61,5 +61,5 @@ To learn more about the available options for each config, visit babel's [docume > **Good to know**: > -> - Next.js uses the **current** Node.js version for server-side compilations. +> - Next.js uses the [**current** Node.js version](https://github.com/nodejs/release#release-schedule) for server-side compilations. > - The `modules` option on `"preset-env"` should be kept to `false`, otherwise webpack code splitting is turned off. diff --git a/docs/03-pages/01-building-your-application/08-upgrading/03-version-13.mdx b/docs/03-pages/01-building-your-application/08-upgrading/03-version-13.mdx index c961f9dc24c8d..d630794851c45 100644 --- a/docs/03-pages/01-building-your-application/08-upgrading/03-version-13.mdx +++ b/docs/03-pages/01-building-your-application/08-upgrading/03-version-13.mdx @@ -20,7 +20,7 @@ bun add next@latest react@latest react-dom@latest eslint-config-next@latest ### v13 Summary - The [Supported Browsers](/docs/architecture/supported-browsers) have been changed to drop Internet Explorer and target modern browsers. -- The minimum Node.js version has been bumped from 12.22.0 to 14.18.0, since 12.x has reached end-of-life. +- The minimum Node.js version has been bumped from 12.22.0 to 16.14.0, since 12.x and 14.x have reached end-of-life. - The minimum React version has been bumped from 17.0.2 to 18.2.0. - The `swcMinify` configuration property was changed from `false` to `true`. See [Next.js Compiler](/docs/architecture/nextjs-compiler) for more info. - The `next/image` import was renamed to `next/legacy/image`. The `next/future/image` import was renamed to `next/image`. A [codemod is available](/docs/pages/building-your-application/upgrading/codemods#next-image-to-legacy-image) to safely and automatically rename your imports.