Skip to content

0.1.0a1

Pre-release
Pre-release

Choose a tag to compare

@gmr gmr released this 27 Mar 16:44
· 33 commits to main since this release
73d3412

What's Changed

Added

  • New SQL formatting styles: dbt-modern (lowercase keywords), GitLab, Kickstarter, and mattmc3 modern SQL (#2)
  • AWeber-style formatter with river alignment, CASE expression formatting, and nested CTE support (#1, #2)
  • River-style SQL formatter as the base for alignment-driven styles, including subquery indentation, CTE support, and CREATE TABLE/VIEW/FUNCTION/DOMAIN/MATERIALIZED VIEW (#1)
  • Mozilla-style SQL formatter (#1)
  • CLI and Python library API with passthrough for unsupported statement types
  • MkDocs documentation for CLI, API, and all formatting styles

Fixed

  • Nested CTE river width inheritance: width is now always computed as the maximum of the inherited width and the local unified river width, ensuring consistent alignment across nested WITH scopes (#2)
  • CASE expression multi-line THEN/ELSE value indentation in AWeber style (#2)
  • Integer and float zero literal parsing
  • USING clause preservation and passthrough output normalization in Mozilla style
  • CREATE FUNCTION STRICT/SECURITY option parsing