Skip to content

Releases: xp-framework/core

12.7.0: ISO8601 duration support

13 Dec 11:25

Choose a tag to compare

Bugfixes

  • Fixed util.Random warnings with PHP 8.5 - @thekid

Features

  • Merged PR #355: Work with DateInterval instances in util.TimeSpan
    (@thekid)
  • Added PHP 8.6, changed PHP 8.5 to no longer allow failures in CI
    (@thekid)

12.6.2: PHP 8.5 deprecation fixes

06 Sep 18:36

Choose a tag to compare

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

16 Aug 18:21

Choose a tag to compare

Bugfixes

12.6.0: I/O API consistency

03 Aug 12:10

Choose a tag to compare

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)

12.5.0: SequenceInputStream, PHP 8.5

22 Jun 10:18

Choose a tag to compare

Features

  • Merged PR #352: Add io.streams.SequenceInputStream - @thekid

Bugfixes

  • Added forward-compatible handling of self and parent for PHP 8.5,
    which resolves these types at compile-time, see php/php-src#17755
    (@thekid)
  • Added PHP 8.5 to the test matrix to ensure compatibility with the
    next PHP version, see issue #351
    (@thekid)

11.1.0.0: SequenceInputStream

22 Jun 10:13

Choose a tag to compare

Features

  • Merged PR #352: Add io.streams.SequenceInputStream - @thekid

12.4.0: Available processors

12 Apr 10:42

Choose a tag to compare

Features

  • Cleaned up code base by standardizing API doc references - @thekid
  • Merged PR #350: Add Environment::availableProcessors() - @thekid

12.3.0: Bytes handling

09 Feb 20:44

Choose a tag to compare

Bugfixes

  • Fixed issue #348: Class "rt.script.php" could not be found - @thekid

Features

  • Improved util.UUID constructor performance when passed util.Bytes
    (@thekid)
  • Changed util.Bytes constructor to accept zero or more chunks, each of
    which may be string[], int[], string or util.Bytes, from which
    the underlying byte buffer will be concatenated. Improved performance
    while refactoring.
    (@thekid)

12.2.0: Date and timezone enhancements

31 Dec 10:44

Choose a tag to compare

Bugfixes

  • Fixed Implicitly marking parameter $prompt as nullable is deprecated
    warnings in util.cmd.Console class with PHP 8.4, fixing #346.
    (@thekid)

Features

  • Merged PR #347: Accept strings or util.TimeZone instances - implementing
    the be liberal in what you accept-paradigm in the util.Date class
    (@thekid)
  • Merged PR #345: Support passing floating point numbers to constructor,
    setting microseconds for util.Date instances.
    (@thekid)

12.1.0: I/O buffer, async stream transfer

23 Jun 07:38

Choose a tag to compare

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)