Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

From most recent to oldest, with major releases in bold:

* *4.4.0* (2025-11-19): 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
Expand Down
4 changes: 2 additions & 2 deletions README-DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ You can also integrate the SAR app in your existing CloudFormation stacks - chec
new sam.CfnApplication(this, 'powerTuner', {
location: {
applicationId: 'arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning',
semanticVersion: '4.3.6'
semanticVersion: '4.4.0'
},
parameters: {
"lambdaResource": "*",
Expand Down Expand Up @@ -118,7 +118,7 @@ resource "aws_serverlessapplicationrepository_cloudformation_stack" "lambda-powe
application_id = "arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning"
capabilities = ["CAPABILITY_IAM"]
# Uncomment the next line to deploy a specific version
# semantic_version = "4.3.6"
# semantic_version = "4.4.0"

parameters = {
# All of these parameters are optional and are only shown here for demonstration purposes
Expand Down
1 change: 1 addition & 0 deletions README-SAR.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ Initializer, cleaner, analyzer, and optimizer are executed only once, while the

From most recent to oldest, with major releases in bold:

* *4.4.0* (2025-11-19): 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
Expand Down
2 changes: 1 addition & 1 deletion cdk/csharp/src/Cdk/TheLambdaPowerTunerStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal TheLambdaPowerTunerStack(Construct scope, string id, IStackProps props
{
Location = new CfnApplication.ApplicationLocationProperty {
ApplicationId = "arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning",
SemanticVersion = "4.3.6"
SemanticVersion = "4.4.0"
},
Parameters = stateMachineConfiguration
}
Expand Down
2 changes: 1 addition & 1 deletion cdk/go/lambda_power_tuner_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewLambdaPowerTunerStack(scope constructs.Construct, id string, props *Lamb
awssam.NewCfnApplication(stack, jsii.String("powerTuner"), &awssam.CfnApplicationProps{
Location: map[string]string{
"applicationId": "arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning",
"semanticVersion": "4.3.6",
"semanticVersion": "4.4.0",
},
Parameters: map[string]string{
// "lambdaResource": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class TheLambdaPowerTunerStack extends Stack {

//Set constants
private static final String SAR_APPLICATION_ID = "arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning";
private static final String SAR_SEMANTIC_VERSION = "4.3.6";
private static final String SAR_SEMANTIC_VERSION = "4.4.0";

public TheLambdaPowerTunerStack(final Construct scope, final String id) {
this(scope, id, null);
Expand Down
2 changes: 1 addition & 1 deletion cdk/python/app/lambdapowertuner_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
self, "SAR",
location={
"applicationId": "arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning",
"semanticVersion": "4.3.6"
"semanticVersion": "4.4.0"
},
parameters = stateMachineConfiguration
)
2 changes: 1 addition & 1 deletion cdk/typescript/lib/the-lambda-power-tuner-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class TheLambdaPowerTunerStack extends cdk.Stack {
new sam.CfnApplication(this, 'powerTuner', {
location: {
applicationId: 'arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning',
semanticVersion: '4.3.6'
semanticVersion: '4.4.0'
},
parameters: {
//"lambdaResource": lambdaResource,
Expand Down
7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-lambda-power-tuning",
"version": "4.3.6",
"version": "4.4.0",
"description": "Step Functions state machine generator for AWS Lambda Power Tuning",
"author": "Alex Casalboni <alex@cloudacademy.com>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy-sar-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Resources:
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:451282441545:applications/aws-lambda-power-tuning
SemanticVersion: 4.3.6
SemanticVersion: 4.4.0

# Parameters:
# PowerValues: 128,256,512,1024,1536,3008 # default RAM values
Expand Down
8 changes: 4 additions & 4 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand Down