Skip to content

Releases: sql-formatter-org/sql-formatter

12.2.1

21 May 18:04
Compare
Choose a tag to compare

Bugfixes

  • Support named arguments for BigQuery (#603) (thanks to pokutuna)

12.2.0

22 Mar 15:50
Compare
Choose a tag to compare

New feature

  • Custom paramTypes config (#582)

12.1.4

21 Mar 10:12
Compare
Choose a tag to compare
  • Export ParamItems and ParamTypes at top level #577

12.1.3

09 Mar 08:15
Compare
Choose a tag to compare

Bugfixes

  • Add FOR UPDATE clause support for Postgres (#574) (thanks to Nathan Walters)

12.1.2

17 Feb 19:50
Compare
Choose a tag to compare

Enhancements

  • Support BigQuery system variables (#568)

12.1.1

17 Feb 13:45
Compare
Choose a tag to compare

Bugfixes

  • Fix long-standing bug: BETWEEN operator followed by AND operator no more causes a crash (#566)
  • Fix formatting of IS [NOT] DISTINCT FROM operator (#565)
  • Improve formatting of block comments that aren't doc-comments (#559)

12.1.0

27 Jan 10:15
Compare
Choose a tag to compare

New feature

  • New command line flag --fix for formatting files in-place (#406)

12.0.6

22 Jan 19:00
Compare
Choose a tag to compare

Bugfix

  • Allow DB2 identifiers to start with $, @, # chars #550

12.0.5

10 Jan 17:40
Compare
Choose a tag to compare

Bugfixes

  • Fixed trailing comment handling with commaPosition option (thanks to Stanislav Germanovskii) #505

Dependency updates

  • Bumped json5 from 1.0.1 to 1.0.2 (#548)

12.0.4

15 Dec 11:53
Compare
Choose a tag to compare

Bugfixes

  • Fix formatting of ON CONFLICT clause (#535)
  • Support QUALIFY clause in Snowflake (#539)