feat: expose Routing V1 HTTP API by default

- change Gateway.ExposeRoutingAPI default to true
- enables light clients in browsers to use Kubo Gateway as delegated routing backend
- add v0.39 changelog entry highlighting IPIP-476 support
This commit is contained in:
Marcin Rataj 2025-10-17 22:34:19 +02:00
parent a109580641
commit bb2c7d83bc
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const (
DefaultInlineDNSLink = false
DefaultDeserializedResponses = true
DefaultDisableHTMLErrors = false
DefaultExposeRoutingAPI = false
DefaultExposeRoutingAPI = true
DefaultDiagnosticServiceURL = "https://check.ipfs.network"
// Gateway limit defaults from boxo

View File

@ -28,6 +28,10 @@ Existing users should switch to:
For Docker users, the legacy `ipfs/go-ipfs` image name now shows a deprecation notice directing you to `ipfs/kubo`.
#### Routing V1 HTTP API now exposed by default
The [Routing V1 HTTP API](https://specs.ipfs.tech/routing/http-routing-v1/) is now exposed by default at `http://127.0.0.1:8080/routing/v1`. This allows light clients in browsers to use Kubo Gateway as a delegated routing backend instead of running a full DHT client. Support for [IPIP-476: Delegated Routing DHT Closest Peers API](https://github.com/ipfs/specs/pull/476) is included. Can be disabled via [`Gateway.ExposeRoutingAPI`](https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewayexposeroutingapi).
### 📦️ Important dependency updates
- update `go-ds-pebble` to [v0.5.3](https://github.com/ipfs/go-ds-pebble/releases/tag/v0.5.3)