Releases: sql-formatter-org/sql-formatter
Releases · sql-formatter-org/sql-formatter
13.0.3
Bugfix
- Fix crash with BETWEEN inside CASE expression #500 (Thanks to Zhongxian Liang)
13.0.2
Bugfixes
- Fix detection of MySQL identifiers that start with number and contain unicode letters #651
13.0.1
Bugfixes
- Support array slice operator in Postgres (#624)
13.0.0
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
Bugfix
- Fix EAGAIN error when reading stdin (Thanks to @seblj #621)
12.2.3
Bugfixes
- Add SELECT..INTO support for TSQL (#609) (thanks to Grant Forsythe)
12.2.2
Bugfixes
- Improve handling of GO statements in Transact-SQL (#606) (thanks to Grant Forsythe)
12.2.1
Bugfixes
- Support named arguments for BigQuery (#603) (thanks to pokutuna)
12.2.0
New feature
- Custom paramTypes config (#582)
12.1.4
- Export
ParamItems
and ParamTypes
at top level #577