From c82cab23502de8d67d3fdadae00bd188c69b8866 Mon Sep 17 00:00:00 2001 From: Clete Blackwell II Date: Wed, 15 Oct 2025 09:04:07 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Upgrade=20to=20NodeJS=20?= =?UTF-8?q?22.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + template.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6badf62..1496e96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ From most recent to oldest, with major releases in bold: +* *4.4.0* (2025-10-15): upgrade Lambda runtime to Nodejs22.x * *4.3.6* (2024-11-07): updated dependencies (CVE-2024-41818) * *4.3.5* (2024-09-16): array-shape input support, JSON logging bugfix, externalized ASL, updated dependencies * *4.3.4* (2024-02-26): upgrade to Nodejs20, custom state machine prefix, SDKv3 migration, new includeOutputResults input parameter, JSON loggin support diff --git a/template.yml b/template.yml index 980f302..0d3e7f0 100644 --- a/template.yml +++ b/template.yml @@ -12,7 +12,7 @@ Metadata: ReadmeUrl: README-SAR.md Labels: ['lambda', 'power', 'state-machine', 'step-functions', 'optimization'] HomePageUrl: https://github.com/alexcasalboni/aws-lambda-power-tuning - SemanticVersion: 4.3.6 + SemanticVersion: 4.4.0 SourceCodeUrl: https://github.com/alexcasalboni/aws-lambda-power-tuning Parameters: @@ -80,7 +80,7 @@ Conditions: Globals: Function: - Runtime: nodejs20.x + Runtime: nodejs22.x MemorySize: 128 Timeout: !Ref totalExecutionTimeout PermissionsBoundary: !If [UsePermissionsBoundary, !Ref permissionsBoundary, !Ref AWS::NoValue] @@ -105,11 +105,11 @@ Resources: Description: AWS SDK 3 ContentUri: ./layer-sdk CompatibleRuntimes: - - nodejs20.x + - nodejs22.x LicenseInfo: 'Available under the MIT-0 license.' RetentionPolicy: Retain Metadata: - BuildMethod: nodejs20.x + BuildMethod: nodejs22.x initializerLogGroup: Type: AWS::Logs::LogGroup