Skip to content

Update dependency @cap-js/cds-types to v0.19.0 - #2841

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cap-js-cds-types-0.x-lockfile
Open

Update dependency @cap-js/cds-types to v0.19.0#2841
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cap-js-cds-types-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@cap-js/cds-types (source) 0.18.00.19.0 age confidence

Release Notes

cap-js/cds-types (@​cap-js/cds-types)

v0.19.0

Compare Source

Added
  • Added types for req.req and req.res in cds.Request
  • cds.User now has an authInfo property typed against @sap/xssec's SecurityContext. @sap/xssec is an peer dependency.
  • cds.ql is now typed as a callable universal converter: tagged template, function accepting a CQN object, or plain string — all returning SELECT<unknown>
  • CXL helper functions (ref, val, expr, columns, expand, where, orderBy) are now exported from cds.ql and can be destructured from it
  • cds.parse.cql, cds.run, and cds.read now accept tagged template literals
  • Service.run(query) now proxies the entity type of the contained query through to the return type
Changed
  • Bound action handlers now keep req.subject typed as the bound action's instance type (__self) instead of a class/ref hybrid.
  • Subject-based query overloads (SELECT.from, SELECT.one.from, UPDATE, DELETE) now derive the entity class from the passed subject instance to preserve typed query results.
Deprecated
Removed
Fixed
  • Types for SELECT.one includes undefined
Security

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/cap-js-cds-types-0.x-lockfile branch from ef8dfcf to 53d6f58 Compare August 27, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants