Skip to content

Releases: clue-legacy/php-datagram

v0.5.0

13 Jun 22:23
Compare
Choose a tag to compare
  • Feature: Automatically assign a random port for port 0
    (#8)
  • Feature: First-class support for HHVM
    (#7)
  • Support React v0.4 (while preserving BC)
    (#13)
  • Use PSR-4 code layout, update homepage

v0.4.1

13 Jun 21:17
Compare
Choose a tag to compare
  • Fix: Uncaught Exception while processing ICMP rejection datagrams
    (#12)

v0.4.0

21 Mar 09:44
Compare
Choose a tag to compare
  • BC break: Unified socket addresses (string URIs instead of host+port)
    (#5):
    • The Factory now only accepts a single-argument full socket address (i.e. host:port for UDP/IP):

      // Previously:
      $factory->createServer(1337, 'localhost')->then(…);
      $factory->createClient('localhost', 1337)->then(…);
      // Now:
      $factory->createServer('localhost:1337')->then(…);
      $factory->createClient('localhost:1337')->then(…);
    • The methods Socket::getAddress() and Socket::getPort() have been removed.

    • Instead, the following two methods have been introduced which both return
      a full socket address:

      • SocketInterface::getLocalAddress()
      • SocketInterface::getRemoteAddress()
  • Small refactoring to ease extending base classes
    (#4)

v0.3.0

21 Mar 09:43
Compare
Choose a tag to compare
  • Feature: Add Datagram\Socket::end() method which closes the socket as soon
    as the remaining outgoing buffer has been sent.
  • Fix: Actually close underlying socket descriptor in Datagram\Socket::close().

v0.2.0

21 Mar 09:43
Compare
Choose a tag to compare
  • BC break: Whole new API, adapted to nodejs's Socket.dgram API.
  • BC break: Unified Datagram\Socket instead of Datagram\Client and Datagram\Server
  • Support react v0.3

v0.1.0

21 Mar 09:43
Compare
Choose a tag to compare
  • First tagged release