Releases: xp-framework/compiler
Releases · xp-framework/compiler
5.1.3: Allow ::class on objects
- Allowed
::classon objects (PHP 8.0 forward compatibility) - @thekid
5.1.2: Promotion of by-reference parameters fix
- Fixed promotion for by-reference arguments - @thekid
5.1.1: Operator precedence fix
- Fixed ternary and instanceof operators' precedence - @thekid
5.1.0: PHP 8 syntax adoptions
5.0.0: Drop PHP5
- Merged PR #70: Extract compact methods; to use these, require the
library https://github.com/xp-lang/php-compact-methods
(@thekid) - Merged PR #79: Convert testsuite to baseless tests - @thekid
- Merged PR #78: Deprecate curly brace syntax for offsets; consistent
with PHP 7.4
(@thekid) - Added support for XP 10 and newer versions of library dependencies
(@thekid) - Implemented xp-framework/rfc#334: Drop PHP 5.6. The minimum required
PHP version is now 7.0.0!
(@thekid)
4.3.1: XP10 compatiblity
- Added compatibility with XP 10, see xp-framework/rfc#333 - @thekid
4.3.0: Hashtag comments
- Fixed global constants in ternaries being ambiguous with goto labels
(@thekid) - Fixed emitting
switchstatements and case labels' ambiguity w/ goto
(@thekid) - Fixed an operator precedence problem causing incorrect nesting in the
parsed AST for unary prefix operators.
(@thekid) - Merged PR #77: Add support for #-style comments including support for
XP style annotations
(@thekid)
4.2.1: Abstract and final types fix
- Fixed parser to allow "extending" final and abstract types - @thekid