Skip to content

Bump mdns-sd from 0.11.5 to 0.21.0 - #22

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/mdns-sd-0.21.0
Closed

Bump mdns-sd from 0.11.5 to 0.21.0#22
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/mdns-sd-0.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 19, 2026

Copy link
Copy Markdown
Contributor

Bumps mdns-sd from 0.11.5 to 0.21.0.

Release notes

Sourced from mdns-sd's releases.

v0.21.0

Breaking changes

  • The max outgoing packet size is now 1452 bytes (based on Ethernet MTU), down from 8972 bytes, per RFC 6762 section 17. A record too big for one packet is still sent alone, in a packet of up to the RFC's 9000-byte ceiling, so no record is dropped. Users that need to change the limit can call the new ServiceDaemon::set_max_packet_size().

New features

  • Add ServiceDaemon::set_max_packet_size() to change the max byte size of outgoing packets on the interfaces matching a given IfKind. (#487)
  • Re-export the receiver-side error types RecvError, RecvTimeoutError and TryRecvError from flume, so that a caller can name them without adding flume as a direct dependency. (#488)

Bug fixes / improvements

  • On the receive side, the IPv4 and IPv6 max packet sizes are now tracked separately (8972 and 8952 bytes) so that each stays within the RFC's 9000-byte limit including its own IP header. (#487)

What's Changed

Full Changelog: keepsimple1/mdns-sd@v0.20.3...v0.21.0

v0.20.3

This is a small bugfix release.

Bug fixes

  • Fix a panic when encoding a name that contains a label longer than 63 bytes. The packet write path now reports an error and skips the offending question or record, instead of asserting. (#484, commit 08362e3)

What's Changed

Full Changelog: keepsimple1/mdns-sd@v0.20.2...v0.20.3

v0.20.2

This is a feature and bugfix release focused on improved RFC 6762 compliance.

New features

  • Implement RFC 6762 section 6 multicast rate limiting: responses to the same record are rate-limited to no more than once per second on a given interface. (#476, commit 76f42bd)
  • Delay responses to PTR queries per RFC 6762 section 6, spreading responses over a random 10-50ms (instead of 20-120ms) window to reduce collisions. (#479, commit a37e959)
  • Add a random jitter 10-50ms (instead of 20-120ms) before sending the initial query per RFC 6762 section 5.2. (#480, commit 7c55c75)

What's Changed

... (truncated)

Changelog

Sourced from mdns-sd's changelog.

Version 0.21.0 (2026-08-10)

Breaking changes

  • The max outgoing packet size is now 1452 bytes (Ethernet MTU), down from 8972 bytes, per RFC 6762 section 17. A record too big for one packet is still sent alone, in a packet of up to the RFC's 9000-byte ceiling, so no record is dropped. Users that need to change the limit can call the new ServiceDaemon::set_max_packet_size().

New features

  • Add ServiceDaemon::set_max_packet_size() to change the max byte size of outgoing packets on the interfaces matching a given IfKind, and export the new default as MAX_PKT_DEFAULT. (#487, commit 82711a8)
  • Re-export the receiver-side error types RecvError, RecvTimeoutError and TryRecvError from flume, so that a caller can name them without adding flume as a direct dependency. (#488, commit 20c0eac)

Bug fixes / improvements

  • On the receive side, the IPv4 and IPv6 max packet sizes are now tracked separately (8972 and 8952 bytes) so that each stays within the RFC's 9000-byte limit including its own IP header. (#487, commit 82711a8)

All changes

  • 6bf2bdb 2026-08-09 refactor: extract the code that does cache flush (#490) (keepsimple1)
  • 20c0eac 2026-08-08 feat: re-export Receiver error types (#488) (#489) (keepsimple1)
  • 82711a8 2026-08-07 feat: limit generated packet size per RFC 6762 section 17 (#487) (keepsimple1)

Version 0.20.3 (2026-07-26)

This is a small bugfix release.

Bug fixes / improvements

  • Fix a panic when encoding a name that contains a label longer than 63 bytes. The packet write path now reports an error and skips the offending question or record, instead of asserting. (#484, commit 08362e3)

All changes

  • a574e93 2026-07-24 docs: add RFC 6762 compliance rows for v0.20.2 features (keepsimple1)
  • 08362e3 2026-07-24 fix: Panic in write_utf8 (assert s.len() < 64) (#484) (keepsimple1)

Version 0.20.2 (2026-07-16)

This is a feature and bugfix release focused on improved RFC 6762 compliance.

New features

... (truncated)

Commits
  • 5fcb34a chores: prepare for a new release v0.21.0 (#491)
  • 6bf2bdb refactor: extract the code that does cache flush (#490)
  • 20c0eac feat: re-export Receiver error types (#488) (#489)
  • 82711a8 feat: limit generated packet size per RFC 6762 section 17 (#487)
  • 30432c2 prepare for release 0.20.3 (#486)
  • a574e93 docs: add RFC 6762 compliance rows for v0.20.2 features
  • 08362e3 fix: Panic in write_utf8 (assert s.len() < 64) (#484)
  • 42d99a8 prepare for a new release v0.20.2 (#482)
  • 5cfa13a fix: avoid leaking empty cache entries for records not for us (#481)
  • 7c55c75 feat: add a jitter for initial query per RFC 6762 section 5.2 (#480)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 19, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
flock b0e1fd8 Commit Preview URL

Branch Preview URL
Aug 27 2026, 02:22 PM

Bumps [mdns-sd](https://github.com/keepsimple1/mdns-sd) from 0.11.5 to 0.21.0.
- [Release notes](https://github.com/keepsimple1/mdns-sd/releases)
- [Changelog](https://github.com/keepsimple1/mdns-sd/blob/main/CHANGELOG.md)
- [Commits](keepsimple1/mdns-sd@v0.11.5...v0.21.0)

---
updated-dependencies:
- dependency-name: mdns-sd
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/mdns-sd-0.21.0 branch from 39a1060 to b0e1fd8 Compare August 27, 2026 14:17
stoatworks-labs added a commit that referenced this pull request Aug 27, 2026
* Bump mdns-sd from 0.11.5 to 0.21.0

Bumps [mdns-sd](https://github.com/keepsimple1/mdns-sd) from 0.11.5 to 0.21.0.
- [Release notes](https://github.com/keepsimple1/mdns-sd/releases)
- [Changelog](https://github.com/keepsimple1/mdns-sd/blob/main/CHANGELOG.md)
- [Commits](keepsimple1/mdns-sd@v0.11.5...v0.21.0)

---
updated-dependencies:
- dependency-name: mdns-sd
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* mdns-sd 0.21: ServiceResolved now carries a ResolvedService

Takes #22's bump with the source changes it needs. The ServiceResolved event
used to hand back a ServiceInfo; in 0.21 it is a ResolvedService, which
exposes plain fields rather than the get_* accessors:

  info.get_type()            -> info.ty_domain
  info.get_addresses_v4()    -> info.addresses, a HashSet<ScopedIp>

ScopedIp carries the interfaces an address was seen on, so it is filtered
with is_ipv4() and unwrapped with to_ip_addr() rather than being taken as a
bare Ipv4Addr. Picking the first of a set was arbitrary before and still is;
that has not changed.

Verified: cargo build --all-targets clean, cargo test clean, failing set
identical to main's (empty).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: allan sargeant <8385907+stoatworks-labs@users.noreply.github.com>
@stoatworks-labs

Copy link
Copy Markdown
Owner

Superseded by #24, which is merged — it carries this bump plus the ResolvedService migration mdns-sd 0.21 requires.

@dependabot @github

dependabot Bot commented on behalf of github Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/mdns-sd-0.21.0 branch August 27, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant