Skip to content

presets(aws-amplify): support node.js 24 runtime - #4245

Merged
pi0 merged 2 commits into
nitrojs:mainfrom
armujahid:feat/aws-amplify-node24
May 6, 2026
Merged

pi0 merged 2 commits into
nitrojs:mainfrom
armujahid:feat/aws-amplify-node24

Conversation

@armujahid

Copy link
Copy Markdown
Contributor

AWS Amplify Hosting now supports nodejs24.x. Add it to the runtime union for both AmplifyComputeConfig.runtime and AWSAmplifyOptions.runtime, and refresh stale nodejs16.x / nodejs18.x references in the JSDoc example, the docs page, and 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).

@armujahid
armujahid requested a review from pi0 as a code owner May 6, 2026 14:44
@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.

@armujahid

Copy link
Copy Markdown
Contributor Author

Companion v2 PR: #4244

@coderabbitai

coderabbitai Bot commented May 6, 2026 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

Failed to post review comments

📝 Walkthrough

Walkthrough

Adds Node.js 24.x to AWS Amplify runtime options and updates documentation/examples to use Node 24 in amplify.yml preBuild steps; an example runtime in the Amplify deploy manifest was adjusted to show nodejs20.x.

Changes

AWS Amplify runtime update

Layer / File(s) Summary
Type Definitions / Data Shape
src/presets/aws-amplify/types.ts
Extended AmplifyComputeConfig.runtime and AWSAmplifyOptions.runtime union types to include "nodejs24.x".
Example Manifest
src/presets/aws-amplify/types.ts
Updated AmplifyDeployManifest computeResources example runtime from nodejs16.x to nodejs20.x.
Documentation / Examples
docs/2.deploy/20.providers/aws-amplify.md
Updated default runtime line to mention nodejs24.x and changed single-project and monorepo amplify.yml preBuild commands from nvm use 18 to nvm use 24 and added node --version lines.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title follows conventional commits format (type: scope - description) and accurately describes the main change of adding Node.js 24 runtime support to AWS Amplify presets.
Description check ✅ Passed The description provides detailed context about adding nodejs24.x support to AWS Amplify, updating stale references, and maintaining backward compatibility with the default runtime.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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.

@pi0 pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thnx!

@pi0 pi0 changed the title feat(aws-amplify): support node.js 24 runtime presets(aws-amplify): support node.js 24 runtime May 6, 2026
@pi0
pi0 merged commit e1c6318 into nitrojs:main May 6, 2026
8 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