Releases: sql-formatter-org/sql-formatter
Releases · sql-formatter-org/sql-formatter
15.3.2
- Fix parsing of
/** **/
nested block comments (#747) (thanks to Wylie Conlon)
15.3.1
Bugfixes
- Added
^@
operator for PostgreSQL #734
15.3.0
New dialect
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
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
Bugfixes
- Allow for keywords after
:
operator in Snowflake #706
15.1.2
Bugfixes
- Fix tabular formatting for CREATE TABLE #690
15.1.1
Bugfixes
- Format Transact-SQL
OPTION ()
clause on a separate line #705
- Format Transact-SQL
FOR
clause on a separate line
15.1.0
New features
- Add support for disable/enable comments to turn off formatting for sections of SQL file #703
- Allow passing inline JSON config object from command line (e.g.
--config '{"keywordCase": "upper"}'
) #701
Bugfixes
- Treat
ASC
,DESC
as reserved words in "sql"
dialect #702
- Fix crash when
database..table
syntax encountered in Transact-SQL #700
15.0.2
Bugfix
- Export
KeywordCase
and DataTypeCase
types
15.0.1
Bugfix
- Improve
IDENTIFIED BY
formatting in MySQL, MariaDB & SingleStoreDB (#691) Thanks to eeXun