Repository navigation
Releases
v0.9.0
This release is brought to you by the Shipyard team.
Added
- Added
http-block-provider-endpointsandhttp-block-provider-peeridsoptions to enable using a trustless HTTP gateway as a source for synthetic content routing records.- When the configured gateway responds with HTTP 200 to an HTTP HEAD request for a block (
HEAD /ipfs/{cid}?format=raw),FindProvidersreturns a provider record containing a predefined PeerID and the HTTP gateway as a multiaddr with/tls/httpsuffix. (see example in #110)
- When the configured gateway responds with HTTP 200 to an HTTP HEAD request for a block (
Changed
accelerated-dhtoption was removed and replaced with adhtoption which enables toggling between the standard client, accelerated client and being disabled- boxo v0.30.0
- go-libp2p v0.41.1
- go-libp2p-kad-dht v0.32.0
PRs
- ci: uci/copy-templates by @web3-bot in #107
- feat: enable using an HTTP block provider as a routing backend by @aschmahmann in #110
- chore: update dependencies by @lidel in #111
Full Changelog: v0.8.1...v0.9.0
v0.8.1
v0.8.0
v0.7.1
What's Changed
This release fixes a bug whereby someguy would not filter out private IPs.
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Added
Active Peer Probing and Caching
Active probing and caching improves the quality and reliability of Content Routing responses from the DHT. Someguy always returns addresses for providers and omits unroutable providers for which no addresses can be found.
- Peer addresses are cached in a local in-memory address book for 48h to match provider record expiration on Amino DHT.
- In the background, someguy probes cached peers at most once per hour (
PeerProbeThreshold) by attempting to dial them to keep their multiaddrs up to date. If a peer is not reachable, an exponential backoff is applied to reduce the frequency of probing. If a cached peer is unreachable for more than 48h (MaxBackoffDuration), it is removed from the cache. - Someguy now augments providers missing addresses in
FindProviderswith cached addresses. If a peer is encountered with no cached addresses,FindPeeris dispatched in the background and the result is streamed in the reponse. Providers for which no addresses can be found, are omitted from the response.- This can be enabled via
SOMEGUY_CACHED_ADDR_BOOK=true|false(enabled by default) - Two additional configuration options for the
cachedAddrBookimplementation:SOMEGUY_CACHED_ADDR_BOOK_ACTIVE_PROBINGwhether to actively probe cached peers in the background to keep their multiaddrs up to date.SOMEGUY_CACHED_ADDR_BOOK_RECENT_TTLto adjust the TTL for cached addresses of recently connected peers.
- This can be enabled via
This release is brought to you by the Shipyard team.
Full Changelog: https://github.com/ipfs/someguy/blob/main/CHANGELOG.md
v0.6.0
What's Changed
- Add tracing
- Make Prometheus metrics per route and move instrumentation to Boxo
- Upgrade to go-libp2p-kad-dht 0.28.1
- Add timeouts to DHT request
Full Changelog: v0.5.3...v0.6.0
This release is brought to you by the Shipyard team.
v0.5.3
Fixed
- default config: restore proxying of all results from IPNI at
cid.contact#83
Full Changelog: v0.5.2...v0.5.3
This release was brought to you by the Shipyard team.
v0.5.2
v0.5.1
v0.5.0
What's Changed
- Added support for IPIP-484 which allows filtering network transports (addresses) and transfer protocols (bitswap, etc) in /routing/v1/ responses by @2color in #82
- Upgrade to go-libp2p 0.36.5
- Upgrade to Boxo v0.24.0
Full Changelog: v0.4.2...v0.5.0
This release was brought to you by the Shipyard team.
