Back to Kubo

Kubo changelog v0.24

docs/changelogs/v0.24.md

0.41.013.1 KB
Original Source

Kubo changelog v0.24

v0.24.0

Overview

πŸ”¦ Highlights

Support for content blocking

This Kubo release ships with built-in content-blocking subsystem announced earlier this year. Content blocking is an opt-in decision made by the operator of ipfs daemon. The official build does not ship with any denylists.

Learn more at /docs/content-blocking.md

Gateway: the root of the CARs are no longer meaningful

When requesting a CAR from the gateway, the root of the CAR might no longer be meaningful. By default, the CAR root will be the last resolvable segment of the path. However, in situations where the path cannot be resolved, such as when the path does not exist, a CAR will be sent with a root of bafkqaaa (empty CID). This CAR will contain all blocks necessary to validate that the path does not exist.

IPNS: improved publishing defaults

This release changes the default values used when publishing IPNS record via ipfs name publish command:

  • Default --lifetime increased from 24h to 48h to take full advantage of the increased expiration window of Amino DHT (go-libp2p-kad-dht#793)
  • Default --ttl increased from 1m to 1h to improve website caching and follow saner defaults present in similar systems like DNS (specs#371)

This change only impacts the implicit defaults, when mentioned parameters are omitted during publishing. Users are free to override the default if different value makes more sense for their use case.

IPNS: record TTL is used for caching

In this release, we've made significant improvements to IPNS caching.

Previously, the TTL value in IPNS records was not utilized, and the boxo/namesys library maintained a static one-minute resolution cache.

With this update, IPNS publishers gain more control over how long a valid IPNS record remains cached before checking an upstream routing system, such as Amino DHT, for updates. The TTL value in the IPNS record now serves as a hint for:

  • boxo/namesys: the internal cache, determining how long the IPNS resolution result is cached before asking upstream routing systems for updates.
  • boxo/gateway: the Cache-Control HTTP header in responses to requests made for /ipns/name content paths.

These changes make it easier for rarely updated IPNS-hosted websites to be cached more efficiently and load faster in browser contexts.

Experimental Transport: WebRTC Direct

This Kubo release includes the initial work towards WebRTC Direct introduced in go-libp2p v0.32:

WebRTC Direct allows browser nodes to connect to go-libp2p nodes directly, without any configuration (e.g. TLS certificates) needed on the go-libp2p side. This is useful for browser nodes that aren’t able to use WebTransport.

The /webrtc-direct transport is disabled by default in Kubo 0.24, and not ready for production use yet, but we plan to enable it in a future release.

See Swarm.Transports.Network.WebRTCDirect to learn how to enable it manually, and what current limitations are.

πŸ“ Changelog

<details><summary>Full Changelog</summary> </details>

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributors

ContributorCommitsLines Β±Files Changed
Henrique Dias27+4505/-3853244
Marten Seemann18+4260/-1173101
Sukun24+1499/-34079
Andrew Gillis4+169/-102516
Adin Schmahmann4+788/-18419
Hector Sanjuan6+619/-7219
Steven Allen11+489/-10114
Jorropo10+221/-19228
Łukasz Magiera2+306/-93
Lucas Molas1+183/-522
Marcin Rataj5+160/-256
piersy1+57/-06
RaΓΊl Kripalani1+25/-252
Alvin Reyes1+34/-141
Dennis Trautwein1+1/-402
Icarus99131+14/-1410
Takashi Matsuda2+18/-13
gammazero4+8/-57
xiaolou861+6/-65
Daniel MartΓ­1+9/-21
Rod Vagg3+5/-54
Andrej Manduch1+5/-53
vuittont601+4/-43
vyzo1+5/-11
tkzktk1+3/-33
tk1+3/-32
Prem Chaitanya Prathi1+1/-51
Kay2+2/-32
Thomas Eizinger1+2/-21
Steve Loeppky1+2/-21
Jonas Keunecke1+2/-21
Alejandro Criado-PΓ©rez1+1/-11
web3-bot1+1/-01
Eric1+1/-01