From aaee038b912e567780949787d5fe1977be11a778 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 18 Aug 2020 21:48:01 +0200 Subject: [PATCH] Release PHP-Parser 4.9.0 --- CHANGELOG.md | 13 ++++++++++++- composer.json | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35fb62d..aa73160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ -Version 4.8.1-dev +Version 4.9.1-dev ----------------- +Nothing yet. + +Version 4.9.0 (2020-08-18) +-------------------------- + ### Added * [PHP 8.0] Added support for named arguments, represented using a new `name` subnode on `Arg`. @@ -8,6 +13,12 @@ Version 4.8.1-dev * [PHP 8.0] Added support for throw expression, represented using a new `Expr\Throw_` node. For backwards compatibility reasons, throw expressions in statement context continue to be represented using `Stmt\Throw_`. +* [PHP 8.0] Added support for keywords as parts of namespaced names. + +### Fixed + +* Emit parentheses for class constant fetch with complex left-hand-side. +* Emit parentheses for new/instanceof on complex class expression. Version 4.8.0 (2020-08-09) -------------------------- diff --git a/composer.json b/composer.json index 9b57c22..2fd064a 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "extra": { "branch-alias": { - "dev-master": "4.8-dev" + "dev-master": "4.9-dev" } }, "autoload": {