Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md to indicate that the current version is 110 #242

Merged
merged 1 commit into from
Aug 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Basic usage

Code can be parsed using either `ast\parse_code()`, which accepts a code string, or
`ast\parse_file()`, which accepts a file path. Additionally, both functions require a `$version`
argument to ensure forward-compatibility. The current version is 100.
argument to ensure forward-compatibility. The current version is 110.

```php
$ast = ast\parse_code('<?php ...', $version=100);
Expand Down Expand Up @@ -508,16 +508,17 @@ are listed.

### 110 (current)

Supported since 1.1.2 (2024-08-08).
Supported since 1.1.2 (2024-08-10).

* Add a `hooks` child node for `AST_PROP_ELEM` (PHP 8.4 property hooks) and `AST_PARAM` (constructor property promotion can have property hooks) (AST version 110+)
* Add a `hooks` child node for `AST_PROP_ELEM` (PHP 8.4 property hooks) and `AST_PARAM` (constructor property promotion can have property hooks)
* Add new node kinds `AST_PROPERTY_HOOK` and `AST_PROPERTY_HOOK_SHORT_BODY`.
* Remove the `name` child node from the `AST_ARROW_FUNC` and `AST_CLOSURE` nodes (previously `"{closure}"`)

### 100 (current)
### 100 (stable)

Supported since 1.1.1 (2023-11-12).

* Add a `type` child node for all AST_CLASS_CONST_GROUP nodes.
* Add a `type` child node for all `AST_CLASS_CONST_GROUP` nodes.

### 90 (stable)

Expand All @@ -529,7 +530,7 @@ Supported since 1.0.14 (2021-07-24)

Supported since 1.0.11 (2021-04-20)

* Add a `type` child node (for enum type) for all AST_CLASS nodes.
* Add a `type` child node (for enum type) for all `AST_CLASS` nodes.

### 80 (stable)

Expand Down
Loading