Releases: sql-formatter-org/sql-formatter
Releases · sql-formatter-org/sql-formatter
15.5.2
Fixes
- Recognize optional syntax in PostgreSQL CREATE statements (#851) (thanks to @jamesarosen)
- Recognize CASCADE, NO ACTION and RESTRICT as keywords after ON UPDATE/DELETE in PostgreSQL (#849) (thanks @karlhorky)
- Support for CREATE DATABASE and USE for Transact-SQL (#606)
15.5.0
Fixes
Tweaks
- Drop
get-stdin
dependency. Use native stream/consumers
#844 (thanks to @outslept)
15.5.0-beta.2
- Ensure valid JSON in
dist/cjs/package.json
(14e5daf)
15.5.0-beta.1
Test out the following PR:
- Build with tsc instead of tsup (#842)
15.4.11
PostgreSQL improvements
- Add support for Postgresql JSON and JSONB data types (#831)
15.4.10
Fixes for PL/SQL
- Support
#
and $
in PL/SQL named parameters (#822)
- Support PL/SQL set-operator: MINUS (#825)
Fixes for SQLite
- Remove GROUPS from SQLite keywords list (#823)
15.4.9
PostgreSQL improvements
- Improved various syntax support (#813) (#820) (#821)
- Thanks to Karl Horky
Transact-SQL improvements
- Removed ODBC keywords from Transact-SQL keywords list (#819)
- Format GO on a separate line in Transact-SQL (#814)
15.4.8
Improved keyword classification
- Treat function names as identifiers when they aren't followed by
(
(#812)
- Never detect words in
foo.bar
constructs as keywords (#812)
Transact-SQL fixes
- Treat
$ACTION
as keyword (#810)
- Don't detect
CHAR
as function (only as data-type) (#811)
15.4.7
A few fixes for PostgreSQL operators
- Support PostgreSQL
OPERATOR(...)
syntax (#711)
- Support pgvector operators in PostgreSQL (#807)