Skip to content

Commit 7eb041f

Browse files
committed
Mention release versions in AST changelog
Not always entirely accurate as versions have been available longer in "experimental" state, but overall probably more useful than dates which may be far removed from the release where the version was actually available.
1 parent 6d9463c commit 7eb041f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ are listed.
520520

521521
### 50 (current)
522522

523-
Supported since 2017-07-19.
523+
Supported since 0.1.5 (2017-07-19).
524524

525525
* `ast\Node\Decl` nodes are no longer generated. AST kinds `AST_FUNC_DECL`, `AST_METHOD`,
526526
`AST_CLOSURE` and `AST_CLASS` now also use the normal `ast\Node` class. The `name` and
@@ -538,7 +538,7 @@ Supported since 2017-07-19.
538538

539539
### 45 (deprecated)
540540

541-
Supported since 2017-07-19. Deprecated since 2018-10-06.
541+
Supported since 0.1.5 (2017-07-19). Deprecated since 0.1.7 (XXX).
542542

543543
This version normalizes the AST to PHP 7.2 format.
544544

@@ -547,7 +547,7 @@ This version normalizes the AST to PHP 7.2 format.
547547

548548
### 40 (deprecated)
549549

550-
Supported since 2017-01-18. Deprecated since 2018-10-06.
550+
Supported since 0.1.4 (2017-01-25). Deprecated since 0.1.7 (XXX).
551551

552552
* `AST_COALESCE` is now represented as an `AST_BINARY_OP` with flag `BINARY_COALESCE`.
553553
* For `AST_NAME` nodes with `NAME_FQ` the leading backslash is now dropped if syntax like
@@ -563,7 +563,7 @@ Supported since 2017-01-18. Deprecated since 2018-10-06.
563563

564564
### 35 (deprecated)
565565

566-
Supported since 2016-08-04. Deprecated since 2017-07-19.
566+
Supported since 0.1.2 (2016-08-04). Deprecated since 0.1.5 (2017-07-19).
567567

568568
This version normalizes the AST to PHP 7.1 format.
569569

@@ -577,13 +577,14 @@ This version normalizes the AST to PHP 7.1 format.
577577

578578
### 30 (deprecated)
579579

580-
Supported since 2015-03-10. Deprecated since 2017-06-25.
580+
Supported since 0.1.2 (2016-08-04). Deprecated since 0.1.5 (2017-07-19).
581581

582582
* Use string names for child nodes of kinds with fixed length.
583583

584584
### 20 (removed)
585585

586-
Supported since 2015-12-14. Deprecated since 2016-08-04. Removed since 2017-01-18.
586+
Supported since 0.1.0 (2015-12-04). Deprecated since 0.1.2 (2016-08-04).
587+
Removed since 0.1.4 (2017-01-25).
587588

588589
* `AST_GREATER`, `AST_GREATER_EQUAL`, `AST_OR`, `AST_AND` nodes are now represented using
589590
`AST_BINARY_OP` with flags `BINARY_IS_GREATER`, `BINARY_IS_GREATER_OR_EQUAL`, `BINARY_BOOL_OR`
@@ -597,15 +598,16 @@ Supported since 2015-12-14. Deprecated since 2016-08-04. Removed since 2017-01-1
597598

598599
### 15 (removed)
599600

600-
Supported since 2015-10-21. Deprecated since 2016-04-30. Removed since 2016-08-04.
601+
Supported since 0.1.0 (2015-12-04). Deprecated since 0.1.2 (2016-08-04).
602+
Removed since 0.1.3 (2017-01-18).
601603

602604
* In line with an upstream change, the `docComment` property on `AST_PROP_DECL` has been moved to
603605
`AST_PROP_ELEM`. This means that each property in one property declaration can have its own
604606
doc comment.
605607

606608
### 10 (removed)
607609

608-
Initial. Removed since 2016-08-04.
610+
Initial. Deprecated since 0.1.2 (2016-08-04). Removed since 0.1.3 (2017-01-18).
609611

610612
Differences to PHP-Parser
611613
-------------------------

0 commit comments

Comments
 (0)