Describe the bug
NODEJS_LATEST points to nodejs18.x even though nodejs20.x is available.
Not exactly sure if this should be considered a bug or a feature request?
I tried searching for any information regarding if the NODEJS_LATEST value change should be delayed because of some reason but couldn't find anything. Tried to ask about it here as well #28046, but haven't received any response there yet.
Expected Behavior
NODEJS_LATEST should return nodejs20.x
Current Behavior
NODEJS_LATEST returns nodejs18.x
This is where you can find the code: aws-cdk-lib/aws-lambda/lib/runtime.js
/**
* The latest NodeJS version currently available
*/
public static readonly NODEJS_LATEST = new Runtime('nodejs18.x', RuntimeFamily.NODEJS, { supportsInlineCode: true, isVariable: true });
Reproduction Steps
Just use the NODEJS_LATEST
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.110.1 (build 0d37f0d)
Framework Version
No response
Node.js Version
v20.9.0
OS
macOS
Language
TypeScript
Language Version
TypeScript v5.2.2
Other information
No response
Describe the bug
NODEJS_LATEST points to
nodejs18.xeven thoughnodejs20.xis available.Not exactly sure if this should be considered a bug or a feature request?
I tried searching for any information regarding if the NODEJS_LATEST value change should be delayed because of some reason but couldn't find anything. Tried to ask about it here as well #28046, but haven't received any response there yet.
Expected Behavior
NODEJS_LATEST should return
nodejs20.xCurrent Behavior
NODEJS_LATEST returns
nodejs18.xThis is where you can find the code:
aws-cdk-lib/aws-lambda/lib/runtime.jsReproduction Steps
Just use the NODEJS_LATEST
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.110.1 (build 0d37f0d)
Framework Version
No response
Node.js Version
v20.9.0
OS
macOS
Language
TypeScript
Language Version
TypeScript v5.2.2
Other information
No response