AWS SDK for JavaScript v2 Upcoming End-of-Support
trivikr opened this issue · 6 comments
We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
The AWS SDK for JavaScript v2 will reach:
- maintenance mode on September 8, 2024.
- end-of-support on September 8, 2025.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
As a new installer of v2, I wanted to jump straight to V3, but got confused since the information I wanted wasn't readily available. After some searching, here is how you install V3 as a new user.
Install the SDK for JavaScript
Not all services are immediately available in the SDK or in all AWS Regions.
To install a service from the AWS SDK for JavaScript using npm, the Node.js package manager, enter the following command at the command prompt, where SERVICE is the name of a service, such as s3.
npm install @aws-sdk/client-SERVICE
For a full list of the AWS SDK for JavaScript service client packages, see the AWS SDK for JavaScript API Reference guide.
This should definitely be added to the readme or somewhere easily accessible.
This should definitely be added to the readme or somewhere easily accessible.
The link to blog post is the first sentence in the first paragraph of the README added in #4598
This issue is also pinned to the top.
The announcement is also in all the pages of the Developer Guide, API Reference and a post install warning for npm
Is there some other way it can be made accessible?
The announcement itself isn't the issue, the information provided by @MubashirullahD is what is not clear in all those documentations You have to dig to find that, I don't see any problem specifying in the Readme that to install the newer version you do npm install @aws-sdk/client-SERVICE
instead of just providing codemod(which is nice to have)
We point to the official blog post as the source of truth from all sources. The initial two paragraphs of the blog post have to explain what's the impact of the maintenance mode is going to be. Once that's explained the third paragraph points to Developer Guide of v3, which folks can refer to, if they're impacted and want to upgrade. The link to codemod appears much later.
If we provide install instructions for v3 directly from v2 README, it can cause confusion among customers of v2.
Got it.