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-baseiroh_base::SharedSecretiroh_base::DecryptionError,iroh::DecryptionErroriroh_base::SecretKey::sharediroh_base::SecretKey::generate_with_rng, usegeneratedirectlyiroh_base::SecretKey::to_opensshiroh_base::SecretKey::from_opensshiroh_base::base32iroh_base::node_addr::AddrInfoiroh_base::node_addr::AddrInfoOptionsiroh_base::relay_map, useiroh_relay::relay_mapiroh_base::node_addr::NodeAddr->iroh_base::NodeAddriroh_base::relay_url::RelayUrl->iroh_base::RelayUrliroh_base::SecretKey::generatenow takes an rnganyhow::Erroris replaced with explicit errors forRelayUrl::from_stranyhow::Erroris replaced with explicit errors forSharedSecret::openiroh_base::PUBLIC_KEY_LENGTHis moved from a top level constant toiroh_base::PublicKey::LENGTHhexlowercase by defaultticketfeature foriroh_base, to useiroh_base::ticketiroh_base::keyexports moved toiroh_base:iroh_base::{KeyParsingError, NodeId, PublicKey, SecretKey, SharedSecret, Signature, PUBLIC_KEY_LENGTH}iroh-net-reportnet_report::Client::get_report_channelnow takes anopts: net_report::Optionsnet_report::Clientwill no longer bindUdpSockets when one is not provided for both STUN over IPv4 or STUN over IPv6.iroh_net_report::Client::get_reporttakes new parameterquic_config: net_report::QuicConfigiroh_net_report::Client::get_report_channeltakes new parameterquic_config: net_report::QuicConfignet_report::Client::get_report_with_optionsiroh-relayiroh_relay::HttpClientBuilder::address_family_selectorsignature changedserveris not a default feature iniroh-relayanymoreClientErrorhas a number of unused variants removed.irohiroh::protocol::Router::get_protocoliroh::protocol::RouterBuilder::get_protocoliroh::protocol::ProtocolMap::get_typediroh::protocol::IntoArcAnyiroh::dialer::Dialerandiroh::dialeriroh::tlsiroh::Endpoint::connect_by_node_id, useiroh::Endpoint::connectwith aNodeIdinstead.iroh::hash::{BlobFormat, Hash, HashAndFormat}, useiroh_blobs::{BlobFormat, Hash, HashAndFormat}iroh::ticket::BlobTicket, useiroh_blobs::ticket::BlobTicketiroh::endpoint::Bytes, usebytes::Bytesiroh::Endpoint::watch_home_relayTo migrate, use
endpoint.home_relay().initialized().await?instead ofendpoint.watch_home_relay().next().awaitand useendpoint.home_relay().stream()instead ofendpoint.watch_home_relay().next().await.DirectAddrsStreamandConnTypeStream, useiroh::watchable::WatcherStreamfor as named types instead.iroh::endpoint::NodeAddrmoved toiroh::NodeAddriroh::Endpoint::conn_type_streamis renamed toiroh::Endpoint::conn_typeand returnsResult<Watcher<ConnectionType>>instead ofResult<ConnectionTypeStream>To migrate, use
endpoint.conn_type()?.stream()instead ofendpoint.conn_type_stream()?.iroh::Endpoint::home_relaynow returnsWatcher<Option<RelayUrl>>instead ofOption<RelayUrl>.To migrate, use
endpoint.home_relay().get()?instead ofendpoint.home_relay().iroh::protocol::ProtocolHandler::acceptnow takes&selfinstead ofArc<Self>iroh::protocol::ProtocolHandler::shutdownnow takes&selfinstead ofArc<Self>iroh::protocol::RouterBuilder::acceptnow takesT: ProtocolHandlerinstead ofArc<dyn ProtocolHandler>iroh::protocol::ProtocolMapis now privateiroh::config::Confighas a new fieldzone_storeiroh::metrics::Metricshas a new fieldstore_packets_expired⛰️ Features
Arcrequirements fromProtocolHandler(#3010) - (8dfbc35)Endpoint::connect_by_node_idand add#[doc(cfg(...))]annotations (#3015) - (95bcb62)net_report::Optionsto 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