Releases: sql-formatter-org/sql-formatter
Releases · sql-formatter-org/sql-formatter
10.8.0-beta.1
Improvements
- The library is now exported as ES module #455 (fixing #105)
- Improved CASE expression formatting in tabular mode #458 (fixing #401)
10.7.2
Bugfixes
- Support empty
SELECT;
statement #447
10.7.1
Bugfixes
- Add support for Redshift type-cast operator #450
10.7.0
Improvements
- Error messages now contain line and column number #442
Internals
- Comments are now attached to AST nodes #439
- Eliminated end index from Token, only the start index is only ever needed #440 #448
10.6.0
Bugfixes
- Parenthesized expression length is now calculated correctly when it contains replaced parameters #245
- Parenthesized expression length calculation now also takes account
denseOperators
option.
Internal changes
- Rewrite of inline block formatting logic #429
10.5.1
Bugfixes
- Fix error with
ident.*
syntax #430
- Add missing
||
operator to default SQL dialect #433
10.5.0
Enhancements
- Add
language: transactsql
as alias for tsql
#427
10.4.0
Bugfixes
- Fix parse error in BETWEEN expressions that use tbl.col syntax #423
- Don't support backslash escapes when SQL dialect only supports repeated-quote escapes #308
Mildly breaking changes
- All strings and identifiers no more support all kinds of escaping (e.g. both
\"
and ""
) #425
- Unclosed strings/quoted-identifiers (like
"...
) are no more supported #425
- All possible single-char operators are no more supported in all dialects (only operators specific to the dialect) #426
10.3.0
Improvements
- Support nested block comments in PostgreSQL and Transact-SQL #422 #411
Mildly breaking changes
- Unclosed block comments (like
/* ...
) will now produce an error
10.2.0
Bugfixes
- Fix formatting of TIMESTAMP WITH TIME ZONE in PostgreSQL #391
- Fix formatting of FOR UPDATE clause in PL/SQL #340
Internal changes
- Reduce coupling between Tokenizer and TokenizerEngine #416