History log of /php-ast/php_ast.h (Results 1 – 25 of 77)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5b3b9907 12-Nov-2023 Nikita Popov

Back to dev


# a6495510 12-Nov-2023 Nikita Popov

Release 1.1.1


# d7950c2d 09-Aug-2022 Tyson Andre

Switch from 1.1.0 to 1.1.1dev


# 26880c1e 09-Aug-2022 Tyson Andre

Release php-ast 1.1.0 (#231)


# e460595b 07-Aug-2022 Tyson Andre

Add tests, flag constants for php 8.2 readonly classes (#228)

* Add tests, flag constants for php 8.2 readonly classes

* Address review comments


# 91f59467 07-Aug-2022 Tyson Andre

php-ast 1.1.0dev: Deprecate AST versions 50 and 60, drop support for php < 7.2 (#185)

* Deprecate AST versions 50 and 60

AST version 70 has been supported since php-ast 1.0.1 (2019-

php-ast 1.1.0dev: Deprecate AST versions 50 and 60, drop support for php < 7.2 (#185)

* Deprecate AST versions 50 and 60

AST version 70 has been supported since php-ast 1.0.1 (2019-02-11).

Related to #114

* Drop support for php <= 7.1

Update documentation to mention this.

* Update test expectation for AST version 60 deprecation

show more ...


# fec004c2 12-Feb-2022 Tyson Andre

Properly namespace `#[\AllowDynamicProperties]` in documentation (#220)

This was previously resolved relative to the `ast\` namespace in type
checkers or if gen_stubs supported attribute

Properly namespace `#[\AllowDynamicProperties]` in documentation (#220)

This was previously resolved relative to the `ast\` namespace in type
checkers or if gen_stubs supported attributes in the future.

show more ...


# 8f1e75f6 27-Nov-2021 Tyson Andre

Release 1.0.16: Optimize ast\Node property setting. Document `#[AllowsDynamicProperties]` in stubs (#219)

Add `#[AllowsDynamicProperties]` to AST stubs

Use OBJ_PROP_NUM for ast\Node

Release 1.0.16: Optimize ast\Node property setting. Document `#[AllowsDynamicProperties]` in stubs (#219)

Add `#[AllowsDynamicProperties]` to AST stubs

Use OBJ_PROP_NUM for ast\Node and ast\Metadata building

(Do it even for Metadata.
The resulting assembly code should be smaller and it's an example of
how to write other classes efficiently in the future)

Mark 1.0.15 and 1.0.16 as stable

show more ...


# 6b05823e 27-Nov-2021 Tyson Andre

Update php versions tested in CI, prepare the 1.0.15 release (#218)

* Update php versions tested in CI

PHP '8.1' isn't published yet on docker hub.

Start testing with php 8

Update php versions tested in CI, prepare the 1.0.15 release (#218)

* Update php versions tested in CI

PHP '8.1' isn't published yet on docker hub.

Start testing with php 8.1 in appveyor

* Prepare for a 1.0.15 release

Make it possible to test with php 8.2 without deprecation notes for
endLineno, etc. See #217

Also, document how to properly update cache slot numbers if new
properties are added to ast\Node in the future.

show more ...


# 801f3651 24-Jul-2021 Tyson Andre

Bump current version to 1.0.15-dev (#211)


# c533904c 24-Jul-2021 Tyson Andre

Support php 8.1 read-only properties, first-class callable syntax (#209)

Add php 8.1 readonly property support, first-class callables

And run all tests even after the first case fai

Support php 8.1 read-only properties, first-class callable syntax (#209)

Add php 8.1 readonly property support, first-class callables

And run all tests even after the first case fails

Mark ast version 90 as current and 85 as no longer experimental.

Add date to changelog, bump version in php_ast.h

show more ...


# 900e41ac 08-Jul-2021 Tyson Andre

Release php-ast 1.0.13 (#210)


# 83c769f5 07-Jul-2021 Tyson Andre

Support php 8.1 intersection types (#208)

* Add tests of final class constant modifier, update metadata (https://wiki.php.net/rfc/final_class_const for php 8.1)
* Support proposed php 8.

Support php 8.1 intersection types (#208)

* Add tests of final class constant modifier, update metadata (https://wiki.php.net/rfc/final_class_const for php 8.1)
* Support proposed php 8.1 intersection types (https://wiki.php.net/rfc/pure-intersection-types)
* Allow using any modifier on any class element in metadata

show more ...


# dafc341c 16-May-2021 Tyson Andre

Release php-ast 1.0.12 (#205)


# f8248ff8 14-May-2021 Tyson Andre

Support doc comments for php 8.1 code, combine equivalent switch cases (#204)

* Support parsing php 8.1 enum doc comments

Requires https://github.com/php/php-src/pull/6984
(php

Support doc comments for php 8.1 code, combine equivalent switch cases (#204)

* Support parsing php 8.1 enum doc comments

Requires https://github.com/php/php-src/pull/6984
(php 8.1 has no public alphas yet)

* Combine equivalent case statements in generated code

show more ...


# b8fa288b 20-Apr-2021 Tyson Andre

Release ast version 1.0.11 (#203)


# 28f5201f 05-Apr-2021 Tyson Andre

Support php 8.1 enums (#197)

* Support php 8.1 enums

* Test with travis and php 8.0, again

* AST_ENUM_CASE can have attributes

* Set `type` property of `AST_CLASS`

Support php 8.1 enums (#197)

* Support php 8.1 enums

* Test with travis and php 8.0, again

* AST_ENUM_CASE can have attributes

* Set `type` property of `AST_CLASS` iff ast version 85+

(iff === if and only if)

* Add AST_CLASS's type in version 85+ prior to php 8.1

* [skip ci] Document support for php 8.1 enums

show more ...


# e656c1ed 12-Sep-2020 Tyson Andre

Change version to 1.0.11dev (#184)


# 4c0c70ff 12-Sep-2020 Tyson Andre

Release php-ast 1.0.10 (#183)

* Release php-ast 1.0.10

* Fill in date in README for ast version 80


# 21057fb6 04-Sep-2020 Tyson Andre

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representati

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representation for
`attr()` and `attr`

show more ...


# 2b4a3812 04-Sep-2020 Tyson Andre

Release php-ast 1.0.9 (#175)

The API will change in php 8.0.0beta3.
Attributes syntax will change in php 8.0.0RC1.


# f0f8c3b7 05-Aug-2020 Tyson Andre

Release php-ast 1.0.8 (#171)


# faf53973 02-Aug-2020 Tyson Andre

Support the php 8.0 nullsafe operator(?->) (#169)


# c6cc7b1c 31-Jul-2020 Tyson Andre

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so that tests pass on php 8.0-dev
(they will be amended again based on the planned vote)

show more ...


# f6464b92 11-Jul-2020 Tyson Andre

Back to 1.0.8-dev (#164)


1234