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: ipni/needle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: ipni/needle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 9 commits
  • 14 files changed
  • 4 contributors

Commits on Sep 16, 2026

  1. chore(deps): bump google.golang.org/grpc from 1.81.1 to 1.83.2

    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.81.1 to 1.83.2.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.81.1...v1.83.2)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-version: 1.83.2
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 16, 2026
    Configuration menu
    Copy the full SHA
    0b2d6c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2026

  1. Make OpenTelemetry tracing usable

    NEEDLE_SAMPLING_FRACTION sampled nothing: the root sampler only kept spans
    named needle*, and otelhttp names the server span "GET /". A trusted
    traceparent was honoured, but the trace held that one span and nothing
    about the work inside the request.
    
    Sampling is now ParentBased(TraceIDRatioBased(fraction)) with a root
    sampler that only samples the request's server span, so background DHT
    and address book work is still never traced. A request's traceparent is
    trusted with NEEDLE_TRACING_AUTH, as before, or with the new
    NEEDLE_TRACING_TRUST_TRACEPARENT for a needle behind a proxy that
    replaces client traceparent headers; any other request starts its own
    trace and keeps the caller's as a link.
    
    The request span is named after the endpoint
    (needle GET /routing/v1/providers/{cid}). Each router asked gets a child
    span, needle router <op> <router>, carrying the routerTrace measurements
    (records, exclusive records, first record, how it finished) plus errors
    and the cached address book's counts; each /dnsaddr query gets a span.
    The DHT library's per-peer query spans are kept out of request traces.
    
    OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES now override needle's
    resource values, service.instance.id defaults to host:port, and an OTLP
    endpoint alone selects the OTLP exporter.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    TakGN and claude committed Oct 29, 2026
    Configuration menu
    Copy the full SHA
    c6b855a View commit details
    Browse the repository at this point in the history
  2. Use attribute.Value.String in the resource test

    Value.Emit is deprecated, which staticcheck (SA1019) fails go-check on.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    TakGN and claude committed Oct 29, 2026
    Configuration menu
    Copy the full SHA
    5351330 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2026

  1. Merge pull request #1 from ipni/dependabot/go_modules/google.golang.o…

    …rg/grpc-1.83.2
    
    chore(deps): bump google.golang.org/grpc from 1.81.1 to 1.83.2
    TakGN authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    d8abf4d View commit details
    Browse the repository at this point in the history
  2. Bump OTLP trace exporters to v1.45.0

    Replaces the separate Dependabot bumps of otlptrace, otlptracegrpc and
    otlptracehttp, which conflict with each other in go.mod and go.sum.
    
    v1.45.0 fixes GHSA-8wmf-6v46-5gfg. The changelog also records the gRPC
    v1.83.2 upgrade from the Dependabot merge, which landed without an entry.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    TakGN and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    4b0afd4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #10 from ipni/deps/otel-exporters-1.45

    Bump OTLP trace exporters to v1.45.0
    TakGN authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    10e14a7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #9 from ipni/fix/usable-tracing

    Make OpenTelemetry tracing usable: sampling, span names, per-router spans
    TakGN authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    5d2a8c9 View commit details
    Browse the repository at this point in the history
  5. chore: release v1.1.0

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    TakGN and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    37ed357 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #11 from ipni/release-v1.1.0

    chore: release v1.1.0
    TakGN authored Nov 3, 2026
    Configuration menu
    Copy the full SHA
    38f5ac6 View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址