Skip to content

Releases: xp-framework/core

10.0.3: Array and string offset access syntax fix

28 Mar 17:03

Choose a tag to compare

Bugfixes

  • Fixed Array and string offset access syntax with curly braces is deprecated
    warnings inside lang.reflect.ClassParser
    (@thekid)

10.0.2: Help rendering fix

01 Dec 22:13

Choose a tag to compare

Bugfixes

  • Fixed xp help subcommand raising warnings when rendering markdown
    (@thekid)

10.0.1: Generics fix

01 Dec 10:05

Choose a tag to compare

Bugfixes

  • Fixed generics in PHP 8+ by using null-coalesce operator instead of the
    error suppression operator @.
    (@thekid)

10.0.0: Full PHP 7.4 support

29 Nov 14:48

Choose a tag to compare

Bugfixes

  • Merged PR #224: Add missing support for nullable types to is()
    (@thekid)
  • Fix issue #220: Curly braces in offsets are now deprecated in PHP 7.4
    (@thekid)

Features

  • Merged PR #234: Add new method Package::of() which returns the package
    of a given type
    (@thekid)
  • Merged PR #233: Allow passing string types to Enum::value[s]Of()
    (@thekid)
  • Merged PR #227: Add support for PHP 7.4 arrow functions in annotations
    (@thekid)
  • Merged PR #226: Support getting annotations from anonymous classes
    (@thekid)
  • Implemented feature request #219, adding util.Date::getMicroSeconds()
    (@thekid)
  • Merged PR #218: Add new util.Dates class superseding util.DateUtil
    (@thekid)
  • Merged PR #217: New io.Files class replacing the ill-named FileUtil
    (@thekid)
  • Added preliminary support for PHP 8.0, which has not yet been released
    yet, though running the testsuite with its nightly builds yields green.
    See issue #211
    (@thekid)

Heads up!

  • Merged PR #223: Changed object type handling in is() and Type::$OBJECT
    to be consistent with PHP type system, including closures and generators.
    (@thekid)
  • Merged PR #216: Remove third & optional "nullsafe" argument to cast()
    (@thekid)
  • Merged PR #215: Remove deprecated System class - @thekid
  • Merged PR #214: Remove deprecated xp::stringOf() - @thekid
  • Merged PR #213: Remove "double" type in favor of "float" - @thekid
  • Merged PR #212: Remove deprecated getFirstSection() / getNextSection()
    iteration (from util.Properties)
    (@thekid)
  • Merged PR #194: Remove deprecated XP registry - @thekid

RFCs

9.10.0: XP 10 features

04 Oct 09:04

Choose a tag to compare

Features

9.9.1: Classloader forwarding fix

19 Aug 23:21

Choose a tag to compare

Bugfixes

  • Fixed compatibility issue with PHP 7.4 in ClassLoader::defineForward()
    (@thekid)

9.9.0: PHP 7.4 compatibility

09 Aug 14:50

Choose a tag to compare

Bugfixes

  • Backported from XP 10 various compatibility fixes with PHP 7.4:
    • Fix "Trying to access array offset on value of type null"
    • Refrain from using curly braces used for array offsets
    • Refrain from using deprecated ReflectionType::__toString
      Prevent "stream_set_option is not implemented!" warnings
      (@thekid)

9.8.3: Error suppression operator rewrite

14 Jun 17:58

Choose a tag to compare

  • Added fix for reflection code raising warnings in PHP 7.4 - @thekid
  • Added fix for typeof() raising warnings in PHP 7.4 - @thekid

9.8.2: Line numbers fix

02 Jan 00:41

Choose a tag to compare

Bugfixes

  • Merged PR #208: Ensure filenames and lines match up to parsed code
    (@thekid)

9.8.1: Modifiers fix

28 Dec 16:39

Choose a tag to compare

Bugfixes

  • Fixed issue #210: PHP 7.4 modifiers compatiblity - @thekid

Features