Skip to content

Commit

Permalink
bump up version to 0.10.2 (#162)
Browse files Browse the repository at this point in the history
Also added a comment about re-registering to update service info (inspired by issue #161 )
  • Loading branch information
keepsimple1 committed Dec 28, 2023
1 parent 2c3f7e5 commit 85af66a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Version 0.10.2 (2023-12-28)

This is a bug fix release.

## Changes

* use human-readable address in error log of send_packet (#155)
* query for unresolved instances only when needed (#157)
* Fix panic due to range out of bounds in txt record parsing (#159)
* Sanity check for empty service type name (#160)
* Added comment for updating service info by re-registering.

Happy new year 2024!

# Version 0.10.1 (2023-12-2)

This is a bug fix release.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mdns-sd"
version = "0.10.1"
version = "0.10.2"
authors = ["keepsimple <[email protected]>"]
edition = "2018"
rust-version = "1.61.0"
Expand Down
3 changes: 3 additions & 0 deletions src/service_daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ impl ServiceDaemon {
///
/// If `service_info` has no addresses yet and its `addr_auto` is enabled,
/// this method will automatically fill in addresses from the host.
///
/// To re-announce a service with an updated `service_info`, just call
/// this `register` function again. No need to call `unregister` first.
pub fn register(&self, mut service_info: ServiceInfo) -> Result<()> {
check_service_name(service_info.get_fullname())?;

Expand Down

0 comments on commit 85af66a

Please sign in to comment.