Skip to content

Releases: xp-framework/compiler

1.1.2: Interop fix with xp-forge/partial

31 Oct 17:01

Choose a tag to compare

  • Fixed issue #15: Interop with xp-forge/partial broken - @thekid

1.1.1: Map initialization fix

31 Oct 15:38

Choose a tag to compare

  • Fixed map initialization with keys consisting of complex expressions
    (@thekid)

1.1.0: Traits

31 Oct 14:51

Choose a tag to compare

  • Implemented trait usage, including aliasing via as. See issue #14
    (@thekid)

1.0.0: Parameter annotations

25 Oct 21:18

Choose a tag to compare

  • Indexed type members by name; implementing feature suggested in #10
    (@thekid)
  • Heads up: Implemented syntax for parameter annotations as stated
    in issue #1 - alongside the parameter; no longer in its "targeted" form
    $param: inject as in xp-framework/rfc#218
    (@thekid)
  • Added support for keywords as methods in PHP 5.6 - @thekid
  • Implemented xp-framework/rfc#326: Cast and nullable types - @thekid
  • Added support for casting value and array types - @thekid

0.9.1: Promoted arguments fix

22 Oct 16:28

Choose a tag to compare

Pre-release
  • Fixed promoted argument types not being recorded - @thekid

0.9.0: Types

22 Oct 13:10

Choose a tag to compare

0.9.0: Types Pre-release
Pre-release
  • Added support for $arg ==> $arg++ lambdas without argument braces
    (@thekid)
  • Fixed issue #8: Member types missing for constructor argument promotion
    (@thekid)
  • Fixed issue #7: Ternary operator broken - @thekid
  • Fixed issue #6: instanceof does not resolve class names - @thekid
  • Implemented support for union types, e.g. int|float, as supported
    by this PHP RFC
    (@thekid)
  • Implemented array<int> and array<string, string> as well as
    function types (e.g. (function(int, string): string)) as seen in
    Hack's type system
    (@thekid)

0.8.0: Line numbers

18 Oct 20:04

Choose a tag to compare

0.8.0: Line numbers Pre-release
Pre-release
  • Ensured line numbers are kept; this is important for tracing
    warnings, errors and exceptions.
    (@thekid)

0.7.0: Parameter annotations

15 Oct 17:56

Choose a tag to compare

Pre-release
  • Improved function, closure, lambda and method node layouts - @thekid
  • Fixed closures not being able to use by reference - @thekid
  • Implemented parameter annotations via $param: inject - @thekid

0.6.0: Lambda capturing

15 Oct 14:51

Choose a tag to compare

Pre-release
  • Ensured types are checked where natively supported - @thekid
  • Implemented capturing locals in lambda expressions - @thekid
  • Recorded property types in cached meta data - @thekid
  • Implemented support for dynamic new via new $type- @thekid
  • Fixed assignment operator - @thekid
  • Fixed parameter types - @thekid
  • Fixed annotations not having access to class scope - @thekid
  • Fixed constant emittance in PHP 7.1+ - @thekid
  • Fixed trait declaration - @thekid
  • Fixed issue #3: Annotations in package - @thekid
  • Fixed issue #4: "xp compile" installation - @thekid

0.5.0: Scope defines cleanup

15 Oct 00:07

Choose a tag to compare

Pre-release
  • Removed unused scope defines - @thekid
  • Fixed endless loop for unclosed argument lists - @thekid
  • Fixed type annotations not being parsed - @thekid