Skip to content

Releases: xp-framework/compiler

8.1.0: Nullable casting optimization

29 Jan 11:03

Choose a tag to compare

  • Merged PR #131: Inline nullable checks when casting - @thekid

8.0.0: Standalone code, phase 1

16 Jan 22:31

Choose a tag to compare

This release is the first in a series of releases to make the XP compiler more universally useful: Compiled code now doesn't include generated XP meta information by default, and is thus less dependant on XP Core, see https://github.com/xp-framework/compiler/projects/4.

  • Merged PR #129: Add augmentable emitter to create property type checks
    for PHP < 7.4
    (@thekid)
  • Fixed private and protected readonly properties being accessible from
    any scope in PHP < 8.1
    (@thekid)
  • Merged PR #127: Do not emit XP meta information by default. This is
    the first step towards generating code that runs without a dependency
    on XP core.
    (@thekid)

7.3.0: Static closures

07 Jan 20:12

Choose a tag to compare

  • Merged PR #128: Add support for static closures - @thekid
  • Upgraded dependency on xp-framework/ast to version 8.0.0 - @thekid

7.2.1: Native callable syntax fix

28 Dec 16:24

Choose a tag to compare

  • Fixed PHP 8.1 not emitting native callable syntax - @thekid
  • Fixed isConstant() for constant arrays - @thekid

7.2.0: Array unpack optimization

20 Dec 11:02

Choose a tag to compare

7.1.0: Preliminary PHP 8.2 support

08 Dec 23:14

Choose a tag to compare

  • Added preliminary PHP 8.2 support by fixing various issues throughout
    the code base and adding a PHP 8.2 emitter.
    (@thekid)

7.0.0: Drop XP 9 and lower, add XP 11

21 Oct 16:11

Choose a tag to compare

6.11.0: Callable new syntax

06 Oct 18:58

Choose a tag to compare

  • Merged PR #125: Support new T(...) callable syntax - @thekid

6.10.0: Target runtimes

12 Sep 07:57

Choose a tag to compare

  • Implemented feature request #123: Use php:X.Y instead of PHP.X.Y
    for target runtimes. The older syntax is still supported!
    (@thekid)

6.9.0: Readonly properties

11 Sep 22:45

Choose a tag to compare

  • Merged PR #124: Add support for readonly properties. Implements feature
    request #115, using native code for PHP 8.1 and simulated via virtual
    properties for PHP 7.X and PHP 8.0
    (@thekid)