2.4.1
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
2.3.0
1.2.4
2.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
Cancellationarguments 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
ResolvertoDnsResolver - Renamed
resolver()todnsResolver() - Renamed
ConfigtoDnsConfig - Renamed
ConfigLoadertoDnsConfigLoader - Renamed
UnixConfigLoadertoUnixDnsConfigLoader - Renamed
WindowsConfigLoadertoWindowsDnsConfigLoader - Renamed
RecordtoDnsRecord - Renamed
NoRecordExceptiontoMissingDnsRecordException - Renamed
TimeoutExceptiontoDnsTimeoutException - Renamed
ConfigExceptiontoDnsConfigException - Added optional
Cancellationparameter toDnsResolvermethods - Fixed getting search domain from hostname
- Fixed potential double resolution of a deferred if a DNS query timed out.