Amphp Dns Versions Save

Async DNS resolution for PHP based on Amp.

v2.1.2

4 weeks ago

What's Changed

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

Full Changelog: https://github.com/amphp/dns/compare/v2.1.1...v2.1.2

v2.1.1

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/amphp/dns/compare/v2.1.0...v2.1.1

v2.1.0

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

Full Changelog: https://github.com/amphp/dns/compare/v2.0.1...v2.1.0

v2.0.1

1 year ago

What's Changed

Full Changelog: https://github.com/amphp/dns/compare/v2.0.0...v2.0.1

v2.0.0

1 year ago

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.

v2.0.0-beta.5

1 year ago
  • Fixed potential double resolution of a deferred if a DNS query timed out.

v2.0.0-beta.4

1 year ago
  • 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

v2.0.0-beta.3

2 years ago
  • 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.

v2.0.0-beta.2

2 years ago
  • Update to revolt/event-loop 0.2.x
  • Fix getting search domain from hostname

v2.0.0-beta.1

2 years ago
  • Removed promises in favor of fibers.
  • Compatibility with Amp v3 and Revolt.