parse-community / parse-server-s3-adapter

AWS S3 file storage adapter for Parse Server
Other
80 stars 82 forks source link

Upgrade to AWS JS SDK v3 needed #197

Open mman opened 1 year ago

mman commented 1 year ago

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

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

chendoron commented 10 months ago

@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;
mtrezza commented 10 months ago

Would upgrading the AWS SDK solve the issue?

mtrezza commented 1 month ago

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/