v0.96.0 #3896
ramfox
announced in
Announcements
v0.96.0
#3896
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.
-
removed
iroh::endpoint::AddEndpointAddrErroriroh::endpoint::GetMappingAddressErroriroh::net_report:iroh::net_report::Metricsiroh::net_report::Probeiroh::net_report::RelayLatenciesiroh::net_report::Optionsiroh::net_report::QuicConfigiroh::endpoint::ConnectionTypewas removed, the closest equivalent isiroh::TransportAddr, which has variantsRelayandIp,- note: now that we can have multiple paths per connection, these types now describe paths not connections. Look at theiroh::endpoint::Connection::pathsmethod and theiroh::endpoint::PathInfostruct for more details on how you can learn the type of the currently selected path.iroh::endpoint::ControlMsgiroh::endpoint::AuthenticationErroriroh::endpoint::AddEndpointAddrErroriroh::endpoint::DirectAddrInfoiroh::endpoint::GetMappingAddressErroriroh::endpoint::CryptoServerConfigiroh::endpoint::RetryErroriroh::endpoint::WeakConnectionHandleiroh::endpoint::AuthenticationError::from(source: iroh_quinn_proto::connection::ConnectionError) -> Selfiroh::endpoint::Endpoint::conn_type(&self, endpoint_id: iroh_base::key::EndpointId) -> Option<n0_watcher::Direct<iroh::endpoint::ConnectionType>>iroh::endpoint::Endpoint::latency(&self, endpoint_id: iroh_base::key::EndpointId) -> Option<core::time::Duration>iroh::endpoint::AuthenticationErrro::ConnectionErroriroh::endpoint::ConnectWithOptsError::AddEndpointAddriroh::endpoint::Source::SavedChanged
Connection Changes
iroh::endpoint::Connectionnow has a type parameter:iroh::endpoint::Connectionis aliased fromConnection<HandshakeCompleted>iroh::endpoint::IncomingZeroRttConnectionis aliased fromConnection<IncomingZeroRtt>iroh::endpoint::IncomingZeroRttConnectionis aliased fromConnection<OutgoingZeroRtt>iroh::endpoint::Incoming::accept_with(self, server_config: Arc<iroh_quinn_proto::config::ServerConfig>) -> Result<iroh::endpoint::Accepting, iroh_quinn_proto::connection::ConnectionError>changed toiroh::endpoint::Incoming::accept_with(self, server_config: Arc<iroh::endpoint::ServerConfig) -> Result<iroh::endpoint::Accepting, iroh::endpoint::ConnectionError>iroh::endpoint::Incoming::retry(self) -> core::result::Result<(), iroh_quinn::incoming::RetryError>changed toiroh::endpoint::Incoming::retry(self) -> Result<(), iroh::endpoin::RetryError>iroh::endpoint::ConnectWithOptsError::NoAddress: source iroh::endpoint::GetMappingAddressErrorchanged toiroh::endpoint::ConnectWithOptsError::NoAddress: source iroh::discovery::DiscoveryErrorNet Report
iroh::net_report::Reportis nowiroh::NetReportiroh::net_report::TIMEOUTis nowiroh::NET_REPORT_TIMEOUTServer & Transport Config
iroh::endpoint::ServerConfig, use theiroh::endpoint::Endpoint::create_server_config_builderto get aServerConfigBuilder, which allows you to add custom configuration for when the endpoint acts as a server that accepts connectionsiroh::endpoint::TransportConfigis nowiroh::endpoint::QuicTransportConfig, use theiroh::endpoint::QuicTransportConfig::buildermethod to get aQuicTransportConfigBuilderto add custom configuration for the QUIC transportiroh::endpoint::Builder::transport_config(self, transport_config: iroh_quinn_proto::config::transport::TransportConfig) -> Selfchanged tofn iroh::endpoint::Builder::transport_config(self, transport_config: iroh::endpoint::QuicTransportConfig) -> SelfBind Address
iroh::endpoint::Builder::bind_addr_v4(self, addr: SocketAddrV4)was replaced byiroh::endpoint::Builder::bind_addr(self, addr: ToSocketAddr)-> Result<Self, InvalidSocketAddr>iroh::endpoint::Builder::bind_addr_v6(self, addr: SocketAddrV6)was replaced byiroh::endpoint::Builder::bind_addr(self, addr: ToSocketAddr)-> Result<Self, InvalidSocketAddr>Metrics
iroh::metrics::MagicsockMetricshas entirely new set of fieldsDiscovery → AddressLookup
iroh::discoveryrenamed toiroh::address_lookupiroh::discovery::Discoveryrenamed toiroh::address_lookup::AddressLookupiroh::endpoint::Endpoint::discoveryrenamed toiroh::endpoint::Endpoint::address_lookupiroh::endpoint::Builder::set_user_data_for_discoveryrenamed toiroh::endpoint::Builder::set_user_data_for_address_lookupiroh::endpoint::Builder::discoveryrenamed toiroh::endpoint::Builder::address_lookupiroh::discovery::MdnsDiscoveryrenamed toiroh::address_lookup::MdnsAddressLookupiroh::discovery::DhtDiscoveryrenamed toiroh::address_lookup::DhtAddressLookupiroh::discovery::StaticDiscoveryrenamed toiroh::address_lookup::MemoryLookupiroh::discovery::DynIntoDiscoveryrenamed toiroh::address_lookup::DynIntoAddressLookupiroh::discovery::IntoDiscoveryrenamed toiroh::address_lookup::IntoAddressLookupiroh::discovery::DnsDiscoveryrenamed toiroh::address_lookup::DnsAddressLookupiroh::discovery::DiscoveryErrorrenamed toiroh::address_lookup::AddressLookupErroriroh::discovery::IntoDiscoveryErrorrenamed toiroh::address_lookup::IntoAddressLookupErroriroh::discovery::DiscoveryItemrenamed toiroh::address_lookup::AddressLookupItemiroh::discovery::ConcurrentDiscoveryrenamed toiroh::address_lookup::ConcurrentAddressLookupdiscovery-local-networkrenamed toaddress-lookup-mdnsdiscovery-pkarr-dhtrenamed toaddress-lookup-pkarr-dht⛰️ Features
quinn::TransportConfigto enforce certain minimums when used with multipath (#3721) - (cc932ef)ServerConfigandRetryError, organize the quinn re-exports (#3757) - (aa6b918)🐛 Bug Fixes
EndpointStateActor::selected_pathonce the last connection closes (#3650) - (4b6824c)RecvMeta::dst_ip, removenormalized_local_addr(#3770) - (692bb53)PathStatus::Available(#3771) - (561d2fd)🚜 Refactor
RemoteStateActorinJoinSetand removeguarded_channel.rs(#3681) - (37f69e0)endpoint::Builder::bind_addrwith an unusable port (#3836) - (f2b6026)RemoteMap(#3841) - (99268b8)EndpointStateActor(#3645) - (01545ee)📚 Documentation
⚡ Performance
🧪 Testing
test_two_devices_setup_teardownhanging (#3675) - (59a7e85)test_active_relay_inactivetest being flaky (#3680) - (160d535)⚙️ Miscellaneous Tasks
DiscoverytoAddressLookup(#3853) - (6ad5ac4)Bench
Deps
Example
Multipath
This discussion was created from the release v0.96.0.
Beta Was this translation helpful? Give feedback.
All reactions