Releases: amphp/dns
Releases · amphp/dns
2.3.0
1.2.4
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
- @nicolas-grekas made their first contribution in #117
Full Changelog: v1.2.3...v1.2.4
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