Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:52
85f15ec

0.4.0 (2026-11-10)

Upgrade notes

  • config: sqlquack.toml now holds only your project's choices: [project] (sources, session and Python runtime), [allow] (name = true or false for each known difference) and [replace] (folder and verified). The evidence behind each translation is built in. Rewrite an old policy-style sqlquack.toml as [allow] lines; sqlquack explain --differences lists the names. --policy is now --config, and --builtin-policy is now --no-config. In Python, use ConvertOptions(config=…, no_config=…). --utc-session, --confirm-declared-offsets and --loud-divergences-only are removed.
  • defaults: every known difference is allowed by default except hash, sequences, source_variant_json, variant_chain_type and project_udf. To refuse the value differences as --loud-divergences-only did, list them as false in [allow]; explain --differences marks which they are.
  • strict: --strict refuses every known difference whatever [allow] says. It now treats a UTC session time zone and declared offsets as facts, so statements that rely only on them convert under --strict without the removed opt-in flags.
  • sessions: with no configuration, session parameters that match a recorded session profile (for example WEEK_START) now convert. Parameters that match none are refused, with a line naming the parameter.

⚠ BREAKING CHANGES

  • config: split the user sqlquack.toml from the evidence policy

Features

  • config: split the user sqlquack.toml from the evidence policy (017327d)

Bug Fixes

  • config: keep refusing a fact under --strict when [allow] refuses it (6fc9ba1)

Performance Improvements

  • syntax: cap the token list a tokenize run reserves up front (f9f37b3)