Skip to content

Releases: cap-js/cds-types

v0.4.0

29 May 11:53
c5316bc
Compare
Choose a tag to compare

This is a prerelease version (next) as a preview for the upcoming release of cds 8.

Fixed

  • Corrected exist(…) to exists(…)

v0.3.0-beta.1

24 May 08:00
7bbc70b
Compare
Choose a tag to compare
Disable some failing tests for prerelease (#75)

v0.2.0

17 Jan 15:09
Compare
Choose a tag to compare

Added

  • Type for special error listener srv.on('error')

Changed

  • source, column_expr, and predicate have been converted to partial intersection types. This offers all possible optional properties. You will have to make sure to check their presence when accessing them

Fixed

  • srv.send overload to also allow optional headers
  • Reflected types like cds.entity, cds.struct, cds.Association are now properly exposed
  • cds.builtin.types got a more accurate type
  • The LinkedEntity.drafts property is now optional. At runtime, it's only set for drafted entities.
  • cds.model is marked as modifiable (for tests only!)
  • SELECT.from got its ref property back

v0.1.0

13 Dec 10:07
5502cf7
Compare
Choose a tag to compare

Changed

  • Rework of the export structure of the main cds facade object, so that e.g. cds.Request and cds.User work again.

Fixed

  • TSDoc comments have a proper structure

v0.0.1

06 Dec 14:19
Compare
Choose a tag to compare

Added

  • Initial release, still with gaps though