AWS cdk documentation change
Summary
Updated Node.js version support policy documentation, restructured content with clearer headings, and updated version tables with specific support end dates.
Security assessment
The changes clarify the support policy and explicitly warn that using unsupported Node.js versions may result in security vulnerabilities. However, there is no evidence this addresses a specific, current security vulnerability; it's a routine policy update and warning about potential future risks.
Diff
diff --git a/cdk/v2/guide/node-versions.md b/cdk/v2/guide/node-versions.md index 0ff9279b3..be850decc 100644 --- a//cdk/v2/guide/node-versions.md +++ b//cdk/v2/guide/node-versions.md @@ -5 +5 @@ -Node.js version support timeline +Version support policySupported Node.js versionsNode.js versions no longer supported @@ -11 +11 @@ This is the AWS CDK v2 Developer Guide. The older CDK v1 entered maintenance on -The AWS Cloud Development Kit (AWS CDK) depends on Node.js for its functionality. This includes core CDK components such as the AWS CDK CLI (`aws-cdk-cli`), AWS Construct Library (`aws-cdk-lib`), as well as broader tools such as JSII, Projen, and CDK8s. This page documents the Node.js runtime versions compatible with the AWS CDK, helping you maintain a supported development environment. +The AWS Cloud Development Kit (AWS CDK) runs on Node.js. This includes the AWS CDK CLI (`aws-cdk-cli`), AWS Construct Library (`aws-cdk-lib`), as well as broader ecosystem tools such as JSII, Projen, and CDK8s. @@ -13 +13 @@ The AWS Cloud Development Kit (AWS CDK) depends on Node.js for its functionality -The AWS CDK aims to maintain compatibility with actively supported Node.js Long Term Support (LTS) versions. As Node.js versions reach their end-of-life, the AWS CDK also phases out support for these versions to ensure security, performance, and access to the latest features. +## Version support policy @@ -15 +15 @@ The AWS CDK aims to maintain compatibility with actively supported Node.js Long -Keeping your CDK components and tools on supported Node.js versions ensures that you receive security updates, bug fixes, and access to the latest CDK features and improvements. +The AWS CDK supports Node.js Long Term Support (LTS) versions. When a Node.js version reaches its community End-of-Life (EOL), the AWS CDK continues to support it for an additional 6 months before ending support. @@ -17 +17 @@ Keeping your CDK components and tools on supported Node.js versions ensures that -## Node.js version support timeline +After support ends, the AWS CDK team will no longer provide security patches, bug fixes, or compatibility updates for that Node.js version. Using the AWS CDK with an unsupported Node.js version may result in unexpected behavior, errors, or security vulnerabilities. @@ -19 +19 @@ Keeping your CDK components and tools on supported Node.js versions ensures that -The AWS CDK supports Node.js versions beyond their official End-of-Life (EOL) dates to give you time to upgrade your environment. This support extends for 6 months (for example, when Node.js versions reach EOL in April, support continues until October). The version support timeline table below documents specific CDK support end dates as they are determined. This approach gives you a defined window to plan and implement version upgrades while maintaining access to CDK functionality and updates. +For upcoming Node.js release and EOL dates, see the [Node.js release schedule](https://github.com/nodejs/Release#release-schedule). @@ -21 +21,15 @@ The AWS CDK supports Node.js versions beyond their official End-of-Life (EOL) da -Node.js version | Node EOL date | CDK support status +## Supported Node.js versions + +The following table lists Node.js versions currently supported by the AWS CDK. + +Node.js version | Node.js EOL date | CDK support end date +---|---|--- +24.x | 2028-04-30 | 2028-10-30 +22.x | 2027-04-30 | 2027-10-30 +20.x | 2026-04-30 | 2026-10-30 + +## Node.js versions no longer supported + +The following Node.js versions are no longer supported by the AWS CDK. + +Node.js version | Node.js EOL date | CDK support ended @@ -23,5 +37,3 @@ Node.js version | Node EOL date | CDK support status -22.x | 2027-04-30 | Support expected until October 2027. -20.x | 2026-04-30 | Support expected until October 2026. -18.x | 2025-05-30 | Support ends 2025-11-30. -16.x | 2023-09-11 | Support ends 2025-05-30. -14.x | 2023-04-30 | Support ends 2025-05-30. +18.x | 2025-05-30 | 2025-11-30 +16.x | 2023-09-11 | 2025-05-30 +14.x | 2023-04-30 | 2025-05-30