v0.91.0 #3420
ramfox
announced in
Announcements
v0.91.0
#3420
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
irohedition is now set to
edition2024The relay wire protocol changed: All relayed messages now contain at least an additional ECN byte.
They might be accidentally compatible when GSO is not enabled, but they're likely not.
This means this version of iroh can't connect to older relays or older clients on newer relays.
ClientToRelayMsg::SendPacketwas removed in favor ofClientToRelayMsg::DatagramsRelayToClientMsg::ReceivedPacketwas removed in favor ofRelayToClientMsg::DatagramsFrameTypehas changed variants:SendPacketandRecvPacketwere removedClientToRelayDatagramandClientToRelayDatagramBatchwere addedRelayToClientDatagramandRelayToClientDatagramBatchwere addedThe default relay URLs have changed. We are still maintaining relay URLs for version
0.90.0, those will be phased out next release.Updated
n0-watcherfrom version0.2to0.3endpoint.node_addr().initialized().await?->endpoint.node_addr().initialized().await(no?needed anymore) and similarly forendpoint.home_relay()and other uses ofWatchers.endpoint.node_addr().get()?->endpoint.node_addr().get()and similarly forendpoint.home_relay()and other uses ofWatchers.&impl Watcherbut you need the current value, then you can't callWatcher::getanymore, as that now takes a&mut selfinstead of&self. You can work around this by.clone()ing to an intermediate watcher:watcher_ref.get()->watcher_ref.clone().get()iroh::discovery::pkarr::dht::Builder::initial_publish_delayiroh::endpoint::Builder::relay_conn_protocol. It's now always websocketsiroh::RelayProtocolre-export (the type was removed iniroh-relay)iroh-relayiroh_relay::client::SendMessageandiroh_relay::client::ReceivedMessagein favor ofClientToRelayMsgandRelayToClientMsgrespectively.ClientBuilder::is_proberClientBuilder::protocolhttp::Protocoltyperelay_acceptsandwebsocket_acceptsmetricsimpl Stream for Clientnow producesRelayToClientMsginstead ofReceivedMessageClientnowimpl Sink<ClientToRelayMsg>instead ofimpl Sink<SendMessage>protos::relay::FrameTypetoprotos::common::FrameTypeand adjusted frame types to those of the current set of protocolsframes_rx_ratelimited_totalmetric tobytes_rx_ratelimited_total, which now tracks bytes not frames⛰️ Features
🐛 Bug Fixes
BestAddrwithPathValidity(#3400) - (a3187ca)max_receive_segments(#3414) - (a8485ad)last_call_me_maybewhen the best addr became invalid (#3415) - (bcb60d4)Datagrams::segment_sizebe anOption<NonZeroU16>(#3404) - (75fd57c)🚜 Refactor
📚 Documentation
iroh::Watcherreexport in docs (#3375) - (9c023bf)🧪 Testing
endpoint_relay_connect_loopnot flaky (#3402) - (8426241)⚙️ Miscellaneous Tasks
n0-watcher(#3405) - (2ce6a73)This discussion was created from the release v0.91.0.
Beta Was this translation helpful? Give feedback.
All reactions