v0.30.0 - Slimming down #3057
dignifiedquire
announced in
Announcements
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-base
iroh_base::SharedSecret
iroh_base::DecryptionError
,iroh::DecryptionError
iroh_base::SecretKey::shared
iroh_base::SecretKey::generate_with_rng
, usegenerate
directlyiroh_base::SecretKey::to_openssh
iroh_base::SecretKey::from_openssh
iroh_base::base32
iroh_base::node_addr::AddrInfo
iroh_base::node_addr::AddrInfoOptions
iroh_base::relay_map
, useiroh_relay::relay_map
iroh_base::node_addr::NodeAddr
->iroh_base::NodeAddr
iroh_base::relay_url::RelayUrl
->iroh_base::RelayUrl
iroh_base::SecretKey::generate
now takes an rnganyhow::Error
is replaced with explicit errors forRelayUrl::from_str
anyhow::Error
is replaced with explicit errors forSharedSecret::open
iroh_base::PUBLIC_KEY_LENGTH
is moved from a top level constant toiroh_base::PublicKey::LENGTH
hex
lowercase by defaultticket
feature foriroh_base
, to useiroh_base::ticket
iroh_base::key
exports moved toiroh_base
:iroh_base::{KeyParsingError, NodeId, PublicKey, SecretKey, SharedSecret, Signature, PUBLIC_KEY_LENGTH}
iroh-net-report
net_report::Client::get_report_channel
now takes anopts: net_report::Options
net_report::Client
will no longer bindUdpSocket
s when one is not provided for both STUN over IPv4 or STUN over IPv6.iroh_net_report::Client::get_report
takes new parameterquic_config: net_report::QuicConfig
iroh_net_report::Client::get_report_channel
takes new parameterquic_config: net_report::QuicConfig
net_report::Client::get_report_with_options
iroh-relay
iroh_relay::HttpClientBuilder::address_family_selector
signature changedserver
is not a default feature iniroh-relay
anymoreClientError
has a number of unused variants removed.iroh
iroh::protocol::Router::get_protocol
iroh::protocol::RouterBuilder::get_protocol
iroh::protocol::ProtocolMap::get_typed
iroh::protocol::IntoArcAny
iroh::dialer::Dialer
andiroh::dialer
iroh::tls
iroh::Endpoint::connect_by_node_id
, useiroh::Endpoint::connect
with aNodeId
instead.iroh::hash::{BlobFormat, Hash, HashAndFormat}
, useiroh_blobs::{BlobFormat, Hash, HashAndFormat}
iroh::ticket::BlobTicket
, useiroh_blobs::ticket::BlobTicket
iroh::endpoint::Bytes
, usebytes::Bytes
iroh::Endpoint::watch_home_relay
To migrate, use
endpoint.home_relay().initialized().await?
instead ofendpoint.watch_home_relay().next().await
and useendpoint.home_relay().stream()
instead ofendpoint.watch_home_relay().next().await
.DirectAddrsStream
andConnTypeStream
, useiroh::watchable::WatcherStream
for as named types instead.iroh::endpoint::NodeAddr
moved toiroh::NodeAddr
iroh::Endpoint::conn_type_stream
is renamed toiroh::Endpoint::conn_type
and returnsResult<Watcher<ConnectionType>>
instead ofResult<ConnectionTypeStream>
To migrate, use
endpoint.conn_type()?.stream()
instead ofendpoint.conn_type_stream()?
.iroh::Endpoint::home_relay
now returnsWatcher<Option<RelayUrl>>
instead ofOption<RelayUrl>
.To migrate, use
endpoint.home_relay().get()?
instead ofendpoint.home_relay()
.iroh::protocol::ProtocolHandler::accept
now takes&self
instead ofArc<Self>
iroh::protocol::ProtocolHandler::shutdown
now takes&self
instead ofArc<Self>
iroh::protocol::RouterBuilder::accept
now takesT: ProtocolHandler
instead ofArc<dyn ProtocolHandler>
iroh::protocol::ProtocolMap
is now privateiroh::config::Config
has a new fieldzone_store
iroh::metrics::Metrics
has a new fieldstore_packets_expired
⛰️ Features
Arc
requirements fromProtocolHandler
(#3010) - (8dfbc35)Endpoint::connect_by_node_id
and add#[doc(cfg(...))]
annotations (#3015) - (95bcb62)net_report::Options
to specify which probes you want to run (#3032) - (ac74c53)RelayDatagramsQueue
(#2998) - (b76500d)🐛 Bug Fixes
🚜 Refactor
AddrInfo
(#3024) - (6a988a5)📚 Documentation
🧪 Testing
⚙️ Miscellaneous Tasks
This discussion was created from the release v0.30.0.
Beta Was this translation helpful? Give feedback.
All reactions