Releases: Dawaman43/xsql
Releases · Dawaman43/xsql
v0.2.0 - IR v2 experimental
Changelog
[v0.2.0] - 2025-12-16
Added
- IR v2: new richer schema representation (
crates/xsql-ir/src/v2.rs) withV2Schema,V2Table,V2Column,V2DataType, constraints, and FK support. v2CLI workflow:v2-parseandv2-emitfor parsing SQL -> V2 JSON and emitting SQL from V2 JSON (crates/xsql-cli).--strictmode forv2-emit(and conversion/lint), which fails on lossy mappings.v2-difflibrary and CLI: basic structural diff of two V2 schemas (crates/xsql-ir::v2_diffandxsql v2-diff).- ALTER-generation scaffold (
crates/xsql-ir/src/alter.rs) for future ALTER SQL output. - Tests: parser/emitter v2 roundtrip and edge-case tests.
- CI: GitHub Actions workflow to run
fmt,clippy, and tests.
Fixed
- Formatting and clippy issues across the workspace.
- CLI
v2-emitstrict flag wiring and pattern-match bug.
Notes
- IR v2 is experimental. The
V2SchemaJSON format is considered unstable and may evolve; use--strictto ensure lossless emit where possible.