Currently, serverless-offline supports Node.js runtimes up to version 22.x. With Node.js 24 now available on AWS Lambdas, it would be beneficial to add support for nodejs24.x as a valid runtime option in the provider configuration.
This would allow developers to:
- Test their serverless functions locally with the latest Node.js features
- Ensure compatibility before deploying to AWS Lambda when nodejs24.x support is added
- Take advantage of performance improvements and new language features in Node.js 24
The expected behavior would be to update the runtime in serverless.yml from nodejs22.x to nodejs24.x and have serverless-offline recognize and support this runtime without errors.
Currently, serverless-offline supports Node.js runtimes up to version 22.x. With Node.js 24 now available on AWS Lambdas, it would be beneficial to add support for
nodejs24.xas a valid runtime option in the provider configuration.This would allow developers to:
The expected behavior would be to update the runtime in serverless.yml from
nodejs22.xtonodejs24.xand have serverless-offline recognize and support this runtime without errors.