1.5.4 - 8 Feb 2026

    Total issues resolved: 0
    Total pull requests resolved: 7
    Total contributors: 3

Improvement

    173: Treat ~* as operator thanks to @vrana

Static Analysis

    172: Fix PHPStan error thanks to @derrabus

CI

    171: Bump doctrine/.github/.github/workflows/phpstan.yml from 12.2.0 to 13.1.0 thanks to @dependabot[bot]
    169: Bump doctrine/.github/.github/workflows/coding-standards.yml from 12.2.0 to 13.1.0 thanks to @dependabot[bot]
    168: Bump doctrine/.github/.github/workflows/continuous-integration.yml from 13.0.0 to 13.1.0 thanks to @dependabot[bot]
    163: Bump doctrine/.github from 12.1.0 to 12.2.0 thanks to @dependabot[bot]
    162: Bump doctrine/.github from 12.0.0 to 12.1.0 thanks to @dependabot[bot]

1.5.3 - 26 Oct 2025

    Total issues resolved: 0
    Total pull requests resolved: 5
    Total contributors: 3

Bugfixes

    157: Treat #> as operator thanks to @vrana

CI

    161: Bump dev tools and CI workflows thanks to @derrabus
    159: Bump doctrine/.github from 8.0.0 to 10.1.0 thanks to @dependabot[bot]
    154: Bump doctrine/.github from 7.2.2 to 7.3.0 thanks to @dependabot[bot]
    151: Bump doctrine/.github from 7.1.0 to 7.2.0 thanks to @dependabot[bot]

1.5.2 - 24 Jan 2025

    Total issues resolved: 0
    Total pull requests resolved: 5
    Total contributors: 3

Bug

    150: Do not assume "SET" as top level when preceded with "CHARACTER" thanks to @mvorisek

CI

    148: Bump doctrine/.github from 6.0.0 to 7.1.0 thanks to @dependabot[bot]
    146: Bump doctrine/.github from 5.3.0 to 6.0.0 thanks to @dependabot[bot]
    145: Bump doctrine/.github from 5.2.0 to 5.3.0 thanks to @dependabot[bot]
    147: Drop Psalm thanks to @greg0ire

1.5.1 - 21 Oct 2024

    Total issues resolved: 0
    Total pull requests resolved: 2
    Total contributors: 2

Bugfixes

    142: Fix format words after "." as identifiers only thanks to @mvorisek

CI

    144: Bump doctrine/.github from 5.1.0 to 5.2.0 thanks to @dependabot[bot]

1.5.0 - 1 Oct 2024

    Total issues resolved: 0
    Total pull requests resolved: 10
    Total contributors: 3

enhancement

    131: Improve tokenizer regex matching thanks to @mvorisek
    125: Improve token type phpdoc thanks to @mvorisek
    124: Add extra new line between separate queries thanks to @mvorisek
    119: Do not reallocate whole input string when matching next token thanks to @mvorisek
    115: Dedup indent level decrease code thanks to @mvorisek
    112: Use constants for the indentation block type thanks to @goetas
    101: Implement CASE WHEN format thanks to @mvorisek

CI

    138: Bump doctrine/.github from 5.0.1 to 5.1.0 thanks to @dependabot[bot]
    132: Build optimized regex from string list thanks to @mvorisek
    122: Drop unreachable error token type thanks to @mvorisek

1.4.1 - 5 Aug 2024

    Total issues resolved: 0
    Total pull requests resolved: 11
    Total contributors: 3

bugfixes

    134: Added straight_join to $reservedNewline thanks to @MaximilianKresse
    120: Fix unclosed block comment tokenize thanks to @mvorisek
    117: Make sure all internal lists do not rely on keywords order thanks to @mvorisek
    110: Fix semicolon must decrease special indentation level thanks to @mvorisek
    107: Make sure keywords are single upper words thanks to @mvorisek
    106: Add all "type reserved" MySQL keywords thanks to @mvorisek
    104: Revert uppercasing keywords in tokenizer thanks to @mvorisek
    102: Parse "NOW()" like any other function thanks to @mvorisek

Test Suite

    108: Make sure all lines are terminated by LF thanks to @mvorisek
    105: Stop being strict about coverage metadata thanks to @greg0ire
    103: Fix -x test file permissions thanks to @mvorisek

1.4.0 - 8 May 2024

    Total issues resolved: 0
    Total pull requests resolved: 3
    Total contributors: 2

Enhancement

    100: Modernize codebase for PHP 8 thanks to @derrabus

CI

    99: Bump actions/checkout from 2 to 4 thanks to @dependabot[bot]
    98: Bump doctrine/.github from 1.4.1 to 5.0.1 thanks to @dependabot[bot]

1.3.0 - 6 May 2024

    support for PHP 7.1

1.2.0 - 22 Feb 2024

    93: Force uppercase SQL keywords thanks to @rinu
    88: Add support for PostgreSQL cast operator thanks to @forrest79

1.1.3 - 18 Jun 2022

    72: Add support for common table expressions and window functions thanks to @ndm2

1.1.2 - 8 Nov 2021

    Drop useless executable bit by @DavidPrevot in #64
    Fix build by @greg0ire in #68
    Fix the query delimiter for the performance script by @stof in #67
    Add missing comparisons. by @ndm2 in #69
    Maintenance work by @greg0ire in #70
    Allow require autoloader at bin installed under vendor by @sasezaki in #74
    Update README - stop rely on github pages image. by @sasezaki in #75
    Update phpstan to ^1.0 by @sasezaki in #76
    Update psalm to ^4.11 by @sasezaki in #77
    Bump Doctrine coding standard to 9.0 by @derrabus in #79

1.1.1 - 31 Jul 2020

    62: Adapt bin/sql-formatter to SqlFormatter API thanks to @SenseException
    61: Fixed formatting of MODIFY and CHANGE thanks to @MaximilianKresse

1.1.0 - 29 May 2020

    58: Allow Php 8 thanks to @greg0ire

1.0.1 - 22 May 2020

    55: Add support for php 7.1 thanks to @greg0ire
    52: Couple more files to .gitattributes thanks to @reedy

1.0.0 - 28 Apr 2020

    48: Cursor based tokenizer thanks to @goetas
    42: Use generators thanks to @greg0ire
    24: Drop features unrelated to formatting thanks to @greg0ire
    22: Implement NullHighlighter thanks to @greg0ire
    20: The new minimum php version is 7.2 thanks to @goetas
    16: Remove public properties thanks to @greg0ire
    15: Use polymorphism to replace isCli thanks to @greg0ire
    11: Get rid of statism thanks to @greg0ire
    8: Close api thanks to @greg0ire
    4: Standards thanks to @greg0ire
    3: Namespacing thanks to @greg0ire

v1.2.17 - 12 Jan 2014

v1.2.16 - 27 Nov 2013

    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


v1.2.9 - 27 Apr 2013

v1.2.0 - 22 Dec 2012

v1.1.0 - 11 Nov 2012

v1.0.1 - 7 Oct 2012
