Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cap-js/cds-types (source) 0.8.0 -> 0.9.0 age adoption passing confidence

Release Notes

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

v0.9.0

Compare Source

Added
  • Added missing properties for log in cds.env
  • Added overload for service.read to be called with a ref
  • Added HandlerFunction.parameters.req and HandlerFunction.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 just Request<T>
  • Removed deprecated cds.Float CSN property type
Fixed
  • Use Required instead of DeepRequired in projection function to avoid complexity errors from TypeScript
  • Added missing type inference for .set/.with of UPDATE
  • Added missing type inference for .entries of UPSERT and INSERT
  • Variants of SELECT.one(T) will now return T | null, instead of T
  • Documentation link to srv.emit

Configuration

📅 Schedule: 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.

@chgeo chgeo added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit 2dce9af Jan 16, 2025
3 checks passed
@chgeo chgeo deleted the renovate/cap-js-cds-types-0.x-lockfile branch January 16, 2025 12:18
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.

2 participants