⚠️ Breaking Changes
iroh
- added:
endpoint::Builder::tls_x509
to enable using X.509 TLS certificates.
By default iroh endpoints will now use the newRawPublicKey
TLS configuration. This means they will not be able to talk to older iroh nodes. If needed, the old mechanism can still be used by configuring the endpoint like this:
- added:
let endpoint = Endpoint::builder()
.tls_x509() // <--- this enables the old style TLS authentication
// ...
.bind();
-
changed:
- renamed
iroh::discovery::local_swarm_discovery
toiroh::discovery::mdns
- renamed
iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery
toiroh::discovery::mdns::MdnsDiscovery
- changed the default cert format for
Reloading
certificate mode fromDER
toPEM
- trait method
ProtocolHandler::accept(&self, connection: iroh::endpoint::Connection)
used to take aniroh::endpoint::Connecting
, now takes airoh::endpoint::Connection
.
- renamed
-
iroh-net-report
- removed:
iroh-base
: We removed the unusedgetrandom
optional dependency. As such, there doesn't exist agetrandom
feature flag iniroh-base
anymore.MAPPED_ADDR_PORT
is removed.
- changed:
IpMappedAddr::socket_addr
->IpMappedAddr::private_socket_addr
- removed:
⛰️ Features
- (iroh) Enable
netwatch::netmon::Monitor
and themetrics
feature in Wasm (#3206) - (7acfe39) - (iroh) [breaking] Allow for limiting incoming connections on the router (#3157) - (3e16848)
- (iroh) [breaking] Switch TLS authentication to raw public keys (#2937) - (d8c8c8e)
- [breaking] Add
DiscoveryItem::user_data
method and adjustlocally-discovered-nodes
example (#3215) - (f6b5f5c)
🐛 Bug Fixes
- (iroh) Don't cause re-stuns all the time in browsers (#3234) - (ef3645e)
- (iroh-base) [breaking] Remove unused
getrandom
dependency (#3202) - (0c7a122) - (iroh-relay) Report round-trip-latency instead of single-trip for QAD (#3230) - (00f8309)
- (relay) [breaking] Change default cert format from der to pem (#3204) - (4930837)
- Update project_sync (#3213) - (aa7463b)
🚜 Refactor
- (iroh) Factor out socket-related state & construction into
magicsock::SocketState
andActorSocketState
(#3203) - (2a49265) - (iroh, iroh-net-report) [breaking] Make ports more private (#3207) - (906250b)