Skip to content

Releases: xp-framework/compiler

9.11.0: Refactor function scopes

Choose a tag to compare

@thekid thekid released this 23 May 18:50
  • 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

Choose a tag to compare

@thekid thekid released this 23 Apr 18:55
  • Merged PR #190: Implement logical AND and OR assignment operators &&=
    and ||=, see #133
    (@thekid)

9.9.0: Partial function application

Choose a tag to compare

@thekid thekid released this 14 Feb 14:13

9.8.0: PHP 8.5, void casts

Choose a tag to compare

@thekid thekid released this 12 Jan 19:23

9.7.0: Native clone with, PHP 8.5 fixes

Choose a tag to compare

@thekid thekid released this 06 Sep 09:19
  • 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

Choose a tag to compare

@thekid thekid released this 22 Jun 07:52

9.5.0: Pipeline operator

Choose a tag to compare

@thekid thekid released this 28 May 19:39

9.4.0: Final properties

Choose a tag to compare

@thekid thekid released this 05 Apr 14:05

9.3.3: Callable new fix

Choose a tag to compare

@thekid thekid released this 02 Mar 09:37
  • 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

Choose a tag to compare

@thekid thekid released this 02 Nov 16:33