Skip to content

Releases: xp-framework/compiler

8.3.0: Ignore autoload files

07 Mar 12:18
Compare
Choose a tag to compare
  • Made JIT class loader ignore autoload.php files - @thekid
  • Fixed #136: Line number inconsistent after multi-line doc comments
    (@thekid)

8.2.0: Classloader augmentation

30 Jan 11:05
Compare
Choose a tag to compare
  • Support passing emitter-augmenting class names to the instanceFor()
    method of lang.ast.CompilingClassLoader.
    (@thekid)

8.1.0: Nullable casting optimization

29 Jan 11:03
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

7.1.0: Preliminary PHP 8.2 support

08 Dec 23:14
Compare
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
Compare
Choose a tag to compare

6.11.0: Callable new syntax

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