Skip to content

Releases: xp-framework/compiler

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

5.1.2: Promotion of by-reference parameters fix

04 Apr 14:28
Compare
Choose a tag to compare
  • Fixed promotion for by-reference arguments - @thekid

5.1.1: Operator precedence fix

29 Mar 16:20
Compare
Choose a tag to compare
  • Fixed ternary and instanceof operators' precedence - @thekid

5.1.0: PHP 8 syntax adoptions

28 Mar 15:21
Compare
Choose a tag to compare
  • Merged PR #82: Allow chaining scope resolution operator :: - @thekid
  • Merged PR #81: Allow instanceof (<expr>) as syntax - @thekid
  • Merged PR #80: Allow new (<expr>) as syntax - @thekid

5.0.0: Drop PHP5

30 Nov 11:03
Compare
Choose a tag to compare