Releases: xp-framework/core
Releases · xp-framework/core
Release list
12.11.0: I/O exceptions refactoring
Features
- Merged PR #364: I/O exceptions refactoring, fixing a naming conflict with
the IoException class introduced into PHP 8.6 as part of the I/O poll
infrastructure - see https://wiki.php.net/rfc/poll_api#exception_hierarchy
(@thekid)
12.10.1: Archive resources
Bugfixes
- Ensured the files used by the archive class loading mechanism are closed
when the class loaders are garbage-collected
(@thekid)
11.11.0: I/O exceptions refactoring
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)