Skip to content

Releases: sql-formatter-org/sql-formatter

15.4.2

06 Sep 06:10
Compare
Choose a tag to compare

Bugfix

  • Support assignment operator in Snowflake (#775)

15.4.1

28 Aug 06:37
Compare
Choose a tag to compare

Bugfixes

  • Allow TYPE to be used as an identifier in Snowflake #771

15.4.0

09 Aug 10:57
Compare
Choose a tag to compare

New features

  • Support auto-detected config file .sql-formatter.json (#766) thanks to Jonathan Schuster

Minor improvements

  • Support GREATEST_IGNORE_NULLS in Snowflake dialect (#758) thanks to Max R
  • Throw error when empty regex in custom paramTypes config (#754)

15.3.2

20 Jun 07:05
Compare
Choose a tag to compare
  • Fix parsing of /** **/ nested block comments (#747) (thanks to Wylie Conlon)

15.3.1

23 Apr 06:27
Compare
Choose a tag to compare

Bugfixes

  • Added ^@ operator for PostgreSQL #734

15.3.0

16 Mar 18:56
Compare
Choose a tag to compare

New dialect

  • TiDB Support (#724)

Bugfixes

  • Properly detect PostgreSQL TEXT as data type (#726)
  • Format DEFAULT VALUES clause for PostgreSQL (#720)
  • Format PRIMARY KEY and GENERATED constraints in PostgreSQL (#714)

15.2.0

30 Jan 09:15
Compare
Choose a tag to compare

Larger change in PostgreSQL keywordCase handling

  • Removed almost all of PostgreSQL non-reserved keywords #709

The keywords list that's used for uppercasing keywords is now much smaller.
This will lead to some keywords not being uppercased any more.
But it will eliminate several cases where table and column names were detected as keywords and uppercased.

15.1.3

26 Jan 09:32
Compare
Choose a tag to compare

Bugfixes

  • Allow for keywords after : operator in Snowflake #706

15.1.2

22 Jan 15:06
Compare
Choose a tag to compare

Bugfixes

  • Fix tabular formatting for CREATE TABLE #690

15.1.1

22 Jan 11:06
Compare
Choose a tag to compare

Bugfixes

  • Format Transact-SQL OPTION () clause on a separate line #705
  • Format Transact-SQL FOR clause on a separate line