core icon indicating copy to clipboard operation
core copied to clipboard

chore(cargo): bump iroh-net from 0.17.0 to 0.19.0

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps iroh-net from 0.17.0 to 0.19.0.

Release notes

Sourced from iroh-net's releases.

v0.19.0 - Make it your own

āš ļø Breaking Changes

  • iroh
    • Builder loses theĀ EĀ type parameter
    • ProtocolBuilder loses theĀ EĀ type parameter
    • rpc_endpoint takes aĀ boxed::ServerEndpoint
    • renamed
      • client::Iroh::connectĀ ->Ā client::Iroh::connect_path
    • added
      • client::Iroh::connect_addr
      • rpc_portĀ field toĀ client::NodeStatus
  • iroh-net
    • The configuration file format for the relay server has changed, deployments will need to updated. For the full format seeĀ struct ConfigĀ inĀ iroh-net/src/bin/iroh-relay.rs. Here a summary:
      • The 3 parts of the server now have an independent enable setting:Ā enable_relay,Ā enable_stunĀ andĀ enable_metrics. If omitted they default toĀ true.
      • The way to specify which addresses the server listens on has changed:Ā http_bind_addrĀ is for the relay server,Ā stun_bind_addrĀ for the STUN server,Ā metrics_bind_addrĀ is for the optional metrics server andĀ tls.https_bind_addrĀ is for when TLS is enabled. Note these are now all full socket addresses. All have sensible defaults if omitted.
      • There are new options inĀ tls.cert_pathĀ andĀ tls.key_pathĀ which allow more control over where the manual TLS keys are to be read from.
    • removed
      • iroh_net::config is removed.
      • iroh_net::config::NetInfo -> removed
      • iroh_net::config::LinkInfo -> removed
      • Endpoing::my_addr_with_endpoints has been removed.
    • renamed
      • Endpoint::local_endpoints -> Endpoint::direct_addresses
      • endpoint::LocalEndpointStream -> endpoint::DirectAddrStream
      • config::Endpoint -> magicsock::DirectAddr
      • config::EndpointType -> magicsock::DirectAddrType
      • Endpoint::local_addr -> Endpoint::bound_sockets
      • Endpoint::my_addr -> Endpoint::node_addr
      • Endpoint::my_relay -> Endpoint::home_relay
      • defaults::DEFAULT_RELAY_STUN_PORT → defaults::DEFAULT_STUN_PORT
    • changed
      • endpoint::Connecting::alpnĀ returnsĀ Vec<u8>Ā instead ofĀ String
  • iroh-gossip
    • net::Gossip::update_endpoints -> net::Gossip::update_direct_addresses

ā›°ļø Features

  • (iroh) Allow to disable docs engine completely (#2390) - (0e6d441)
  • (iroh) Allow setting the logging directory via config file (#2391) - (600ba8c)
  • (iroh) [breaking] Expand ability to connect to RPC (#2398) - (d30ed19)

šŸ› Bug Fixes

  • (iroh) Do not double-close docs on drop (#2383) - (55a0c0b)
  • (iroh) Use two stage accept from quic-rpc (#2416) - (83b01ad)
  • (iroh-net) [breaking] ALPNs can be bytes, not just strings (#2377) - (f57c34f)
  • (iroh-net) Prevent adding addressing info that points back to us (#2333) - (b2e8557)
  • (iroh-net) poll_send should drop transmits that we dont have a dest for (#2393) - (aba70ea)

... (truncated)

Changelog

Sourced from iroh-net's changelog.

0.19.0 - 2024-06-27

ā›°ļø Features

  • (iroh) Allow to disable docs engine completely (#2390) - (0e6d441)
  • (iroh) Allow setting the logging directory via config file (#2391) - (600ba8c)
  • (iroh) [breaking] Expand ability to connect to RPC (#2398) - (d30ed19)

šŸ› Bug Fixes

  • (iroh) Do not double-close docs on drop (#2383) - (55a0c0b)
  • (iroh) Use two stage accept from quic-rpc (#2416) - (83b01ad)
  • (iroh-net) [breaking] ALPNs can be bytes, not just strings (#2377) - (f57c34f)
  • (iroh-net) Prevent adding addressing info that points back to us (#2333) - (b2e8557)
  • (iroh-net) poll_send should drop transmits that we dont have a dest for (#2393) - (aba70ea)
  • Properly wait for docs engine shutdown (#2389) - (eb74cf6)
  • Do not panic on blobs db IO error (#2400) - (38e8ce0)

🚜 Refactor

  • (iroh) [breaking] Use ref-cast instead of fields to get the subsystem clients (#2374) - (be3e16e)
  • (iroh) Allow to register custom protocols (#2358) - (13ded84)
  • (iroh) Move code from builder to node and make things nicer (#2386) - (08f1fe0)
  • (iroh) Use boxed client to get rid of the C type parameter (#2353) - (abc7f5e)
  • (iroh) [breaking] Eliminate the type parameter for the rpc service type (#2405) - (52c96ba)
  • (iroh-net) [breaking] Rename Endpoint::my_relay to home_relay (#2361) - (100d27d)
  • (iroh-net) [breaking] Rename Endpoint::my_addr to Endpoint::node_addr (#2362) - (61d5109)
  • (iroh-net) [breaking] Do not use &NodeId in APIs as this is Copy (#2363) - (e9075f3)
  • (iroh-net) [breaking] Rename Endpoint::local_addr to bound_sockets (#2366) - (a5e5939)
  • (iroh-net) [breaking] Rename Endpoint::local_endpoints to direct_addresses (#2369) - (2ac3d01)
  • (iroh-net) Improve magicsock module visibility (#2371) - (3b0bb51)
  • (iroh-net) [breaking] Rework relay-server binary, more configurable, reverse-proxy support (#2341) - (4ff1ec4)
  • (iroh_net) [breaking] Remove Endpoint::my_addr_with_endpoints (#2359) - (3a2faea)

šŸ“š Documentation

🧪 Testing

āš™ļø Miscellaneous Tasks

Deps

... (truncated)

Commits
  • 3659628 chore: Release
  • 52c96ba refactor(iroh)!: Eliminate the type parameter for the rpc service type (#2405)
  • d30ed19 feat(iroh)!: expand ability to connect to RPC (#2398)
  • 83b01ad fix(iroh): use two stage accept from quic-rpc (#2416)
  • 38e8ce0 fix: do not panic on blobs db IO error (#2400)
  • aba70ea fix(iroh-net): poll_send should drop transmits that we dont have a dest f...
  • 600ba8c feat(iroh): allow setting the logging directory via config file (#2391)
  • eb74cf6 fix: properly wait for docs engine shutdown (#2389)
  • abc7f5e refactor(iroh): use boxed client to get rid of the C type parameter (#2353)
  • 0e6d441 feat(iroh): allow to disable docs engine completely (#2390)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jul 01 '24 21:07 dependabot[bot]