Skip to content

Support the Node.js 26 runtime for web functions and make it the default - #519

Merged
GrahamCampbell merged 2 commits into
4.xfrom
web-functions-nodejs26
Nov 26, 2026
Merged

GrahamCampbell merged 2 commits into
4.xfrom
web-functions-nodejs26

Conversation

@GrahamCampbell

@GrahamCampbell GrahamCampbell commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Lambda now offers web functions on nodejs26.x as well as nodejs24.x, but the webFunctions[].runtime schema only accepts nodejs24.x, so a web function cannot move to the new runtime. This adds nodejs26.x to the schema and the TypeScript type and makes it the default, so that web functions follow the same default runtime as functions since #517. A web function that sets no runtime therefore gets a new revision on nodejs26.x behind the same URL on its next deployment, while one that sets runtime: nodejs24.x keeps it. The web functions guide and the serverless.yml reference list both runtimes with the new default, and the tests cover the default and an explicit nodejs24.x separately. Lambda also has python3.15 in public preview for web functions, which is left out because osls only packages Node.js servers.

@GrahamCampbell GrahamCampbell changed the title Support the Node.js 26 runtime for web functions Support the Node.js 26 runtime for web functions and make it the default Nov 26, 2026
@GrahamCampbell
GrahamCampbell merged commit c3c31bf into 4.x Nov 26, 2026
8 checks passed
@GrahamCampbell
GrahamCampbell deleted the web-functions-nodejs26 branch November 26, 2026 21:04
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