v0.33.0 #3201
ramfox
announced in
Announcements
v0.33.0
#3201
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::test_utils::create_dns_resolveris removed, useiroh::dns::DnsResolver::newinsteadiroh::dns::resolverandiroh::dns::default_resolverare removed. There is no static, global DNS resolver anymore. If you want to share a DNS resolver between endpoints, create the resolver yourself withiroh::dns::DnsResolver::newand clone it into the endpoint builders (inEndpointBuilder::dns_resolver). If you want to reuse the DNS resolver from an endpoint, you can access it withEndpoint::dns_resolverand clone it to wherever you need it.iroh::dns::node_info::{IrohAttr, TxtAttrs, node_id_from_hickory_name}are no longer public. Useiroh::dns::DnsResolver::lookup_node_by_idoriroh::dns::DnsResolver::lookup_node_by_domain_nameto lookup node info from DNS.iroh::dns::node_info::{to_z32, from_z32}are removed. Use the methods oniroh::dns::node_info::NodeIdExttrait instead.iroh::dns::ResolverExtis removed. Use the methods oniroh::dns::DnsResolverinstead.iroh::discovery::Discovery::publishnow takesdata: &NodeDataas its single argument.iroh::discovery::NodeDatais a re-export ofiroh_relay::dns::node_info::NodeData, and contains relay URL and direct addresses. See docs forNodeDatafor details.iroh::dns::DnsResolverused to be a type alias and now is a reexport ofiroh_relay::dns::DnsResolverstructiroh::dns::node_infomodule is now a reexport ofiroh_relay::dns::node_infoiroh::discovery::dns::{N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING}are now reexports ofiroh_relay::dns::{N0_DNS_NODE_ORIGIN_PROD, N0_DNS_NODE_ORIGIN_STAGING}iroh::dns::DnsResolvernow take animpl ToStringinstead ofimpl hickory_proto::rr::domain::IntoNamefor theirhostargumentiroh::discovery::DiscoveryItemno longer has any public fields. There are now getters for the contained data, and constructors for createing aDiscoveryItemfrom aNodeInfo.iroh_relay::dns::node_info::NodeInfois changed.NodeInfo::newnow has a singleNodeIdargument. UseNodeInfo::with_direct_addressesandNodeInfo::with_relay_urlto set addresses and relay URL. Alternatively, useNodeInfo::from_partsand pass aNodeDatastruct.NodeInfonow has two public fieldsnode_id: NodeIdanddata: NodeData, and setter and getter methods for the relay URL and direct addresses.iroh::discovery::pkarr::PkarrPublisher::update_addr_infonow takes aNodeDataargument⛰️ Features
irohcompile towasm32-unknown-unknown(#3189) - (247b891)Endpoint::closefaster by aborting QAD connections faster (#3182) - (f640e83)🐛 Bug Fixes
🚜 Refactor
🧪 Testing
⚙️ Miscellaneous Tasks
This discussion was created from the release v0.33.0.
Beta Was this translation helpful? Give feedback.
All reactions