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

Release PHP-Parser 4.9.0

This commit is contained in:
Nikita Popov 2020-08-18 21:48:01 +02:00
parent f9d35fe11e
commit aaee038b91
2 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,11 @@
Version 4.8.1-dev Version 4.9.1-dev
----------------- -----------------
Nothing yet.
Version 4.9.0 (2020-08-18)
--------------------------
### Added ### Added
* [PHP 8.0] Added support for named arguments, represented using a new `name` subnode on `Arg`. * [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 * [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 backwards compatibility reasons, throw expressions in statement context continue to be
represented using `Stmt\Throw_`. 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) Version 4.8.0 (2020-08-09)
-------------------------- --------------------------

View File

@ -22,7 +22,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "4.8-dev" "dev-master": "4.9-dev"
} }
}, },
"autoload": { "autoload": {