Skip to content

v4.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Aug 09:11
· 3 commits to main since this release
147bae5

BREAKING CHANGE: The attachments plugin comes now without hyperscaler dependencies, please make sure to install them accordingly!
BREAKING CHANGE: Projects that explicitly set attachments.outbox: true in their own CDS configuration must rename the key to outboxed.

Changed

  • The outbox configuration key under cds.requires.attachments has been renamed to outboxed. A deprecation warning is logged at startup when the old key is detected.
  • Cloud storage SDKs (@aws-sdk/client-s3, @aws-sdk/lib-storage, @azure/storage-blob, @google-cloud/storage) are now optional peer dependencies. Install only the SDK(s) for the provider you use (e.g. npm install @aws-sdk/client-s3 @aws-sdk/lib-storage for AWS S3). A clear error message with the exact install command is shown if a required SDK is missing at runtime.

Fixed

  • Attachments are now served with Content-Disposition: attachment by default with inline being a toggle