Skip to content

Releases: prettier/plugin-php

v0.24.0

16 Jul 08:09
Compare
Choose a tag to compare
  • feat!: bump default formatting version to composer version with fallback to latest supported PHP (#2434, thanks @cseufert!)

Breaking Change

The plugin now infers the phpVersion option from composer.json. If no such file is found, the default fallback is changed from 7.0 to the latest supported version, currently 8.4. See the new section in the README for details.

v0.23.0

13 Jul 18:45
Compare
Choose a tag to compare

Breaking Changes

  • chore!: upgrade dependencies, drop support for node 16 (#2431)

Features

Chores

Docs

v0.22.4

20 Jan 22:46
Compare
Choose a tag to compare
  • fix: parameter comment function attribute removal (#2412, thanks @LordSalmon!)
  • chore(ci): bump codecov action

v0.22.3

19 Jan 10:42
Compare
Choose a tag to compare
  • chore(deps): πŸ€– bump php-parser from 3.1.5 to 3.2.1 and add test for reserved keyword after null-safe operator (#2411, thanks @shufo!)

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.