Skip to content

Commit aaee038

Browse files
committed
Release PHP-Parser 4.9.0
1 parent f9d35fe commit aaee038

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
Version 4.8.1-dev
1+
Version 4.9.1-dev
22
-----------------
33

4+
Nothing yet.
5+
6+
Version 4.9.0 (2020-08-18)
7+
--------------------------
8+
49
### Added
510

611
* [PHP 8.0] Added support for named arguments, represented using a new `name` subnode on `Arg`.
712
* [PHP 8.0] Added support for static return type, represented like a normal class return type.
813
* [PHP 8.0] Added support for throw expression, represented using a new `Expr\Throw_` node. For
914
backwards compatibility reasons, throw expressions in statement context continue to be
1015
represented using `Stmt\Throw_`.
16+
* [PHP 8.0] Added support for keywords as parts of namespaced names.
17+
18+
### Fixed
19+
20+
* Emit parentheses for class constant fetch with complex left-hand-side.
21+
* Emit parentheses for new/instanceof on complex class expression.
1122

1223
Version 4.8.0 (2020-08-09)
1324
--------------------------

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"extra": {
2424
"branch-alias": {
25-
"dev-master": "4.8-dev"
25+
"dev-master": "4.9-dev"
2626
}
2727
},
2828
"autoload": {

0 commit comments

Comments
 (0)