Skip to content

Update @aws-sdk/client-s3-node (deprecated preview) to @aws-sdk/client-s3 (v3 stable) #1956

@seisei-Shiroishi

Description

@seisei-Shiroishi

Problem

CodiMD uses @aws-sdk/client-s3-node v0.1.0-preview.2 for S3 image uploads. This package was a preview release of AWS SDK v3 and has since been renamed to @aws-sdk/client-s3 upon its stable release.

The preview package is no longer maintained and receives no bug fixes or security patches.

Proposed Solution

Update the deprecated preview package to the currently maintained stable release.

Current Proposed
Package @aws-sdk/client-s3-node @aws-sdk/client-s3
Version 0.1.0-preview.2 ^3.x (latest stable)

The module structure changed between the preview and stable releases, so the import paths in lib/imageRouter/s3.js will also need to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions