Skip to content

Releases: xp-framework/compiler

9.11.0: Refactor function scopes

23 May 18:50

Choose a tag to compare

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

9.10.0: Logical assignment operators

23 Apr 18:55

Choose a tag to compare

  • Merged PR #190: Implement logical AND and OR assignment operators &&=
    and ||=, see #133
    (@thekid)

9.9.0: Partial function application

14 Feb 14:13

Choose a tag to compare

9.8.0: PHP 8.5, void casts

12 Jan 19:23

Choose a tag to compare

9.7.0: Native clone with, PHP 8.5 fixes

06 Sep 09:19

Choose a tag to compare

  • Changed PHP 8.5 emitter to emit clone with expressions natively now
    that the RFC has been implemented
    (@thekid)
  • Fixed the warning Using null as an array offset is deprecated, use an
    empty string instead
    in PHP 8.5+
    (@thekid)
  • Fixed the error Arrow functions on the right hand side of |> must be
    parenthesized
    - see https://externals.io/message/128473#128554
    (@thekid)

9.6.0: Clone with, PHP 8.5

22 Jun 07:52

Choose a tag to compare

9.5.0: Pipeline operator

28 May 19:39

Choose a tag to compare

9.4.0: Final properties

05 Apr 14:05

Choose a tag to compare

9.3.3: Callable new fix

02 Mar 09:37

Choose a tag to compare

  • Fixed callable new syntax when using a variable or expression, e.g.
    new $class(...). See also php/php-src#12336
    (@thekid)

9.3.2: Match expressions fix

02 Nov 16:33

Choose a tag to compare