Skip to content

Releases: sql-formatter-org/sql-formatter

13.0.3

31 Oct 13:04
Compare
Choose a tag to compare

Bugfix

  • Fix crash with BETWEEN inside CASE expression #500 (Thanks to Zhongxian Liang)

13.0.2

25 Oct 08:25
Compare
Choose a tag to compare

Bugfixes

  • Fix detection of MySQL identifiers that start with number and contain unicode letters #651

13.0.1

23 Oct 15:22
Compare
Choose a tag to compare

Bugfixes

  • Support array slice operator in Postgres (#624)

13.0.0

01 Sep 11:06
Compare
Choose a tag to compare

Breaking changes

  • Reduced the keywords lists of MySQL, MariaDB and SingleStoreDB to just the reserved ones. #629
    This means that using keywordCase: upper no more capitalizes words like user and name.
  • Changed how COMMENT keyword is formatted. #636
    In dialects like MariaDB (which allow it inside CREATE TABLE statement) it is no more placed on a separate line.
    In dialects which support COMMENT ON ... statement, it only triggers a new line when used together with ON.

Bugfixes

  • Fixed crash when encountering goto labels in Transact-SQL #632
  • Fix formatting of ON DUPLICATE KEY UPDATE clause in MariaDB-like dialects. #605
  • Fix formatting of VALUES() function in MariaDB-like dialects. #605

12.2.4

23 Jul 12:02
Compare
Choose a tag to compare

Bugfix

  • Fix EAGAIN error when reading stdin (Thanks to @seblj #621)

12.2.3

14 Jun 09:51
Compare
Choose a tag to compare

Bugfixes

  • Add SELECT..INTO support for TSQL (#609) (thanks to Grant Forsythe)

12.2.2

09 Jun 06:17
Compare
Choose a tag to compare

Bugfixes

  • Improve handling of GO statements in Transact-SQL (#606) (thanks to Grant Forsythe)

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