docs/changelogs/v0.32.md
libp2p.directThis release introduces an experimental feature that significantly improves how browsers (Helia, Service Worker) can connect to Kubo node.
Opt-in configuration allows a publicly dialable Kubo nodes (public IP, port forwarding, or NAT with uPnP) to obtain CA-signed TLS certificates for libp2p Secure WebSocket (WSS) connections automatically.
[!TIP] To enable this feature, set
AutoTLS.Enabledtotrueand add a listener for/tls/sni/*.libp2p.direct/wson a separate TCP port:diff{ + "AutoTLS": { "Enabled": true }, "Addresses": { "Swarm": { "/ip4/0.0.0.0/tcp/4001", + "/ip4/0.0.0.0/tcp/4002/tls/sni/*.libp2p.direct/ws", "/ip6/::/tcp/4001", + "/ip6/::/tcp/4002/tls/sni/*.libp2p.direct/ws",After restarting your node for the first time you may need to wait 5-15 minutes to pass all checks and for the changes to take effect. We are working on sharing the same TCP port with other transports (go-libp2p#2984).
See AutoTLS configuration for more details how to enable it and what to expect.
This is an early preview, we appreciate you testing and filling bug reports or feedback in the tracking issue at kubo#10560.
ipfs-webui to v4.4.0boxo to v0.24.1 + v0.24.2 + v0.24.3
go-libp2p to v0.37.0
Swarm.RelayService.MaxReservationsPerPeer configuration option from Kubo. If you had it set, remove it from your configuration file.go-libp2p-kad-dht to v0.27.0 + v0.28.0 + v0.28.1go-libp2p-pubsub to v0.12.0p2p-forge/client to v0.0.2go-homedir
github.com/mitchellh/go-homedir repo is archived, no longer needed, and no longer maintained.homedir.Dir is replaced by the stdlib os.UserHomeDirhomedir.Expand is replaced by fsutil.ExpandHome in the github.com/ipfs/kubo/misc/fsutil package.github.com/ipfs/kubo/misc/fsutil package contains file utility code previously located elsewhere in kubo.queryPeer (#996) (libp2p/go-libp2p-kad-dht#996)Ihave messages (#560) (libp2p/go-libp2p-pubsub#560)| Contributor | Commits | Lines Β± | Files Changed |
|---|---|---|---|
| Marco Munizaga | 16 | +4253/-545 | 81 |
| Pop Chunhapanya | 1 | +1423/-137 | 15 |
| sukun | 10 | +752/-425 | 35 |
| Steven Allen | 11 | +518/-541 | 35 |
| Andrew Gillis | 19 | +348/-194 | 50 |
| Marcin Rataj | 26 | +343/-132 | 47 |
| Adin Schmahmann | 4 | +269/-29 | 12 |
| gammazero | 12 | +154/-18 | 13 |
| Josh Klopfenstein | 1 | +90/-35 | 27 |
| galargh | 3 | +42/-44 | 13 |
| Daniel Norman | 2 | +30/-16 | 4 |
| Mikel Cortes | 3 | +25/-4 | 4 |
| gopherfarm | 1 | +14/-14 | 6 |
| Carlos Peliciari | 1 | +12/-12 | 4 |
| Prithvi Shahi | 2 | +5/-11 | 3 |
| web3-bot | 6 | +12/-3 | 6 |
| guillaumemichel | 3 | +7/-6 | 3 |
| Jorropo | 1 | +11/-0 | 1 |
| Sorin Stanculeanu | 1 | +8/-0 | 1 |
| Hlib Kanunnikov | 2 | +6/-2 | 4 |
| AndrΓ© Bierlein | 1 | +4/-3 | 1 |
| bytetigers | 1 | +1/-1 | 1 |
| Wondertan | 2 | +2/-0 | 2 |
| Alexandr Burdiyan | 1 | +1/-1 | 1 |
| Guillaume Michel | 1 | +0/-1 | 1 |