Added
- Added types for
req.reqandreq.resincds.Request cds.Usernow has anauthInfoproperty typed against@sap/xssec'sSecurityContext.@sap/xssecis an peer dependency.cds.qlis now typed as a callable universal converter: tagged template, function accepting a CQN object, or plain string — all returningSELECT<unknown>- CXL helper functions (
ref,val,expr,columns,expand,where,orderBy) are now exported fromcds.qland can be destructured from it cds.parse.cql,cds.run, andcds.readnow accept tagged template literalsService.run(query)now proxies the entity type of the contained query through to the return type
Changed
- Bound action handlers now keep
req.subjecttyped 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.oneincludesundefined