github n0-computer/iroh v0.26.0

latest releases: v0.28.1, v0.28.0, v0.27.0...
one month ago

⚠️ Breaking Changes

  • changed
    • client::Blobs::read_at and read_at_to_bytes now take
      ReadAtLen instead of Option<usize>
    • by default node::Node::memory & persistent have docs disabled
  • removed
    • node::Builder::disable_docs
  • added
    • node::Builder::enable_docs
  • iroh-net
    • struct DirectAddrInfo now has field sources, which is a HashMap of endpoint::Source to Duration. The Source is how we heard about the remote, and the Duration is how long ago we heard about it. We keep only the shortest Duration.
  • iroh-blobs
    • changed
      • util::local_pool::LocalPool will now install the tracing subscriber of the thread creating the pool, into each thread managed by the pool. Practically this should not break any code already managing their tracing subscribers either manually inside tasks or by setting a global subscriber before creating the pool. But if you really liked the behaviour of swallowing the logs on doing this it's a breaking change

⛰️ Features

  • (iroh) Disable docs by default (#2748) - (eb4c4a6)
  • (iroh) [breaking] Make blobs::read_at more flexible (#2756) - (33dc559)
  • (iroh) Allow setting a custom quinn::TransportConfig (#2760) - (253f4f1)
  • (iroh-cli) Improve ergonomics of iroh gossip subscribe CLI cmd (#2751) - (90fd6f0)
  • Set derive_more to 1.0.0 (no beta!) (#2736) - (2d863a9)

🐛 Bug Fixes

  • (ci) Make netsim work on forks (#2757) - (0953263)
  • (examples) Make collection-provide, hello-world-provide and rpc work again (#2749) - (25c8305)
  • (iroh-blobs) Preserve tracing subscriber in the LocalPool (#2735) - (5dd8bd3)
  • (iroh-blobs) Remove debugging logs & more cleanup (#2690) - (857e513)
  • (iroh-net) Clear the recent pong time when pong is lost (#2743) - (8fb92f3)

🚜 Refactor

📚 Documentation

  • (iroh-net) Document default relay servers a bit more (#2740) - (10025bd)
  • (iroh-net) Improve last_pong field docs (#2747) - (19c8fd3)
  • (iroh-net) Improve pkarr discovery docs (#2722) - (a0a8d56)
  • (iroh-net) Document cargo features needed for APIs (#2759) - (5d92f49)

Don't miss a new iroh release

NewReleases is sending notifications on new releases.