parse-server-s3-adapter icon indicating copy to clipboard operation
parse-server-s3-adapter copied to clipboard

Upgrade to AWS JS SDK v3 needed

Open mman opened this issue 1 year ago • 4 comments

Today I started the alpha build of parse-server using the parse-server-s3-adapter and received this (for me new) warning message:

(node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy

This seems to be coming from the fact that this repo depends on aws-sdk: 2

https://github.com/parse-community/parse-server-s3-adapter/blob/bd7ad07434abb13bdf1c19314eeebfdd62b3fcf5/package.json#L28

Detailed migration instructions seem to be available here: https://github.com/aws/aws-sdk-js-v3/blob/main/UPGRADING.md

mman avatar May 24 '23 15:05 mman

Thanks for opening this issue!

@mtrezza could parse maybe suppress the deprecation messages for now at least? This is spamming our service logs. https://github.com/serverless/serverless/discussions/11750#discussioncomment-5845013

require('aws-sdk/lib/maintenance_mode_message').suppress = true;

chendoron avatar Oct 27 '23 14:10 chendoron

Would upgrading the AWS SDK solve the issue?

mtrezza avatar Oct 28 '23 15:10 mtrezza

Added bounty due to urgency for this change. cc @dplewis

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.

https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-javascript-v2/

mtrezza avatar Jul 17 '24 17:07 mtrezza