Skip to content

@odatano/nightgate v0.6.0

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 09 Jul 09:55
· 168 commits to main since this release
aa952ed

@odatano/nightgate 0.6.0 (2026-07-09)

CAP 10 release: toolchain lifted to @sap/cds 10.0.3, code keeps running in both CAP 9 AND CAP 10 hosts (peer stays @sap/cds >=9.0.0). Commit aa952ed.

Highlights

  • CAP 10 toolchain: @sap/cds ^10, @sap/cds-dk ^10, @cap-js/sqlite ^3 (better-sqlite3 12), @cap-js/cds-test ^1, @cap-js/cds-types ^0.18, @cap-js/cds-typer ^0.40, eslint ^10. Node >= 22 is required (CAP 10 minimum; engines field unchanged).
  • Int64/Decimal coercions: CAP 10 returns Integer64/Decimal values from the DB as strings. All arithmetic read sites are coerced; this also fixes a catch-up bug that would have surfaced under CAP 10 ("0" + 1 = "01" as the start height). getHealth/getMetrics contractually keep returning numbers.
  • cds-typer workaround: cds:types runs with --outputDTsFiles false because the new default emission (.d.ts + .js) crashes tsc 5.9.
  • Config: sqlite credentials are now named url instead of the deprecated database.

Verification

typecheck, lint, 54/54 suites with 863/863 tests, smoke:sdk (8/8 SDK packages), integration:providers, integration:contract-registry, npm audit 0 findings.

Notes for consumers

  • No schema delta, no API change in this release.
  • In a CAP 10 host, OData serializes Integer64/Decimal fields (heights, balances, amounts) as strings; coerce accordingly in client code. In CAP 9 hosts everything stays as before.

Open

  • Jest -> Vitest migration (CAP deprecates Jest; the suite still runs under cds 10.0).