github n0-computer/iroh v0.24.0

latest release: v0.25.0
16 days ago

⚠️ Breaking Changes

  • iroh-net
    • swarm discovery will no longer send consecutive repeated values
    • iroh::net::endpoint::Endpoint::accept now returns Incoming instead of Connecting. This allows rejecting incoming connections earlier, notify the initiating side to retry later and more. To get back Connecting, simply use Incoming::accept(). If all you did with Connecting before was to .await it, you can do the same with Incoming, too, and get back a Connection.
    • Removed iroh::net::endpoint::Builder::concurrent_connections. The amount of concurrent connections is now controlled by either calling Incoming::accept or Incoming::refuse after Endpoint::accept.

⛰️ Features

  • (bench) Add --with-relay option to allow testing relay throughput (#2664) - (5c09013)
  • (bench) Add --metrics option printing iroh-net library metrics (#2668) - (4f83c43)
  • (iroh-net) [breaking] Upgrade to Quinn 0.11 and Rustls 0.23 (#2595) - (34ec5e2)

🐛 Bug Fixes

  • (iroh-blobs) Demote warn! to trace! logs (#2689) - (6181455)
  • (iroh-blobs) Turn println! into tracing::debug! (#2686) - (5bbcb60)
  • (iroh-blobs) Timeout based on correct max_write_duration option (#2688) - (2347565)
  • (iroh-net) Document the keylog environment variable correctly (#2655) - (c70caaf)
  • (iroh-net) Magic sock recv_data_ipv4 and recv_data_ipv6 metrics numbers (#2667) - (cb1650a)
  • (iroh-net) Also check the last packet in MagicSock::poll_recv (#2650) - (54ca9c9)
  • (iroh-net) Reduce noise in swarm discovery due to republish (#2685) - (fd56763)
  • Docker CI performance & release builds (#2659) - (d567231)

🚜 Refactor

  • (iroh, iroh-blobs, iroh-net) [breaking] Remove deprecated items (#2652) - (060bf83)

🧪 Testing

  • (iroh-gossip) Wait for the relay to make gossip_net_smoke faster. (#2663) - (1d3f3fa)

⚙️ Miscellaneous Tasks

  • (iroh-net) Do not add the NodeId in the magicsock span field (#2679) - (05fff6a)

Deps

  • (iroh-gossip) Do not depend directly on Quinn (#2678) - (6296964)

Don't miss a new iroh release

NewReleases is sending notifications on new releases.