1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Release PHP-Parser 4.10.0

This commit is contained in:
Nikita Popov 2020-09-19 16:52:48 +02:00
parent c7dc3ce552
commit 1c13d05035

View File

@ -1,8 +1,25 @@
Version 4.9.2-dev Version 4.10.1-dev
----------------- ------------------
Nothing yet. Nothing yet.
Version 4.10.0 (2020-09-19)
---------------------------
### Added
* [PHP 8.0] Added support for attributes. These are represented using a new `AttributeGroup` node
containing `Attribute` nodes. A new `attrGroups` subnode is available on all node types that
support attributes, i.e. `Stmt\Class_`, `Stmt\Trait_`, `Stmt\Interface_`, `Stmt\Function_`,
`Stmt\ClassMethod`, `Stmt\ClassConst`, `Stmt\Property`, `Expr\Closure`, `Expr\ArrowFunction` and
`Param`.
* [PHP 8.0] Added support for nullsafe properties inside interpolated strings, in line with an
upstream change.
### Fixed
* Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.
Version 4.9.1 (2020-08-30) Version 4.9.1 (2020-08-30)
-------------------------- --------------------------