Note
This release was brought to you by the Shipyard team.
- Overview
- ๐ฆ Highlights
- ๐ฏ DHT Sweep provider is now the default
- โก Fast root CID providing for immediate content discovery
- โฏ๏ธ Provider state persists across restarts
- ๐ Detailed statistics with
ipfs provide stat - ๐ Slow reprovide warnings
- ๐ Metric rename:
provider_provides_total - ๐ง Automatic UPnP recovery after router restarts
- ๐ชฆ Deprecated
go-ipfsname no longer published - ๐ฆ Gateway range request limits for CDN compatibility
- ๐ฅ๏ธ RISC-V support with prebuilt binaries
- ๐ฆ๏ธ Important dependency updates
- ๐ Changelog
- ๐จโ๐ฉโ๐งโ๐ฆ Contributors
Overview
This release is an important step toward solving the DHT bottleneck for self-hosting IPFS on consumer hardware and home networks. The DHT sweep provider (now default) announces your content to the network without traffic spikes that overwhelm residential connections. Automatic UPnP recovery means your node stays reachable after router restarts without manual intervention.
New content becomes findable immediately after ipfs add. The provider system persists state across restarts, alerts you when falling behind, and exposes detailed stats for monitoring. This release also finalizes the deprecation of the legacy go-ipfs name.
๐ฆ Highlights
๐ฏ DHT Sweep provider is now the default
The Amino DHT Sweep provider system, introduced as experimental in v0.38, is now enabled by default (Provide.DHT.SweepEnabled=true).
What this means: All nodes now benefit from efficient keyspace-sweeping content announcements that reduce memory overhead and create predictable network patterns, especially for nodes providing large content collections.
Migration: The transition is automatic on upgrade. Your existing configuration is preserved:
- If you explicitly set
Provide.DHT.SweepEnabled=falsein v0.38, you'll continue using the legacy provider - If you were using the default settings, you'll automatically get the sweep provider
- To opt out and return to legacy behavior:
ipfs config --json Provide.DHT.SweepEnabled false - Providers with medium to large datasets may need to adjust defaults; see Capacity Planning
New features available with sweep mode:
- Detailed statistics via
ipfs provide stat(see below) - Automatic resume after restarts with persistent state (see below)
- Proactive alerts when reproviding falls behind (see below)
- Better metrics for monitoring (
provider_provides_total) (see below) - Fast optimistic provide of new root CIDs (see below)
For background on the sweep provider design and motivations, see Provide.DHT.SweepEnabled and Shipyard's blogpost Provide Sweep: Solving the DHT Provide Bottleneck.
โก Fast root CID providing for immediate content discovery
When you add content to IPFS, the sweep provider queues it for efficient DHT provides over time. While this is resource-efficient, other peers won't find your content immediately after ipfs add or ipfs dag import completes.
To make sharing faster, ipfs add and ipfs dag import now do an immediate provide of root CIDs to the DHT in addition to the regular queue (controlled by the new --fast-provide-root flag, enabled by default). This complements the sweep provider system: fast-provide handles the urgent case (root CIDs that users share and reference), while the sweep provider efficiently provides all blocks according to Provide.Strategy over time.
This closes the gap between command completion and content shareability: root CIDs typically become discoverable on the network in under a second (compared to 30+ seconds previously). The feature uses optimistic DHT operations, which are significantly faster with the sweep provider (now enabled by default).
By default, this immediate provide runs in the background without blocking the command. For use cases requiring guaranteed discoverability before the command returns (e.g., sharing a link immediately), use --fast-provide-wait to block until the provide completes.
Simple examples:
ipfs add file.txt # Root provided immediately, blocks queued for sweep provider
ipfs add file.txt --fast-provide-wait # Wait for root provide to complete
ipfs dag import file.car # Same for CAR importsConfiguration: Set defaults via Import.FastProvideRoot (default: true) and Import.FastProvideWait (default: false). See ipfs add --help and ipfs dag import --help for more details and examples.
This optimization works best with the sweep provider and accelerated DHT client, where provide operations are significantly faster. Automatically skipped when DHT is unavailable (e.g., Routing.Type=none or delegated-only configurations).
โฏ๏ธ Provider state persists across restarts
The Sweep provider now persists the reprovide cycle state and automatically resumes where it left off after a restart. This brings several improvements:
- Persistent progress: The provider saves its position in the reprovide cycle to the datastore. On restart, it continues from where it stopped instead of starting from scratch.
- Catch-up reproviding: If the node was offline for an extended period, all CIDs that haven't been reprovided within the configured reprovide interval are immediately queued for reproviding when the node starts up. This ensures content availability is maintained even after downtime.
- Persistent provide queue: The provide queue is persisted to the datastore on shutdown. When the node restarts, queued CIDs are restored and provided as expected, preventing loss of pending provide operations.
- Resume control: The resume behavior is controlled via
Provide.DHT.ResumeEnabled(default:true). Set tofalseif you don't want to keep the persisted provider state from a previous run.
This feature improves reliability for nodes that experience intermittent connectivity or restarts.
๐ Detailed statistics with ipfs provide stat
The Sweep provider system now exposes detailed statistics through ipfs provide stat, helping you monitor provider health and troubleshoot issues.
Run ipfs provide stat for a quick summary, or use --all to see complete metrics including connectivity status, queue sizes, reprovide schedules, network statistics, operation rates, and worker utilization. For real-time monitoring, use watch ipfs provide stat --all --compact to observe changes in a 2-column layout. Individual sections can be displayed with flags like --network, --operations, or --workers.
For Dual DHT configurations, use --lan to view LAN DHT statistics instead of the default WAN DHT stats.
For more information, run ipfs provide stat --help or see the Provide Stats documentation, including Capacity Planning.
Note
Legacy provider (when Provide.DHT.SweepEnabled=false) shows basic statistics without flag support.
๐ Slow reprovide warnings
Kubo now monitors DHT reprovide operations when Provide.DHT.SweepEnabled=true
and alerts you if your node is falling behind on reprovides.
When the reprovide queue consistently grows and all periodic workers are busy,
a warning displays with:
- Queue size and worker utilization details
- Recommended solutions: increase
Provide.DHT.MaxWorkersorProvide.DHT.DedicatedPeriodicWorkers - Command to monitor real-time progress:
watch ipfs provide stat --all --compact
The alert polls every 15 minutes (to avoid alert fatigue while catching
persistent issues) and only triggers after sustained growth across multiple
intervals. The legacy provider is unaffected by this change.
๐ Metric rename: provider_provides_total
The Amino DHT Sweep provider metric has been renamed from total_provide_count_total to provider_provides_total to follow OpenTelemetry naming conventions and maintain consistency with other kad-dht metrics (which use dot notation like rpc.inbound.messages, rpc.outbound.requests, etc.).
Migration: If you have Prometheus queries, dashboards, or alerts monitoring the old total_provide_count_total metric, update them to use provider_provides_total instead. This affects all nodes using sweep mode, which is now the default in v0.39 (previously opt-in experimental in v0.38).
๐ง Automatic UPnP recovery after router restarts
Kubo now automatically recovers UPnP port mappings when routers restart or
become temporarily unavailable, fixing a critical connectivity issue that
affected self-hosted nodes behind NAT.
Previous behavior: When a UPnP-enabled router restarted, Kubo would lose
its port mapping and fail to re-establish it automatically. Nodes would become
unreachable to the network until the daemon was manually restarted, forcing
reliance on relay connections which degraded performance.
New behavior: The upgraded go-libp2p (v0.44.0) includes Shipyard's fix
for self-healing NAT mappings that automatically rediscover and re-establish
port forwarding after router events. Nodes now maintain public connectivity
without manual intervention.
Note
If your node runs behind a router and you haven't manually configured port
forwarding, make sure Swarm.DisableNatPortMap=false
so UPnP can automatically handle port mapping (this is the default).
This significantly improves reliability for desktop and self-hosted IPFS nodes
using UPnP for NAT traversal.
๐ชฆ Deprecated go-ipfs name no longer published
The go-ipfs name was deprecated in 2022 and renamed to kubo. Starting with this release, the legacy Docker image name has been replaced with a stub that displays an error message directing users to switch to ipfs/kubo.
Docker images: The ipfs/go-ipfs image tags now contain only a stub script that exits with an error, instructing users to update their Docker configurations to use ipfs/kubo instead. This ensures users are aware of the deprecation while allowing existing automation to fail explicitly rather than silently using outdated images.
Distribution binaries: Download Kubo from https://dist.ipfs.tech/kubo/ or https://github.com/ipfs/kubo/releases. The legacy go-ipfs distribution path should no longer be used.
All users should migrate to the kubo name in their scripts and configurations.
๐ฆ Gateway range request limits for CDN compatibility
The new Gateway.MaxRangeRequestFileSize configuration protects against CDN range request limitations that cause bandwidth overcharges on deserialized responses. Some CDNs convert range requests over large files into full file downloads, causing clients requesting small byte ranges to unknowingly download entire multi-gigabyte files.
This only impacts deserialized responses. Clients using verifiable block requests (application/vnd.ipld.raw) are not affected. See the configuration documentation for details.
๐ฅ๏ธ RISC-V support with prebuilt binaries
Kubo provides official linux-riscv64 prebuilt binaries, bringing IPFS to RISC-V open hardware.
As RISC-V single-board computers and embedded systems become more accessible, the distributed web is now supported on open hardware architectures - a natural pairing of open technologies.
Download from https://dist.ipfs.tech/kubo/ or https://github.com/ipfs/kubo/releases and look for the linux-riscv64 archive.
๐ฆ๏ธ Important dependency updates
- update
go-libp2pto v0.45.0 (incl. v0.44.0) with self-healing UPnP port mappings and go-log/slog interop fixes - update
quic-goto v0.55.0 - update
go-logto v2.9.0 with slog integration for go-libp2p - update
go-ds-pebbleto v0.5.7 (includes pebble v2.1.2) - update
boxoto v0.35.2 (includes boxo v0.35.1) - update
ipfs-webuito v4.10.0 - update
go-libp2p-kad-dhtto v0.36.0
๐ Changelog
Full Changelog
- github.com/ipfs/kubo:
- docs: mkreleaselog for 0.39
- chore: version 0.39.0
- bin/mkreleaselog: add github handle resolution and deduplication
- docs: restructure v0.39 changelog for clarity
- upgrade go-libp2p-kad-dht to v0.36.0 (#11079) (ipfs/kubo#11079)
- fix(docker): include symlinks in scanning for init scripts (#11077) (ipfs/kubo#11077)
- Update deprecation message for Reprovider fields (#11072) (ipfs/kubo#11072)
- chore: release v0.39.0-rc1
- test: add regression tests for config secrets protection (#11061) (ipfs/kubo#11061)
- test: add regression tests for API.Authorizations (#11060) (ipfs/kubo#11060)
- test: verifyWorkerRun and helptext (#11063) (ipfs/kubo#11063)
- test(cmdutils): add tests for PathOrCidPath and ValidatePinName (#11062) (ipfs/kubo#11062)
- fix: return original error in PathOrCidPath fallback (#11059) (ipfs/kubo#11059)
- feat: fast provide support in
dag import(#11058) (ipfs/kubo#11058) - feat(cli/rpc/add): fast provide of root CID (#11046) (ipfs/kubo#11046)
- feat(telemetry): collect high level provide DHT sweep settings (#11056) (ipfs/kubo#11056)
- feat: enable DHT Provide Sweep by default (#10955) (ipfs/kubo#10955)
- feat(config): optional Gateway.MaxRangeRequestFileSize (#10997) (ipfs/kubo#10997)
- docs: clarify provide stats metric types and calculations (#11041) (ipfs/kubo#11041)
- Upgrade to Boxo v0.35.2 (#11050) (ipfs/kubo#11050)
- fix(go-log@2.9/go-libp2p@0.45): dynamic log level control and tail (#11039) (ipfs/kubo#11039)
- chore: update webui to v4.10.0 (#11048) (ipfs/kubo#11048)
- fix(provider/stats): number format (#11045) (ipfs/kubo#11045)
- provider: protect libp2p connections (#11028) (ipfs/kubo#11028)
- Merge release v0.38.2 (ipfs/kubo#11044)
- Upgrade to Boxo v0.35.1 (#11043) (ipfs/kubo#11043)
- feat(provider): resume cycle (#11031) (ipfs/kubo#11031)
- chore: upgrade pebble to v2.1.1 (#11040) (ipfs/kubo#11040)
- fix(cli): provide stat cosmetics (#11034) (ipfs/kubo#11034)
- fix: go-libp2p v0.44 with self-healing UPnP port mappings (#11032) (ipfs/kubo#11032)
- feat(provide): slow reprovide alerts when SweepEnabled (#11021) (ipfs/kubo#11021)
- feat: trace delegated routing http client (#11017) (ipfs/kubo#11017)
- feat(provide): detailed
ipfs provide stat(#11019) (ipfs/kubo#11019) - config: increase default Provide.DHT.MaxProvideConnsPerWorker (#11016) (ipfs/kubo#11016)
- docs: update release checklist based on v0.38.0 learnings (#11007) (ipfs/kubo#11007)
- chore: merge release v0.38.1 (ipfs/kubo#11020)
- fix: migrations for Windows (#11010) (ipfs/kubo#11010)
- Upgrade go-ds-pebble to v0.5.3 (#11011) (ipfs/kubo#11011)
- Merge release v0.38.0 (ipfs/kubo#11006)
- feat: add docker stub for deprecated ipfs/go-ipfs name (#10998) (ipfs/kubo#10998)
- docs: add sweeping provide worker count recommendation (#11001) (ipfs/kubo#11001)
- chore: bump go-libp2p-kad-dht to v0.35.0 (#11002) (ipfs/kubo#11002)
- upgrade go-ds-pebble to v0.5.2 (#11000) (ipfs/kubo#11000)
- Upgrade to Boxo v0.35.0 (#10999) (ipfs/kubo#10999)
- Non-functional changes (#10996) (ipfs/kubo#10996)
- chore: update boxo and kad-dht dependencies (#10995) (ipfs/kubo#10995)
- fix: update webui to v4.9.1 (#10994) (ipfs/kubo#10994)
- fix: provider merge conflicts (#10989) (ipfs/kubo#10989)
- fix(mfs): add soft limit for
--flush=false(#10985) (ipfs/kubo#10985) - fix: provide Filestore nodes (#10990) (ipfs/kubo#10990)
- feat: limit pin names to 255 bytes (#10981) (ipfs/kubo#10981)
- fix: SweepingProvider slow start (#10980) (ipfs/kubo#10980)
- chore: start v0.39.0 release cycle
- github.com/gammazero/deque (v1.1.0 -> v1.2.0):
- add slice operation functions (#40) (gammazero/deque#40)
- maintain base capacity after IterPop iteration (#44) (gammazero/deque#44)
- github.com/ipfs/boxo (v0.35.1 -> v0.35.2):
- Release v0.35.2 (ipfs/boxo#1068)
- fix(logs): upgrade go-libp2p to v0.45.0 and go-log to v2.9.0 (ipfs/boxo#1066)
- github.com/ipfs/go-cid (v0.5.0 -> v0.6.0):
- v0.6.0 bump (#178) (ipfs/go-cid#178)
- github.com/ipfs/go-ds-pebble (v0.5.3 -> v0.5.7):
- new version (#74) (ipfs/go-ds-pebble#74)
- do not override logger if logger is provided (#72) (ipfs/go-ds-pebble#72)
- new version (#70) (ipfs/go-ds-pebble#70)
- new-version (#68) (ipfs/go-ds-pebble#68)
- Do not allow batch to be reused after commit (#67) (ipfs/go-ds-pebble#67)
- new version (#66) (ipfs/go-ds-pebble#66)
- Make pebble write options configurable (ipfs/go-ds-pebble#63)
- github.com/ipfs/go-dsqueue (v0.1.0 -> v0.1.1):
- new version (#26) (ipfs/go-dsqueue#26)
- update deque package and add stress test (#25) (ipfs/go-dsqueue#25)
- github.com/ipfs/go-log/v2 (v2.8.2 -> v2.9.0):
- chore: release v2.9.0 (#177) (ipfs/go-log#177)
- fix: go-libp2p and slog interop (#176) (ipfs/go-log#176)
- github.com/libp2p/go-libp2p (v0.43.0 -> v0.45.0):
- Release v0.45.0 (#3424) (libp2p/go-libp2p#3424)
- feat(gologshim): Add SetDefaultHandler (#3418) (libp2p/go-libp2p#3418)
- Update Drips ownedBy address in FUNDING.json
- fix(websocket): use debug level for http.Server errors
- chore: release v0.44.0
- autonatv2: fix normalization for websocket addrs
- autonatv2: remove dependency on webrtc and webtransport
- quicreuse: update libp2p/go-netroute (#3405) (libp2p/go-libp2p#3405)
- basichost: don't advertise unreachable addrs. (#3357) (libp2p/go-libp2p#3357)
- basichost: improve autonatv2 reachability logic (#3356) (libp2p/go-libp2p#3356)
- basichost: fix lint error
- basichost: move EvtLocalAddrsChanged to addrs_manager (#3355) (libp2p/go-libp2p#3355)
- chore: gitignore go.work files
- refactor!: move insecure transport outside of core
- refactor: drop go-varint dependency
- refactor!: move canonicallog package outside of core
- fix: assignment to entry in nil map
- docs: Update contribute section with mailing list and irc (#3387) (libp2p/go-libp2p#3387)
- README: remove Drand from notable users section
- chore: add help comment
- refactor: replace context.WithCancel with t.Context
- feat(network): Add Conn.As
- Skip mdns tests on macOS in CI
- fix: deduplicate NAT port mapping requests
- fix: heal NAT mappings after router restart
- feat: relay: add option for custom filter function
- docs: remove broken link (#3375) (libp2p/go-libp2p#3375)
- AI tooling must be disclosed for contributions (#3372) (libp2p/go-libp2p#3372)
- feat: Migrate to log/slog (#3364) (libp2p/go-libp2p#3364)
- basichost: move observed address manager to basichost (#3332) (libp2p/go-libp2p#3332)
- chore: support Go 1.24 & 1.25 (#3366) (libp2p/go-libp2p#3366)
- feat(simlibp2p): Simulated libp2p Networks (#3262) (libp2p/go-libp2p#3262)
- bandwidthcounter: add Reset and TrimIdle methods to reporter interface (#3343) (libp2p/go-libp2p#3343)
- network: rename NAT Types (#3331) (libp2p/go-libp2p#3331)
- refactor(quicreuse): use errors.Join in Close method (#3363) (libp2p/go-libp2p#3363)
- swarm: move AddCertHashes to swarm (#3330) (libp2p/go-libp2p#3330)
- quicreuse: clean up associations for closed listeners. (#3306) (libp2p/go-libp2p#3306)
- github.com/libp2p/go-libp2p-kad-dht (v0.35.1 -> v0.36.0):
- new version (#1204) (libp2p/go-libp2p-kad-dht#1204)
- update dependencies (#1205) (libp2p/go-libp2p-kad-dht#1205)
- fix(provider): protect
SweepingProvider.wg(#1200) (libp2p/go-libp2p-kad-dht#1200) - fix(ResettableKeystore): race when closing during reset (#1201) (libp2p/go-libp2p-kad-dht#1201)
- fix(provider): conflict resolution (#1199) (libp2p/go-libp2p-kad-dht#1199)
- fix(provider): remove from trie by pruning prefix (#1198) (libp2p/go-libp2p-kad-dht#1198)
- fix(provider): rename metric to follow OpenTelemetry conventions (#1195) (libp2p/go-libp2p-kad-dht#1195)
- fix(provider): resume cycle from persisted keystore (#1193) (libp2p/go-libp2p-kad-dht#1193)
- feat(provider): connectivity callbacks (#1194) (libp2p/go-libp2p-kad-dht#1194)
- feat(provider): trie iterators (#1189) (libp2p/go-libp2p-kad-dht#1189)
- refactor(provider): optimize memory when allocating keys to peers (#1187) (libp2p/go-libp2p-kad-dht#1187)
- refactor(keystore): track size (#1181) (libp2p/go-libp2p-kad-dht#1181)
- Remove go-libp2p-maintainers from codeowners (#1192) (libp2p/go-libp2p-kad-dht#1192)
- switch to bit256.NewKeyFromArray (#1188) (libp2p/go-libp2p-kad-dht#1188)
- fix(provider):
RegionsFromPeersmay return multiple regions (#1185) (libp2p/go-libp2p-kad-dht#1185) - feat(provider): skip bootstrap reprovide (#1186) (libp2p/go-libp2p-kad-dht#1186)
- refactor(provider): use adaptive deadline for CycleStats cleanup (#1183) (libp2p/go-libp2p-kad-dht#1183)
- refactor(provider/stats): use int64 to avoid overflows (#1182) (libp2p/go-libp2p-kad-dht#1182)
- provider: trigger connectivity check when missing libp2p addresses (#1180) (libp2p/go-libp2p-kad-dht#1180)
- fix(provider): resume cycle (#1176) (libp2p/go-libp2p-kad-dht#1176)
- tests: fix flaky TestProvidesExpire (#1179) (libp2p/go-libp2p-kad-dht#1179)
- tests: fix flaky TestFindPeerWithQueryFilter (#1178) (libp2p/go-libp2p-kad-dht#1178)
- tests: fix #1175 (#1177) (libp2p/go-libp2p-kad-dht#1177)
- feat(provider): exit early region exploration if no new peers discovered (#1174) (libp2p/go-libp2p-kad-dht#1174)
- provider: protect connections (#1172) (libp2p/go-libp2p-kad-dht#1172)
- feat(provider): resume reprovides (#1170) (libp2p/go-libp2p-kad-dht#1170)
- fix(provider): custom logger name (#1173) (libp2p/go-libp2p-kad-dht#1173)
- feat(provider): persist provide queue (#1167) (libp2p/go-libp2p-kad-dht#1167)
- provider: stats (#1144) (libp2p/go-libp2p-kad-dht#1144)
- github.com/probe-lab/go-libdht (v0.3.0 -> v0.4.0):
- chore: release v0.4.0 (#26) (probe-lab/go-libdht#26)
- feat(key/bit256): memory optimized constructor (#25) (probe-lab/go-libdht#25)
- refactor(trie): AddMany memory optimization (#24) (probe-lab/go-libdht#24)
๐จโ๐ฉโ๐งโ๐ฆ Contributors
| Contributor | Commits | Lines ยฑ | Files Changed |
|---|---|---|---|
| @guillaumemichel | 41 | +9906/-1383 | 170 |
| @lidel | 30 | +6652/-694 | 97 |
| @sukunrt | 9 | +1618/-1524 | 39 |
| @MarcoPolo | 17 | +1665/-1452 | 160 |
| @gammazero | 23 | +514/-53 | 29 |
| @Prabhat1308 | 1 | +197/-67 | 4 |
| @peterargue | 3 | +82/-25 | 5 |
| @cargoedit | 1 | +35/-72 | 14 |
| @hsanjuan | 2 | +66/-29 | 5 |
| @shoriwe | 1 | +68/-21 | 3 |
| @dennis-tra | 2 | +27/-2 | 2 |
| @Lil-Duckling-22 | 1 | +4/-1 | 1 |
| @crStiv | 1 | +1/-3 | 1 |
| @cpeliciari | 1 | +3/-0 | 1 |
| @rvagg | 1 | +1/-1 | 1 |
| @p-shahi | 1 | +1/-1 | 1 |
| @lbarrettanderson | 1 | +1/-1 | 1 |
| @filipremb | 1 | +1/-1 | 1 |
| @marten-seemann | 1 | +0/-1 | 1 |

