github n0-computer/iroh v0.34.0

one day ago

⚠️ Breaking Changes

  • iroh
    • added:
      • endpoint::Builder::tls_x509 to enable using X.509 TLS certificates.
        By default iroh endpoints will now use the new RawPublicKey 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:
let endpoint = Endpoint::builder()
   .tls_x509() // <--- this enables the old style TLS authentication
   // ...
   .bind();
  • changed:

    • renamed iroh::discovery::local_swarm_discovery to iroh::discovery::mdns
    • renamed iroh::discovery::local_swarm_discovery::LocalSwarmDiscovery to iroh::discovery::mdns::MdnsDiscovery
    • changed the default cert format for Reloading certificate mode from DER to PEM
    • trait method ProtocolHandler::accept(&self, connection: iroh::endpoint::Connection) used to take an iroh::endpoint::Connecting, now takes a iroh::endpoint::Connection.
  • iroh-net-report

    • removed:
      • iroh-base: We removed the unused getrandom optional dependency. As such, there doesn't exist a getrandom feature flag in iroh-base anymore.
      • MAPPED_ADDR_PORT is removed.
    • changed:
      • IpMappedAddr::socket_addr -> IpMappedAddr::private_socket_addr

⛰️ Features

  • (iroh) Enable netwatch::netmon::Monitor and the metrics 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 adjust locally-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 and ActorSocketState (#3203) - (2a49265)
  • (iroh, iroh-net-report) [breaking] Make ports more private (#3207) - (906250b)

📚 Documentation

⚙️ Miscellaneous Tasks

Don't miss a new iroh release

NewReleases is sending notifications on new releases.