github n0-computer/iroh v0.31.0

23 hours ago

⚠️ Breaking Changes

  • iroh
    • changed
      • iroh::Endpoint::close's future is now infallible, instead of returning a Result.
    • removed
      • regex feature (as the dependency is not used anymore)
    • added
      • relay-only mode for testing
  • iroh-relay
    • added
      • added: field access to iroh_relay::server::RelayConfig
    • changed
      • renamed iroh_relay::server::ClientConnRateLimit to ClientRateLimit
    • removed
      • iroh_relay::server::MaybeTlsStreamServer from the public API
      • iroh_relay::client::SendMessage::NotePreferred

⛰️ Features

  • (iroh) Implement Discovery for Arc'ed Discovery types (#3107) - (f675525)
  • (iroh-relay) [breaking] Implement authentication (#3086) - (2c42eff)
  • (iroh-relay) Send regular pings to check the connection (#3113) - (cd12da3)
  • (relay) [breaking] Relay only mode now configurable (#3056) - (5aba17e)
  • Make Endpoint::close infallible (#3112) - (870c76e)
  • Allow dns discovery in transfer example (#3121) - (a5bb926)

🐛 Bug Fixes

  • (dns) Segfaults in pkarr (#3120) - (04d43a6)
  • (iroh) Set MaybeFuture to None on Poll::Ready (#3090) - (6599ea6)
  • (iroh) Parse DNS answer with multiple records into a proper NodeAddr (#3104) - (024ab7f)
  • (iroh) Remove superflious info log (#3080) - (423a986)
  • (iroh) Implement Clone for StaticProvider discovery (#3108) - (65cf688)
  • (iroh) Queue sent datagrams longer (#3129) - (e756710)
  • (iroh) Return error if disco send via relay fails (#3130) - (35af23e)
  • (iroh, iroh-relay) [breaking] Optimise the relay datagram path through the MagicSock (#3062) - (7ad531e)
  • (iroh-relay) Removes deadlock in Clients (#3099) - (c650ea8)
  • (iroh-relay) Cleanup client connections in all cases (#3105) - (f08d560)
  • [breaking] Cleanup dead and unused dependencies (#3070) - (a37dcfc)
  • Correctly set publishing details for pkarr records (#3082) - (7bdae88)
  • Try improving relay_datagram_send_channel() (#3118) - (594b861)

🚜 Refactor

  • (iroh) Magical pin projections (#3060) - (a4d4e7d)
  • (iroh) ActiveRelayActor terminates itself (#3061) - (693922a)
  • (iroh) Simplify RTT actor (#3072) - (1cd0e96)
  • (iroh) Remove CancellationToken from Endpoint (#3101) - (9cef520)
  • (iroh, iroh-relay) [breaking] Do reconnection in ActiveRelayActor (#3058) - (272b6c4)
  • (iroh-base) Introduce an Arc into RelayUrl (#3065) - (834ab78)
  • (iroh-relay) Rename DerpCodec to RelayCodec (#3059) - (dfa0a2c)
  • (iroh-relay) [breaking] Server actor task is not a task or actor anymore (#3093) - (f50db17)

📚 Documentation

  • (iroh) Update discovery docs, mostly StaticProvider (#3109) - (eb90bfc)
  • (iroh-relay) README.md: config.toml must use [tls] instead of [tlsconfig] (#3126) - (4e2641d)

🧪 Testing

  • (iroh) Make test_relay_datagram_queue less timing dependent (#3106) - (3fedee9)
  • (iroh) Add some context to test errors (#3066) - (1ae820d)

⚙️ Miscellaneous Tasks

Don't miss a new iroh release

NewReleases is sending notifications on new releases.