Skip to content

v1.4.0

Latest

Choose a tag to compare

@0x1000000 0x1000000 released this 01 Oct 22:44
· 1 commit to main since this release

1.4.0

New Features

  • Added ON DELETE CASCADE support for foreign keys in handwritten and attribute-based table descriptors, including SQL export and database metadata discovery across supported dialects.
  • Added opt-in view discovery via gentables --include-views and GetTables(SqGetTablesOptions) across all supported database dialects, returning ordinary table descriptors while keeping table-only discovery as the default.
  • Added portable JSON reading, construction, mutation, array expansion, and ForJson() output across all supported dialects.
  • Added portable StringAgg(...) with aggregate-local ordering and T-SQL parser support.
  • Added configurable SQL formatting profiles shared by exporters and the SQL transpiler formatter.

Bugfix

  • Fixed T-SQL parser table binding dropping column qualifiers from unaliased joins, which could turn T1.Id = T2.Id into Id = Id. Bound columns retain their table ownership and SQL qualification, and ambiguous references are rejected.
  • Fixed GetTables() metadata discovery for mutually referencing foreign keys. Cyclic tables and their foreign keys are now returned; existing dependency ordering is preserved for acyclic tables.
  • Fixed PostgreSQL OuterApply export by adding the required ON TRUE lateral-join condition.
  • Fixed SQL export ordering of dependent CTEs so dependencies are declared before their consumers, including multi-level dependency chains.