AWS SDK backup notice in Cloudron app logs - Javascript v2 to v3 upgrade
Solved
Support
-
I noticed that in the logs of apps, when backing up I see the following notice:
May 01 22:29:05 box:shell backup-snapshot/app_2271c761-2449-4421-a274-bd12cba21110 (stderr): (node:2156497) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. migrate your code to use AWS SDK for JavaScript (v3). more information, check the migration guide at https://a.co/7PzMCcy `node --trace-warnings ...` to show where the warning was created)
It seems this may need to be updated at some point soon to use JS v3 instead of v2, if I'm understanding it correctly. @Staff is probably already aware of this, but highlighting it here to be certain.
-
@d19dotca Yup, that library will be upgraded in 7.5. Was deemed too dangerous for 7.4. The warning can be safely ignored for now.
On a side note, quite annoying that a library decides to spam the logs with upgrade notices Especially, the way I am reading it, it is not even in past perfect. It says it's present continuous. Besides entering maintenance mode is nothing wrong, it's not like they are deprecating it or obsoleting the project.
-
-