Skip to content

feat: add Node.js 24.x support#551

Open
wittyreference wants to merge 1 commit intotwilio-labs:mainfrom
wittyreference:feat/add-node-24-support
Open

feat: add Node.js 24.x support#551
wittyreference wants to merge 1 commit intotwilio-labs:mainfrom
wittyreference:feat/add-node-24-support

Conversation

@wittyreference
Copy link
Copy Markdown

Summary

Add Node.js 24 (current active LTS) to supported versions across all packages.

Changes

  • engines fields: Added ^24.x to twilio-run, plugin-serverless, plugin-assets, create-twilio-function
  • Version check: Updated SERVERLESS_NODE_JS_VERSION in packages/twilio-run/src/checks/nodejs-version.ts to include '24.'
  • Generated projects: Updated versions.js so new projects created via create-twilio-function include Node 24 in their engines
  • Documentation: Updated serverless-twilio-runtime Readme to list v20.x, v22.x, and v24.x

Motivation

Node.js 24 is now the active LTS release. The toolkit should support it to avoid unnecessary version warnings and engines rejections for developers running the latest LTS.

The CI matrix already covers Node 24 automatically via the lts/* alias in .github/workflows/nodejs.yml.

Testing

  • All 52 test suites pass (410 tests)
  • Built and tested locally on Node 22.x
  • Changeset included for versioning

Add Node.js 24 (current active LTS) to supported versions across all
packages. Updates engines fields, local dev version check, generated
project templates, and documentation.

Packages updated:
- twilio-run: engines, version check
- plugin-serverless: engines
- plugin-assets: engines
- create-twilio-function: engines, generated template
- serverless-twilio-runtime: documentation
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 9, 2026

🦋 Changeset detected

Latest commit: 75a3448

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

This PR includes changesets to release 5 packages
Name Type
twilio-run Minor
@twilio-labs/plugin-serverless Minor
@twilio-labs/plugin-assets Minor
create-twilio-function Minor
@twilio-labs/serverless-twilio-runtime 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

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.

1 participant