GitHub

2.4.1

What's Changed

  • Fixed cancellation of a query cancelling all outstanding queries for the same name
  • Fixed parsing hosts files with a comments starting after the first character in the line

Full Changelog: v2.4.0...v2.4.1

2.4.0

2.3.0

1.2.4

2.2.0

2.1.2

What's Changed

  • Make implicit nullable types explicit to avoid deprecation notice in PHP 8.4.

Full Changelog: v2.1.1...v2.1.2

2.1.1

What's Changed

  • Corrected error message unit scale (ms -> seconds) by @Bilge in #113
  • Fixed Windows nameserver detection by only enumerating real NICs by @Bilge in #114

New Contributors

Full Changelog: v2.1.0...v2.1.1

2.1.0

  • Fixed name resolution when NDots > 1
  • Added Cancellation arguments to Amp\Dns\query() and Amp\Dns\resolve().

Full Changelog: v2.0.1...v2.1.0

2.0.1

2.0.0

Stable release compatible with AMPHP v3 and fibers! 🎉

As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

  • Renamed Resolver to DnsResolver
  • Renamed resolver() to dnsResolver()
  • Renamed Config to DnsConfig
  • Renamed ConfigLoader to DnsConfigLoader
  • Renamed UnixConfigLoader to UnixDnsConfigLoader
  • Renamed WindowsConfigLoader to WindowsDnsConfigLoader
  • Renamed Record to DnsRecord
  • Renamed NoRecordException to MissingDnsRecordException
  • Renamed TimeoutException to DnsTimeoutException
  • Renamed ConfigException to DnsConfigException
  • Added optional Cancellation parameter to DnsResolver methods
  • Fixed getting search domain from hostname
  • Fixed potential double resolution of a deferred if a DNS query timed out.

Read the original on github.com ↗