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.