Skip to content

[4.x] Default to the Node.js 26 runtime and recommend Python 3.15 - #517

Merged
GrahamCampbell merged 1 commit into
4.xfrom
nodejs26-python315-ga-runtimes
Nov 26, 2026
Merged

GrahamCampbell merged 1 commit into
4.xfrom
nodejs26-python315-ga-runtimes

Conversation

@GrahamCampbell

@GrahamCampbell GrahamCampbell commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

AWS made the nodejs26.x and python3.15 Lambda runtimes generally available on November 20, and #475 left the default runtime, the custom resource fallback runtime, and the examples on the previous versions until that happened. This moves the default runtime and the custom resource fallback to nodejs26.x, in line with the documented rule that osls defaults to the latest generally available Node.js runtime, recommends nodejs26.x and python3.15 for new services, updates the examples to match, and removes the notice that describes the two runtimes as public previews. A runtime set at provider.runtime or on a function is kept, while functions that rely on the default move to nodejs26.x on their next deployment. The custom resource Lambdas that osls generates also move to nodejs26.x unless provider.runtime is a Node.js runtime, even when every function sets its own runtime.

Durable functions are handled separately in #520, because nodejs26.x does not include the AWS Durable Execution SDK that nodejs24.x does. Until that is merged, a durable function that relies on the default runtime is rejected during packaging, and afterwards it deploys on nodejs26.x and has to ship the SDK in its deployment package. The durable function example stays on nodejs24.x, and web functions keep their own default of nodejs24.x.

@GrahamCampbell
GrahamCampbell merged commit 831eefe into 4.x Nov 26, 2026
8 checks passed
@GrahamCampbell
GrahamCampbell deleted the nodejs26-python315-ga-runtimes branch November 26, 2026 20:48
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