github n0-computer/iroh v0.93.0

latest release: v0.93.1
one day ago

⚠️ Breaking Changes

  • iroh
    • removed

      • MdnsDiscovery::new is now private
      • MdnsDiscoveryBuilder::new is now private
        • Use MdnsDiscovery::builder() to create an MdnsDiscoveryBuilder
        • Use MdnsDiscoveryBuilder::default() to create an MdnsDiscoveryBuilder
      • 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 for NodeAddr not Option<NodeAddr>

        • iroh::discovery::mdns::DiscoveryItem

        • iroh::Endpoint::latency

        • iroh::PublicKey::fmt_short now returns a impl Display rather than a String

          To use it conveniently in tracing or logging precede the fmt_short() call with a %:

          tracing::info!(node_id = %node_id.fmt_short())
    • wire breaking changes

      • Default service name changed from iroh.local.swarm to irohv1
      • Provenance field name in DiscoveryItem changed from local.swarm.discovery to mdns
      • Switches to use X-Iroh headers for the captive portal challenges, this is currently backwards compatible and will remain so until the next release

⛰️ 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

🚜 Refactor

  • (iroh) [breaking] Remove Endpoint::add_node_addr (#3485) - (0ffadef)
  • Rename last two local_endpoints usages to direct_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)

📚 Documentation

  • (iroh) Add screening-connection example (#3360) - (797fae6)

⚙️ Miscellaneous Tasks

  • Bump some spans up to warn, to ensure they are logged (#3466) - (2e42085)
  • Enable dependabot for crates and docker (#3497) - (968a70b)

Don't miss a new iroh release

NewReleases is sending notifications on new releases.