npm @cap-js/cds-typer 0.39.0
v0.39.0

3 hours ago

Added

  • Added flag cds.env.typer.branded_primitive_types for branding CDS type definitions aliasing primitive TS types
  • Added support for non-ASCII identifiers in .cds files. Non-ASCII characters in identifiers are sanitised to valid TypeScript names. Identifiers consisting entirely of non-ASCII characters (e.g., Kanji) are replaced with random hashes. All affected identifiers are exported under their sanitised/hashed name and also as an alias preserving the original name. To use the original name, import it with import ... as '...' syntax.

Changed

Deprecated

Removed

Fixed

  • Association keys pointing to entities with inline enum types are now correctly typed in service projections across namespace boundaries

Security

Don't miss a new cds-typer release

NewReleases is sending notifications on new releases.