Skip to content

Releases: amphp/dns

2.4.1

Choose a tag to compare

@trowski trowski released this 22 Aug 17:26
v2.4.1
ec5948b

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

Choose a tag to compare

@trowski trowski released this 19 Jan 15:50
v2.4.0
78eb3db

What's Changed

  • Replaced WMIC nameserver lookup with PowerShell equivalent by @Bilge in #116

Full Changelog: v2.3.0...v2.4.0

2.3.0

Choose a tag to compare

@trowski trowski released this 21 Dec 01:21
v2.3.0
166c437

What's Changed

  • Replaced Windows registry lookup with WMIC process invocation by @Bilge in #115
  • Fix #120: Incorrect error message on missing domain by @trowski in #121

Full Changelog: v2.2.0...v2.3.0

1.2.4

Choose a tag to compare

@kelunik kelunik released this 08 Dec 15:12
v1.2.4
4a13ffd

What's Changed

  • Increase minimum version to PHP 7.1
  • Make implicit nullable types explicit by @nicolas-grekas in #117
  • Fix default search list based on hostname

New Contributors

Full Changelog: v1.2.3...v1.2.4

2.2.0

Choose a tag to compare

@kelunik kelunik released this 02 Jun 19:57
v2.2.0
758266b

What's Changed

  • Added StaticDnsConfigLoader
  • Fixed support for docker 26+ by @xtrime-ru in #118

New Contributors

Full Changelog: v2.1.2...v2.2.0

2.1.2

Choose a tag to compare

@trowski trowski released this 19 Apr 03:54
v2.1.2
04c88e6

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

Choose a tag to compare

@trowski trowski released this 01 Feb 15:48
v2.1.1
3e3f413

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

Choose a tag to compare

@trowski trowski released this 18 Nov 16:02
v2.1.0
c3b518f
  • 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

Choose a tag to compare

@kelunik kelunik released this 21 Jan 16:08
v2.0.1
e42876a

What's Changed

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

2.0.0

Choose a tag to compare

@kelunik kelunik released this 10 Jan 22:50
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 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.