Releases: prettier/plugin-php
Releases Β· prettier/plugin-php
v0.24.0
- 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
Breaking Changes
- chore!: upgrade dependencies, drop support for node 16 (#2431)
Features
- feat: format new without parenthesis in PHP 8.4 (#2422, thanks @claytonrcarter!)
- feat: add support for PHP 8.3 typed class constants (#2433, thanks @mreiden!)
- feat: add typescript support (#2407, thanks @ntnyq!)
Chores
- Update
linguist-languages
to v8 (#2428, thanks @fisker!) - Run tests on Node.js v22 & v24 (#2429, thanks @fisker!)
- fix(dosc): edited the build badge (#2425, thanks @Ocheretovich!)
Docs
v0.22.4
v0.22.3
v0.22.2
v0.22.1
v0.22.0
0.21.0
v0.20.1
v0.20.0
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.