Repository navigation
Releases
Releases · sql-formatter-org/sql-formatter
15.10.0
15.9.1
15.9.0
Parsing improvements
- Support
\restrictand\unrestrictcommands found in SQL created bypg_dump(#935) (thanks to sophalter) - Treat a reserved word after
ASas an alias (#801, #972) (thanks to Christopher Pruijsen) - Support
%as the modulo operator in SingleStoreDB (#578, #971) (thanks to Max Freedom Pollard)
Formatting improvements
- Keep a space when densing
-before a negative operand (thanks to Sarath Francis) - Keep spaces around PostgreSQL
OPERATOR()withdenseOperators(#958) (thanks to Sarath Francis) - Remove extra space after
BETWEEN _ AND _expression (#959) (thanks to Sarath Francis) - Keep DuckDB array-slice colon dense inside
[](#960) (thanks to Vincent Gao)
Performance
15.8.2
15.8.1
15.8.0
PostgreSQL formatting
- Add support for PostgreSQL keywords in
CREATE CONSTRAINT TRIGGER(#948) (thanks to @karlhorky)
Internal changes
- Switch from yarn to pnpm (#949)