⚠️ Breaking Changes
- iroh
-
removed
MdnsDiscovery::new
is now privateMdnsDiscoveryBuilder::new
is now private- Use
MdnsDiscovery::builder()
to create anMdnsDiscoveryBuilder
- Use
MdnsDiscoveryBuilder::default()
to create anMdnsDiscoveryBuilder
- Use
iroh::Endpoint::direct_addresses
iroh::Endpoint::home_relay
iroh::Endpoint::add_node_addr
iroh::Endpoint::remote_info
iroh::Endpoint::remote_info_iter
iroh::RemoteInfo
iroh::discovery::DiscoveryItem
- “examples” feature is removed, you no longer need to include it in the list of features to run an example
-
added
MdnsDiscoveryBuilder::service_name()
iroh::Endpoint::online
iroh::Endpoint::watch_node_addr
-
changed
- API Changes
-
iroh::Endpoint::node_addr
now returns synchronously the current addressing information -
iroh::Endpoint::watch_node_addr
now returns a watchable forNodeAddr
notOption<NodeAddr>
-
iroh::discovery::mdns::DiscoveryItem
-
iroh::Endpoint::latency
-
iroh::PublicKey::fmt_short
now returns aimpl Display
rather than aString
To use it conveniently in
tracing
orlogging
precede thefmt_short()
call with a%
:tracing::info!(node_id = %node_id.fmt_short())
-
- API Changes
-
wire breaking changes
- Default service name changed from
iroh.local.swarm
toirohv1
- Provenance field name in
DiscoveryItem
changed fromlocal.swarm.discovery
tomdns
- Switches to use
X-Iroh
headers for the captive portal challenges, this is currently backwards compatible and will remain so until the next release
- Default service name changed from
-
⛰️ Features
- (iroh) [breaking] Add
MdnsDiscoveryBuilder::service_name
method (#3482) - (9a88cc5) - (iroh) [breaking] Introduce
online
method (#3467) - (d815cae) - (iroh) [breaking] Make direct_addresses always be initialised (#3505) - (33aca18)
- Make fmt_short return an impl Display so we can avoid an allocation. (#3460) - (5285cc0)
- Upgrade redb to v3 compatible format (#3483) - (2b36b77)
- Add a DNS resolver trait (#3473) - (7bd657e)
- Add a builder for DnsResolver (#3475) - (1fb68ef)
- Upgrade to rand@0.9 (#3465) - (78649a3)
- Congestion metrics (#3491) - (b6c60d3)
🐛 Bug Fixes
- (iroh) Convert to canonical IP address in IpSender (#3506) - (44c3c27)
- (iroh) Updated relays, and transfer example fixes (#3510) - (da311a6)
- (relay) Respect enable_relay flag (#3481) - (427fcad)
- Force reqwest to always use rustls backend (#3486) - (60d5310)
impl<T: Discovery> Discovery for Arc<T>
(#3495) - (f5381bc)- 0rtt flakes (#3496) - (9e61af5)
🚜 Refactor
- (iroh) [breaking] Remove Endpoint::add_node_addr (#3485) - (0ffadef)
- Rename last two
local_endpoints
usages todirect_addresses
(#3472) - (9c8540f) - [breaking] Switch to iroh headers for captive portal checks (#3488) - (d6f33f9)
- [breaking] Move examples deps to non-wasm dev deps (#3509) - (81e340f)