Skip to content

Releases: xp-framework/reflection

3.5.1: PHP 7.4 trait annotations fix

04 Oct 08:49

Choose a tag to compare

  • Merged PR #49: (PHP 7.4 only) Fix annotation in trait methods not being
    picked up correctly
    (@thekid)

3.5.0: Package utilities

14 Sep 08:51

Choose a tag to compare

  • Merged PR #48: Fix mixing named and unnamed parameters in PHP 7 - @thekid
  • Merged PR #47: Implement Package::implementation() (see #15) - @thekid
  • Merged PR #45: Add Reflection::package() utility method - @thekid
  • Merged PR #46: Add Package::child() to return child packages - @thekid

3.4.1: PHP 8.5 forward compatibility

15 Aug 20:05

Choose a tag to compare

3.4.0: Final properties

05 Apr 13:09

Choose a tag to compare

  • Merged PR #44: Implement support for final properties added in PHP 8.4
    (@thekid)

3.3.0: Constant invoke expressions

02 Nov 11:18

Choose a tag to compare

  • Added support for static method calls in constant expressions in PHP 7.
    This allows using first-class callables as annotation arguments.
    (@thekid)

3.2.0: Asymmetric visibility

27 Aug 18:20

Choose a tag to compare

2.15.0: Backports

27 Aug 18:17

Choose a tag to compare

  • Backport PR #43, asymmetric visibility for properties - @thekid
  • Backport PR #41, lang.reflection.Type::declaredName() - @thekid

3.1.0: Global package & declared name

28 Mar 19:14

Choose a tag to compare

  • Merged PR #41: Add lang.reflection.Type::declaredName() which returns
    the class name without the namespace, if any
    (@thekid)
  • Merged PR #40: Add support for the global package, fixing issue #39
    (@thekid)

3.0.0: XP 12 compatibility, context removal

23 Mar 18:12

Choose a tag to compare

  • Merged PR #38: Remove context from properties, methods, constructors and
    initializers
    (@thekid)
  • Made this library compatible with XP 12, droppping support for all but
    the latest PHP 7 version. Minimum PHP version required is now 7.4!
    (@thekid)

2.14.1: Imports fix for eval

30 Sep 17:23

Choose a tag to compare

  • Fixed FromAttributes::imports() for classes created inside eval
    (@thekid)