Skip to content

Releases: sql-formatter-org/sql-formatter

10.8.0-beta.6

29 Sep 06:51
Compare
Choose a tag to compare
10.8.0-beta.6 Pre-release
Pre-release

Improvements

  • Target Node 14.x in ESM build #474

10.8.0-beta.5

27 Sep 08:43
Compare
Choose a tag to compare
10.8.0-beta.5 Pre-release
Pre-release
  • Fix bad merge #470

10.8.0-beta.4

27 Sep 08:32
Compare
Choose a tag to compare
10.8.0-beta.4 Pre-release
Pre-release

Improvements

  • Allow comments inside CASE sub-expressions #464
  • Better formatting of inline block-comments #462

10.8.0-beta.3

27 Sep 08:20
Compare
Choose a tag to compare
10.8.0-beta.3 Pre-release
Pre-release

Bugfixes

  • Fix publishing to unpkg.com #469

10.8.0-beta.2

27 Sep 07:58
Compare
Choose a tag to compare
10.8.0-beta.2 Pre-release
Pre-release

Bugfixes

  • Fixes for commonjs & ESM exporting #467

10.8.0-beta.1

27 Sep 06:03
Compare
Choose a tag to compare
10.8.0-beta.1 Pre-release
Pre-release

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

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