Skip to content

v0.11.2 — dependency update and SQL regression fixes

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 16:47
· 4 commits to master since this release

Changes

  • Update the locked development dependency rustix from 1.1.5 to 1.1.6. It is used through tempfile and is not a runtime dependency of the crate.
  • Preserve UPDATE ... FROM ... JOIN clauses through parsing, SQL generation, dialect transforms, table discovery, scope analysis, and type annotation.
  • Preserve PostgreSQL ARRAY_LENGTH dimension arguments and generate CARDINALITY for PostgreSQL array-size expressions.
  • Add regression tests for joined updates, array dimensions, cardinality, and unexpected array-function arities.
  • Fix CI formatting and remove the redundant MySQL client installation from the operator-semantics job.

Compatibility

UpdateStatement now includes a joins: Vec<JoinClause> field. Rust callers constructing this public struct directly must initialize the new field (use vec![] when there are no joins). Serialized statements without joins continue to deserialize with an empty list.

Validation

The release commit passed formatting, Clippy with warnings denied, all-feature and no-default-feature tests, documentation checks, benchmark smoke tests, SQLite/MySQL operator semantics, and the platform FFI/CLI build matrix. The crates.io publication dry run also passed with all features enabled.

Install

sqlglot-rust = "0.11.2"

Full changelog: v0.11.1...v0.11.2