Skip to content

Releases: reactphp/datagram

v1.10.0

06 Sep 11:49
Compare
Choose a tag to compare
  • Feature: Improve PHP 8.4+ support by avoiding implicitly nullable type declarations.
    (#59 by @clue)

  • Feature: Full PHP 8.3 compatibility.
    (#57 by @clue)

v1.9.0

05 Dec 13:48
Compare
Choose a tag to compare

v1.8.0

11 Jul 13:08
Compare
Choose a tag to compare

A major new feature release, see release announcement.

  • Feature: Simplify usage by supporting new default loop.
    (#42 by @clue)

    // old (still supported)
    $factory = new React\Datagram\Factory($loop);
    
    // new (using default loop)
    $factory = new React\Datagram\Factory();

v1.7.0

25 Jun 11:09
Compare
Choose a tag to compare
  • Feature: Support falling back to multiple DNS servers from DNS config.
    (#41 by @clue)

    When using the Factory, it will now use all DNS servers configured on your
    system. If you have multiple DNS servers configured and connectivity to the
    primary DNS server is broken, it will now fall back to your other DNS
    servers, thus providing improved connectivity and redundancy for broken DNS
    configurations.

v1.6.0

12 Feb 12:27
Compare
Choose a tag to compare
  • Feature: Support PHP 8 (socket address of closed socket should be null).
    (#39 by @clue)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Run tests on PHPUnit 9, switch to GitHub actions and clean up test suite.
    (#30, #31 and #38 by @clue, #34 by @reedy, #35 by @WyriHaximus and #37 by @SimonFrings)

v1.5.0

10 Jul 10:05
Compare
Choose a tag to compare
  • Feature: Forward compatibility with upcoming stable DNS component.
    (#29 by @clue)

  • Prefix all global functions calls with \ to skip the look up and resolve process and go straight to the global function.
    (#28 by @WyriHaximus)

  • Improve test suite to also test against PHP 7.1 and 7.2.
    (#25 by @andreybolonin)

v1.4.0

28 Feb 09:35
Compare
Choose a tag to compare
  • Feature: Update DNS dependency to support loading system default DNS
    nameserver config on all supported platforms
    (/etc/resolv.conf on Unix/Linux/Mac/Docker/WSL and WMIC on Windows)
    (#23 by @clue)

    This means that connecting to hosts that are managed by a local DNS server,
    such as a corporate DNS server or when using Docker containers, will now
    work as expected across all platforms with no changes required:

    $factory = new Factory($loop);
    $factory->createClient('intranet.example:5353');
  • Improve README
    (#22 by @jsor)

v1.3.0

25 Sep 12:16
Compare
Choose a tag to compare
  • Feature: Always use Resolver with default DNS to match Socket component
    and update DNS dependency to support hosts file on all platforms
    (#19 and #20 by @clue)

    This means that connecting to hosts such as localhost (and for example
    those used for Docker containers) will now work as expected across all
    platforms with no changes required:

    $factory = new Factory($loop);
    $factory->createClient('localhost:5353');

v1.2.0

09 Aug 07:52
Compare
Choose a tag to compare
  • Feature: Target evenement 3.0 a long side 2.0 and 1.0
    (#16 by @WyriHaximus)

  • Feature: Forward compatibility with EventLoop v1.0 and v0.5
    (#18 by @clue)

  • Improve test suite by updating Travis build config so new defaults do not break the build
    (#17 by @clue)

v1.1.1

23 Jan 20:48
Compare
Choose a tag to compare
  • Fix: Properly format IPv6 addresses and return null for unknown addresses
    (#14 by @clue)
  • Fix: Skip IPv6 tests if not supported by the system
    (#15 by @clue)