Support for exposing the legacy subset of Kubo RPC via the Gateway port is deprecated and should not be used. It will be removed in the next version. You can read more in ipfs#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.
You can now configure the upper-bound of a cached IPNS entry's Time-To-Live via Ipns.MaxCacheTTL
.
The RPC client for GO (kubo/client/rpc
) now includes a Routing API to match the available commands in /api/v0/routing
. In addition, the DHT API has been marked as deprecated.
In the next version, all DHT deprecated methods will be removed from the Go RPC client.
All the DHT commands that were deprecated for over a year were finally removed from /api/v0/dht
. Users should switch to modern /api/v0/routing
which works with both Amino DHT and Delegated Routers.
Kubo now only uses trustless requests (e.g., CAR files) when downloading repository migrations via HTTP. This further strengthens Kubo by not delegating trust to public gateways. The migration binaries are locally verified before being executed.
Full Changelog
- github.com/ipfs/kubo:
- chore: update version
- chore: update version
- test: cleanup content blocking tests (#10360) (ipfs/kubo#10360)
- docs: improve release issue template
- chore: update version
- repo/fsrepo/migrations: verified HTTP migrations (#10324) (ipfs/kubo#10324)
- chore: fix link
- docs: clarify Gateway.ExposeRoutingAPI (#10337) (ipfs/kubo#10337)
- commands/add: return an error when using --only-hash and --to-files
- docs(config): mention routing v1 spec
- core/commands: remove 'ipfs dht' commands, except 'query' (#10328) (ipfs/kubo#10328)
- core: deprecate CoreAPI.Dht, introduce CoreAPI.Routing
- refactor: superfluous namespace test redirects (#10322) (ipfs/kubo#10322)
- feat: add Ipns.MaxCacheTTL
- fix(gw): negative entity-bytes beyond file size (#10320) (ipfs/kubo#10320)
- core/corehttp: wrap gateway with headers, deprecate gateway /api/v0
- docs: add changelog link to release issue template
- docs: remove whizzzkid
- chore: create next changelog
- Merge Release: v0.26.0 [skip changelog] (ipfs/kubo#10313)
- config: remove all options that are marked as REMOVED
- chore: remove Gateway.APICommands
- docs(cli): name inspect --verify (#10308) (ipfs/kubo#10308)
- docs: improve release issue template (#10305) (ipfs/kubo#10305)
- core/corehttp: wrap hostname option with otelhttp
- fix: profiling tests
- profile: add trace
- docs(config): clarify ReproviderStrategy roots
- chore: update version
- docs: in RELEASE_ISSUE_TEMPLATE ask releaser to ensure we are using the latest go release on the major branch
- github.com/ipfs/boxo (v0.17.0 -> v0.18.0):
- Release v0.18.0 (ipfs/boxo#581)
- github.com/libp2p/go-libp2p (v0.32.2 -> v0.33.0):
- release v0.33.0 (#2715) (libp2p/go-libp2p#2715)
- chore: update deps for v0.33 (#2713) (libp2p/go-libp2p#2713)
- webrtc: wait for FIN_ACK before closing data channels (#2615) (libp2p/go-libp2p#2615)
- quic: upgrade quic-go to v0.41.0 (#2710) (libp2p/go-libp2p#2710)
- chore: remove unused GenerateEKeyPair function (#2711) (libp2p/go-libp2p#2711)
- chore: drop support for go1.20 (#2708) (libp2p/go-libp2p#2708)
- chore: testify fix got, expected transpositions (#2666) (libp2p/go-libp2p#2666)
- docs: fix broken link in README
- chore: fix typos (#2694) (libp2p/go-libp2p#2694)
- libp2phttp: fix flaky ExampleHost_listenOnHTTPTransportAndStreams (#2697) (libp2p/go-libp2p#2697)
- chore(p2p/host): fix typos (#2683) (libp2p/go-libp2p#2683)
- chore: fix typos (#2689) (libp2p/go-libp2p#2689)
- defaults: do TLS by default for encryption (#2650) (libp2p/go-libp2p#2650)
- webrtc: fix flaky TestMaxInFlightRequests (#2682) (libp2p/go-libp2p#2682)
- chore: remove unnecessary conversions (#2680) (libp2p/go-libp2p#2680)
- chore: update chat-with-mdns example readme (#2678) (libp2p/go-libp2p#2678)
- examples: call NewStream from only one side (#2677) (libp2p/go-libp2p#2677)
- chore: fix typos in comment (#2674) (libp2p/go-libp2p#2674)
- chore: update go-libp2p-asn-util (#2673) (libp2p/go-libp2p#2673)
- chore: update go security policy url (#2665) (libp2p/go-libp2p#2665)
- security: remove separate licenses for Noise and TLS (#2663) (libp2p/go-libp2p#2663)
- webrtc: clarify that there is no reuseport functionality (#2652) (libp2p/go-libp2p#2652)
- rcmgr: fix connmgr connection limit conflict warning (#2648) (libp2p/go-libp2p#2648)
- tcp: fix build on loong64 (#2655) (libp2p/go-libp2p#2655)
- swarm: fix grafana dashboard templating (#2640) (libp2p/go-libp2p#2640)
- chore: fix typos (#2608) (libp2p/go-libp2p#2608)
- chore: add resource manager dashboard to docker-compose (#2641) (libp2p/go-libp2p#2641)
- pstoremanager: fix race condition when removing peers from peer store (#2644) (libp2p/go-libp2p#2644)
- examples: remove unused 'SetStreamHandler' (#2598) (libp2p/go-libp2p#2598)
- Update docs from RSA to Ed25519 (#2606) (libp2p/go-libp2p#2606)
- github.com/multiformats/go-multiaddr (v0.12.1 -> v0.12.2):
- chore: release v0.12.2
- tests: add round trip equality check to fuzz (#232) (multiformats/go-multiaddr#232)
- fix: correctly parse ports as uint16 and explicitely fail on overflows (#228) (multiformats/go-multiaddr#228)
- replace custom random tests with testing.F (#227) (multiformats/go-multiaddr#227)
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Henrique Dias | 26 | +1668/-1484 | 96 |
Sukun | 13 | +983/-618 | 68 |
Jorropo | 18 | +501/-222 | 32 |
Marten Seemann | 2 | +17/-244 | 5 |
dozyio | 1 | +117/-132 | 31 |
Marcin Rataj | 7 | +100/-20 | 8 |
Alexandr Burdiyan | 2 | +29/-54 | 2 |
Tyler | 1 | +17/-19 | 2 |
KeienWang | 2 | +14/-14 | 12 |
Håvard Anda Estensen | 1 | +14/-14 | 11 |
Halimao | 2 | +17/-4 | 2 |
hannahhoward | 1 | +14/-6 | 2 |
alex | 1 | +8/-8 | 4 |
shuoer86 | 1 | +7/-7 | 5 |
John Chase | 1 | +0/-12 | 1 |
GoodDaisy | 1 | +5/-5 | 4 |
Michael Muré | 1 | +6/-2 | 1 |
吴小白 | 1 | +3/-3 | 3 |
Vehorny | 1 | +3/-3 | 2 |
Eric | 1 | +1/-1 | 1 |