v0.19.2
This is a bugfix and small-feature release.
New features
- Support RFC 6762 legacy unicast responses: when a query arrives from a source port other than
5353, the daemon now replies directly to the querier's address/port instead of multicasting. This enables interoperability with one-shot / legacy mDNS queriers. (#469, commit933bdbe) - Added a new
Error::DaemonShutdownvariant, returned byServiceDaemonmethods after the daemon thread has exited (previously surfaced as a genericError::Msg). TheErrorenum is#[non_exhaustive], so this is additive. (commita457193)
Bug fixes / improvements
- Optimize outgoing DNS serialization to reduce allocations on the send path. (#467, commit
fb26d7f) - Replace a stray
println!inDnsHostInfo::writewithdebug!, so the library no longer writes to stdout. (#465, commit96008a4) - Expanded
# Errorsdoc sections on the majorServiceDaemonAPIs (new,new_with_port,browse,stop_browse,resolve_hostname,stop_resolve_hostname,register,unregister), documenting whenError::Againvs.Error::DaemonShutdownis returned. (#464, commita457193)
What's Changed
- Replace println with debug log by @anti-social in #465
- docs: add doc comments for error handling on major APIs by @keepsimple1 in #464
- Optimize dns outgoing serialization by @anti-social in #467
- Add support for RFC 6762 legacy unicast responses by @luqs1 in #469
- prepare for a new release 0.19.2 by @keepsimple1 in #470
- doc: update README.md for 0.19.2 by @keepsimple1 in #471
New Contributors
- @anti-social made their first contribution in #465
- @luqs1 made their first contribution in #469
Thanks and welcome!
Full Changelog: v0.19.1...v0.19.2