Ari Palo

Importance of NodeJS 22 & Python 3.13 Runtimes on AWS Lambda

Publish date
Reading time
2 min read
Tag aws
Tag lambda
Tag nodejs
Tag python

I'm excited about the AWS “pre:Invent” 2024 announcements of NodeJS 22 & Python 3.13 runtimes being supported on AWS Lambda.

Not because of any language features these new versions introduce.

Instead my excitement is because of the timely introduction of these new runtime versions finally truly show the commitment from AWS to follow the latest long-term supported (LTS) language versions.

Here's some data about the history of NodeJS major releases, their Active LTS start dates, and the dates AWS Lambda started supporting each version:

VersionReleaseActive LTSLambda supportDays between LTS vs Lambda
122019-04-232019-10-212019-11-1828
142020-04-212020-10-272021-02-0399
162021-04-202021-10-262022-05-12198
182022-04-192022-10-252022-11-1824
202023-04-182023-10-242023-11-1522
222024-04-232024-10-292024-11-2123

As you see, with NodeJS version 14 and especially with version 16, AWS was taking a long time to support the latest LTS version on Lambda. They probably had very good reasons for this, but many AWS Lambda users – myself included – felt frustrated. And even today many users have this assumption that it will take a lot of time for AWS to support the latest LTS versions.

I don't remember exactly, but I think during early 2023 I heard some unofficial communication that AWS wants to “commit” (in quotes, because the release schedule is always “subject to change”) to supporting the latest LTS versions and defining a speculative target launch month for each new upcoming LTS version.

Finally, on November 2023, after NodeJS 20 support for Lambda was announced, they updated the documentation to include "Future runtime launch dates" -section; And already back then it stated that for example NodeJS 22 and Python 3.13 should be supported in November 2024.

At the time of writing this, we are living that future: During this 2024 pre:Invent season, AWS did announce those new Lambda runtime versions. Additionally, they updated the documentation about the future runtime versions with new target dates, including NodeJS 24 (targeted for November 2025) and Python 3.14 (targeted for November 2025).

As a heavy user of NodeJS & AWS Lambda, I'm happy about this predictability: I can now plan my projects in such a way that I can follow the NodeJS release schedule and about one month after a new major NodeJS version has become Active LTS, I can start migrating my Lambda code into that new LTS version.

And for the AWS CDK users, there is already a support for this since v2.168.0:

runtime: lambda.Runtime.NODEJS_22_X,