Note
This release was brought to you by the Shipyard team.
- Overview
- ๐ฆ Highlights
- ๐ Repository migration: simplified provide configuration
- ๐งน Experimental Sweeping DHT Provider
- ๐ Exposed DHT metrics
- ๐จ Improved gateway error pages with diagnostic tools
- ๐จ Updated WebUI
- ๐ Pin name improvements
- ๐ ๏ธ Identity CID size enforcement and
ipfs files write
fixes - ๐ค Provide Filestore and Urlstore blocks on write
- ๐ฆ MFS operation limit for --flush=false
- ๐ฆ๏ธ Important dependency updates
- ๐ Changelog
- ๐จโ๐ฉโ๐งโ๐ฆ Contributors
Overview
Kubo 0.38 simplifies content announcement configuration, introduces an experimental sweeping DHT provider for efficient large-scale operations, and includes various performance improvements.
v0.38.1 includes fixes for migrations on Windows and Pebble datastore โ if you are using either, make sure to use .1 release.
๐ฆ Highlights
๐ Repository migration: simplified provide configuration
This release migrates the repository from version 17 to version 18, simplifying how you configure content announcements.
The old Provider
and Reprovider
sections are now combined into a single Provide
section. Your existing settings are automatically migrated - no manual changes needed.
Migration happens automatically when you run ipfs daemon --migrate
. For manual migration: ipfs repo migrate --to=18
.
Read more about the new system below.
๐งน Experimental Sweeping DHT Provider
A new experimental DHT provider is available as an alternative to both the default provider and the resource-intensive accelerated DHT client. Enable it via Provide.DHT.SweepEnabled
.
How it works: Instead of providing keys one-by-one, the sweep provider systematically explores DHT keyspace regions in batches.
![]()
The diagram shows how sweep mode avoids the hourly traffic spikes of Accelerated DHT while maintaining similar effectiveness. By grouping CIDs into keyspace regions and processing them in batches, sweep mode reduces memory overhead and creates predictable network patterns.
Benefits for large-scale operations: Handles hundreds of thousands of CIDs with reduced memory and network connections, spreads operations evenly to eliminate resource spikes, maintains state across restarts through persistent keystore, and provides better metrics visibility.
Monitoring and debugging: Legacy mode (SweepEnabled=false
) tracks provider_reprovider_provide_count
and provider_reprovider_reprovide_count
, while sweep mode (SweepEnabled=true
) tracks total_provide_count_total
. Enable debug logging with GOLOG_LOG_LEVEL=error,provider=debug,dht/provider=debug
to see detailed logs from either system.
Note
This feature is experimental and opt-in. In the future, it will become the default and replace the legacy system. Some commands like ipfs stats provide
and ipfs routing provide
are not yet available with sweep mode. Run ipfs provide --help
for alternatives.
For configuration details, see Provide.DHT
. For metrics documentation, see Provide metrics.
๐ Exposed DHT metrics
Kubo now exposes DHT metrics from go-libp2p-kad-dht, including total_provide_count_total
for sweep provider operations and RPC metrics prefixed with rpc_inbound_
and rpc_outbound_
for DHT message traffic. See Kubo metrics documentation for details.
๐จ Improved gateway error pages with diagnostic tools
Gateway error pages now provide more actionable information during content retrieval failures. When a 504 Gateway Timeout occurs, users see detailed retrieval state information including which phase failed and a sample of providers that were attempted:
Gateway.DiagnosticServiceURL
(default:https://check.ipfs.network
): Configures the diagnostic service URL. When set, 504 errors show a "Check CID retrievability" button that links to this service with?cid=<failed-cid>
for external diagnostics. Set to empty string to disable.- Enhanced error details: Timeout errors now display the retrieval phase where failure occurred (e.g., "connecting to providers", "fetching data") and up to 3 peer IDs that were attempted but couldn't deliver the content, making it easier to diagnose network or provider issues.
- Retry button on all error pages: Every gateway error page now includes a retry button for quick page refresh without manual URL re-entry.
๐จ Updated WebUI
The Web UI has been updated to v4.9 with a new Diagnostics screen for troubleshooting and system monitoring. Access it at http://127.0.0.1:5001/webui
when running your local IPFS node.
Diagnostics: Logs | Files: Check Retrieval | Diagnostics: Retrieval Results |
---|---|---|
![]() | ![]() | ![]() |
Debug issues in real-time by adjusting log level without restart (global or per-subsystem like bitswap) | Check if content is available to other peers directly from Files screen | Find out why content won't load or who is providing it to the network |
Peers: Agent Versions | Files: Custom Sorting |
---|---|
![]() | ![]() |
Know what software peers run | Find files faster with new sorting |
Additional improvements include a close button in the file viewer, better error handling, and fixed navigation highlighting.
๐ Pin name improvements
ipfs pin ls <cid> --names
now correctly returns pin names for specific CIDs (#10649, boxo#1035), RPC no longer incorrectly returns names from other pins (#10966), and pin names are now limited to 255 bytes for better cross-platform compatibility (#10981).
๐ ๏ธ Identity CID size enforcement and ipfs files write
fixes
Identity CID size limits are now enforced
Identity CIDs use multihash 0x00
to embed data directly in the CID without hashing. This experimental optimization was designed for tiny data where a CID reference would be larger than the data itself, but without size limits it was easy to misuse and could turn into an anti-pattern that wastes resources and enables abuse. This release enforces a maximum of 128 bytes for identity CIDs - attempting to exceed this limit will return a clear error message.
ipfs add --inline-limit
and--hash=identity
now enforce the 128-byte maximum (error when exceeded)ipfs files write
prevents creation of oversized identity CIDs
Multiple ipfs files write
bugs have been fixed
This release resolves several long-standing MFS issues: raw nodes now preserve their codec instead of being forced to dag-pb, append operations on raw nodes work correctly by converting to UnixFS when needed, and identity CIDs properly inherit the full CID prefix from parent directories.
๐ค Provide Filestore and Urlstore blocks on write
Improvements to the providing system in the last release (provide blocks according to the configured Strategy) left out Filestore and Urlstore blocks when the "all" strategy was used. They would only be reprovided but not provided on write. This is now fixed, and both Filestore blocks (local file references) and Urlstore blocks (HTTP/HTTPS URL references) will be provided correctly shortly after initial add.
๐ฆ MFS operation limit for --flush=false
The new Internal.MFSNoFlushLimit
configuration option prevents unbounded memory growth when using --flush=false
with ipfs files
commands. After performing the configured number of operations without flushing (default: 256), further operations will fail with a clear error message instructing users to flush manually.
๐ฆ๏ธ Important dependency updates
- update
boxo
to v0.35.0 - update
go-libp2p-kad-dht
to v0.35.0 - update
ipfs-webui
to v4.9.1 (incl. v4.9.0) - update
go-ds-pebble
to v0.5.3
v0.38.0
๐ Changelog
Full Changelog
- github.com/ipfs/kubo:
- chore: v0.38.0
- chore: bump go-libp2p-kad-dht to v0.35.0 (#11002) (ipfs/kubo#11002)
- docs: add sweeping provide worker count recommendation (#11001) (ipfs/kubo#11001)
- Upgrade to Boxo v0.35.0 (#10999) (ipfs/kubo#10999)
- chore: 0.38.0-rc2
- 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: release v0.38.0-rc1
- fix: SweepingProvider shouldn't error when missing DHT (#10975) (ipfs/kubo#10975)
- fix: allow custom http provide when libp2p node is offline (#10974) (ipfs/kubo#10974)
- docs(provide): validation and reprovide cycle visualization (#10977) (ipfs/kubo#10977)
- refactor(ci): optimize build workflows (#10973) (ipfs/kubo#10973)
- fix(cmds): cleanup unicode identify strings (#9465) (ipfs/kubo#9465)
- feat: ipfs-webui v4.9.0 with retrieval diagnostics (#10969) (ipfs/kubo#10969)
- fix(mfs): unbound cache growth with
flush=false
(#10971) (ipfs/kubo#10971) - fix:
ipfs pin ls <cid> --names
(#10970) (ipfs/kubo#10970) - refactor(config): migration 17-to-18 to unify Provider/Reprovider into Provide.DHT (#10951) (ipfs/kubo#10951)
- feat: opt-in new Sweep provide system (#10834) (ipfs/kubo#10834)
- rpc: retrieve pin names when Detailed option provided (#10966) (ipfs/kubo#10966)
- fix: enforce identity CID size limits (#10949) (ipfs/kubo#10949)
- docs: kubo logo sources (#10964) (ipfs/kubo#10964)
- feat(config): validate Import config at daemon startup (#10957) (ipfs/kubo#10957)
- fix(telemetry): improve vm/container detection (#10944) (ipfs/kubo#10944)
- feat(gateway): improved error page with retrieval state details (#10950) (ipfs/kubo#10950)
- close files opened during migration (#10956) (ipfs/kubo#10956)
- fix ctrl-c prompt during run migrations prompt (#10947) (ipfs/kubo#10947)
- repo: use config api to get node root path (#10934) (ipfs/kubo#10934)
- docs: simplify release process (#10870) (ipfs/kubo#10870)
- Merge release v0.37.0 (ipfs/kubo#10943)
- feat(ci): docker linting (#10927) (ipfs/kubo#10927)
- fix: disable telemetry in test profile (#10931) (ipfs/kubo#10931)
- fix: harness tests random panic (#10933) (ipfs/kubo#10933)
- chore: 0.38.0-dev
- github.com/ipfs/boxo (v0.34.0 -> v0.35.0):
- Release v0.35.0 (ipfs/boxo#1046)
- feat(gateway): add
MaxRangeRequestFileSize
protection (#1043) (ipfs/boxo#1043) - revert: remove MFS auto-flush mechanism (#1041) (ipfs/boxo#1041)
- Filestore: add Provider option to provide filestore blocks. (#1042) (ipfs/boxo#1042)
- fix(pinner): restore indirect pin detection and add context cancellation (#1039) (ipfs/boxo#1039)
- fix(mfs): limit cache growth by default (#1037) (ipfs/boxo#1037)
- update dependencies (#1038) (ipfs/boxo#1038)
- feat(pinner): add
CheckIfPinnedWithType
for efficient checks with names (#1035) (ipfs/boxo#1035) - fix(routing/http): don't cancel batch prematurely (#1036) (ipfs/boxo#1036)
- refactor: use the new Reprovide Sweep interface (#995) (ipfs/boxo#995)
- Update go-dsqueue to latest (#1034) (ipfs/boxo#1034)
- feat(routing/http): return 200 for empty results per IPIP-513 (#1032) (ipfs/boxo#1032)
- replace provider queue with go-dsqueue (#1033) (ipfs/boxo#1033)
- refactor: use slices package to simplify slice manipulation (#1031) (ipfs/boxo#1031)
- bitswap/network: fix read/write data race in bitswap network test (#1030) (ipfs/boxo#1030)
- fix(verifcid): enforce size limit for identity CIDs (#1018) (ipfs/boxo#1018)
- docs: boxo logo source files (#1028) (ipfs/boxo#1028)
- feat(gateway): enhance 504 timeout errors with diagnostic UX (#1023) (ipfs/boxo#1023)
- Use
time.Duration
for rebroadcast delay (#1027) (ipfs/boxo#1027) - refactor(bitswap/client/internal): close session with Close method instead of context (#1011) (ipfs/boxo#1011)
- fix: use %q for logging routing keys with binary data (#1025) (ipfs/boxo#1025)
- rename
retrieval.RetrievalState
toretrieval.State
(#1026) (ipfs/boxo#1026) - feat(gateway): add retrieval state tracking for timeout diagnostics (#1015) (ipfs/boxo#1015)
- Nonfunctional changes (#1017) (ipfs/boxo#1017)
- fix: flaky TestCancelOverridesPendingWants (#1016) (ipfs/boxo#1016)
- bitswap/client: GetBlocks cancels session when finished (#1007) (ipfs/boxo#1007)
- Remove unused context (ipfs/boxo#1006)
- github.com/ipfs/go-block-format (v0.2.2 -> v0.2.3):
- new version (#66) (ipfs/go-block-format#66)
- Replace CI badge and add GoDoc link in README (#65) (ipfs/go-block-format#65)
- github.com/ipfs/go-datastore (v0.8.3 -> v0.9.0):
- new version (#255) (ipfs/go-datastore#255)
- feat(keytransform): support transaction feature (#239) (ipfs/go-datastore#239)
- feat: context datastore (#238) (ipfs/go-datastore#238)
- new version (#254) (ipfs/go-datastore#254)
- fix comment (#253) (ipfs/go-datastore#253)
- feat: query iterator (#244) (ipfs/go-datastore#244)
- Update readme links (#246) (ipfs/go-datastore#246)
- github.com/ipfs/go-ipld-format (v0.6.2 -> v0.6.3):
- new version (#100) (ipfs/go-ipld-format#100)
- avoid unnecessary slice allocation (#99) (ipfs/go-ipld-format#99)
- github.com/ipfs/go-unixfsnode (v1.10.1 -> v1.10.2):
- new version (ipfs/go-unixfsnode#88)
- github.com/ipld/go-car/v2 (v2.14.3 -> v2.15.0):
- v2.15.0 bump (#606) (ipld/go-car#606)
- feat: add NextReader to BlockReader (#603) (ipld/go-car#603)
- Remove
@masih
form CODEOWNERS (ipld/go-car#605)
- github.com/libp2p/go-libp2p-kad-dht (v0.34.0 -> v0.35.0):
- chore: release v0.35.0 (#1162) (libp2p/go-libp2p-kad-dht#1162)
- refactor: adjust FIND_NODE response exceptions (#1158) (libp2p/go-libp2p-kad-dht#1158)
- refactor: remove provider status command (#1157) (libp2p/go-libp2p-kad-dht#1157)
- refactor(provider): closestPeerToPrefix coverage trie (#1156) (libp2p/go-libp2p-kad-dht#1156)
- fix: don't empty mapdatastore keystore on close (#1155) (libp2p/go-libp2p-kad-dht#1155)
- provider: default options (#1153) (libp2p/go-libp2p-kad-dht#1153)
- fix(keystore): use new batch after commit (#1154) (libp2p/go-libp2p-kad-dht#1154)
- provider: more minor fixes (#1152) (libp2p/go-libp2p-kad-dht#1152)
- rename KeyStore -> Keystore (#1151) (libp2p/go-libp2p-kad-dht#1151)
- provider: minor fixes (#1150) (libp2p/go-libp2p-kad-dht#1150)
- buffered provider (#1149) (libp2p/go-libp2p-kad-dht#1149)
- keystore: remove mutex (#1147) (libp2p/go-libp2p-kad-dht#1147)
- provider: ResettableKeyStore (#1146) (libp2p/go-libp2p-kad-dht#1146)
- keystore: revamp (#1142) (libp2p/go-libp2p-kad-dht#1142)
- provider: use synctest for testing time (#1136) (libp2p/go-libp2p-kad-dht#1136)
- provider: connectivity state machine (#1135) (libp2p/go-libp2p-kad-dht#1135)
- provider: minor fixes (#1133) (libp2p/go-libp2p-kad-dht#1133)
- dual: provider (#1132) (libp2p/go-libp2p-kad-dht#1132)
- provider: refresh schedule (#1131) (libp2p/go-libp2p-kad-dht#1131)
- provider: integration tests (#1127) (libp2p/go-libp2p-kad-dht#1127)
- provider: daemon (#1126) (libp2p/go-libp2p-kad-dht#1126)
- provide: handle reprovide (#1125) (libp2p/go-libp2p-kad-dht#1125)
- provider: options (#1124) (libp2p/go-libp2p-kad-dht#1124)
- provider: catchup pending work (#1123) (libp2p/go-libp2p-kad-dht#1123)
- provider: batch reprovide (#1122) (libp2p/go-libp2p-kad-dht#1122)
- provider: batch provide (#1121) (libp2p/go-libp2p-kad-dht#1121)
- provider: swarm exploration (#1120) (libp2p/go-libp2p-kad-dht#1120)
- provider: handleProvide (#1118) (libp2p/go-libp2p-kad-dht#1118)
- provider: schedule (#1117) (libp2p/go-libp2p-kad-dht#1117)
- provider: schedule prefix length (#1116) (libp2p/go-libp2p-kad-dht#1116)
- provider: ProvideStatus interface (#1110) (libp2p/go-libp2p-kad-dht#1110)
- provider: network operations (#1115) (libp2p/go-libp2p-kad-dht#1115)
- provider: adding provide and reprovide queue (#1114) (libp2p/go-libp2p-kad-dht#1114)
- provider: trie allocation helper (#1108) (libp2p/go-libp2p-kad-dht#1108)
- add missing ShortestCoveredPrefix (libp2p/go-libp2p-kad-dht@d0b110d)
- provider: keyspace helpers (libp2p/go-libp2p-kad-dht@af3ce09)
- provider: helpers package rename (#1111) (libp2p/go-libp2p-kad-dht#1111)
- provider: trie region helpers (#1109) (libp2p/go-libp2p-kad-dht#1109)
- provider: PruneSubtrie helper (#1107) (libp2p/go-libp2p-kad-dht#1107)
- provider: NextNonEmptyLeaf trie helper (#1106) (libp2p/go-libp2p-kad-dht#1106)
- provider: find subtrie helper (#1105) (libp2p/go-libp2p-kad-dht#1105)
- provider: helpers trie find prefix (#1104) (libp2p/go-libp2p-kad-dht#1104)
- provider: trie items listing helpers (#1103) (libp2p/go-libp2p-kad-dht#1103)
- provider: add ShortestCoveredPrefix helper (#1102) (libp2p/go-libp2p-kad-dht#1102)
- provider: key helpers (#1101) (libp2p/go-libp2p-kad-dht#1101)
- provider: Connectivity Checker (#1099) (libp2p/go-libp2p-kad-dht#1099)
- provider: SweepingProvider interface (#1098) (libp2p/go-libp2p-kad-dht#1098)
- provider: keystore (#1096) (libp2p/go-libp2p-kad-dht#1096)
- provider initial commit (libp2p/go-libp2p-kad-dht@70d21a8)
- test GCP result order (#1097) (libp2p/go-libp2p-kad-dht#1097)
- refactor: apply suggestions in records (#1113) (libp2p/go-libp2p-kad-dht#1113)
- github.com/libp2p/go-libp2p-kbucket (v0.7.0 -> v0.8.0):
- chore: release v0.8.0 (#147) (libp2p/go-libp2p-kbucket#147)
- feat: generic find PeerID with CPL (#145) (libp2p/go-libp2p-kbucket#145)
- github.com/multiformats/go-varint (v0.0.7 -> v0.1.0):
- v0.1.0 bump (#29) (multiformats/go-varint#29)
- chore: optimise UvarintSize (#28) (multiformats/go-varint#28)
๐จโ๐ฉโ๐งโ๐ฆ Contributors
Contributor | Commits | Lines ยฑ | Files Changed |
---|---|---|---|
Guillaume Michel | 62 | +15401/-5657 | 209 |
Marcin Rataj | 33 | +9540/-1734 | 215 |
Andrew Gillis | 29 | +771/-1093 | 70 |
Hlib Kanunnikov | 2 | +350/-0 | 5 |
Rod Vagg | 3 | +260/-9 | 4 |
Hector Sanjuan | 4 | +188/-33 | 11 |
Jakub Sztandera | 1 | +67/-15 | 3 |
Masih H. Derkani | 1 | +1/-2 | 2 |
Dominic Della Valle | 1 | +2/-1 | 1 |
v0.38.1
Fixes migration panic on Windows when upgrading from v0.37 to v0.38 ("panic: error can't be dealt with transactionally: Access is denied").
Updates go-ds-pebble to v0.5.3 (pebble v2.1.0).
๐ Changelog
Full Changelog
- github.com/ipfs/kubo:
- chore: v0.38.1
- fix: migrations for Windows (#11010) (ipfs/kubo#11010)
- Upgrade go-ds-pebble to v0.5.3 (#11011) (ipfs/kubo#11011)
- upgrade go-ds-pebble to v0.5.2 (#11000) (ipfs/kubo#11000)
- github.com/ipfs/go-ds-pebble (v0.5.1 -> v0.5.3):
- new version (#62) (ipfs/go-ds-pebble#62)
- fix panic when batch is reused after commit (#61) (ipfs/go-ds-pebble#61)
- new version (#60) (ipfs/go-ds-pebble#60)
- Upgrade to pebble v2.1.0 (#59) (ipfs/go-ds-pebble#59)
- update readme (#57) (ipfs/go-ds-pebble#57)
๐จโ๐ฉโ๐งโ๐ฆ Contributors
Contributor | Commits | Lines ยฑ | Files Changed |
---|---|---|---|
Marcin Rataj | 2 | +613/-267 | 15 |
Andrew Gillis | 6 | +148/-22 | 8 |