Releases · sql-formatter-org/sql-formatter

15.7.3

Bugfixes

  • Properly format TIMESTAMP WITH TIME ZONE in Trino (#936)
  • Add missing PostgreSQL operators and fix >^ geometric operator (#938) (thanks to Matthew Rathbone)
  • Add the missing OPENJSON Transact-SQL function (#937) (thanks to nuintun)

15.7.2

  • Support CORRESPONDING keyword on Trino set operations (#934)

15.7.1

Bugfix

  • Remove multi-word functions names from MySQL (#933)

15.7.0

New dialect

15.6.12

Minor improvement

  • Support UUID functions of PostgreSQL 18 (#925)

15.6.11

Minor fixes

  • Format COMMENT ON as keywords in PostgreSQL

15.6.10

Bugfixes

  • Don't change indentation inside /*sql-formatter-disable*/ comments (#906)

Transact-SQL improvements

  • Properly format basic CREATE/DROP/ALTER FUNCTION/PROCEDURE (#865)
  • Don't format COLLATE as statement (#905)

15.6.9

Bugfix

  • Support ALTER FUNCTION/PROCEDURE in Transact-SQL (#903)

15.6.8

  • Support ARRAY[] syntax in Redshift (#884)

15.6.7

Minor fixes and improvements

  • Treat WITH TIMEZONE as datatype not as a keyword (#896) (thanks to Eniko Nagy)
  • Support RETURNING clause in SQLite (#870)
  • Support IDENTIFIER() syntax in Snowflake (#883)
  • Support underscore in numeric literals of DuckDB & PostgreSQL (#891) (thanks to Hamilton Ulmer)