github n0-computer/iroh v0.32.0

16 hours ago

⚠️ Breaking Changes

  • iroh

    • removed
      • iroh::endpoint::get_remote_node_id has been removed. Use iroh::endpoint::Connection::remote_node_id instead.
      • iroh::endpoint::Connecting::local_ip is removed.
      • iroh::endpoint::Connecting::remote_address is removed.
      • iroh::endpoint::Connection::local_ip is removed.
      • iroh::endpoint::Connection::remote_address is removed.
      • discovery-pkarr-dht feature became non-default (moved from opt-out to opt-in).
    • changed
      • iroh::Endpoint::connect returns an iroh::endpoint::Connection
  • iroh-net-report

    • changed
      • iroh_net_report::Client::new now takes additional parameter mapped_addrs: Option
  • iroh-test

    • whole crate is removed:
      • iroh_test::parse_hexdump is replaced with data_encoding::HEXLOWER.decode
      • iroh_test::CallOnDrop is replaced with tokio_util::task::AbortOnDropHandle
      • iroh-test::logging is replaced with tracing-test

⛰️ Features

  • (iroh) Allow customising the TransportConfig for connections (#3111) - (2b92db4)
  • (iroh) [breaking] Wrap the Connection struct so we own the type (#3110) - (2e61ff2)
  • (iroh) [breaking] Remove access to local and remote IP addresses (#3148) - (08bd2a1)
  • (iroh-relay) Make the client side of iroh-relay compile & run in browsers (#3119) - (03e3e3c)
  • [breaking] Add QUIC Address Discovery to iroh (#3049) - (243a04a)

🐛 Bug Fixes

  • (iroh) Remove quinn::Endpoint::wait_idle from iroh::Endpoint::close process (#3165) - (a1d21c6)
  • (iroh-net-report) Only add QUIC ipv6 probes if we have an ipv6 interface (#3133) - (9275d22)
  • (iroh-relay) Fix client actors not closing (#3134) - (e5bbbe1)
  • Handle invalid input length when parsing a node id (#3155) - (a8d058f)

🚜 Refactor

  • (iroh) Replace timer module with AbortOnDropHandle and sleep (#3141) - (43e9805)
  • Use n0-future in favor of futures-* libraries and tokio::{spawn,task,time} (#3156) - (617fa50)
  • [breaking] Remove iroh-test crate (#3162) - (7b6884f)
  • Cleaning up unnecessary logs (#3164) - (9a75d14)

📚 Documentation

⚙️ Miscellaneous Tasks

Don't miss a new iroh release

NewReleases is sending notifications on new releases.