trust-dns v0.20.0-alpha.2 Release Notes

Release Date: 2020-09-16 // over 3 years ago
  • ๐Ÿš€ 0.20.0 (unreleased) see previous release notes for all 0.20.0 changes

    ๐Ÿ”„ Changed

    • (all) minimum rustc version now 1.42
    • (resolver) For all NxDomain and NoError/NoData responses, ResolveErrorKind::NoRecordsFound will be returned #1197
    • ๐Ÿ’ฅ (proto) Breaking Adjust the return value from ResponseCode::high from u16 to u8 #1202

    โž• Added

    • (proto) xfer::dns_response::NegativeType and DnsResponse::negative_type to classify negative response type #1197
    • (proto) DnsResponse::contains_answer to determine if a response message has data related to the query #1197
    • (proto) RecordType::is_soa and RecordType::is_ns to easily check for these types #1197
    • (proto) Message::all_sections to allow iteration over all Records in all sections in a Message #1197
    • ๐Ÿšš (proto) Message::take_queries to remove from a Message without requiring clone #1197
    • ๐Ÿ‘ (proto) DnsHandle::Error associated type to support generic errors across trust-dns libraries #1197