Skip to content

Releases: jdorn/sql-formatter

Version 1.2.16 Stable

28 Nov 15:28
Compare
Choose a tag to compare

Summary of changes since last tagged release:

  • Added SqlFormatter::compress method for formatting queries on a single line. Useful for copy/pasting into the command line
  • Improved reserved word detection. For example, count is only a reserved word when followed by parentheses now
  • More reserved words recognized
  • Highlighting support for SQL variables and binary/hex numbers
  • Better formatting of LIMIT clauses
  • Increased PHPUnit code coverage
  • Performance improvements
  • Better negative number formatting