Added
- Added missing properties for
log
incds.env
- Added overload for
service.read
to be called with aref
- Added
HandlerFunction.parameters.req
andHandlerFunction.returns
to type handler functions that are not declared as lambdas more conveniently - Added types for anonymous, privileged, and default user
Changed
- removed dependency to
@types/express: ^4.17.21
in favour of a peerDependency to@types/express: >=4
Removed
- [breaking] Removed type
TypedRequest<T>
and replaced it with justRequest<T>
- Removed deprecated
cds.Float
CSN property type
Fixed
- Use
Required
instead ofDeepRequired
in projection function to avoid complexity errors from TypeScript - Added missing type inference for
.set
/.with
ofUPDATE
- Added missing type inference for
.entries
ofUPSERT
andINSERT
- Variants of
SELECT.one(T)
will now returnT | null
, instead ofT
- Documentation link to
srv.emit