Skip to content

chore(deps): bump @cap-js/attachments from 2.2.2 to 3.12.1#309

Merged
stefanrudi merged 3 commits into
mainfrom
dependabot/npm_and_yarn/cap-js/attachments-3.12.1
May 20, 2026
Merged

chore(deps): bump @cap-js/attachments from 2.2.2 to 3.12.1#309
stefanrudi merged 3 commits into
mainfrom
dependabot/npm_and_yarn/cap-js/attachments-3.12.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Copy link
Copy Markdown
Contributor

Bumps @cap-js/attachments from 2.2.2 to 3.12.1.

Release notes

Sourced from @​cap-js/attachments's releases.

v3.12.1

Added

  • File deduplication can now be disabled via cds.requires.attachments.deduplicateFileNames=false

Fixed

  • Security audit events (AttachmentSizeExceeded, AttachmentUploadRejected, AttachmentDownloadRejected) now log the real client IP on reverse-proxy deployments (e.g. BTP Cloud Foundry) as well by setting X-Forwarded-For as an attribute on the audit log.

v3.12.0

Added

  • A maximum concurrent amount of scans can now be configured for the malware scanner.

Changed

  • The retry logic for the malware scanner was improved to be more robust under high loads.

Fixed

  • Wrong file name being shown when rejecting an attachment due to file size.
  • Fix a server crash when uploading extensions due to wrongfully assuming each request has a query attached.

v3.11.0

Added

  • Support for controlling content overwrite behavior via @Capabilities.UpdateRestrictions.NonUpdateableProperties. By default, content is listed as non-updateable, preventing overwrites with a 409 error. Setting the annotation to an empty array ([]) on a specific attachment composition allows content to be overwritten.

Fixed

  • When cds.env.fiori.bypass_draft was enabled attachments were wrongfully deleted

v3.10.0

Added

  • Emit the following security events on the attachments service: - AttachmentDownloadRejected, AttachmentSizeExceeded AttachmentUploadRejected.
  • If @cap-js/audit-logging is installed automatically trigger audit logs for the security events.
  • Duplicate file names to a single attachment entity are automatically assigned a distinguishing suffix.
  • Local testing using a Postgres database now possible.
  • Native server-side copy() method on AttachmentsService for copying attachments between entities without transferring binary data through the application. Supports all storage backends (DB, AWS S3, Azure Blob Storage, GCP Cloud Storage) with backend-native copy operations.

Fixed

  • Fixed bug where deeply nested attachments were not properly handled.
  • Fixed bug to allow navigation of self-referencing entities.
  • Fix that POST requests for attachments did not have a response when the plugin is used with an object store.

v3.9.0

Fixed

... (truncated)

Changelog

Sourced from @​cap-js/attachments's changelog.

Version 3.12.1

Added

  • File deduplication can now be disabled via cds.requires.attachments.deduplicateFileNames=false

Fixed

  • Security audit events (AttachmentSizeExceeded, AttachmentUploadRejected, AttachmentDownloadRejected) now log the real client IP on reverse-proxy deployments (e.g. BTP Cloud Foundry) as well by setting X-Forwarded-For as an attribute on the audit log.

Version 3.12.0

Added

  • A maximum concurrent amount of scans can now be configured for the malware scanner.

Changed

  • The retry logic for the malware scanner was improved to be more robust under high loads.

Fixed

  • Wrong file name being shown when rejecting an attachment due to file size.
  • Fix a server crash when uploading extensions due to wrongfully assuming each request has a query attached.

Version 3.11.0

Added

  • Support for controlling content overwrite behavior via @Capabilities.UpdateRestrictions.NonUpdateableProperties. By default, content is listed as non-updateable, preventing overwrites with a 409 error. Setting the annotation to an empty array ([]) on a specific attachment composition allows content to be overwritten.

Fixed

  • When cds.env.fiori.bypass_draft was enabled attachments were wrongfully deleted

Version 3.10.0

Added

  • Emit the following security events on the attachments service: - AttachmentDownloadRejected, AttachmentSizeExceeded AttachmentUploadRejected.
  • If @cap-js/audit-logging is installed automatically trigger audit logs for the security events.
  • Duplicate file names to a single attachment entity are automatically assigned a distinguishing suffix.
  • Local testing using a Postgres database now possible.
  • Native server-side copy() method on AttachmentsService for copying attachments between entities without transferring binary data through the application. Supports all storage backends (DB, AWS S3, Azure Blob Storage, GCP Cloud Storage) with backend-native copy operations.

Fixed

  • Fixed bug where deeply nested attachments were not properly handled.
  • Fixed bug to allow navigation of self-referencing entities.
  • Fix that POST requests for attachments did not have a response when the plugin is used with an object store.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​cap-js/attachments since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@cap-js/attachments](https://github.com/cap-js/attachments) from 2.2.2 to 3.12.1.
- [Release notes](https://github.com/cap-js/attachments/releases)
- [Changelog](https://github.com/cap-js/attachments/blob/main/CHANGELOG.md)
- [Commits](cap-js/attachments@v2.2.2...v3.12.1)

---
updated-dependencies:
- dependency-name: "@cap-js/attachments"
  dependency-version: 3.12.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner May 6, 2026 12:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2026
@stefanrudi
stefanrudi merged commit 67a33d0 into main May 20, 2026
42 of 47 checks passed
@stefanrudi
stefanrudi deleted the dependabot/npm_and_yarn/cap-js/attachments-3.12.1 branch May 20, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants