Upgrade to AWS JS SDK v3 needed
mman opened this issue · comments
Martin Man commented
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
parse-server-s3-adapter/package.json
Line 28 in bd7ad07
Detailed migration instructions seem to be available here: https://github.com/aws/aws-sdk-js-v3/blob/main/UPGRADING.md
parse-github-assistant commented
Thanks for opening this issue!
Chen Doron commented
@mtrezza could parse maybe suppress the deprecation messages for now at least? This is spamming our service logs.
serverless/serverless#11750 (reply in thread)
require('aws-sdk/lib/maintenance_mode_message').suppress = true;
Manuel commented
Would upgrading the AWS SDK solve the issue?