aws AWS Developer Tools Blog ·

AWS SDK for JavaScript v3 to require recent TypeScript versions

bloginfraawsgaengineer
deprecation

The AWS SDK for JavaScript v3 will require TypeScript versions published within the last 2.5 years, starting January 4, 2027. This change aligns the SDK with the broader TypeScript ecosystem, where older versions are increasingly unsupported by tools like DefinitelyTyped and typescript-eslint. Developers using older TypeScript versions may need to upgrade to continue receiving SDK updates and security patches.

  • AWS SDK for JavaScript v3 to drop support for older TypeScript versions
  • Impact on package size and build complexity
  • Developer actions and recommendations
Deprecations (1)
  • AWS SDK for JavaScript v3 to drop support for older TypeScript versions

    Starting January 4, 2027, the AWS SDK for JavaScript v3 will only support TypeScript versions published within the last 2.5 years. This policy update aligns the SDK with the TypeScript ecosystem's support window, which typically supports versions for less than 2 years. Developers using older TypeScript versions may encounter build failures or be unable to receive future SDK updates and security patches.

Notes (2)
  • Impact on package size and build complexity

    This change is expected to reduce build and release complexity for the SDK, leading to smaller published package sizes and reduced AWS Lambda artifact sizes. Downleveling types, previously accounting for 18% of published package size, will no longer be necessary for supported TypeScript versions.

  • Developer actions and recommendations

    Developers are advised to upgrade their TypeScript versions to stay compatible with the SDK and continue receiving updates. Options include upgrading TypeScript in dev dependencies and validating code with new diagnostics, or pinning SDK packages to a version compatible with their current TypeScript, which will limit future updates.

Read the original announcement →

https://aws.amazon.com/blogs/developer/updating-typescript-version-support-in-aws-sdk-for-javascript-v3/

Related releases