Skip to content

Releases: clue/socket-raw

v1.6.0

14 Apr 14:59
Compare
Choose a tag to compare

v1.5.0

27 Nov 13:17
089ffa0
Compare
Choose a tag to compare
  • Feature: Support PHP 8 and drop legacy HHVM support.
    (#60 and #61 by @clue)

  • Improve test suite and add .gitattributes to exclude dev files from export.
    Update to PHPUnit 9 and simplify test matrix.
    (#50, #51, #58 and #63 by @clue and #57 by @SimonFrings)

v1.4.1

28 Oct 12:32
Compare
Choose a tag to compare
  • Fix: Fix error reporting when invoking methods on closed socket instance.
    (#48 by @clue)

  • Improve test suite to run tests on Windows via Travis CI.
    (#49 by @clue)

v1.4.0

22 Jan 11:08
Compare
Choose a tag to compare
  • Feature: Improve Windows support (async connections and Unix domain sockets).
    (#43 by @clue)

  • Improve test suite by adding forward compatibility with PHPUnit 7 and PHPUnit 6.
    (#42 by @clue)

v1.3.0

10 Jun 19:19
Compare
Choose a tag to compare
  • Feature: Add $timeout parameter for Factory::createClient()
    (#39 by @Elbandi and @clue)

    // connect to Google, but wait no longer than 2.5s for connection
    $socket = $factory->createClient('www.google.com:80', 2.5);
  • Improve test suite by adding PHPUnit to require-dev,
    update test suite to test against legacy PHP 5.3 through PHP 7.2 and
    optionally skip functional integration tests requiring internet.
    (#26 by @ascii-soup, #28, #29, #37 and #38 by @clue)

v1.2.0

18 Mar 23:50
Compare
Choose a tag to compare
  • Feature: Expose optional $type parameter for Socket::read()
    (#16 by @Elbandi)

v1.1.0

24 Oct 10:35
Compare
Choose a tag to compare
  • Feature: Accept float timeouts like 0.5 for Socket::selectRead() and Socket::selectWrite().
    (#8)
  • Feature: Add new Socket::connectTimeout() method.
    (#11)
  • Fix: Close invalid socket resource when Factory fails to create a Socket.
    (#12)
  • Fix: Calling accept() on an idle server socket emits right error code and message.
    (#14)

v1.0.0

11 May 10:11
Compare
Choose a tag to compare
  • Feature: Improved errors reporting through dedicated Exception
    (#6)
  • Feature: Support HHVM
    (#5)
  • Use PSR-4 layout
    (#3)
  • Continuous integration via Travis CI

v0.1.2

10 May 14:13
Compare
Choose a tag to compare
  • Fix: The Factory::createUdg() now returns the right socket type.
  • Fix: Fix ICMPv6 addressing to not require square brackets because it does not
    use ports.
  • Extended test suite.

v0.1.1

10 May 14:13
Compare
Choose a tag to compare
  • Fix: Raw sockets now correctly report no port instead of a 0 port.