Releases: xp-framework/core
Releases · xp-framework/core
10.0.3: Array and string offset access syntax fix
Bugfixes
- Fixed Array and string offset access syntax with curly braces is deprecated
warnings insidelang.reflect.ClassParser
(@thekid)
10.0.2: Help rendering fix
Bugfixes
- Fixed
xp helpsubcommand raising warnings when rendering markdown
(@thekid)
10.0.1: Generics fix
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
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.Filesclass 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
objecttype handling inis()andType::$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
- Implemented xp-framework/rfc#335: Drop annotation key/value pair syntax,
phase 1: This syntax is now deprecated, see PR #236.
(@thekid) - Implemented xp-framework/rfc#333: XP 10 release / full PHP 7.4 support
(@thekid) - Implemented user modules as part of xp-framework/rfc#332, see PR #207
(@thekid) - Implemented xp-framework/rfc#329: Remove deprecated io.sys. See PR #197
(@thekid) - Implemented xp-framework/rfc#330: Remove HHVM support. See PR #206
(@thekid)
9.10.0: XP 10 features
Features
- Backported XP 10 features for easier adoption:
9.9.1: Classloader forwarding fix
Bugfixes
- Fixed compatibility issue with PHP 7.4 in
ClassLoader::defineForward()
(@thekid)
9.9.0: PHP 7.4 compatibility
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)