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.
-
iroh
edition is now set to
edition2024
The 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::SendPacket
was removed in favor ofClientToRelayMsg::Datagrams
RelayToClientMsg::ReceivedPacket
was removed in favor ofRelayToClientMsg::Datagrams
FrameType
has changed variants:SendPacket
andRecvPacket
were removedClientToRelayDatagram
andClientToRelayDatagramBatch
were addedRelayToClientDatagram
andRelayToClientDatagramBatch
were 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-watcher
from version0.2
to0.3
endpoint.node_addr().initialized().await?
->endpoint.node_addr().initialized().await
(no?
needed anymore) and similarly forendpoint.home_relay()
and other uses ofWatcher
s.endpoint.node_addr().get()?
->endpoint.node_addr().get()
and similarly forendpoint.home_relay()
and other uses ofWatcher
s.&impl Watcher
but you need the current value, then you can't callWatcher::get
anymore, as that now takes a&mut self
instead 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_delay
iroh::endpoint::Builder::relay_conn_protocol
. It's now always websocketsiroh::RelayProtocol
re-export (the type was removed iniroh-relay
)iroh-relay
iroh_relay::client::SendMessage
andiroh_relay::client::ReceivedMessage
in favor ofClientToRelayMsg
andRelayToClientMsg
respectively.ClientBuilder::is_prober
ClientBuilder::protocol
http::Protocol
typerelay_accepts
andwebsocket_accepts
metricsimpl Stream for Client
now producesRelayToClientMsg
instead ofReceivedMessage
Client
nowimpl Sink<ClientToRelayMsg>
instead ofimpl Sink<SendMessage>
protos::relay::FrameType
toprotos::common::FrameType
and adjusted frame types to those of the current set of protocolsframes_rx_ratelimited_total
metric tobytes_rx_ratelimited_total
, which now tracks bytes not frames⛰️ Features
🐛 Bug Fixes
BestAddr
withPathValidity
(#3400) - (a3187ca)max_receive_segments
(#3414) - (a8485ad)last_call_me_maybe
when the best addr became invalid (#3415) - (bcb60d4)Datagrams::segment_size
be anOption<NonZeroU16>
(#3404) - (75fd57c)🚜 Refactor
📚 Documentation
iroh::Watcher
reexport in docs (#3375) - (9c023bf)🧪 Testing
endpoint_relay_connect_loop
not 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