Releases: amphp/dns
Releases · amphp/dns
2.2.0
What's Changed
- Added
StaticDnsConfigLoader
- Fixed support for docker 26+ by @xtrime-ru in #118
New Contributors
- @xtrime-ru made their first contribution in #118
Full Changelog: v2.1.2...v2.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
2.1.0
- Fixed name resolution when NDots > 1
- Added
Cancellation
arguments toAmp\Dns\query()
andAmp\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
toDnsResolver
- Renamed
resolver()
todnsResolver()
- Renamed
Config
toDnsConfig
- Renamed
ConfigLoader
toDnsConfigLoader
- Renamed
UnixConfigLoader
toUnixDnsConfigLoader
- Renamed
WindowsConfigLoader
toWindowsDnsConfigLoader
- Renamed
Record
toDnsRecord
- Renamed
NoRecordException
toMissingDnsRecordException
- Renamed
TimeoutException
toDnsTimeoutException
- Renamed
ConfigException
toDnsConfigException
- Added optional
Cancellation
parameter toDnsResolver
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
- Fixed potential double resolution of a deferred if a DNS query timed out.
2.0.0 Beta 4
- Added compatibility with Revolt v1.x
- Added optional
Cancellation
parameter toResolver
methods - Renamed
Config
toDnsConfig
- Renamed
ConfigLoader
toDnsConfigLoader
- Renamed
UnixConfigLoader
toUnixDnsConfigLoader
- Renamed
WindowsConfigLoader
toWindowsDnsConfigLoader
2.0.0 Beta 3
- 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
- Update to
revolt/event-loop
0.2.x - Fix getting search domain from hostname