Skip to content

Releases: prettier/plugin-php

0.19.5

22 May 15:44
Compare
Choose a tag to compare
  • fix: add option for PHP 8.2 (#2179)
    Note: This allows setting phpVersion to 8.2 - Support for PHP 8.2 is still incomplete, though!

0.19.4

14 Mar 11:55
Compare
Choose a tag to compare

This release includes several internal cleanups and updates, thanks to contributions by @fisker!

  • improve doc print and update prettier dependency (#1922)
  • use clean.ignoredProperties (#2158)
  • Remove handling \r (#2157)
  • dependency updates

0.19.3

19 Jan 07:24
Compare
Choose a tag to compare
  • feat: add support for readonly classes [PHP 8.2] (#2131, thanks @genintho!)
  • chore: upgrade dependencies (#2134)

0.19.2

02 Nov 06:28
Compare
Choose a tag to compare

Deprecations

The psr2 setting for the braceStyle option has been renamed to per-cs to be more in line with future PER releases (see #2060 for details). psr2 will continue to work for now, but will be removed in a future release.

Bugfixes

  • Support expressions in new statement (#2086, thanks @cseufert!)
  • Fix for function curly brace with attrs (#2089, thanks @cseufert!)
  • Deprecated PSR-2 braceStyle and use PER-CS instead (#2070, thanks @cseufert!)

0.19.1

13 Sep 16:59
Compare
Choose a tag to compare

0.19.0

07 Sep 07:23
Compare
Choose a tag to compare
  • fix: formatting of long cases in match statement (#2054)
  • chore: upgrade dependencies (#2059)

Breaking Change:

  • Dropped support for Node v12.

0.18.9

02 Jul 19:05
Compare
Choose a tag to compare
  • feat: bump parser for PHP 8.1 explicit octal support (#2027)

0.18.8

10 Jun 19:10
Compare
Choose a tag to compare
  • fix: calls with multiple array spreads (#2010)
  • chore: upgrade dependencies (#2011)

0.18.7

30 May 21:19
Compare
Choose a tag to compare
  • fix: enum as identifier (#1995)
  • fix: improve formatting for match cases (#1994, thanks @AndreasA!)

0.18.6

25 May 22:02
Compare
Choose a tag to compare
  • feat: add PHP 8.1 first class callable support (#1991)