Skip to content

Releases: xp-framework/core

9.3.2: Newinstance() type resolution fix

02 Apr 09:28

Choose a tag to compare

Bugfixes

  • Fixed newinstance() resolving value types for parameter or return
    types incorrectly inside namespaces
    (@thekid)

9.3.1: Newinstance() fixes

30 Mar 15:55

Choose a tag to compare

Bugfixes

  • Fixed #191: Void return type breaks newinstance() (@thekid)
  • Fixed #190: Iterable type hint breaks newinstance() (@thekid)
  • Fixed #189: Scalar type hints break newinstance() (@thekid)

9.3.0: Sodium crypto support

05 Dec 22:44

Choose a tag to compare

Bugfixes

Features

  • Merged #188: Implement PHP 7.2 sodium extension based encryption
    (@thekid)

9.2.0: Nullable types casting

28 Oct 09:51

Choose a tag to compare

RFCs

Features

  • Added PHP 7.2 to test matrix (@thekid)

9.1.0: Object -> Value migration

28 Oct 09:51

Choose a tag to compare

Bugfixes

  • Merged #183: Remove all reference to lang.Object (@thekid)

Features

  • Added util.Comparison trait to make lang.Object -> lang.Value
    migration easier. See issue #184
    (@thekid)

9.0.0: Baseless: R.I.P lang.Object

24 Sep 10:50

Choose a tag to compare

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.xp files 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

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 runners which 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

30 Aug 09:19

Choose a tag to compare

  • Backporting TextReader::readLine performance improvement - @jzinnau

8.2.0: Newinstance is here to stay

27 May 23:14

Choose a tag to compare

  • Fixed issue #172: Endless loop in io.Path::relativeTo() - @thekid
  • Refactored code to use typeof() instead of xp::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'

16 Apr 12:50

Choose a tag to compare

  • Merged PR #167: Increase TextReader::readLine() performance 50-fold (!)
    This decreases .ini-file parsing times by a factor of roughly 12.
    (@thekid)

8.1.1: Welcome 2017

16 Jan 00:10

Choose a tag to compare

Bugfixes

  • Fixed flaky test for Process class if process exited too quickly - @thekid