Releases: xp-framework/core
Releases · xp-framework/core
12.4.0: Available processors
12.3.0: Bytes handling
Bugfixes
Features
- Improved
util.UUID
constructor performance when passedutil.Bytes
(@thekid) - Changed
util.Bytes
constructor to accept zero or more chunks, each of
which may bestring[]
,int[]
,string
orutil.Bytes
, from which
the underlying byte buffer will be concatenated. Improved performance
while refactoring.
(@thekid)
12.2.0: Date and timezone enhancements
12.1.0: I/O buffer, async stream transfer
Features
- Merged PR #344: Add
io.streams.StreamTransfer::transmit()
which yields
control after each chunk
(@thekid) - Merged PR #343: Implement a limited in-memory buffer with filesystem
overflow:io.streams.Buffer
. See also xp-forge/web#118
(@thekid)
12.0.1: Explicitely nullable fix
Bugfixes
- Fixed
lang.ClassLoader::defineType()
to generate correctly typed
method forwards for methods with explicitely nullable types.
(@thekid)
12.0.0: PHP 8 semantics
This major release adopts more PHP 8 semantics, getting rid of the XP annotation syntax with @
and deprecating implicitely nullable types. This is the last major release to support PHP 7, and only does so for its newest version.
Heads up!
- Removed deprecated Mersenne Twister algorithm from
util.Random
, see
https://wiki.php.net/rfc/deprecations_php_8_3#global_mersenne_twister
(@thekid) - Removed the deprecated resolve() method from
lang.Process
. Use
lang.CommandLine::resolve()
instead!
(@thekid) - Removed Proxy and InvocationHandler from the
lang.reflect
package,
and AbstractDeferredInvokationHandler fromutil
. See PR #341
(@thekid)
RFCs
- Implemented xp-framework/rfc#342: Extract compression streams, removing
the implementing classes fromio.streams
. See PR #342.
(@thekid) - Implemented xp-framework/rfc#336, part 2: Remove XP annotations syntax,
which was deprecated in XP 11, released October 2021. See PR #340.
(@thekid) - Implemented xp-framework/rfc#343, part 1: Drop support for all but the
latest PHP 7 release. The minimum required PHP version is now 7.4!
(@thekid)
Features
- Synchronized mime types list with most recent
jshttp/mime-db
- @thekid - Merged PR #338: Set default character set for property files to
utf-8
(@thekid)
Bugfixes
- Fixed issue #336: Deprecate implicitly nullable parameter types, following
https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
(@thekid)
11.9.0: Implicitly nullable parameter types
Features
- Removed PHP 5 specific exception handling from
lang.Throwable::wrap()
(@thekid) - Suppressed implicitly nullable parameter types deprecation warning as
there is no way of fixing these syntactically as long as we support
PHP 7.0. See issue #336 and xp-framework/rfc#343
(@thekid)