Skip to content

Releases: nene/prettier-plugin-sql-cst

0.14.0

26 Oct 19:24

Choose a tag to compare

New features

  • Added sqlLiteralCase option. (related to #13)
  • Support for new SQL syntax introduced by sql-parser-cst 0.34.0:
    • SET, RESET & SHOW statements of PostgreSQL
    • PREPARE, EXECUTE & DEALLOCATE statements of PostgreSQL, MySQL & MariaDB
    • CALL & DO statements of PostgreSQL

0.13.0

06 Apr 10:59

Choose a tag to compare

New features

  • Added sqlFinalSemicolon option. #50

Fixes and improvements

  • Fix formatting of plain CREATE SEQUENCE #48
  • Allow for one-line CREATE TABLE statements #46

0.12.3

18 Mar 19:52

Choose a tag to compare

Upgraded parser to 0.33.1

0.12.2

01 Jan 21:59

Choose a tag to compare

Small BigQuery parsing fix

  • Support parsing and formatting BigQuery GROUP BY ALL clause (#41)

0.12.1

27 Dec 09:20

Choose a tag to compare

Improved PostgreSQL support

  • Support GRANT/REVOKE
  • Support CREATE/ALTER/DROP ROLE
  • Support ALTER/DROP TRIGGER
  • Support additional PostgreSQL-specific transactions syntax

Other

  • Upgraded parser to 0.31.1

0.12.0

18 Nov 09:54

Choose a tag to compare

New feature

  • New option sqlAcceptUnsupportedGrammar. This will help dealing with unsupported SQL. Primarily intended for allowing one to use the plugin with SQL dialects that aren't 100% supported yet.

0.11.8

16 Nov 20:06

Choose a tag to compare

Improved PostgreSQL support

  • Formatting of CREATE/ALTER/DROP DOMAIN
  • Formatting of CREATE/ALTER/DROP TYPE

Other

  • Upgraded parser to 0.29.1

0.11.7

29 Aug 06:40

Choose a tag to compare

Small bugfix

  • Preserve parenthesis around SELECT inside function arguments #28 (thanks to @bparnell-4tel)

0.11.6

05 Aug 07:23

Choose a tag to compare

Upgrade sql-parser-cst to 0.28.1

0.11.5

27 Mar 07:24

Choose a tag to compare

Improved PostgreSQL support

  • Formatting of ALTER FUNCTION/PROCEDURE
  • Formatting of CREATE TRIGGER

Fixes

  • Various parsing fixes and improvements from sql-parser-cst 0.28.0