Skip to content

Releases: xp-framework/ast

13.0.0: Promoted property hooks

Choose a tag to compare

@thekid thekid released this 05 Jul 15:33
  • Merged PR #64: Support property hooks in promoted parameters - @thekid

12.2.1: Yield precedence fix

Choose a tag to compare

@thekid thekid released this 27 Jun 09:12
  • Added extensive testing for yield expressions, fixing additional
    situations when used in conjunction with prefix operators. Interpret
    yield + 1 becomes yield (+1) vs. (yield) + 1
    (@thekid)
  • Fixed parsing $offset[yield] ?? null - @thekid

12.2.0: Refactor function scopes

Choose a tag to compare

@thekid thekid released this 23 May 18:39
  • Merged PR #61: Refactor function scopes: Capturing and returning.
    • fn captures variables from the surrounding scope
    • function does not
    • => ... is short for { return ... }
      (@thekid)

12.1.2: Unclosed types parsing fix

Choose a tag to compare

@thekid thekid released this 16 May 09:13
  • Fixed errors when parsing unclosed types - @thekid

12.1.1: IIFE parsing fix

Choose a tag to compare

@thekid thekid released this 16 May 08:43

12.1.0: Logical assignment operators

Choose a tag to compare

@thekid thekid released this 23 Apr 18:27

12.0.0: Partial function application

Choose a tag to compare

@thekid thekid released this 14 Feb 10:52
  • Merged PR #57: Add syntactic support for partial function application
    (@thekid)

11.8.0: Type parsing

Choose a tag to compare

@thekid thekid released this 21 Dec 15:33
  • Added PHP 8.6 to the test matrix following the Nov 2025 PHP 8.5 release
    (@thekid)
  • Made lang.ast.syntax.PHP::type0() public. This method parses a single
    type without support for unions and intersections
    (@thekid)

11.7.1: Multiple annotations fix

Choose a tag to compare

@thekid thekid released this 06 Jul 20:47
  • Fixed more than one annotation on an element only yielding the last.
    (@thekid)

11.7.0: Clone with

Choose a tag to compare

@thekid thekid released this 22 Jun 07:40