Repository navigation
v0.22.0
Breaking changes
DaemonStatus::Runningis nowDaemonStatus::Running(RunningState). (#524)ServiceDaemon::new()andnew_with_port()now return an error if neither the IPv4
nor the IPv6 multicast socket can be bound, or if registering the sockets with the
poller fails. Before, the daemon started anyway andstatus()reportedRunning.
If only one socket fails (e.g. a host without IPv6), the daemon still runs. (#524)- A service fullname read from the network now keeps its escapes, so it equals the
registered fullname. For example, an instance namedL.A.R.A Hubis now reported as
L\.A\.R\.A Hub._lara._tcp.local.instead ofL.A.R.A Hub._lara._tcp.local.. (#540)
Use the newinstance_name_unescaped()to get the readable instance name. (#552)
New features
RunningStatereports the daemon's local setup as of thestatus()request: the
bind state (and error) of the IPv4 and IPv6 sockets, and for each enabled interface
its addresses and whether its multicast joins worked, with the error from the last
failed attempt. Failed joins are retried at the next IP check. (#524)- Add
instance_name_unescaped(), which returns the instance name in a fullname with
its escapes removed. For example,L\.A\.R\.A Hub._lara._tcp.local.gives
L.A.R.A Hub. (#552)
Bug fixes / improvements
- Stop an endless hostname rename loop caused by our own answers looping back while a
hostname probe is in progress (#545). The daemon no longer answers with records that
are still being probed, does not treat its own addresses as a conflict, moves all of
a host's address records on a rename, and moves the affected services back to
Probingso they are announced again under the new name. (#548) - Answer questions for instance names with dots in a label. Labels read from packets
now escape.and\, so they match the registered names. (#540) - Preserve label boundaries in DNS name compression, so that names like
L\.A.B.local.
andL.A.B.local.are no longer compressed into each other. (#542) - Don't let a known answer with a TTL above our own suppress our answer. Some queriers
(e.g. Android 13) list a much larger TTL, which suppressed every answer and made them
drop the service every 2 minutes. (#539)
What's Changed
- fix: do not suppress answers on a known-answer TTL above our own by @meliodaff in #539
- fix: escape dots and backslashes in labels read from packets by @meliodaff in #540
- fix: preserve label boundaries in DNS name compression by @Sealdot in #542
- feat: report detailed state in DaemonStatus::Running by @keepsimple1 in #524
- fix: stop the hostname rename loop caused by our own answers (#545) by @keepsimple1 in #548
- feat: add instance_name_unescaped() to get a readable instance name by @keepsimple1 in #552
- prepare for a new release 0.22.0 by @keepsimple1 in #551
New Contributors
- @meliodaff made their first contribution in #539
- @Sealdot made their first contribution in #542
Full Changelog: v0.21.7...v0.22.0