Releases: xp-framework/core
Releases · xp-framework/core
12.10.0: Spooling and buffers
Bugfixes
- Fixed
io.streams.StreamTransfer::transferAll()not correctly returning
the number of written bytes as advertised
(@thekid)
Features
12.9.0: I/O Blobs & filters
Features
- Merged PR #360: Add an
io.Blobclass as a bridge between string, bytes
and streams, see https://developer.mozilla.org/en-US/docs/Web/API/Blob
(@thekid) - Merged PR #359: Integrate PHP's stream filters into
io.streams, see
https://www.php.net/manual/en/filters.php
(@thekid)
12.8.0: UUID v7
12.7.0: ISO8601 duration support
12.6.2: PHP 8.5 deprecation fixes
Bugfixes
- Fixed PHP 8.5 deprecation warnings about using null as an array offset
being deprecated
(@thekid)
12.6.1: PHP 8.5 deprecations compatibility
Bugfixes
- Fixed PHP 8.5 deprecation warnings about:
setAccesible()being a no-op in reflection methods & properties- The
chr()function not accepting integers outside[0, 255].
See https://wiki.php.net/rfc/deprecations_php_8_5
(@thekid)
12.6.0: I/O API consistency
Features
- Added optional $absolute parameter
io.Path::resolve()which will
return an absolute path given to it instead of calculating a relative
address containing../-segments.
(@thekid) - Merged PR #353: Add size() to both FileInputStream and FileOutputStream
(@thekid) - Merged PR #354: Consistency in memory I/O: Seeking, size() and bytes(),
input casting, API docs
(@thekid)
12.5.0: SequenceInputStream, PHP 8.5
Features
Bugfixes
- Added forward-compatible handling of
selfandparentfor PHP 8.5,
which resolves these types at compile-time, see php/php-src#17755
(@thekid) - Added PHP 8.5 to the test matrix to ensure compatibility with the
next PHP version, see issue #351
(@thekid)