From f5d334d9bff79bfe75c5fcb30c03e5a383b2b660 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 16 Sep 2016 14:18:19 +0200 Subject: [PATCH] Release PHP-Parser 3.0.0 beta 1 --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5148368..d693c91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,21 @@ Version 3.0.0-dev +----------------- +Nothing yet. + +Version 3.0.0-beta1 (2016-09-16) +-------------------------------- ### Added +* [7.1] Function/method and parameter builders now support PHP 7.1 type hints (void, iterable and + nullable types). +* Nodes and Comments now implement `JsonSerializable`. The node kind is stored in a `nodeType` + property. * The `InlineHTML` node now has an `hasLeadingNewline` attribute, that specifies whether the preceding closing tag contained a newline. The pretty printer honors this attribute. +* Partial parsing of `$obj->` (with missing property name) is now supported in error recovery mode. +* The error recovery mode is now exposed in the `php-parse` script through the `--with-recovery` + or `-r` flags. The following changes are also part of PHP-Parser 2.1.1: