Repository navigation
[4.x] Default to the Node.js 26 runtime and recommend Python 3.15 - #517
Merged
Merged
Conversation
mnapoli
approved these changes
Nov 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.
AWS made the
nodejs26.xandpython3.15Lambda 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 tonodejs26.x, in line with the documented rule that osls defaults to the latest generally available Node.js runtime, recommendsnodejs26.xandpython3.15for new services, updates the examples to match, and removes the notice that describes the two runtimes as public previews. A runtime set atprovider.runtimeor on a function is kept, while functions that rely on the default move tonodejs26.xon their next deployment. The custom resource Lambdas that osls generates also move tonodejs26.xunlessprovider.runtimeis a Node.js runtime, even when every function sets its own runtime.Durable functions are handled separately in #520, because
nodejs26.xdoes not include the AWS Durable Execution SDK thatnodejs24.xdoes. Until that is merged, a durable function that relies on the default runtime is rejected during packaging, and afterwards it deploys onnodejs26.xand has to ship the SDK in its deployment package. The durable function example stays onnodejs24.x, and web functions keep their own default ofnodejs24.x.