Skip to content

Releases: amphp/dns

2.1.2

19 Apr 03:54
v2.1.2
04c88e6
Compare
Choose a tag to compare

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

01 Feb 15:48
v2.1.1
3e3f413
Compare
Choose a tag to compare

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

18 Nov 16:02
v2.1.0
c3b518f
Compare
Choose a tag to compare
  • 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

21 Jan 16:08
v2.0.1
e42876a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

2.0.0

10 Jan 22:50
v2.0.0
ac877da
Compare
Choose a tag to compare

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.

2.0.0 Beta 5

16 Dec 22:29
v2.0.0-beta.5
8fa7842
Compare
Choose a tag to compare
2.0.0 Beta 5 Pre-release
Pre-release
  • Fixed potential double resolution of a deferred if a DNS query timed out.

2.0.0 Beta 4

07 Nov 22:23
v2.0.0-beta.4
24f3eea
Compare
Choose a tag to compare
2.0.0 Beta 4 Pre-release
Pre-release
  • Added compatibility with Revolt v1.x
  • Added optional Cancellation parameter to Resolver methods
  • Renamed Config to DnsConfig
  • Renamed ConfigLoader to DnsConfigLoader
  • Renamed UnixConfigLoader to UnixDnsConfigLoader
  • Renamed WindowsConfigLoader to WindowsDnsConfigLoader

2.0.0 Beta 3

22 Feb 23:28
v2.0.0-beta.3
Compare
Choose a tag to compare
2.0.0 Beta 3 Pre-release
Pre-release
  • Fixed preference to IPv4 instead of relying on the first response from the DNS server.
    This restores the behavior of v1.x. Systems without IPv6 connectivity might have had problems with connections being attempted to IPv6 addresses.

2.0.0 Beta 2

03 Feb 22:43
v2.0.0-beta.2
Compare
Choose a tag to compare
2.0.0 Beta 2 Pre-release
Pre-release
  • Update to revolt/event-loop 0.2.x
  • Fix getting search domain from hostname

2.0.0 Beta 1

15 Dec 23:28
v2.0.0-beta.1
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release
  • Removed promises in favor of fibers.
  • Compatibility with Amp v3 and Revolt.