Releases: nene/prettier-plugin-sql-cst
Releases · nene/prettier-plugin-sql-cst
0.12.2
Small BigQuery parsing fix
- Support parsing and formatting BigQuery
GROUP BY ALL
clause (#41)
0.12.1
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
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
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
Small bugfix
- Preserve parenthesis around SELECT inside function arguments #28 (thanks to @bparnell-4tel)
0.11.6
Upgrade sql-parser-cst to 0.28.1
0.11.5
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
0.11.4
Update parser to 0.27.1
- Bringing in support for
$nr
parameter types.
0.11.3
Support for latest BigQuery syntax
Upgraded the parser to support latest (as of 31. Jan 2024) BigQuery syntax.
Notably this includes:
- support for
PRIMARY KEY
and FOREIGN KEY
OPTIONS()
in view columns
GROUP BY
with CUBE()
, ROLLUP()
, GROUPING SETS
Improved PostgreSQL support
CREATE/DROP/ALTER INDEX
and REINDEX
are now supported
0.11.2
Improved PostgreSQL support
- Formatting of
CREATE TABLE
- Formatting of
CREATE FOREIGN TABLE
- Formatting of
ALTER TABLE
- Formatting of
CREATE/ALTER/DROP SEQUENCE
- Formatting of
CREATE/ALTER/DROP VIEW
- Formatting of
CREATE/ALTER/DROP MATERIALIZED VIEW
- Formatting of
REFRESH MATERIALIZED VIEW
- Formatting of
CREATE/ALTER/DROP SCHEMA