Skip to content

2.0.0

Compare
Choose a tag to compare
@kelunik kelunik released this 10 Jan 22:50
· 23 commits to 2.x since this release
v2.0.0
ac877da

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.