Skip to content

Releases: ipfs/someguy

v0.9.1

16 May 17:58
6cb37a4
Compare
Choose a tag to compare

This release is brought to you by the Shipyard team.

Added

  • Added exporting of routing http client metrics: the endpoint will now include someguy_routing_http_client_* metrics when delegated routing clients are used:
    • Histogram: the latency of operations by the routing HTTP client
      • someguy_routing_http_client_latency_bucket{code,error,host,operation,le}
      • someguy_routing_http_client_latency_sum{code,error,host,operation}
      • someguy_routing_http_client_latency_count{code,error,host,operation}
    • Histogram: the number of elements in a response collection
      • someguy_routing_http_client_length_bucket{host,operation,le}
      • someguy_routing_http_client_length_sum{host,operation}
      • someguy_routing_http_client_length_count{host,operation}
    • See docs/metrics.md for more details.

PRs

  • feat(metrics): add delegated routing client metrics to prometheus by @hsanjuan in #113

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

08 May 01:42
1e063a1
Compare
Choose a tag to compare

This release is brought to you by the Shipyard team.

Added

  • Added http-block-provider-endpoints and http-block-provider-peerids options 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), FindProviders returns a provider record containing a predefined PeerID and the HTTP gateway as a multiaddr with /tls/http suffix. (see example in #110)

Changed

PRs

Full Changelog: v0.8.1...v0.9.0

v0.8.1

04 Mar 14:09
7e80d9d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

23 Jan 08:40
9deb78d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.8.0

v0.7.1

20 Dec 08:34
77a8147
Compare
Choose a tag to compare

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

18 Dec 10:57
0140ce3
Compare
Choose a tag to compare

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 FindProviders with cached addresses. If a peer is encountered with no cached addresses, FindPeer is 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 cachedAddrBook implementation:
      • SOMEGUY_CACHED_ADDR_BOOK_ACTIVE_PROBING whether to actively probe cached peers in the background to keep their multiaddrs up to date.
      • SOMEGUY_CACHED_ADDR_BOOK_RECENT_TTL to adjust the TTL for cached addresses of recently connected peers.

This release is brought to you by the Shipyard team.

Full Changelog: https://github.com/ipfs/someguy/blob/main/CHANGELOG.md

v0.6.0

19 Nov 10:28
bdf542e
Compare
Choose a tag to compare

v0.5.3

30 Oct 15:28
4903832
Compare
Choose a tag to compare

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

23 Oct 17:10
94cc5f7
Compare
Choose a tag to compare

Changed

Full Changelog: v0.5.0...v0.5.2

This release was brought to you by the Shipyard team.

v0.5.1

23 Oct 17:04
a00c839
Compare
Choose a tag to compare

(use v0.5.2 instead)