Skip to content

Commit d0826bd

Browse files
committed
Add changelog entries
1 parent 5ea6c29 commit d0826bd

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Version 5.2.0-dev
2+
-----------------
3+
4+
### Added
5+
6+
* [8.4] Added support for `__PROPERTY__` magic constant, represented using a
7+
`Node\Scalar\MagicConst\Property` node.
8+
* [8.4] Added support for property hooks, which are represented using a new `hooks` subnode on
9+
`Node\Stmt\Property` and `Node\Param`, which contains an array of `Node\PropertyHook`.
10+
* [8.4] Added support for asymmetric visibility modifiers. Property `flags` can now hold the
11+
additional bits `Modifiers::PUBLIC_SET`, `Modifiers::PROTECTED_SET` and `Modifiers::PRIVATE_SET`.
12+
* [8.4] Added support for generalized exit function. For backwards compatibility, exit without
13+
argument or a single plain argument continues to use a `Node\Expr\Exit_` node. Otherwise (e.g.
14+
if a named argument is used) it will be represented as a plain `Node\Expr\FuncCall`.
15+
* Added support for passing enum values to various builder methods, like `BuilderFactory::val()`.
16+
17+
### Removed
18+
19+
* Removed support for alternative array syntax `$array{0}` from the PHP 8 parser. It is still
20+
supported by the PHP 7 parser. This is necessary in order to support property hooks.
21+
122
Version 5.1.0 (2024-07-01)
223
--------------------------
324

0 commit comments

Comments
 (0)