From 6608f01670c3cc5079e18c1dab1104e002579143 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 21 Jul 2021 12:44:31 +0200 Subject: [PATCH] Release PHP-Parser 4.12.0 --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c8e34e..18b7000 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,22 @@ -Version 4.11.1-dev +Version 4.12.1-dev ------------------ Nothing yet. +Version 4.12.0 (2021-07-21) +--------------------------- + +### Added + +* [PHP 8.1] Added support for readonly properties (through a new `MODIFIER_READONLY`). +* [PHP 8.1] Added support for final class constants. + +### Fixed + +* Fixed compatibility with PHP 8.1. `&` tokens are now canonicalized to the + `T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG` and `T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG` tokens + used in PHP 8.1. This happens unconditionally, regardless of whether the emulative lexer is used. + Version 4.11.0 (2021-07-03) ---------------------------