Skip to content

Commit bd43ec7

Browse files
committed
Release PHP-Parser 4.4.0
1 parent d86ca0f commit bd43ec7

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1-
Version 4.3.1-dev
1+
Version 4.4.1-dev
22
-----------------
33

44
Nothing yet.
55

6+
Version 4.4.0 (2020-04-10)
7+
--------------------------
8+
9+
### Added
10+
11+
* Added support for passing union types in builders.
12+
* Added end line, token position and file position information for comments.
13+
* Added `getProperty()` method to `ClassLike` nodes.
14+
15+
### Fixed
16+
17+
* Fixed generation of invalid code when using the formatting preserving pretty printer, and
18+
inserting code next to certain nop statements. The formatting is still ugly though.
19+
* `getDocComment()` no longer requires that the very last comment before a node be a doc comment.
20+
There may not be non-doc comments between the doc comment and the declaration.
21+
* Allowed arbitrary expressions in `isset()` and `list()`, rather than just variables.
22+
In particular, this allows `isset(($x))`, which is legal PHP code.
23+
* [PHP 8.0] Add support for [variable syntax tweaks RFC](https://wiki.php.net/rfc/variable_syntax_tweaks).
24+
625
Version 4.3.0 (2019-11-08)
726
--------------------------
827

0 commit comments

Comments
 (0)