Skip to content

v0.20.0 - More ways to connect

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jul 12:49

⚠️ Breaking Changes

  • iroh-net

    • Add must_use to utils::AbortingJoinHandle
    • renamed pkarr_publish -> pkarr
    • removed relay::http::server::Protocol::from_url_scheme
    • removed relay::http::ServerBuilder::relay_endpoint
    • iroh_net::defaults is now split into prod and staging
    • iroh_net::discovery::dns::N0_DNS_NODE_ORIGIN is now N0_DNS_NODE_ORIGIN_PROD
    • iroh_net::discovery::pkarr::N0_DNS_PKARR_RELAY is now N0_DNS_PKARR_RELAY_PROD
  • iroh

    • rename client::Iroh::my_relay -> home_relay
    • rename client::Iroh::my_addr -> node_addr
    • rename node::Node::my_relay -> home_relay

⛰️ Features

  • (iroh) Add rpc request to add an AddrInfo (#2433) - (59e2719)
  • (iroh) Gossip client (#2258) - (b0d5413)
  • (iroh) Add missing gossip reexports (#2479) - (af36c2f)
  • (iroh-net) Implement websocket protocol upgrade in iroh-relay (#2387) - (17c654e)
  • (iroh-net) [breaking] Make relay protocol configurable on ClientBuilder instead of defined by the relay url scheme (#2446) - (ab2c7ea)
  • (iroh-net) [breaking] Add PkarrResolver and publish direct addresses in PkarrPublisher when relay is disabled (#2417) - (5ba6855)
  • (iroh-net) Local swarm discovery (#2376) - (3866b6f)
  • [breaking] Split relay configuration between production and staging (#2425) - (d421ece)
  • Add Asia Pacific relay url to the default relay url list in production (#2469) - (23790cb)
  • Docker images for iroh (#2404) - (debc4fb)

🐛 Bug Fixes

  • (cli) Always respect the --metrics-port disabled option (#2459) - (2c40984)
  • (iroh-bytes) Fix off-by-one error in Collection::load (#2473) - (3002deb)
  • (iroh-docs) Ensure docs db write txn gets closed regularly under all circumstances (#2474) - (235c69c)
  • (iroh-docs) [breaking] Add flush_store and use it to make sure the default author is persisted (#2471) - (b88dfa5)
  • (iroh-gossip) Gossip dispatcher: reliable events on join, allow dropping sinks or streams (#2482) - (998d29f)
  • (iroh-net) Delays of non-stun probes for subsequent relays (#2445) - (b34587f)
  • (iroh-net) Use staging URL for pkarr publish in dev mode (#2466) - (fe1d17f)
  • (iroh-net) Unexpected cfg condition values / possible fix on netbsd (#2476) - (aff8152)

🚜 Refactor

  • (iroh) Log inner errors (#2423) - (da3f84b)
  • (iroh) [breaking] Attempt make naming more consistent (#2434) - (6b4435d)
  • (iroh) Modularize protocol (#2454) - (5aa3fb6)
  • (iroh) [breaking] Remove server channel type parameter (#2461) - (f4d1e71)
  • (iroh-relay) [breaking] Remove relay_endpoint config option & rename /derp route to /relay (#2419) - (d4fe155)

📚 Documentation

  • (iroh) Expand module level documentation in iroh (#2463) - (74e8a6a)
  • (iroh-net) Update discovery and dialing docs, signatures (#2472) - (e53714c)
  • Pass Doc instead of Iroh in example (#2432) - (975124c)
  • Example requires example feature to run (#2451) - (623dcc6)
  • Reference rust doc style guide in contributing guidelines (#2452) - (32b23e6)

🧪 Testing

  • (iroh-cli) Also test for "minutes" in transfer time regex 😬 (#2475) - (9dddafc)
  • (iroh-net) Make some tests less flaky (#2457) - (bc0b397)
  • Increase timeout test_run_rpc_lock_file (#2439) - (efececb)
  • Increase timeouts for tests that are flaky on slow CI (#2450) - (cc30743)

⚙️ Miscellaneous Tasks

Deps