Skip to content

Releases: reactphp/dns

v1.13.0

13 Jun 14:19
Compare
Choose a tag to compare
  • Feature: Improve PHP 8.4+ support by avoiding implicitly nullable type declarations.
    (#224 by @WyriHaximus)

v1.12.0

29 Nov 12:43
Compare
Choose a tag to compare

v1.11.0

02 Jun 12:47
Compare
Choose a tag to compare

v1.10.0

08 Sep 12:29
Compare
Choose a tag to compare

v1.9.0

20 Dec 08:47
Compare
Choose a tag to compare
  • Feature: Full support for PHP 8.1 release and prepare PHP 8.2 compatibility
    by refactoring Parser to avoid assigning dynamic properties.
    (#188 and #186 by @clue and #184 by @SimonFrings)

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

  • Feature / Fix: Skip invalid nameserver entries from resolv.conf and ignore IPv6 zone IDs.
    (#187 by @clue)

  • Feature / Fix: Reduce socket read chunk size for queries over TCP/IP.
    (#189 by @clue)

v1.8.0

11 Jul 12:42
Compare
Choose a tag to compare

A major new feature release, see release announcement.

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

    // old (still supported)
    $factory = new React\Dns\Resolver\Factory();
    $resolver = $factory->create($config, $loop);
    
    // new (using default loop)
    $factory = new React\Dns\Resolver\Factory();
    $resolver = $factory->create($config);

v1.7.0

25 Jun 10:55
Compare
Choose a tag to compare
  • Feature: Update DNS Factory to accept complete Config object.
    Add new FallbackExecutor and use fallback DNS servers when Config lists multiple servers.
    (#179 and #180 by @clue)

    // old (still supported)
    $config = React\Dns\Config\Config::loadSystemConfigBlocking();
    $server = $config->nameservers ? reset($config->nameservers) : '8.8.8.8';
    $resolver = $factory->create($server, $loop);
    
    // new
    $config = React\Dns\Config\Config::loadSystemConfigBlocking();
    if (!$config->nameservers) {
        $config->nameservers[] = '8.8.8.8';
    }
    $resolver = $factory->create($config, $loop);

v1.6.0

21 Jun 11:57
Compare
Choose a tag to compare
  • Feature: Add support for legacy SPF record type.
    (#178 by @akondas and @clue)

  • Fix: Fix integer overflow for TCP/IP chunk size on 32 bit platforms.
    (#177 by @clue)

v1.5.0

05 Mar 12:17
Compare
Choose a tag to compare
  • Feature: Improve error reporting when query fails, include domain and query type and DNS server address where applicable.
    (#174 by @clue)

  • Feature: Improve error handling when sending data to DNS server fails (macOS).
    (#171 and #172 by @clue)

  • Fix: Improve DNS response parser to limit recursion for compressed labels.
    (#169 by @clue)

  • Improve test suite, use GitHub actions for continuous integration (CI).
    (#170 by @SimonFrings)

v1.4.0

18 Sep 12:17
Compare
Choose a tag to compare