Releases: xp-framework/core
Releases · xp-framework/core
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)
11.8.3: Symlink fix
11.8.2: Meta cache consistency fix
11.8.1: Autoloader fix
11.8.0: Testing migration
Heads up!
- Merged PR #331: Migrate to new testing library. This makes it easier
to run the test suite (now justxp test src/test/php
like with any
other library) and reduces the installed size by roughly 300 kB.
Preliminary work was put into this to make the transition easier:
11.7.0: Random API improvements
Features
- Implemented string casting for
util.UUID
instances - @thekid - Merged PR #327: Use Xoshiro256** (w/o seed) as the fastest engine for
PHP 8.2+, see https://wiki.php.net/rfc/rng_extension#prng_shootout
(@thekid) - Merged PR #326: Deprecate
Random::MTRAND
as Mersenne Twister is no
longer recommended, see https://wiki.php.net/rfc/rng_extension
(@thekid) - Merged PR #325: Use random_int() instead of mt_rand() in
util.UUID
(@thekid)
10.16.0: Annotation array eval notation backport
Features
- Backported #324 from XP 11: Support eval array notation inside attributes.
See xp-framework/compiler#169 (comment)
(@thekid)
Bugfixes
- Backported #321 from XP 11: ix util.TimeZone::hasDst(), which was broken in
multiple regards
(@thekid) - Backported #320 from XP 11: Call to undefined method util.TimeZone::getName()
(@thekid) - Backported #309 from XP 11: Use AES-128-CBC instead of DES (in util.Secret);
the latter is considered legacy
(@thekid)