Skip to content

Commit af88283

Browse files
authored
Merge branch 'main' into fix/metrics-state-leak-on-throw
2 parents 18ed7a0 + 2646f26 commit af88283

37 files changed

Lines changed: 117 additions & 149 deletions

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ body:
6969
options:
7070
- 24.x
7171
- 22.x
72-
- 20.x
7372
validations:
7473
required: true
7574
- type: dropdown

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444

4545
# Upload the results to GitHub's code scanning dashboard.
4646
- name: "Upload to code-scanning"
47-
uses: github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
47+
uses: github/codeql-action/upload-sarif@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
4848
with:
4949
sarif_file: results.sarif

.github/workflows/quality_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
NODE_ENV: dev
2121
strategy:
2222
matrix:
23-
version: [20, 22, 24]
23+
version: [22, 24]
2424
workspace: [
2525
"packages/batch",
2626
"packages/commons",

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
permissions:
2828
contents: write # create release in draft mode
2929
steps:
30-
- uses: release-drafter/release-drafter@5de93583980a40bd78603b6dfdcda5b4df377b32 # v5.20.1
30+
- uses: release-drafter/release-drafter@563bf132657a13ded0b01fcb723c5a58cdd824e2 # v5.20.1
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/reusable-run-linting-check-and-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
NODE_ENV: dev
4141
strategy:
4242
matrix:
43-
version: [20, 22, 24]
43+
version: [22, 24]
4444
workspace: [
4545
"packages/batch",
4646
"packages/commons",

.github/workflows/run-e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
packages/batch,
3737
layers,
3838
]
39-
version: [20, 22, 24]
39+
version: [22, 24]
4040
arch: [x86_64, arm64]
4141
fail-fast: false
4242
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- markdownlint-disable MD013 -->
22
# Powertools for AWS Lambda (TypeScript)
33

4-
![NodeSupport](https://img.shields.io/static/v1?label=node&message=%2020|%2022&style=flat&logo=nodedotjs)
4+
![NodeSupport](https://img.shields.io/static/v1?label=node&message=%2022|%2024&style=flat&logo=nodedotjs)
55
![GitHub Release](https://img.shields.io/github/v/release/aws-powertools/powertools-lambda-typescript?style=flat)
66
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=aws-powertools_powertools-lambda-typescript&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=aws-powertools_powertools-lambda-typescript)
77
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=aws-powertools_powertools-lambda-typescript&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=aws-powertools_powertools-lambda-typescript)

docs/getting-started/lambda-layers.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ Change `{aws::region}` to your AWS region, e.g. `eu-west-1`, and run the followi
111111
"CreatedDate": "2025-04-08T07:38:30.424+0000",
112112
"Version": 24,
113113
"CompatibleRuntimes": [
114-
"nodejs20.x",
115114
"nodejs22.x",
116115
"nodejs24.x"
117116
],

docs/versioning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Most AWS SDKs have underlying dependencies, such as language runtimes, AWS Lambd
3737

3838
The following terms are used to classify underlying third party dependencies:
3939

40-
* [**AWS Lambda Runtime**](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html): Examples include `nodejs20.x`, `python3.12`, etc.
41-
* **Language Runtime**: Examples include Python 3.12, NodeJS 20, Java 17, .NET Core, etc.
40+
* [**AWS Lambda Runtime**](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html): Examples include `nodejs22.x`, `python3.12`, etc.
41+
* **Language Runtime**: Examples include Python 3.12, NodeJS 22, Java 17, .NET Core, etc.
4242
* **Third party Library**: Examples include Pydantic, AWS X-Ray SDK, AWS Encryption SDK, Middy.js, etc.
4343

4444
Powertools for AWS Lambda follows the [AWS Lambda Runtime deprecation policy cycle](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy), when it comes to Language Runtime. This means we will stop supporting their respective deprecated Language Runtime _(e.g., `nodejs20.x`)_ without increasing the major SDK version.

examples/app/cdk/function-with-logstream-construct.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type BindTableProps = {
4343
*
4444
* The function is created with the following properties:
4545
* - `handler` set to `handler`
46-
* - `runtime` set to `Runtime.NODEJS_20_X`
46+
* - `runtime` set to `Runtime.NODEJS_22_X`
4747
* - `tracing` set to `Tracing.ACTIVE`
4848
* - `architecture` set to `Architecture.ARM_64`
4949
* - `timeout` set to `Duration.seconds(30)`
@@ -60,7 +60,7 @@ export class FunctionWithLogGroup extends NodejsFunction {
6060
super(scope, id, {
6161
...props,
6262
handler: 'handler',
63-
runtime: Runtime.NODEJS_20_X,
63+
runtime: Runtime.NODEJS_22_X,
6464
tracing: Tracing.ACTIVE,
6565
architecture: Architecture.ARM_64,
6666
timeout: Duration.seconds(30),

0 commit comments

Comments
 (0)