AWS Developer Tools Blog

Category: JavaScript

Announcing end-of-support for AWS SDK for JavaScript v2 effective September 8, 2025

In alignment with our SDKs and Tools Maintenance Policy, AWS SDK for JavaScript v2 will enter maintenance mode on September 8, 2024 and reach end-of-support on September 8, 2025. Existing applications that use AWS SDK for JavaScript v2 will continue to function as intended, unless there is a fundamental change to how an AWS service […]

Node.js logo

Announcing the end of support for Node.js 14.x in the AWS SDK for JavaScript (v3)

This blog post is about AWS SDK for JavaScript (v3) announcing the end of support for Node.js 14.x, and not AWS Lambda, which is planning their Node.js 14.x deprecation (phase 1) on Nov 27, 2023. Starting May 1, 2024, the AWS SDK for JavaScript (v3) will no longer actively support Node.js 14.x, which reached end-of-life […]

Node.js logo

Announcing the end of support for Node.js 12.x in the AWS SDK for JavaScript (v3)

This blog post is about AWS SDK for JavaScript (v3), and not AWS Lambda. As of Oct 2022, Lambda is planning Node.js 12.x deprecation on Mar 31, 2023. If your code uses Lambda Provided SDK, it’s v2 which continues to support Node.js 12.x Starting November 1, 2022, AWS SDK For JavaScript (v3) will no longer […]

Internet Explorer 11 logo

Announcing the end of support for Internet Explorer 11 in the AWS SDK for JavaScript (v3)

Starting October 1, 2022, AWS SDK For JavaScript (v3) will end support for Internet Explorer 11 (IE 11). The browser artifacts published in our npm packages will no longer target ES5. If your browser application depends on the AWS SDK for JavaScript (v3), we encourage you to support only modern secure and evergreen browsers like […]

Error Handling in Modular AWS SDK for JavaScript (v3)

In the version 3.53.0 of the modular AWS SDK for JavaScript (v3), we introduced concrete classes for AWS service exceptions which support asserting service exceptions with instanceof operator. In this post, we cover how to use it and how it improves the error handling experience. Why did we do it? Previously, the AWS SDK for […]

Testing CDK Applications in Any Language

The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to define your cloud application resources using familiar programming languages. Because the AWS CDK enables you to define your infrastructure in regular programming languages, you can also write automated unit tests for your infrastructure code, just like you do for your […]

Screenshot of PackagePhobia showing install size reduction from 7.04 MB to 4.21 MB for STS Client of modular AWS SDK for JavaScript.

How we halved the publish size of modular AWS SDK for JavaScript clients

On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, the modular packages reduce the bundle size of your application by ~75% as compared to that in AWS SDK for JavaScript, version 2 (v2). However, v3 had a large publish/install size for each modular package. In […]

Node.js logo

Announcing the end of support for Node.js 10.x in the AWS SDK for JavaScript (v3)

Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021. We encourage you to upgrade to Node.js 12.x or later. We recommend Node.js 14.x which was released on April 21, 2020 and became active LTS on October 27, 2020. Motivation As Node.js 10.x version […]

Construct Hub Developer Preview

We are excited to announce the Construct Hub developer preview. It is a one-stop destination for finding, reusing and sharing constructs authored by AWS, AWS Partner Network partners, third parties, and the developer community. In the preview version of the website, we list constructs for Python and TypeScript programming languages. CDK constructs are cloud architecture building […]

Mocking modular AWS SDK for JavaScript (v3) in Unit Tests

The AWS SDK for Javascript team would like to highlight the open-source community and it’s contributions. Today we welcome a guest blog written by Maciej Radzikowski on aws-sdk-client-mock, a library that allows easy mocking of AWS SDK for JavaScript (v3). On December 15th, 2020, AWS announced the general availability of the AWS SDK for JavaScript, version 3 […]