PackageTrack
Sign in Get early access

react/datagram

Event-driven UDP datagram socket client and server for ReactPHP

v1.10.0 959K downloads/mo #3609 most downloaded on Packagist reactphp/datagram

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.8 years

Nearly every release is documented

notes for 13 of 13 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

13 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

13 releases · Oct 2014 to Sep 2024
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 13
  1. v1.10.0 06 Sep 2024
    Release notes
    • Feature: Improve PHP 8.4+ support by avoiding implicitly nullable type declarations.
      (#59 by @clue)

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

    Open source →
    Release notes
    • Feature: Improve PHP 8.4+ support by avoiding implicitly nullable type declarations. (#59 by @clue)

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

    Open source →
  2. v1.9.0 05 Dec 2022
    Release notes
    Open source →
    Release notes
    • Feature: Add support for PHP 8.1 and PHP 8.2. (#44 by @SimonFrings and #51 by @WyriHaximus)

    • Feature: Forward compatibility with upcoming Promise v3. (#33 by @WyriHaximus)

    • Feature / Fix: Improve error reporting when custom error handler is used. (#49 by @clue)

    • Feature: Avoid dependency on ext-filter. (#45 by @clue)

    • Improve documentation and examples and update to use new reactphp/async package. (#50 by @nhedger, #53 by @dinooo13 and #47, #54 and #56 by @SimonFrings)

    • Improve test suite and report failed assertions. (#48 by @SimonFrings and #55 by @clue)

    Open source →
  3. v1.8.0 11 Jul 2021
    Release notes

    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();
    Open source →
    Release notes

    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();
      
    Open source →
  4. v1.7.0 25 Jun 2021
    Release notes
    • 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.

    Open source →
    Release notes
    • 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.

    Open source →
  5. v1.6.0 12 Feb 2021
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  6. v1.5.0 10 Jul 2019
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  7. v1.4.0 28 Feb 2018
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  8. v1.3.0 25 Sep 2017
    Release notes
    • 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');
    Open source →
    Release notes
    • 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');
      
    Open source →
  9. v1.2.0 09 Aug 2017
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  10. v1.1.1 23 Jan 2017
    Release notes
    • 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)
    Open source →
    Release notes
    • 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)

    Open source →
  11. v1.1.0 19 Mar 2016
    Release notes
    • Feature: Support promise cancellation (cancellation of underlying DNS lookup) (#12 by @clue)

    • Fix: Fix error reporting when trying to create invalid sockets (#11 by @clue)

    • Improve test suite and update dependencies (#7, #8 by @clue)

    Open source →
  12. v1.0.1 13 Nov 2015
    Release notes
    • Fix: Correct formatting for remote peer address of incoming datagrams when using IPv6 (#6 by @WyriHaximus)

    • Improve test suite for different PHP versions

    Open source →
  13. v1.0.0 23 Oct 2014
    Release notes
    • Initial tagged release

    This project has been migrated over from clue/datagram which has originally been released in January 2013. Upgrading from clue/datagram v0.5.0? Use namespace React\Datagram instead of Datagram and you're ready to go!

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive