Skip to content

Releases: xp-framework/compiler

8.7.0: Destructuring

12 Nov 18:48

Choose a tag to compare

  • Fixed issue #31: Support list() reference assignment for PHP < 7.3
    (@thekid)
  • Fixed foreach statement using destructuring assignments in PHP 7.0
    (@thekid)
  • Merged PR #146: Add support for omitting expressions in destructuring
    assignments, e.g. list($a, , $b)= $expr or [, $a]= $expr.
    (@thekid)
  • Merged PR #145: Add support for specifying keys in list(), which has
    been in PHP since 7.1.0, see https://wiki.php.net/rfc/list_keys
    (@thekid)
  • Merged PR #144: Rewrite list(&$a)= $expr for PHP 7.0, 7.1 and 7.2
    (@thekid)

8.6.0: AST type refactoring

06 Nov 23:02

Choose a tag to compare

8.5.1: Nullable union types fix

03 Sep 12:04

Choose a tag to compare

  • Fixed issue #142: Nullable type unions don't work as expected - @thekid

8.5.0: PHP 8.2 type system

20 Jul 21:20

Choose a tag to compare

  • Merged PR #140: Add support for null, true and false types - @thekid

8.4.0: Readonly classes

14 May 15:12

Choose a tag to compare

8.3.0: Ignore autoload files

07 Mar 12:18

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

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

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