Releases: xp-framework/core
Releases · xp-framework/core
9.3.2: Newinstance() type resolution fix
Bugfixes
- Fixed
newinstance()resolving value types for parameter or return
types incorrectly inside namespaces
(@thekid)
9.3.1: Newinstance() fixes
9.3.0: Sodium crypto support
9.2.0: Nullable types casting
RFCs
- Implemented xp-framework/rfc#326: Cast and nullable types (@thekid)
Features
- Added PHP 7.2 to test matrix (@thekid)
9.1.0: Object -> Value migration
9.0.0: Baseless: R.I.P lang.Object
Heads up!
- Changed type system to prefer "float" over "double" to be consistent
with PHP 7's scalar types, which use the first; see issue #181.
(@thekid) - Minimum HHVM version required is now 3.20, see issue #176.
(@thekid) - Deprecated
package-info.xpfiles previously used for documentation
purposes. Packages have been split into libraries with their own repos,
and documentation typically resides in a README file therein.
(@thekid) - Merged PR #169: Remove MCrypt (from
util.Secret&util.Random),
see https://wiki.php.net/rfc/mcrypt-viking-funeral
(@thekid)
RFCs
- Implemented xp-framework/rfc#318: Builtin dependencies, by merging
pull request #161. Scripts can nowuse [type] from [vendor/lib].
(@thekid) - Implemented xp-framework/rfc#325: Remove Object class. This radical
change was implemented to be forward-compatible with PHP 7.2, see
https://wiki.php.net/rfc/object-typehint
(@thekid) - Implemented xp-framework/rfc#323: Remove
xp::typeOf()- @thekid
Features
- Merged PR #180: Secret::equals() - @thekid
- Added preliminary PHP 7.2.0 support - tested successfully using
PHP 7.2.0 Alpha 1
up to PHP 7.2.0 RC2.
(@thekid) - Added
xp version runnerswhich will display XP runners version
(@thekid) - Merged PR #179: Clean up inheritance and implementation oddities in
io.streams(StringReader and TextReader as well as StringWriter
and TextWriter are now interchangeable - the Text versions handle
charset encoding, the String versions don't).
(@thekid)
6.13.2: Text reading performance improvement
- Backporting TextReader::readLine performance improvement - @jzinnau
8.2.0: Newinstance is here to stay
- Fixed issue #172: Endless loop in io.Path::relativeTo() - @thekid
- Refactored code to use
typeof()instead ofxp::typeOf(), see
xp-framework/rfc#323
(@thekid) - Un-deprecated
newinstance(), which is here to stay. By being able to
capture local variables in methods, it is helpful in unittest scenarios
and has a clear advantage over PHP's anonymous classes; at least until
https://wiki.php.net/rfc/lexical-anon is implemented.
(@thekid)
8.1.2: Text reading performance improvement'
8.1.1: Welcome 2017
Bugfixes
- Fixed flaky test for Process class if process exited too quickly - @thekid