Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/someguy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.13.0
Choose a base ref
...
head repository: ipfs/someguy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.14.0
Choose a head ref
  • 12 commits
  • 14 files changed
  • 2 contributors

Commits on Jun 2, 2026

  1. chore(deps): bump docker/setup-qemu-action from 3 to 4 (#145)

    Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3 to 4.
    - [Release notes](https://github.com/docker/setup-qemu-action/releases)
    - [Commits](docker/setup-qemu-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-qemu-action
      dependency-version: '4'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    c18012a View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump docker/login-action from 3 to 4 (#144)

    Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
    - [Release notes](https://github.com/docker/login-action/releases)
    - [Commits](docker/login-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: docker/login-action
      dependency-version: '4'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    3b8c0df View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump docker/setup-buildx-action from 3 to 4 (#143)

    Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
    - [Release notes](https://github.com/docker/setup-buildx-action/releases)
    - [Commits](docker/setup-buildx-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-buildx-action
      dependency-version: '4'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    6eb3f80 View commit details
    Browse the repository at this point in the history
  4. chore(deps): bump docker/build-push-action from 6 to 7 (#142)

    Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
    - [Release notes](https://github.com/docker/build-push-action/releases)
    - [Commits](docker/build-push-action@v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: docker/build-push-action
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    a109826 View commit details
    Browse the repository at this point in the history
  5. chore(deps): bump go.opentelemetry.io/otel from 1.43.0 to 1.44.0 (#136)

    Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.43.0 to 1.44.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-go@v1.43.0...v1.44.0)
    
    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/otel
      dependency-version: 1.41.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    067c345 View commit details
    Browse the repository at this point in the history
  6. chore(deps): bump go.opentelemetry.io/contrib/propagators/autoprop (#137

    )
    
    Bumps [go.opentelemetry.io/contrib/propagators/autoprop](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.57.0 to 0.69.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.57.0...zpages/v0.69.0)
    
    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/contrib/propagators/autoprop
      dependency-version: 0.66.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    f18c429 View commit details
    Browse the repository at this point in the history
  7. chore(deps): bump go.opentelemetry.io/otel/sdk from 1.43.0 to 1.44.0 (#…

    …140)
    
    Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.43.0 to 1.44.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-go@v1.43.0...v1.44.0)
    
    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/otel/sdk
      dependency-version: 1.41.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    7328352 View commit details
    Browse the repository at this point in the history
  8. chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/htt…

    …p/otelhttp (#139)
    
    Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.68.0 to 0.69.0.
    - [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.68.0...zpages/v0.69.0)
    
    ---
    updated-dependencies:
    - dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
      dependency-version: 0.66.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 2, 2026
    Configuration menu
    Copy the full SHA
    1fb94d9 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2026

  1. fix: serve /peers from the same address cache as /providers (#153)

    * fix: serve /peers cache-first like /providers
    
    someguy is a caching routing proxy, so /routing/v1/peers/{peerid} now
    answers from the cached address book and host peerstore before falling
    back to a DHT lookup, matching /providers. A relay-dependent peer that
    is absent from peer routing but recently seen as a provider is no longer
    answered with an empty result.
    
    - cachedRouter.FindPeers: check the peerbook first, fall back to peer
      routing only on a miss, and enrich address-less hits from cache
    - cachedAddrBook.GetCachedAddrs: fall back to the host peerstore, which
      the DHT fills with provider addresses during FindProviders
    - cachedAddrBook.CacheAddrs: persist addresses observed in provider
      records so later peer lookups can serve them
    
    * docs: document peer address caching
    
    Add docs/peer-address-caching.md explaining the two address stores, how
    the cache is filled and refreshed by the probe loop, and the cache-first
    read path on /providers and /peers, with mermaid diagrams. Note that
    caching requires a DHT-backed instance and is bypassed with --dht=disabled.
    
    - README: add a Documentation section linking all docs, and replace
      cid.contact references with the Delegated Routing V1 spec
    - AGENTS.md: add repo orientation, build/test commands, code map, and
      doc index
    
    * fix: prune stale cached addrs on identify
    
    Cached peer addresses previously only accumulated: provider records, DHT
    gossip, and successive identifies each unioned into the address book, so a
    peer could collect outdated certhashes, dead relay circuits, and rotated
    NAT ports that never expired until each entry's TTL lapsed.
    
    On a completed identify, replace the peer's stored set with its current
    advertised addresses (signed peer record, else identify listen addresses)
    unioned with any live-connection address, so a reachable peer collapses
    back to its current set each refresh. An identify carrying no usable
    addresses returns early and leaves the existing set untouched.
    
    * fix: count peer_addr_lookups once per /peers request
    
    Cache-first FindPeers recorded the metric twice on a cache miss: once when
    the cache-first lookup missed, then again in the post-DHT enrich step when
    the record already carried addresses. That made sum(origin=peers) exceed
    the request count and the hit-rate uncomputable.
    
    Read the cache directly in the enrich step so it no longer records a
    lookup; FindPeers now emits exactly one peer_addr_lookups increment per
    request (hit when served cache-first, miss when it falls back to the DHT).
    
    Also point the CHANGELOG doc link at an absolute URL so it resolves when
    copied into GitHub release notes.
    
    * fix: skip inbound conn addrs when caching, rename fallback field
    
    On identify, the live-connection addresses unioned into the cache came
    from every connection's RemoteMultiaddr, including inbound ones. An
    inbound connection's remote address is the peer's ephemeral source port,
    which is not dialable, so caching it reintroduced the junk the
    identify-time prune is meant to remove. Keep only outbound (and
    direction-unknown) connection remotes.
    
    Rename the host-peerstore fallback field from peerstore to hostPeerstore
    so it no longer shadows the imported peerstore package and reads as the
    counterpart to addrBook (someguy's own book vs the libp2p host's).
    
    * fix: sort multiaddrs in routing responses
    
    Addresses came back in nondeterministic order because the peerstore holds
    them in a map, so repeated requests for the same peer or provider returned
    the same addresses shuffled differently.
    
    Sort by bytes in filterPrivateMultiaddr, which sanitizeRouter already runs
    on every record from every router, so providers, peers, and closest-peers
    responses are stable regardless of whether the addresses came from the
    cache, the DHT, or a delegated HTTP backend.
    lidel authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    5e4b52b View commit details
    Browse the repository at this point in the history
  2. fix: skip expired ipns records in GetIPNS (#154)

    * fix: skip expired ipns records in GetIPNS
    
    parallelRouter.GetIPNS returned the first record a router produced
    without checking its validity, so an expired record could be
    served. Treat an EOL-passed record as not found and keep waiting
    for a valid one from another router.
    
    * docs: explain why GetIPNS re-checks IPNS expiry
    
    every backend already validates the record it returns, but EOL is
    time-varying while signatures are not: a record can expire between a
    backend's check and the moment the aggregator returns it. parallelRouter
    is first-result-wins with no revalidation, so document why the re-check
    guards against expired records winning the race.
    lidel authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    f779d7f View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2026

  1. chore(deps): bump boxo to v0.41.0 (#155)

    * chore(deps): bump boxo to v0.41.0
    
    routing/http/server now caps IPNS Cache-Control max-age to the record's
    remaining validity and returns no-store for expired or non-EOL records,
    so /routing/v1/ipns responses stop advertising freshness past a record's
    EOL. Also pulls in the OTLP exporter 4 MiB response cap (CVE-2026-39882)
    through boxo/tracing.
    
    * docs: changelog for boxo v0.41.0
    lidel authored Jun 8, 2026
    Configuration menu
    Copy the full SHA
    69edf16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b4eb30 View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址