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
outboxconfiguration key undercds.requires.attachmentshas been renamed tooutboxed. 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-storagefor 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: attachmentby default with inline being a toggle