Skip to content

Releases: reactphp/dns

v0.4.13

27 Feb 12:52
Compare
Choose a tag to compare
  • Add Config::loadSystemConfigBlocking() to load default system config
    and support parsing DNS config on all supported platforms
    (/etc/resolv.conf on Unix/Linux/Mac and WMIC on Windows)
    (#92, #93, #94 and #95 by @clue)

    $config = Config::loadSystemConfigBlocking();
    $server = $config->nameservers ? reset($config->nameservers) : '8.8.8.8';
  • Remove unneeded cyclic dependency on react/socket
    (#96 by @clue)

v0.4.12

14 Jan 10:19
Compare
Choose a tag to compare
  • Improve test suite by adding forward compatibility with PHPUnit 6,
    test against PHP 7.2, fix forward compatibility with upcoming EventLoop releases,
    add test group to skip integration tests relying on internet connection
    and add minor documentation improvements.
    (#85 and #87 by @carusogabriel, #88 and #89 by @clue and #83 by @jsor)

v0.4.11

25 Aug 08:23
Compare
Choose a tag to compare
  • Feature: Support resolving from default hosts file
    (#75, #76 and #77 by @clue)

    This means that resolving hosts such as localhost will now work as
    expected across all platforms with no changes required:

    $resolver->resolve('localhost')->then(function ($ip) {
        echo 'IP: ' . $ip;
    });

    The new HostsExecutor exists for advanced usage and is otherwise used
    internally for this feature.

v0.4.10

10 Aug 12:32
Compare
Choose a tag to compare
  • Feature: Forward compatibility with EventLoop v1.0 and v0.5 and
    lock minimum dependencies and work around circular dependency for tests
    (#70 and #71 by @clue)

  • Fix: Work around DNS timeout issues for Windows users
    (#74 by @clue)

  • Documentation and examples for advanced usage
    (#66 by @WyriHaximus)

  • Remove broken TCP code, do not retry with invalid TCP query
    (#73 by @clue)

  • Improve test suite by fixing HHVM build for now again and ignore future HHVM build errors and
    lock Travis distro so new defaults will not break the build and
    fix failing tests for PHP 7.1
    (#68 by @WyriHaximus and #69 and #72 by @clue)

v0.4.9

01 May 17:21
Compare
Choose a tag to compare
  • Feature: Forward compatibility with upcoming Socket v1.0 and v0.8
    (#61 by @clue)

v0.4.8

16 Apr 19:59
v0.4.8
86d3da6
Compare
Choose a tag to compare
  • Feature: Add support for the AAAA record type to the protocol parser
    (#58 by @othillo)
  • Feature: Add support for the PTR record type to the protocol parser
    (#59 by @othillo)

v0.4.7

31 Mar 16:23
Compare
Choose a tag to compare
  • Feature: Forward compatibility with upcoming Socket v0.6 and v0.7 component
    (#57 by @clue)

v0.4.6

11 Mar 13:49
Compare
Choose a tag to compare
  • Fix: Fix DNS timeout issues for Windows users and add forward compatibility
    with Stream v0.5 and upcoming v0.6
    (#53 by @clue)
  • Improve test suite by adding PHPUnit to require-dev
    (#54 by @clue)

v0.4.5

02 Mar 20:03
Compare
Choose a tag to compare
  • Fix: Ensure we ignore the case of the answer
    (#51 by @WyriHaximus)
  • Feature: Add TimeoutExecutor and simplify internal APIs to allow internal
    code re-use for upcoming versions.
    (#48 and #49 by @clue)

v0.4.4

13 Feb 09:58
Compare
Choose a tag to compare
  • Fix: Fix handling connection and stream errors
    (#45 by @clue)
  • Feature: Add examples and forward compatibility with upcoming Socket v0.5 component
    (#46 and #47 by @clue)