From 1c13d05035deff45f1230ca68bd7d74d621762d9 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 19 Sep 2020 16:52:48 +0200 Subject: [PATCH] Release PHP-Parser 4.10.0 --- CHANGELOG.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33ab23b..0ab268c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,25 @@ -Version 4.9.2-dev ------------------ +Version 4.10.1-dev +------------------ 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) --------------------------