Skip to content

Releases: xp-framework/core

11.3.1: Comparison fix

15 Aug 17:35

Choose a tag to compare

Bugfixes

  • Fixed Cannot access property starting with "\0") in util.Comparison
    (@thekid)

11.3.0: I/O stream string representations

23 Jul 19:23

Choose a tag to compare

Features

  • Merged PR #311: Make all InputStream & OutputStream implementations
    implement Value, implementing #310.
    (@thekid)

11.2.0: PHP 8.2 types

12 Jun 13:09

Choose a tag to compare

Bugfixes

  • Merged PR #309: Use AES-128-CBC instead of DES (in util.Secret);
    the latter is considered legacy
    (@thekid)
  • Fixed compatibility with PHP 8.2 for invalid timezones. PHP now reverts
    to UTC and displays a startup warning if the timezone name is unknown.
    (@thekid)

Features

11.1.2: Parameter default fix

22 Jan 14:32

Choose a tag to compare

Bugfixes

  • Fixed lang.reflect.Parameter::getDefaultValue() to parse parameter
    annotations correctly
    (@thekid)

11.1.1: Annotation parsing fixes

24 Dec 15:00

Choose a tag to compare

Bugfixes

  • Merged PR #306: Fix qualified annotation names. This includes support
    for trailing commas in grouped annotations.
    (@thekid)

10.15.1: Annotation parsing fixes

24 Dec 14:58

Choose a tag to compare

Bugfixes

  • Backported PR #306 from XP 11: Correctly support qualified annotation
    names and trailing commas in grouped annotations
    (@thekid)

11.1.0: Preliminary PHP 8.2 support

08 Dec 19:04

Choose a tag to compare

Features

  • Improved script loading performance by deferring requiring modules until
    class loading time. See xp-runners/reference#85
    (@thekid)
  • Added preliminary PHP 8.2 support by fixing various issues throughout
    the code base. Compatibility is tracked in issue #304
    (@thekid)
  • Cast given argument to string in io.streams.MemoryInputStream. Passing
    null will no longer yield warnings in PHP 8.1
    (@thekid)

11.0.0: Cleanup & attributes

21 Oct 20:04

Choose a tag to compare

This major release cleans up deprecated and unused features, and takes
the next step of phasing out XP annotation syntax in favor of PHP 8's
attributes.

Heads up!

  • Merged PR #299: Remove xp::errorAt(). If necessary, access the static
    xp::$errors map directly
    (@thekid)
  • Merged PR #298: Remove Runtime::halt() and SystemExit - functionality
    was never used in any library
    (@thekid)
  • Merged PR #274: Compact maps with a single key/value pair into one line
    (@thekid)
  • Merged PR #297: Remove generic application and service exceptions, these
    classes we unused.
    (@thekid)
  • Merged PR #296: Remove lang.Runtime::loadLibrary() - the PHP function
    dl() has been regarded more or less deprecated and has been removed
    from various SAPIs in the past, see https://www.php.net/dl
    (@thekid)
  • Merged PR #295: Remove lang.Thread and lang.IllegalThreadStateException,
    these were Un*x only, wrapping ext/pcntl library functions
    (@thekid)
  • Merged PR #294: Remove resource provider and import facility - @thekid
  • Merged PR #293: Remove deprecated timezone methods - @thekid
  • Removed deprecated io.streams.MemoryInputStream::getBytes() method
    (@thekid)
  • Merged PR #292: Remove deprecated reader and writer methods from io.streams
    (@thekid)
  • Removed deprecated lang.Primitive::$DOUBLE (replaced by FLOAT)
    (@thekid)
  • Merged PR #291: Remove io.FileUtil - replaced by the io.Files class
    (@thekid)
  • Merged PR #290: Remove util.PropertyManager - replaced by libraries such
    as xp-forge/inject
    (@thekid)
  • Merged PR #289: Remove util.DateUtil and util.DateMath - replaced by
    the util.Dates class
    (@thekid)
  • Merged PR #288: Remove util.Calendar class - superseded by the timezone
    aware API by util.TimeZoneTransition
    (@thekid)
  • Merged PR #287: Remove util.Component and util.Visitor - these classes
    were unused
    (@thekid)
  • Merged PR #286: Remove util.Configurable and util.ConfigurationException,
    unused except for the anti-pattern class rdbms.ConnectionManager.
    (@thekid)
  • Renamed master branch to main - @thekid

RFCs

10.15.0: ClassPathPropertySource

21 Oct 17:45

Choose a tag to compare

Features

  • Merged PR #301: Add new util.ClassPathPropertySource - @thekid

10.14.0: Process execution

26 Sep 16:48

Choose a tag to compare

Features

  • Merged PR #282: Allow overwriting descriptors passed to proc_open() in
    lang.Process constructor and newInstance(). This can be used for
    redirection or passing through standard I/O.
    (@thekid)
  • Merged PR #281: Add lang.CommandLine::resolve(). This method resolves
    given commands against the system path and returns all found executables,
    much like Windows' where or POSIX' which -a commands. It supersedes
    lang.Process::resolve(), which becomes deprecated.
    (@thekid)