Skip to content

Releases: xp-framework/ast

8.1.0: Readonly classes

14 May 15:03
Compare
Choose a tag to compare
  • Merged PR #37: Implement readonly modifier for classes - @thekid

8.0.1: Namespace keyword fix

03 Apr 10:12
Compare
Choose a tag to compare

8.0.0: Annotations and comments rework

06 Jan 23:49
Compare
Choose a tag to compare

This major release promotes annotations and comments to Node subclasses, making it easy to implement different emitter scenarios for them. For example, classes to be used with the XP Framework will have meta information attached to them, while others will not, reducing their dependencies.

  • Merged PR #35: Support static closures (static fn() => ...) - @thekid
  • Implemented xp-framework/rfc#341: Drop XP 9 compatibility - @thekid
  • Merged PR #34: Refactor annotations from associative arrays to instances
    of the lang.ast.nodes.Annotations class.
    (@thekid)
  • Merged PR #33: Refactor apidoc comments from bare strings to instances
    of the lang.ast.nodes.Comment class.
    (@thekid)

7.7.2: PHP 8.2 fixes

08 Dec 19:56
Compare
Choose a tag to compare
  • Fixed PHP 8.2 warning about dynamic properties - @thekid

7.7.1: XP 11 compatibility

21 Oct 16:04
Compare
Choose a tag to compare
  • Made library compatible with XP 11 - @thekid

7.7.0: Callable new syntax

06 Oct 18:52
Compare
Choose a tag to compare
  • Merged PR #32: Support new T(...) callable syntax - @thekid

7.6.2: Grouped use parsing fix

01 Oct 11:24
Compare
Choose a tag to compare
  • Fixed #31: Call to undefined method lang\ast\syntax\PHP::expecting()
    (@thekid)

7.6.1: Use statement fixes

26 Sep 12:46
Compare
Choose a tag to compare
  • Fixed use statement not supporting multiple imports separated by ,.
    (@thekid)
  • Fixed importing global classes into namespaces, e.g. use Traversable.
    (@thekid)

7.6.0: Readonly properties

11 Sep 12:39
Compare
Choose a tag to compare

7.5.1: Switch statement fix

06 Sep 20:01
Compare
Choose a tag to compare
  • Fixed Expected ":", have "::" in switch for class constants - @thekid