Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
iroh-dns-server-v0.90.0-x86_64-apple-darwin.tar.gz | 2025-06-26 | 5.2 MB | |
iroh-relay-v0.90.0-x86_64-apple-darwin.tar.gz | 2025-06-26 | 4.2 MB | |
iroh-dns-server-v0.90.0-aarch64-apple-darwin.tar.gz | 2025-06-26 | 4.7 MB | |
iroh-relay-v0.90.0-aarch64-apple-darwin.tar.gz | 2025-06-26 | 3.9 MB | |
iroh-dns-server-v0.90.0-aarch64-unknown-linux-musl.tar.gz | 2025-06-26 | 5.0 MB | |
iroh-relay-v0.90.0-aarch64-unknown-linux-musl.tar.gz | 2025-06-26 | 4.2 MB | |
iroh-dns-server-v0.90.0-x86_64-pc-windows-msvc.zip | 2025-06-26 | 4.7 MB | |
iroh-relay-v0.90.0-x86_64-pc-windows-msvc.zip | 2025-06-26 | 3.8 MB | |
iroh-dns-server-v0.90.0-x86_64-unknown-linux-musl.tar.gz | 2025-06-26 | 5.5 MB | |
iroh-relay-v0.90.0-x86_64-unknown-linux-musl.tar.gz | 2025-06-26 | 4.6 MB | |
README.md | 2025-06-26 | 10.4 kB | |
v0.90.0 source code.tar.gz | 2025-06-26 | 508.1 kB | |
v0.90.0 source code.zip | 2025-06-26 | 604.4 kB | |
Totals: 13 Items | 46.8 MB | 1 |
⚠️ Breaking Changes
-
iroh
-
removed
iroh::endpoint::Builder:: tls_x509
removed, this is the tls mechanism that has been removediroh::endpoint::Builder:: tls_raw_public_keys
removed, this is the default mechanism now, so not needed anymoreDisplay
implementation was removed forSecretKey
, use.to_bytes()
and encode as hex to get the previous bytes explicitly, for example:
rust let encoded_key = data_encoding::HEXLOWER.encode(&secret_key.to_bytes())
- removed
iroh_relay::protos::stun::StunError
- removed
iroh_relay::server::testing::stun_config
- removed
iroh_relay::protos::stun
- removed
iroh_relay::quic::QuicClient::get_addr_and_latency
- removed
DEFAULT_STUN_PORT
- Removed
iroh::discovery::dns::DnsDiscovery::new
, useDnsDiscovery::builder
instead - Removed
iroh::discovery::pkarr::PkarrPublisher::new
, usePkarrPublisher::builder
instead - Removed
iroh::discovery::pkarr::PkarrPublisher::with_options
, usePkarrPublisher::builder
instead - Removed
iroh::discovery::pkarr::PkarrResolver::new
, usePkarrResolver::builder
instead- changed
- all public APIs return concrete error types, rather than
anyhow::Error
iroh::protocol::ProtocolHandler
methods now returnimpl Future
instead ofBoxFuture
. You can simply remove theBox::pin(async move {})
from the implementations and instead implement the methods asasync fn
. See the updated documentation for theiroh::protocol
module for an example.iroh::protocol::ProtocolHandler
is no longer dyn-compatible. If you need a dyn-compatible version, you need to build your own dyn-compatible wrapper trait. See the (non-public)DynProtocolHandler
iniroh::protocol
as an example.iroh::watcher
is now its own craten0-watcher
, but theWatcher
trait is still a top level export iniroh
iroh::endpoint::Endpoint::node_addr
now returnsimpl Watcher<Value = Option<NodeAddr>>
iroh::endpoint::Endpoint::home_relay
now returnsimpl Watcher<Value = Vec<RelayUrl>>
iroh::endpoint::Endpoint::bound_sockets
now returnsVec<SocketAddr>
iroh-quinn
is updated to0.14.0
iroh::protocol::RouterBuilder::accept
now takesimpl Into<Box<dyn DynProtocolHandler>>
instead ofimpl ProtocolHandler
. Because of a blanketFrom
impl this change does not need any changes by users: you can still pass anyimpl ProtocolHandler
toaccept
. Additionally, if you have your own builder struct upstream, you can now also pass aBox<dyn DynProtocolHandler>
toaccept
, which wasn't possible previously.iroh::discovery::Lagged
changed from a tuple to a structiroh::watcher::Disconnected
is changed from a tuple to a structiroh::watcher::Disconnected
is no longerUnwindSafe
orRefUnwindSafe
iroh::watcher::InitializedFut
is no longerRefUnwindSafeiroh-base
iroh::endpoint::Builder::add_discovery
now takes animpl iroh::discovery::IntoDiscovery
argument instead of a closure that returns aDiscovery
. You can implement that on a builder struct, and anyT: Discovery
has an auto-impl ofIntoDiscovery
.iroh::discovery::Discovery::resolve
no longer gets a&Endpoint
argument. If you need an endpoint in your discovery service, add a builder struct and implementIntoDiscovery
for it, which gives you an endpoint that you can clone into your serviceiroh::discovery::pkarr::PkarrPublisher::n0_dns
now takes no arguments and returns aPkarrPublisherBuilder
. The secret key is set onPkarrPublisherBuilder::build
instead.
-
-
iroh-base
changed
iroh_base::ticket::Error
is renamed toiroh_base::ticket::ParseError
iroh_base::key::KeyParsingError
has changed from athiserror
error to asnafu
erroriroh-relay
iroh-relay
changed
iroh_relay::node_info::MaxLengthExceededError
is no longerUnwindSafe
orRefUnwindSafe
iroh_relay::node_info::MaxLengthExceededError
was changed from athiserror
to asnafu
erroriroh_relay::client::ConnSendError
is nowiroh_relay::client::SendError
iroh_relay::protos::stun::Error
is nowiroh_relay::protos::stun::StunError
⛰️ Features
- (iroh) Allow protocols to gracefully shutdown connections (#3319) - (da571c1)
- (iroh) [breaking] Make ProtocolHandler use async functions (#3320) - (e36ac77)
- (iroh) [breaking] Remove deprecated x509 libp2p TLS authentication (#3330) - (136b855)
- (iroh) [breaking] Introduce transport abstraction (#3279) - (d915bfd)
- (iroh) Re-export
n0_watcher::Watcher
trait (#3356) - (bc6e9e3) - (iroh) [breaking] Expose
DynProtocolHandler
(#3366) - (056df1d) - Make
Endpoint::node_addr
watchable and addtrait Watcher
& combinators (#3045) - (7911255) - [breaking] Concrete errors (#3161) - (75eae87)
- Add methods to create variants of the
iroh-base::ticket::ParseError
enum. (#3362) - (1859de3)
🐛 Bug Fixes
- (iroh) Correctly hook up ipv6 addr lookups (#3342) - (b8b5bc3)
- (iroh-base) [breaking] Remove display impl for SecretKey (#3364) - (19323e6)
- Remove unneeded lifetime bound for watcher in wasm (#3354) - (84dd511)
🚜 Refactor
- (iroh) [breaking] Simplify discovery errors (#3340) - (fad99ab)
- (iroh) [breaking] Rename ProtocolError to AcceptError (#3339) - (d4de591)
- (iroh) [breaking] Rework net_report (#3314) - (dcbebe9)
- (iroh) [breaking] Add
IntoDiscovery
trait (#3327) - (7f2cdd1) - (iroh-relay,iroh) Slightly clean up staggered DNS errors (#3337) - (444c76b)
🧪 Testing
- (iroh-relay) Add 300ms timeout to the
test_qad_client_closes_unresponsive_fast
test (#3332) - (b647af9)
⚙️ Miscellaneous Tasks
- ()* Upgrade to the latest
iroh-metrics
,portmapper
, andswarm-discovery
(#3369) - (79bc05b) - (iroh) [breaking] Change default relays to new "canary" relays (#3368) - (6e72f20)
- (iroh-relay) Make QAD test non-flaky by using tokio's paused time (#3341) - (2b6c258)
- (iroh-relay) Fix cargo check warning (#3346) - (c7cf08d)
- Make clippy 1.87 happy (#3318) - (02acba9)
- Update project_sync workflow (#3325) - (518400b)