From cd9ee457e0b72542f3eaa35c99a6c2401505a57f Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 14 Oct 2026 19:48:41 +0200 Subject: [PATCH] Add Node.js 26 (preview) runtime Closes #3735 AWS announced public preview support for Node.js 26 on Lambda. Adds the nodejs26.x runtime following the same pattern as nodejs24.x, using the 26-preview base image tag since there is no GA tag yet. Co-Authored-By: Claude --- README.md | 1 + manifest.json | 10 ++++++++++ s3-uploader/runtimes/nodejs26x/build.sh | 6 ++++++ s3-uploader/runtimes/nodejs26x/index.js | 5 +++++ 4 files changed, 22 insertions(+) create mode 100755 s3-uploader/runtimes/nodejs26x/build.sh create mode 100644 s3-uploader/runtimes/nodejs26x/index.js diff --git a/README.md b/README.md index bba6a29a2d..3d6d5f015e 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ An ultra simple hello-world function has been written in each AWS supported runt - `nodejs20.x` - `nodejs22.x` - `nodejs24.x` +- `nodejs26.x` - `python3.9` - `python3.10` - `python3.11` diff --git a/manifest.json b/manifest.json index 04ce957e90..eb50a159e6 100644 --- a/manifest.json +++ b/manifest.json @@ -51,6 +51,16 @@ "baseImage": "public.ecr.aws/lambda/nodejs:24" } }, + { + "displayName": "nodejs26.x", + "runtime": "nodejs26.x", + "handler": "index.handler", + "path": "nodejs26x", + "architectures": ["x86_64", "arm64"], + "image": { + "baseImage": "public.ecr.aws/lambda/nodejs:26-preview" + } + }, { "displayName": "python3.9", "runtime": "python3.9", diff --git a/s3-uploader/runtimes/nodejs26x/build.sh b/s3-uploader/runtimes/nodejs26x/build.sh new file mode 100755 index 0000000000..19cbf9a4c7 --- /dev/null +++ b/s3-uploader/runtimes/nodejs26x/build.sh @@ -0,0 +1,6 @@ +DIR_NAME="./runtimes/$1" +ARCH=$2 + +rm ${DIR_NAME}/code_${ARCH}.zip 2> /dev/null + +zip -j ${DIR_NAME}/code_${ARCH}.zip ${DIR_NAME}/index.js \ No newline at end of file diff --git a/s3-uploader/runtimes/nodejs26x/index.js b/s3-uploader/runtimes/nodejs26x/index.js new file mode 100644 index 0000000000..0671370f5b --- /dev/null +++ b/s3-uploader/runtimes/nodejs26x/index.js @@ -0,0 +1,5 @@ +exports.handler = () => { + return { + statusCode: 200 + }; +}; \ No newline at end of file