v0.28.0
Overview
RPC client: removed deprecated DHT API
The deprecated DHT API commands in the RPC client have been removed. Instead, use the Routing API.
Gateway: /api/v0
is removed
The legacy subset of the Kubo RPC that was available via the Gateway port and was deprecated is now completely removed. You can read more in #10312.
If you have a legacy software that relies on this behavior, and want to expose parts of /api/v0
next to /ipfs
, use reverse-proxy in front of Kubo to mount both Gateway and RPC on the same port. NOTE: exposing RPC to the internet comes with security risk: make sure to specify access control via API.Authorizations.
Removed deprecated Object API commands
The Object API commands deprecated back in 2021 have been removed, except for object diff
, object patch add-link
and object patch rm-link
, whose alternatives have not yet been built (see issues 4801 and 4782).
Kubo ignores loopback addresses on LAN DHT and private addresses on WAN DHT
Kubo no longer keeps track of loopback and private addresses on the LAN and WAN DHTs, respectively. This means that other nodes will not try to dial likely undialable addresses.
To support testing scenarios where multiple Kubo instances run on the same machine, Routing.LoopbackAddressesOnLanDHT
is set to true
when the test
profile is applied.
Pin roots are now prioritized when announcing
The root CIDs of pinned content are now prioritized when announcing to the Amino DHT with Reprovider.Strategy
set to all
(default) or pinned
, making the important CIDs accessible faster.
📝 Changelog
Security Note: CVE-2024-22189 has been addressed by upgrading to quic-go v0.42.0.
Full Changelog
- github.com/ipfs/kubo:
- chore: update version
- chore: update version
- core/node: prioritize announcing pin roots, and flat strategy (#10376) (ipfs/kubo#10376)
- chore: webui v4.2.1 (#10391) (ipfs/kubo#10391)
- docs(config): clarify RPC vs Gateway
- chore: upgrade go-libp2p-kad-dht (#10378) (ipfs/kubo#10378)
- chore(config): make Routing.AcceleratedDHTClient a Flag (#10384) (ipfs/kubo#10384)
- fix: switch lowpower profile to autoclient
- core: fix some typos (#10382) (ipfs/kubo#10382)
- docs: fix some typos (#10377) (ipfs/kubo#10377)
- core/commands!: remove deprecated object APIs (#10375) (ipfs/kubo#10375)
- docs: update default ipns lifetime
- coreapi/unixfs: don't create an additional IpfsNode for --only-hash
- chore: cleanup old workaround (#10369) (ipfs/kubo#10369)
- chore: finish reframe removal
- docs: remove repetitive words (#10370) (ipfs/kubo#10370)
- docs: updated links and refs to external resources (#10368) (ipfs/kubo#10368)
- core/corehttp!: remove /api/v0 from gateway port
- client/rpc!: remove deprecated DHT commands
- ci: upgrade to go 1.22 (#10355) (ipfs/kubo#10355)
- chore: create next changelog
- Merge Release: v0.27.0 [skip changelog] (ipfs/kubo#10362)
- test: cleanup content blocking tests (#10360) (ipfs/kubo#10360)
- docs: improve release issue template
- chore: update version
- github.com/ipfs/boxo (v0.18.0 -> v0.19.0):
- Release v0.19.0 (ipfs/boxo#598)
- github.com/libp2p/go-libp2p (v0.33.0 -> v0.33.2):
- chore: release v0.33.2 (#2755) (libp2p/go-libp2p#2755)
- Update quic-go to v0.42.0. Release v0.33.1 (#2741) (libp2p/go-libp2p#2741)
- github.com/libp2p/go-libp2p-kad-dht (v0.24.4 -> v0.25.2):
- chore: release v0.25.2 (libp2p/go-libp2p-kad-dht#961)
- add ctx canceled err check (libp2p/go-libp2p-kad-dht#960)
- chore: release v0.25.1
- perf: don't buffer the output of FindProvidersAsync
- chore: use go-libp2p-routing-helpers for tracing needs
- fix: properly iterate in tracing for protocol messenger
- fix: apply addrFilters in the dht (#872) (libp2p/go-libp2p-kad-dht#872)
- Add provider record addresses to peerstore (libp2p/go-libp2p-kad-dht#870)
- chore: release v0.25.0
- tracing: add protocol messages client tracing
- Enhance handleNewMessage Server Mode Logging: Convert Error Logs to Debug Level (libp2p/go-libp2p-kad-dht#860)
- tracing: fix DHT keys as string attribute not being valid utf-8 (libp2p/go-libp2p-kad-dht#859)
- merge: fix: issues discovered in kubo v0.21.0-rc2 (#853) (libp2p/go-libp2p-kad-dht#853)
- merge: fix: issues discovered in kubo v0.21.0-rc1 (#851) (libp2p/go-libp2p-kad-dht#851)
- Release v0.24.0 (libp2p/go-libp2p-kad-dht#844)
- fix: don't add unresponsive DHT servers to the Routing Table (#820) (libp2p/go-libp2p-kad-dht#820)
- filter local addresses (for WAN) and localhost addresses (for LAN) (libp2p/go-libp2p-kad-dht#839)
- github.com/multiformats/go-multiaddr (v0.12.2 -> v0.12.3):
- chore: release v0.12.3 (multiformats/go-multiaddr#240)
- chore: Expand comment ForEach (multiformats/go-multiaddr#238)
- .Decapsulate by Components (multiformats/go-multiaddr#239)
- github.com/whyrusleeping/cbor-gen (v0.0.0-20240109153615-66e95c3e8a87 -> v0.1.0):
- Nullable ints (#93) (whyrusleeping/cbor-gen#93)
- Introduce Gen{} struct for configurability (whyrusleeping/cbor-gen#94)
- Transparent encoding (whyrusleeping/cbor-gen#91)
- turn max length consts into global vars (whyrusleeping/cbor-gen#92)
👨👩👧👦 Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Henrique Dias | 19 | +867/-2806 | 96 |
Rod Vagg | 7 | +921/-475 | 25 |
Marcin Rataj | 8 | +358/-344 | 18 |
Guillaume Michel - guissou | 1 | +145/-485 | 13 |
Jorropo | 8 | +429/-136 | 22 |
Łukasz Magiera | 4 | +284/-48 | 11 |
whyrusleeping | 1 | +90/-90 | 2 |
Michael Muré | 2 | +48/-73 | 9 |
Marco Munizaga | 6 | +86/-29 | 10 |
guillaumemichel | 3 | +93/-1 | 3 |
Marten Seemann | 1 | +31/-4 | 4 |
godeamon | 3 | +11/-8 | 3 |
shuangcui | 1 | +6/-6 | 5 |
occupyhabit | 1 | +3/-3 | 3 |
crazehang | 1 | +2/-2 | 1 |
Dennis Trautwein | 1 | +1/-2 | 1 |
“GheisMohammadi” | 1 | +1/-1 | 1 |
web3-bot | 1 | +2/-0 | 1 |
Daniel Norman | 1 | +1/-1 | 1 |
This release was brought to you by the Shipyard team.