Skip to content

Releases: xp-framework/compiler

6.0.0: Extended match statement, annotations cleanup

28 Nov 22:38
Compare
Choose a tag to compare

5.7.0: Compile to XAR

26 Nov 21:29
Compare
Choose a tag to compare

5.6.0: PHP 8 feature completeness

22 Nov 15:56
a6e30ff
Compare
Choose a tag to compare

5.5.0: Union and callable types

15 Nov 12:20
ba89b41
Compare
Choose a tag to compare
  • Merged PR #91 - Refactor rewriting type literals:
    • Changed implementation to be easier to maintain
    • Emit function types as callable in all PHP versions
    • Emit union types as syntax in PHP 8+
      (@thekid)

5.4.1: PHP 8.0.0RC1 compatibility

09 Oct 19:46
Compare
Choose a tag to compare
  • Fixed #90: Namespace declaration statement has to be the very first
    statement, which occured with PHP 8.0.0RC1
    (@thekid)

5.4.0: RFC 336

01 Oct 18:39
Compare
Choose a tag to compare
  • Implemented second step for #86: Add an E_DEPRECATED warning to the
    hacklang annotation syntax <<...>>; details in xp-framework/ast#9
    (@thekid)
  • Merged PR #89: Add annotation type mappings to TARGET_ANNO detail
    (@thekid)
  • Changed PHP 8 attributes to be emitted in XP meta information without
    namespaces, and with their first characters lowercased. This way, code
    using annotations will continue to work, see xp-framework/rfc#336.
    (@thekid)

5.3.0: Named arguments for PHP 8

12 Sep 13:41
Compare
Choose a tag to compare
  • Merged PR #88: Emit named arguments for PHP 8 - @thekid

5.2.1: AST library forward compatibility

09 Sep 19:43
Compare
Choose a tag to compare
  • Adjusted to xp-framework/ast yielding comments as-is, transform
    them to the form XP meta information expects.
    (@thekid)

5.2.0: PHP 8 attributes, match and nullsafe operator

20 Jul 20:02
Compare
Choose a tag to compare
  • Merged PR #87: Add support for match expression - @thekid
  • Implemented first step of #86: Support PHP 8 attributes - @thekid
  • Removed lang.ast.syntax.php.NullSafe in favor of builtin support
    (@thekid)
  • Merged PR #84: Extract parser - @thekid

5.1.3: Allow ::class on objects

04 Apr 15:57
Compare
Choose a tag to compare
  • Allowed ::class on objects (PHP 8.0 forward compatibility) - @thekid