Skip to content

Releases: prettier/plugin-php

v0.22.2

03 Feb 20:53
Compare
Choose a tag to compare

What's Changed

  • Make chain breaking as similar to original prettier (js) as much as possible by @eldair in #2320
  • fix: πŸ› singleQuote option does not work on format API by @shufo in #2303
  • chore: upgrade dependencies by @czosel in #2321

New Contributors

Full Changelog: v0.22.1...v0.22.2

v0.22.1

16 Dec 19:05
Compare
Choose a tag to compare

v0.22.0

16 Dec 18:56
Compare
Choose a tag to compare
  • feat: make format compatible with "PER Coding Style 2.0" (#2269, thanks @ferchoz)
  • fix: make /standalone entry work with require() (#2247, thanks @shufo)
  • chore: upgrade deps (#2289)

0.21.0

15 Oct 12:08
Compare
Choose a tag to compare

Breaking changes

This release drops support for node v14.

v0.20.1

18 Aug 20:07
Compare
Choose a tag to compare

This package is now pure ESM.

v0.20.0

16 Aug 19:54
Compare
Choose a tag to compare

Many thanks to @fisker for many contributions!

  • feat: upgrade to prettier 3 (#2200)
  • Simplify print() (#2212)
  • Convert tests to ES Modules (#2210)
  • Fix standalone test (#2211)
  • Update .gitattributes (#2209)

Breaking Change

This adds support for Prettier v3. It also drops compatibility with Prettier v1 and v2.

0.19.7

16 Aug 07:09
Compare
Choose a tag to compare

0.19.6

11 Jun 15:19
Compare
Choose a tag to compare
  • Add support for final class const (#2186, thanks @cseufert!)
  • chore: upgrade dependencies (#2193)

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