feat: add node24 CLI runtime support#555
Merged
jannoteelem merged 4 commits intoJun 26, 2026
Merged
Conversation
- Default runtime updated to node24 - node24 added to nodejs version check allowlist - node engine range updated in create-twilio-function to include ^24.x
🦋 Changeset detectedLatest commit: 9780bc8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
Keep node22 as the default runtime; node24 is now accepted as a valid value for --runtime and passes the local Node.js version check.
This reverts commit f4e633c.
AndreLars
approved these changes
Apr 28, 2026
- Changeset message updated to 'feat:' prefix and describes the default bump - JSDoc for 'runtime' field now lists node22 and node24 as valid values
1 task
Contributor
|
+1 for this fix - should we remove Node 20 support given it's EOL? |
Contributor
Author
Yes, we are going to remove it soon (next week(s)) |
This was referenced Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
node24as a valid runtime option in the CLInode22tonode2424.xcreate-twilio-functionengine range to include^24.xChanges
packages/twilio-run/src/templating/defaultConfig.ts— default runtime →node24packages/twilio-run/src/flags.ts—--helpoutput updated to referencenode24packages/twilio-run/src/checks/nodejs-version.ts—24.added to accepted versionspackages/create-twilio-function/src/create-twilio-function/versions.js— node engine range extended to^24.xpackages/serverless-api/src/types/deploy.ts— doc comment updatedpackages/serverless-api/examples/deploy.js— example updated tonode24packages/plugin-serverless/README.md—--runtimehelp text updated.changeset/add-node24-runtime.md— changeset addedReference
Test plan
twilio serverless:deploy --runtime node24deploys successfully--helpoutput shows(node24)for--runtimeflag