Skip to content

presets(aws-amplify): support node.js 22 and 24 runtimes - #4244

Merged
pi0 merged 1 commit into
nitrojs:v2from
armujahid:feat/aws-amplify-node24-v2
May 6, 2026
Merged

pi0 merged 1 commit into
nitrojs:v2from
armujahid:feat/aws-amplify-node24-v2

Conversation

@armujahid

Copy link
Copy Markdown
Contributor

AWS Amplify Hosting no longer supports Node.js 16 or 18 and now supports Node.js 20, 22, and 24. Drop the obsolete nodejs16.x/nodejs18.x literals and add nodejs22.x/nodejs24.x to the runtime union.

Also refreshes the JSDoc example and the docs page, including the amplify.yml templates that still pinned nvm use 18.

Default runtime is unchanged (nodejs20.x, the minimum still supported by Amplify). Markdown examples use nodejs24.x / nvm use 24 (current Node.js Active LTS).

Note: removing nodejs16.x and nodejs18.x from the union is a TypeScript-type breaking change, but those values are rejected at deploy time by Amplify, so leaving them in would be misleading. Happy to switch to a deprecation approach if preferred.

AWS Amplify Hosting no longer supports Node.js 16 or 18 and now supports
Node.js 20, 22, and 24. Update the runtime union accordingly and refresh
stale references in JSDoc and the docs page (including the amplify.yml
templates that still pinned `nvm use 18`).

Ref: https://docs.aws.amazon.com/amplify/latest/userguide/ssr-supported-features.html
@armujahid
armujahid requested a review from pi0 as a code owner May 6, 2026 14:43
@vercel

vercel Bot commented May 6, 2026

Copy link
Copy Markdown

@armujahid is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2813b703-41ec-4fbe-8222-4745f784f923

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@armujahid armujahid changed the title feat(aws-amplify): support node.js 22 and 24 runtimes feat(aws-amplify/v2): support node.js 22 and 24 runtimes May 6, 2026
@pi0 pi0 changed the title feat(aws-amplify/v2): support node.js 22 and 24 runtimes presets(aws-amplify): support node.js 22 and 24 runtimes for v2 May 6, 2026
@pi0 pi0 changed the title presets(aws-amplify): support node.js 22 and 24 runtimes for v2 presets(aws-amplify): support node.js 22 and 24 runtimes May 6, 2026
@pkg-pr-new

pkg-pr-new Bot commented May 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nitropack@4244

commit: 85bd21e

@pi0
pi0 merged commit e5d955a into nitrojs:v2 May 6, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants