open-next icon indicating copy to clipboard operation
open-next copied to clipboard

[Major] update node.js to v20

Open anonrig opened this issue 3 months ago • 4 comments

Updates minimum required Node.js version to v20

anonrig avatar Oct 08 '25 15:10 anonrig

🦋 Changeset detected

Latest commit: 268e2b9fb380435c71f976592ba2ba6efa69e772

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Major
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Oct 08 '25 15:10 changeset-bot[bot]

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@995

commit: 268e2b9

pkg-pr-new[bot] avatar Oct 08 '25 15:10 pkg-pr-new[bot]

For upgrading to Node 20, we also need to upgrade the actual AWS CI deployment, which still use Node 18. And it probably means that we need to drop support for at least Next 12, and very likely 13 as well

Yeah, that makes sense. Given that Next.js v14 has been out for a while (2023) I think that dropping support for older Next versions is reasonable.

wdyt?

rafaell-lycan avatar Oct 29 '25 21:10 rafaell-lycan

I think supporting current and the 2 versions prior seems reasonable.

khuezy avatar Oct 29 '25 22:10 khuezy

Chiming in here, AWS have just released node 24 support. In terms of supporting next.js versions, Vercel themselves only support 15 and 16 (latest two versions) at the time of writing.

https://nextjs.org/support-policy

In AWS terms, node 20 will be deprecated from April '26 - https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

nicholas-c avatar Nov 26 '25 08:11 nicholas-c