Skip to content

Releases: sql-formatter-org/sql-formatter

10.7.2

25 Sep 16:28
Compare
Choose a tag to compare

Bugfixes

  • Support empty SELECT; statement #447

10.7.1

20 Sep 18:35
Compare
Choose a tag to compare

Bugfixes

  • Add support for Redshift type-cast operator #450

10.7.0

20 Sep 13:02
Compare
Choose a tag to compare

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

08 Sep 06:47
Compare
Choose a tag to compare

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

06 Sep 05:50
Compare
Choose a tag to compare

Bugfixes

  • Fix error with ident.* syntax #430
  • Add missing || operator to default SQL dialect #433

10.5.0

05 Sep 17:03
Compare
Choose a tag to compare

Enhancements

  • Add language: transactsql as alias for tsql #427

10.4.0

05 Sep 07:36
Compare
Choose a tag to compare

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

03 Sep 08:44
Compare
Choose a tag to compare

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

01 Sep 11:13
Compare
Choose a tag to compare

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

10.1.1

01 Sep 05:58
Compare
Choose a tag to compare

Bugfixes

  • Fix crash caused by ROWS BETWEEN in window definitions #417 #415