Skip to content

Releases: sql-formatter-org/sql-formatter

15.5.2

26 Mar 08:21
Compare
Choose a tag to compare

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.1

20 Mar 09:28
Compare
Choose a tag to compare

15.5.0

20 Mar 06:42
Compare
Choose a tag to compare

Fixes

Tweaks

  • Drop get-stdin dependency. Use native stream/consumers #844 (thanks to @outslept)

15.5.0-beta.2

18 Mar 07:40
Compare
Choose a tag to compare
15.5.0-beta.2 Pre-release
Pre-release
  • Ensure valid JSON in dist/cjs/package.json (14e5daf)

15.5.0-beta.1

18 Mar 07:30
Compare
Choose a tag to compare
15.5.0-beta.1 Pre-release
Pre-release

Test out the following PR:

  • Build with tsc instead of tsup (#842)

15.4.11

22 Feb 08:05
Compare
Choose a tag to compare

PostgreSQL improvements

  • Add support for Postgresql JSON and JSONB data types (#831)

15.4.10

25 Jan 15:58
Compare
Choose a tag to compare

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

05 Jan 17:34
Compare
Choose a tag to compare

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

21 Dec 10:23
Compare
Choose a tag to compare

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

19 Dec 10:47
Compare
Choose a tag to compare

A few fixes for PostgreSQL operators

  • Support PostgreSQL OPERATOR(...) syntax (#711)
  • Support pgvector operators in PostgreSQL (#807)