From 4432ba399e47c66624bc73c8c0f811e5c109576f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 3 May 2021 21:11:20 +0200 Subject: [PATCH] Release PHP-Parser 4.10.5 --- CHANGELOG.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c44bc648e..2eb45056e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,27 @@ -Version 4.10.5-dev +Version 4.10.6-dev ------------------ Nothing yet. +Version 4.10.5 (2020-05-03) +--------------------------- + +### Added + +* [PHP 8.1] Added support for enums. These are represented using the `Stmt\Enum_` and + `Stmt\EnumCase` nodes. +* [PHP 8.1] Added support for never type. This type will now be returned as an `Identifier` rather + than `Name`. +* Added `ClassConst` builder. + +### Changed + +* Non-UTF-8 code units in strings will now be hex-encoded. + +### Fixed + +* Fixed precedence of arrow functions. + Version 4.10.4 (2020-12-20) ---------------------------