Skip to content

Releases: cap-js/cds-typer

v0.9.0

08 Sep 07:13
b09e9f5
Compare
Choose a tag to compare

Changed

Added

  • Support for drafts via @odata.draft.enabled annotation

Fixed

  • Foreign keys are now propagated more than one level (think: x_ID_ID_ID)

v0.8.0

05 Sep 08:36
21e24e6
Compare
Choose a tag to compare

Changed

Added

Fixed

  • Foreign keys that are inherited via aspects are now also generated in addition to the resolved property (see 0.7.0)
  • Explicitly annotated @singular and @plural names are now properly used in generated index.js files

v0.7.0

22 Aug 11:18
d99b920
Compare
Choose a tag to compare

Changed

Added

  • Support for [many] $self syntax in bound action parameters
  • Foreign keys are now present in the generated types in addition to the resolved property

Fixed

v0.6.1

10 Aug 12:56
ee44452
Compare
Choose a tag to compare

Changed

Added

Fixed

  • Removed a warning about circular imports

v0.6.0

07 Aug 05:12
eda6e44
Compare
Choose a tag to compare

Added

  • Support for event syntax

Fixed

  • Initialise bound actions with stubs to support "strict":true in tsconfig.json
  • Add leading underscore to appease noUnusedParameters in strict tsconfigs
  • No longer inflect type definitions when they are referenced within entities or other type definitions

v0.5.0

25 Jul 09:54
404c94a
Compare
Choose a tag to compare

Changed

  • Facilitate strict property checks. Note: checkJs: true must be present in the project's jsconfig.json or tsconfig.json respectively for this feature to become effective

Added

  • Support for array of syntax

Fixes

  • Generate string type for date-related types in CDS definitions
  • Generate Buffer | string type for the CDS type LargeBinary

v0.4.0

06 Jul 11:10
f9644ff
Compare
Choose a tag to compare

Added

  • Support for enums when they are defined separately (not inline in the property type of an entity)

v0.3.0

26 Jun 14:53
4bc6045
Compare
Choose a tag to compare

Added

  • Support function definitions (apart from actions)

Changed

  • Bump version to next minor

Fixed

  • Properly import CDS type definitions when they are referenced elsewhere

v0.2.5-beta.1

13 Jun 13:29
8f0b3aa
Compare
Choose a tag to compare

Changed

  • Bump version