Skip to content

v0.35.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 12 May 15:47

⚠️ Breaking Changes

  • iroh
    • remove
      • pub fn default_from_node(url: RelayUrl, stun_port: u16) -> RelayMap
    • change
      • pub fn from_url(url: RelayUrl) -> RelayMap, use From<RelayUrl> instead
      • Router::spawn is now a plain function instead of an async fn
      • Router::spawn is now infallible, instead of returning anyhow::Result<()>
      • All metrics structs (iroh::metrics::{MagicsockMetrics, PortmapMetrics, NetReportMetrics}) now implement MetricsGroup from the new version 0.34 of iroh-metrics and no longer implement traits from [email protected].
      • Metrics are no longer registered onto the static superglobal Core. iroh does not use static_core feature of iroh-metrics. Metrics are now exposed from the subsystems that track them, see e.g. Endpoint::metrics.
      • Several methods now take a Metrics argument. You can always pass Default::default if you don't want to unify metrics tracking with other sections.
      • pkarr::SignedPacket, as used as a parameter in iroh::dns::node_info::NodeInfo::to_pkarr_signed_packet and iroh::dns::node_info::NodeInfo::from_pkarr_signed_packet is now expecting pkarr at major version 3 instead of 2
  • iroh-relay
    • change
      • Minor change in the From impls for ConnSendError due to changing the underlying library

⛰️ Features

  • (iroh) Allow connecting with "fallback" ALPNs (#3282) - (839bfaa)
  • (iroh) Add net-report method on the iroh::Endpoint that returns a Watchable<Report> (#3293) - (3448b4b)
  • (iroh,iroh-relay) Enable proxying and test-utils support for websockets, allow configuring websockets in endpoint::Builder (#3217) - (8a24a95)
  • (iroh-relay) [breaking] Adjust APIs to make it easier to create RelayMaps from lists of RelayUrls (#3292) - (cd0a47a)
  • Update to [email protected] (#3274) - (1d79f92)
  • [breaking] Metrics refactor (#3262) - (1957ca8)
  • Fix minimal crates selection (#3255) - (a62a2bd)
  • Improve transfer, publish, resolve examples (#3296) - (30577d3)

🐛 Bug Fixes

  • (iroh) [breaking] Update dependencies & fix 0-RTT with newer rustls by pulling the expected NodeId out of the ServerName in verifiers (#3290) - (af882a6)
  • (iroh-dns-server) Backwards compatibility for packets stored with iroh-dns-server v0.34 or lower (#3295) - (74b8baa)
  • (iroh-dns-server) Fixes for packet expiry (#3297) - (146f423)
  • (iroh-relay) Don't stop relay client actor if queues become full (#3294) - (f3c9af3)

⚙️ Miscellaneous Tasks

Deps