Releases: cap-js/cds-typer
Releases · cap-js/cds-typer
v0.9.0
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
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
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
Changed
Added
Fixed
- Removed a warning about circular imports
v0.6.0
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
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 typeLargeBinary
v0.4.0
Added
- Support for enums when they are defined separately (not inline in the property type of an entity)
v0.3.0
Added
- Support
function
definitions (apart fromaction
s)
Changed
- Bump version to next minor
Fixed
- Properly import CDS
type
definitions when they are referenced elsewhere
v0.2.5-beta.1
Changed
- Bump version