Releases: xp-framework/compiler
Releases · xp-framework/compiler
9.0.0: XP 12 compatibility
8.17.2: Implicitely nullable type fix
- Fixed implicitely nullable type warnings for parameters with non-
constant expressions (e.g.$param= new Handle(0)
) in PHP 8.4, see
https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
(@thekid)
8.17.1: Closure emitting fix
- Fixed emitting captures and return types for closures - @thekid
8.17.0: Locals fix & performance
8.16.0: Transform without statements
- Merged PR #175: Transform multiple nodes without creating statements
(@thekid) - Refactored code base to use the new reflection library instead of
the Package class fromlang.reflect
. See xp-framework/rfc#338
(@thekid)
8.15.1: Constructor invocation fix
- Fixed parent constructors not being invoked when using non-constant
property initialization.
(@thekid)
8.15.0: Override annotation
- Merged PR #173: Check for
#[Override]
annotation, implementing this
PHP 8.3 RFC: https://wiki.php.net/rfc/marking_overriden_methods
(@thekid) - Merged PR #171: Refactor scope lookup from Result to CodeGen - @thekid
8.14.0: Arbitrary static variable initializers
- Fixed error Cannot access offset of type array on array when using
reflection for non-constant parameter defaults
(@thekid) - Implemented feature #162: Arbitrary static variable initializers, see
https://wiki.php.net/rfc/arbitrary_static_variable_initializers
(@thekid)
8.13.0: Annotation emit refactoring
- Merged PR #169: Refactor how annotations with non-constant arguments
are emitted. This enables a transition toxp-framework/reflection
as proposed in xp-framework/rfc#338
(@thekid)
8.12.0: Return by reference
- Merged PR #168: Return by reference from methods and functions, see
https://www.php.net/manual/en/language.references.return.php
(@thekid) - Make it possible to refer to constructor parameters inside property
initialization expressions.
(@thekid)