core
core copied to clipboard
chore(cargo): bump iroh-gossip from 0.17.0 to 0.19.0
Bumps iroh-gossip from 0.17.0 to 0.19.0.
Release notes
Sourced from iroh-gossip'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_addrrpc_portĀ field toĀclient::NodeStatusiroh-net
- The configuration file format for the
relayserver 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::configis removed.iroh_net::config::NetInfo-> removediroh_net::config::LinkInfo-> removedEndpoing::my_addr_with_endpointshas been removed.- renamed
Endpoint::local_endpoints->Endpoint::direct_addressesendpoint::LocalEndpointStream->endpoint::DirectAddrStreamconfig::Endpoint->magicsock::DirectAddrconfig::EndpointType->magicsock::DirectAddrTypeEndpoint::local_addr->Endpoint::bound_socketsEndpoint::my_addr->Endpoint::node_addrEndpoint::my_relay->Endpoint::home_relaydefaults::DEFAULT_RELAY_STUN_PORTĀ āĀdefaults::DEFAULT_STUN_PORT- changed
endpoint::Connecting::alpnĀ returnsĀVec<u8>Ā instead ofĀStringiroh-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_sendshould drop transmits that we dont have adestfor (#2393) - (aba70ea)
... (truncated)
Changelog
Sourced from iroh-gossip'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_sendshould drop transmits that we dont have adestfor (#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
- (iroh-net) Update NodeAddr docs (#2365) - (53dfed1)
- (iroh-net) A few small fixes from PR review (#2375) - (ea7e654)
- Fix spelling in new protocol handler docs (#2385) - (f73c506)
š§Ŗ Testing
āļø Miscellaneous Tasks
Deps
... (truncated)
Commits
3659628chore: Release52c96barefactor(iroh)!: Eliminate the type parameter for the rpc service type (#2405)d30ed19feat(iroh)!: expand ability to connect to RPC (#2398)83b01adfix(iroh): use two stage accept from quic-rpc (#2416)38e8ce0fix: do not panic on blobs db IO error (#2400)aba70eafix(iroh-net):poll_sendshould drop transmits that we dont have adestf...600ba8cfeat(iroh): allow setting the logging directory via config file (#2391)eb74cf6fix: properly wait for docs engine shutdown (#2389)abc7f5erefactor(iroh): use boxed client to get rid of the C type parameter (#2353)0e6d441feat(iroh): allow to disable docs engine completely (#2390)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)