master
md 130 lines 8.59 KB
Rendered Raw
1 # Kubo changelog v0.28
2
3 - [v0.28.0](#v0280)
4
5 ## v0.28.0
6
7 - [Overview](#overview)
8 - [🔦 Highlights](#-highlights)
9 - [RPC client: removed deprecated DHT API](#rpc-client-removed-deprecated-dht-api)
10 - [Gateway: `/api/v0` is removed](#gateway-apiv0-is-removed)
11 - [Removed deprecated Object API commands](#removed-deprecated-object-api-commands)
12 - [No longer publishes loopback and private addresses on DHT](#no-longer-publishes-loopback-and-private-addresses-on-dht)
13 - [Pin roots are now prioritized when announcing](#pin-roots-are-now-prioritized-when-announcing)
14 - [📝 Changelog](#-changelog)
15 - [👨‍👩‍👧‍👦 Contributors](#-contributors)
16
17 ### Overview
18
19 #### RPC client: removed deprecated DHT API
20
21 The deprecated DHT API commands in the RPC client have been removed. Instead, use the Routing API.
22
23 #### Gateway: `/api/v0` is removed
24
25 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 <https://github.com/ipfs/kubo/issues/10312>.
26
27 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](https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations).
28
29 #### Removed deprecated Object API commands
30
31 The Object API commands deprecated back in [2021](https://github.com/ipfs/kubo/issues/7936) 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](https://github.com/ipfs/kubo/issues/4801) and [4782](https://github.com/ipfs/kubo/issues/4782)).
32
33 ##### Kubo ignores loopback addresses on LAN DHT and private addresses on WAN DHT
34
35 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.
36
37 To support testing scenarios where multiple Kubo instances run on the same machine, [`Routing.LoopbackAddressesOnLanDHT`](https://github.com/ipfs/kubo/blob/master/docs/config.md#routingloopbackaddressesonlandht) is set to `true` when the `test` profile is applied.
38
39 #### Pin roots are now prioritized when announcing
40
41 The root CIDs of pinned content are now prioritized when announcing to the Amino DHT with [`Reprovider.Strategy`](https://github.com/ipfs/kubo/blob/master/docs/config.md#reproviderstrategy) set to `all` (default) or `pinned`, making the important CIDs accessible faster.
42
43 ### 📝 Changelog
44
45 <details><summary>Full Changelog</summary>
46
47 - github.com/ipfs/kubo:
48 - chore: update version
49 - chore: update version
50 - core/node: prioritize announcing pin roots, and flat strategy (#10376) ([ipfs/kubo#10376](https://github.com/ipfs/kubo/pull/10376))
51 - chore: webui v4.2.1 (#10391) ([ipfs/kubo#10391](https://github.com/ipfs/kubo/pull/10391))
52 - docs(config): clarify RPC vs Gateway
53 - chore: upgrade go-libp2p-kad-dht (#10378) ([ipfs/kubo#10378](https://github.com/ipfs/kubo/pull/10378))
54 - chore(config): make Routing.AcceleratedDHTClient a Flag (#10384) ([ipfs/kubo#10384](https://github.com/ipfs/kubo/pull/10384))
55 - fix: switch lowpower profile to autoclient
56 - core: fix some typos (#10382) ([ipfs/kubo#10382](https://github.com/ipfs/kubo/pull/10382))
57 - docs: fix some typos (#10377) ([ipfs/kubo#10377](https://github.com/ipfs/kubo/pull/10377))
58 - core/commands!: remove deprecated object APIs (#10375) ([ipfs/kubo#10375](https://github.com/ipfs/kubo/pull/10375))
59 - docs: update default ipns lifetime
60 - coreapi/unixfs: don't create an additional IpfsNode for --only-hash
61 - chore: cleanup old workaround (#10369) ([ipfs/kubo#10369](https://github.com/ipfs/kubo/pull/10369))
62 - chore: finish reframe removal
63 - docs: remove repetitive words (#10370) ([ipfs/kubo#10370](https://github.com/ipfs/kubo/pull/10370))
64 - docs: updated links and refs to external resources (#10368) ([ipfs/kubo#10368](https://github.com/ipfs/kubo/pull/10368))
65 - core/corehttp!: remove /api/v0 from gateway port
66 - client/rpc!: remove deprecated DHT commands
67 - ci: upgrade to go 1.22 (#10355) ([ipfs/kubo#10355](https://github.com/ipfs/kubo/pull/10355))
68 - chore: create next changelog
69 - Merge Release: v0.27.0 [skip changelog] ([ipfs/kubo#10362](https://github.com/ipfs/kubo/pull/10362))
70 - test: cleanup content blocking tests (#10360) ([ipfs/kubo#10360](https://github.com/ipfs/kubo/pull/10360))
71 - docs: improve release issue template
72 - chore: update version
73 - github.com/ipfs/boxo (v0.18.0 -> v0.19.0):
74 - Release v0.19.0 ([ipfs/boxo#598](https://github.com/ipfs/boxo/pull/598))
75 - github.com/libp2p/go-libp2p (v0.33.0 -> v0.33.2):
76 - chore: release v0.33.2 (#2755) ([libp2p/go-libp2p#2755](https://github.com/libp2p/go-libp2p/pull/2755))
77 - Update quic-go to v0.42.0. Release v0.33.1 (#2741) ([libp2p/go-libp2p#2741](https://github.com/libp2p/go-libp2p/pull/2741))
78 - github.com/libp2p/go-libp2p-kad-dht (v0.24.4 -> v0.25.2):
79 - chore: release v0.25.2 ([libp2p/go-libp2p-kad-dht#961](https://github.com/libp2p/go-libp2p-kad-dht/pull/961))
80 - add ctx canceled err check ([libp2p/go-libp2p-kad-dht#960](https://github.com/libp2p/go-libp2p-kad-dht/pull/960))
81 - chore: release v0.25.1
82 - perf: don't buffer the output of FindProvidersAsync
83 - chore: use go-libp2p-routing-helpers for tracing needs
84 - fix: properly iterate in tracing for protocol messenger
85 - fix: apply addrFilters in the dht (#872) ([libp2p/go-libp2p-kad-dht#872](https://github.com/libp2p/go-libp2p-kad-dht/pull/872))
86 - Add provider record addresses to peerstore ([libp2p/go-libp2p-kad-dht#870](https://github.com/libp2p/go-libp2p-kad-dht/pull/870))
87 - chore: release v0.25.0
88 - tracing: add protocol messages client tracing
89 - Enhance handleNewMessage Server Mode Logging: Convert Error Logs to Debug Level ([libp2p/go-libp2p-kad-dht#860](https://github.com/libp2p/go-libp2p-kad-dht/pull/860))
90 - tracing: fix DHT keys as string attribute not being valid utf-8 ([libp2p/go-libp2p-kad-dht#859](https://github.com/libp2p/go-libp2p-kad-dht/pull/859))
91 - merge: fix: issues discovered in kubo v0.21.0-rc2 (#853) ([libp2p/go-libp2p-kad-dht#853](https://github.com/libp2p/go-libp2p-kad-dht/pull/853))
92 - merge: fix: issues discovered in kubo v0.21.0-rc1 (#851) ([libp2p/go-libp2p-kad-dht#851](https://github.com/libp2p/go-libp2p-kad-dht/pull/851))
93 - Release v0.24.0 ([libp2p/go-libp2p-kad-dht#844](https://github.com/libp2p/go-libp2p-kad-dht/pull/844))
94 - fix: don't add unresponsive DHT servers to the Routing Table (#820) ([libp2p/go-libp2p-kad-dht#820](https://github.com/libp2p/go-libp2p-kad-dht/pull/820))
95 - filter local addresses (for WAN) and localhost addresses (for LAN) ([libp2p/go-libp2p-kad-dht#839](https://github.com/libp2p/go-libp2p-kad-dht/pull/839))
96 - github.com/multiformats/go-multiaddr (v0.12.2 -> v0.12.3):
97 - chore: release v0.12.3 ([multiformats/go-multiaddr#240](https://github.com/multiformats/go-multiaddr/pull/240))
98 - chore: Expand comment ForEach ([multiformats/go-multiaddr#238](https://github.com/multiformats/go-multiaddr/pull/238))
99 - .Decapsulate by Components ([multiformats/go-multiaddr#239](https://github.com/multiformats/go-multiaddr/pull/239))
100 - github.com/whyrusleeping/cbor-gen (v0.0.0-20240109153615-66e95c3e8a87 -> v0.1.0):
101 - Nullable ints (#93) ([whyrusleeping/cbor-gen#93](https://github.com/whyrusleeping/cbor-gen/pull/93))
102 - Introduce Gen{} struct for configurability ([whyrusleeping/cbor-gen#94](https://github.com/whyrusleeping/cbor-gen/pull/94))
103 - Transparent encoding ([whyrusleeping/cbor-gen#91](https://github.com/whyrusleeping/cbor-gen/pull/91))
104 - turn max length consts into global vars ([whyrusleeping/cbor-gen#92](https://github.com/whyrusleeping/cbor-gen/pull/92))
105
106 </details>
107
108 ### 👨‍👩‍👧‍👦 Contributors
109
110 | Contributor | Commits | Lines ± | Files Changed |
111 |-------------|---------|---------|---------------|
112 | Henrique Dias | 19 | +867/-2806 | 96 |
113 | Rod Vagg | 7 | +921/-475 | 25 |
114 | Marcin Rataj | 8 | +358/-344 | 18 |
115 | Guillaume Michel - guissou | 1 | +145/-485 | 13 |
116 | Jorropo | 8 | +429/-136 | 22 |
117 | Łukasz Magiera | 4 | +284/-48 | 11 |
118 | whyrusleeping | 1 | +90/-90 | 2 |
119 | Michael Muré | 2 | +48/-73 | 9 |
120 | Marco Munizaga | 6 | +86/-29 | 10 |
121 | guillaumemichel | 3 | +93/-1 | 3 |
122 | Marten Seemann | 1 | +31/-4 | 4 |
123 | godeamon | 3 | +11/-8 | 3 |
124 | shuangcui | 1 | +6/-6 | 5 |
125 | occupyhabit | 1 | +3/-3 | 3 |
126 | crazehang | 1 | +2/-2 | 1 |
127 | Dennis Trautwein | 1 | +1/-2 | 1 |
128 | “GheisMohammadi” | 1 | +1/-1 | 1 |
129 | web3-bot | 1 | +2/-0 | 1 |
130 | Daniel Norman | 1 | +1/-1 | 1 |