Skip to content

fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.38.0#65

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-libp2p-go-libp2p-kad-dht-0.x
Open

fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.38.0#65
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-libp2p-go-libp2p-kad-dht-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 29, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/libp2p/go-libp2p-kad-dht v0.31.0v0.38.0 age confidence

Release Notes

libp2p/go-libp2p-kad-dht (github.com/libp2p/go-libp2p-kad-dht)

v0.38.0

Compare Source

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.37.1...v0.38.0

v0.37.1

Compare Source

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.37.0...v0.37.1

v0.37.0

Compare Source

[!NOTE]
This release was brought to you by the Shipyard team.

Overview

This is a minor release focused on dependency updates and bug fixes. The most significant changes are:

  • Breaking change: The deprecated providers/ package has been removed. Users still importing from providers/ must migrate to records/.
  • Dependency update: Upgraded to go-libp2p v0.46.
  • Provider bug fixes: Several fixes to improve provider system stability, including proper handling of peers during keyspace exploration.

This release contains no major feature additions but improves overall reliability of the DHT implementation.

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.36.0...v0.37.0

v0.36.0

Compare Source

[!NOTE]
This release was brought to you by the Shipyard team.

Overview

This release brings major improvements to the Sweep provider system: detailed runtime statistics, persistence of reprovide state across restarts, and better connection handling. These features ship to Kubo users in v0.39.

Highlights

Sweep provider statistics API

The SweepingProvider now exposes detailed runtime statistics through a new Stats() method, enabling monitoring tools to track provider health and throughput.

Available metrics include:

  • Queue sizes and worker utilization
  • Reprovide schedule and progress
  • Network statistics (connected peers, regions)
  • Operation rates and success counts

This powers the ipfs provide stat command in Kubo v0.39+. See #​1144.

Reprovide cycle persistence and resume

The Sweep provider now persists its state to the datastore and automatically resumes after restarts:

  • Persistent progress: The provider saves its position in the reprovide cycle. On restart, it continues from where it stopped instead of starting over.
  • Catch-up reproviding: If the node was offline, all CIDs overdue for reprovide are immediately queued.
  • Persistent provide queue: Pending provide operations survive restarts.

This fixes the long-standing issue where restarts would reset the reprovide cycle. See #​1167, #​1170, #​1176,
#​1193.

Connectivity callbacks

Users can now register callbacks to be notified when the provider's connectivity status changes. This enables applications to track and react to connectivity state transitions. See #​1194.

Connection protection during provides

New option to protect libp2p connections and keep addresses in the peerstore during provide operations. This prevents the connection manager from pruning connections that are actively being used for provides. See #​1172.

Metric rename: provider_provides_total

The Sweep provider metric has been renamed from total_provide_count_total to provider_provides_total to follow OpenTelemetry naming conventions and match other kad-dht metrics.

Migration: Update any Prometheus queries or dashboards using the old metric name. See #​1195.

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.35.1...v0.36.0

v0.35.1

Compare Source

[!NOTE]
This release was brought to you by the Shipyard team.

Provider Memory Optimizations

Memory optimizations for the provider.

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.35.0...v0.35.1

v0.35.0

Compare Source

[!NOTE]
This release was brought to you by the Shipyard team.

🚀 Introducing the New Provider Package

We're excited to introduce the new provider package - a complete rethinking of content providing works in the DHT, using the Reprovide Sweep technique. Say goodbye to manual reprovide management! The provider package now handles both initial provides and periodic reprovides automatically.

🎯 Why This Matters

This package replaces the boxo provider with a significantly more efficient implementation that addresses key performance bottlenecks:

Intelligent Batching 🧠
Instead of providing records randomly, we now batch provides by keyspace distance. This means fewer DHT lookups, faster provides, and consistent reprovide scheduling.

Smooth Resource Usage 📊
Reprovides are evenly distributed over time rather than creating periodic traffic spikes. Your node's resource consumption is now predictable and steady.

⚠️ Early Access

This is the initial release of the provider package. While fully functional, we're continuing to add features and refine the API in upcoming releases. Expect interface changes as we iterate based on community feedback.

🔜 What's Next

Stay tuned for additional provider features in future releases. Check the provider package documentation for usage examples and current capabilities.

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.34.0...v0.35.0

v0.34.0

Compare Source

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.33.1...v0.34.0

v0.33.1

Compare Source

Highlights

  • Fix concurrency in fullrt

What's Changed

Full Changelog: libp2p/go-libp2p-kad-dht@v0.33.0...v0.33.1

This release was brought to you by the Shipyard team.

v0.33.0

Compare Source

What's Changed

New Contributors

Full Changelog: libp2p/go-libp2p-kad-dht@v0.32.0...v0.33.0

v0.32.0

Compare Source

What's Changed

New Contributors

Full Changelog: libp2p/go-libp2p-kad-dht@v0.31.0...v0.32.0

This release was brought to you by the Shipyard team.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 29, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 30 additional dependencies were updated

Details:

Package Change
github.com/libp2p/go-libp2p v0.41.1 -> v0.45.0
golang.org/x/time v0.11.0 -> v0.12.0
github.com/ipfs/go-datastore v0.8.4 -> v0.9.0
github.com/ipfs/boxo v0.29.1 -> v0.35.2
github.com/ipfs/go-cid v0.5.0 -> v0.6.0
github.com/ipfs/go-log/v2 v2.5.1 -> v2.9.0
github.com/klauspost/cpuid/v2 v2.2.11 -> v2.3.0
github.com/libp2p/go-flow-metrics v0.2.0 -> v0.3.0
github.com/libp2p/go-libp2p-kbucket v0.7.0 -> v0.8.0
github.com/libp2p/go-netroute v0.2.2 -> v0.3.0
github.com/libp2p/go-yamux/v5 v5.0.0 -> v5.0.1
github.com/multiformats/go-multiaddr v0.15.0 -> v0.16.1
github.com/multiformats/go-multicodec v0.9.2 -> v0.10.0
github.com/multiformats/go-varint v0.0.7 -> v0.1.0
github.com/pion/ice/v4 v4.0.8 -> v4.0.10
github.com/pion/interceptor v0.1.37 -> v0.1.40
github.com/pion/turn/v4 v4.0.0 -> v4.0.2
github.com/pion/webrtc/v4 v4.0.10 -> v4.1.2
github.com/prometheus/client_golang v1.21.1 -> v1.23.2
github.com/prometheus/common v0.62.0 -> v0.66.1
github.com/prometheus/procfs v0.15.1 -> v0.17.0
github.com/quic-go/quic-go v0.50.1 -> v0.55.0
github.com/quic-go/webtransport-go v0.8.1-0.20241018022711-4ac2c9250e66 -> v0.9.0
go.opentelemetry.io/auto/sdk v1.1.0 -> v1.2.1
go.uber.org/dig v1.18.2 -> v1.19.0
go.uber.org/fx v1.23.0 -> v1.24.0
golang.org/x/crypto v0.43.0 -> v0.45.0
golang.org/x/net v0.46.0 -> v0.47.0
golang.org/x/text v0.30.0 -> v0.31.0
gonum.org/v1/gonum v0.15.1 -> v0.16.0

@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.32.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.33.0 May 9, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 6a90f53 to 18f938d Compare May 9, 2025 12:11
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.33.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.33.1 May 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 18f938d to c80c359 Compare May 21, 2025 09:04
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from c80c359 to 296c3f4 Compare August 12, 2025 17:03
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.33.1 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.34.0 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 296c3f4 to d611e37 Compare October 1, 2025 21:01
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.34.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.35.0 Oct 1, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from d611e37 to 70793a9 Compare October 3, 2025 17:23
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.35.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.35.1 Oct 3, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch 2 times, most recently from ce4356f to 09e6c02 Compare November 12, 2025 00:37
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 09e6c02 to 5f8a2d5 Compare November 26, 2025 21:52
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.35.1 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.36.0 Nov 26, 2025
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 5f8a2d5 to 466b64b Compare December 15, 2025 17:47
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 36 additional dependencies were updated

Details:

Package Change
github.com/libp2p/go-libp2p v0.46.0 -> v0.47.0
github.com/ipfs/go-datastore v0.8.4 -> v0.9.1
github.com/gabriel-vasile/mimetype v1.4.11 -> v1.4.12
github.com/ipfs/boxo v0.29.1 -> v0.36.0
github.com/ipfs/go-cid v0.5.0 -> v0.6.0
github.com/ipfs/go-log/v2 v2.5.1 -> v2.9.1
github.com/klauspost/cpuid/v2 v2.2.11 -> v2.3.0
github.com/libp2p/go-flow-metrics v0.2.0 -> v0.3.0
github.com/libp2p/go-libp2p-kbucket v0.7.0 -> v0.8.0
github.com/libp2p/go-netroute v0.3.0 -> v0.4.0
github.com/miekg/dns v1.1.68 -> v1.1.72
github.com/multiformats/go-multiaddr v0.16.0 -> v0.16.1
github.com/multiformats/go-multicodec v0.9.2 -> v0.10.0
github.com/multiformats/go-varint v0.0.7 -> v0.1.0
github.com/pion/dtls/v3 v3.0.7 -> v3.1.1
github.com/prometheus/client_golang v1.22.0 -> v1.23.2
github.com/prometheus/common v0.64.0 -> v0.66.1
github.com/prometheus/procfs v0.16.1 -> v0.17.0
github.com/quic-go/quic-go v0.57.1 -> v0.59.0
github.com/quic-go/webtransport-go v0.9.0 -> v0.10.0
go.opentelemetry.io/auto/sdk v1.1.0 -> v1.2.1
go.opentelemetry.io/otel v1.38.0 -> v1.40.0
go.opentelemetry.io/otel/metric v1.38.0 -> v1.40.0
go.opentelemetry.io/otel/trace v1.38.0 -> v1.40.0
go.uber.org/zap v1.27.0 -> v1.27.1
golang.org/x/crypto v0.43.0 -> v0.47.0
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546 -> v0.0.0-20260112195511-716be5621a96
golang.org/x/mod v0.30.0 -> v0.32.0
golang.org/x/net v0.46.0 -> v0.49.0
golang.org/x/sync v0.18.0 -> v0.19.0
golang.org/x/sys v0.38.0 -> v0.40.0
golang.org/x/telemetry v0.0.0-20251111182119-bc8e575c7b54 -> v0.0.0-20260109210033-bd525da824e2
golang.org/x/text v0.30.0 -> v0.33.0
golang.org/x/tools v0.38.0 -> v0.41.0
gonum.org/v1/gonum v0.15.1 -> v0.17.0
google.golang.org/protobuf v1.36.10 -> v1.36.11

@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 466b64b to f4e936f Compare December 22, 2025 22:32
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.36.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.37.0 Jan 14, 2026
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from f4e936f to 4d24727 Compare January 14, 2026 14:07
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.37.0 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.37.1 Jan 28, 2026
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 4d24727 to 43d06ac Compare January 28, 2026 01:09
@renovate renovate bot force-pushed the renovate/github.com-libp2p-go-libp2p-kad-dht-0.x branch from 43d06ac to 40dffea Compare February 16, 2026 14:02
@renovate renovate bot changed the title fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.37.1 fix(deps): update module github.com/libp2p/go-libp2p-kad-dht to v0.38.0 Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants