Releases: xp-framework/compiler
Releases · xp-framework/compiler
8.7.0: Destructuring
- Fixed issue #31: Support
list()reference assignment for PHP < 7.3
(@thekid) - Fixed
foreachstatement using destructuring assignments in PHP 7.0
(@thekid) - Merged PR #146: Add support for omitting expressions in destructuring
assignments, e.g.list($a, , $b)= $expror[, $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)= $exprfor PHP 7.0, 7.1 and 7.2
(@thekid)
8.6.0: AST type refactoring
- Bumped dependency on
xp-framework/astto version 9.1.0 - @thekid - Merged PR #143: Adapt to AST type refactoring (xp-framework/ast#39)
(@thekid)
8.5.1: Nullable union types fix
8.5.0: PHP 8.2 type system
8.4.0: Readonly classes
- Merged PR #138: Implement readonly modifier for classes - a PHP 8.2
feature, see https://wiki.php.net/rfc/readonly_classes
(@thekid) - Merged PR #135: Move responsibility for creating result to emitter
(@thekid)
8.3.0: Ignore autoload files
8.2.0: Classloader augmentation
- Support passing emitter-augmenting class names to the instanceFor()
method oflang.ast.CompilingClassLoader.
(@thekid)
8.1.0: Nullable casting optimization
8.0.0: Standalone code, phase 1
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)