Skip to content

v0.22.0

Choose a tag to compare

@chio-labs-delivery chio-labs-delivery released this 19 Nov 05:22

0.22.0 (2026-11-19)

⚠ BREAKING CHANGES

  • lint: lint now refuses a Postgres, BigQuery or Databricks statement whose tree nests past 512 levels, as Snowflake, DuckDB and SQLite already did, so 600 UNION ALL operands or 600 :: casts no longer lint in those dialects.
  • keep each comma item's joins with it in Postgres, Databricks, DuckDB and SQL Server
  • bigquery: sqlquack-syntax adds Literal::RawByteString and Literal::JoinedBytes, and GrantPrincipal gains a written field, so an exhaustive match on Literal or a GrantPrincipal struct literal no longer compiles.

Bug Fixes

  • bigquery: keep a column's and a struct field's OPTIONS (563407d)
  • bigquery: keep raw and adjacent pieces of bytes, typed literals and grantees (42ce043)
  • keep each comma item's joins with it in Postgres, Databricks, DuckDB and SQL Server (65ef255)
  • lint: a join inside UPDATE FROM never limits the write (2786df7)
  • lint: add the call-depth note only to refusals of SQL that calls something (30b4ed0)
  • lint: leave a fixture harness's empty relation out of the call depth (f5af215)
  • lint: make max_function_call_depth the exact limit in every linted dialect (22a2a4c)
  • lint: read cross joins and join keys inside FROM items (9db4571)
  • lint: refuse native trees past the 512 depth ceiling, as the shared parser does (5c7768c)
  • list a nested USING or NATURAL key once in a star (2ddd78a)