Skip to content

Releases: ipfs/kubo

v0.30.0-rc1

22 Aug 00:56
Compare
Choose a tag to compare
v0.30.0-rc1 Pre-release
Pre-release

v0.29.0

10 Jun 19:46
3f0947b
Compare
Choose a tag to compare

Overview

🔦 Highlights

Add search functionality for pin names

It is now possible to search for pins by name via ipfs pin ls --name "SomeName".
The search is case-sensitive and will return all pins that contain the specified substring in their name.

Tip

The ipfs pin ls -n is now a shorthand for ipfs pin ls --name, mirroring the behavior of ipfs pin add.
See ipfs pin ls --help for more information.

Customizing ipfs add defaults

This release supports overriding global data ingestion defaults used by commands like ipfs add via user-defined Import.* configuration options.
The hash function, CID version, or UnixFS raw leaves and chunker behaviors can be set once, and used as the new implicit default for ipfs add.

Tip

As a convenience, two CID profiles are provided: legacy-cid-v0 and test-cid-v1.
A test profile that defaults to modern CIDv1 can be applied via ipfs config profile apply test-cid-v1.
We encourage users to try it and report any issues in kubo#4143.

📝 Changelog

Full Changelog
  • github.com/ipfs/kubo:
  • github.com/ipfs/boxo (v0.19.0 -> v0.20.0):
  • github.com/ipfs/go-blockservice (v0.5.0 -> v0.5.2):
    • docs: remove contribution section
    • chore: bump version
    • chore: deprecate types and readme
    • chore: release v0.5.1
    • fix: remove busyloop in getBlocks by removing batching
  • github.com/ipfs/go-ipfs-blockstore (v1.3.0 -> v1.3.1):
    • docs: remove contribution section
    • chore: bump version
    • chore: deprecate types and readme
  • github.com/ipfs/go-ipfs-cmds (v0.10.0 -> v0.11.0):
  • github.com/ipfs/go-ipfs-ds-help (v1.1.0 -> v1.1.1):
    • docs: remove contribution section
    • chore: bump version
    • chore: deprecate types and readme
  • github.com/ipfs/go-ipfs-exchange-interface (v0.2.0 -> v0.2.1):
  • github.com/ipfs/go-verifcid (v0.0.2 -> v0.0.3):
  • github.com/ipld/go-car (v0.5.0 -> v0.6.2):
    • v0.6.2 (ipld/go-car#464)
    • fix: opt-in way to allow empty list of roots in CAR headers (ipld/go-car#461)
    • feat: add inverse and version to filter cmd (ipld/go-car#457)
    • v0.6.1 bump
    • chore: update usage of merkledag by go-car (#437) (ipld/go-car#437)
    • feat(cmd/car): add '--no-wrap' option to 'create' command (ipld/go-car#432)
    • fix: remove github.com/ipfs/go-ipfs-blockstore dependency
    • feat: expose index for StorageCar
    • perf: reduce NewCarReader allocations
    • fix(deps): update deps for cmd (use master go-car and go-car/v2 for now)
    • fix: new error strings from go-cid
    • fix: tests should match stderr for verbose output
    • fix: reading from stdin should broadcast EOF to block loaders
    • refactor insertion index to be publicly accessible (ipld/go-car#408)
    • chore: unmigrate from go-libipfs
    • Create CODEOWNERS
    • blockstore: give a direct access to the index for read operations
    • blockstore: only close the file on error in OpenReadWrite, not OpenReadWriteFile
    • fix: handle (and test) WholeCID vs not; fast Has() path for storage
    • ReadWrite: faster Has() by using the in-memory index instead of reading on disk
    • fix: let extract skip missing unixfs shard links
    • fix: error when no files extracted
    • fix: make -f optional, read from stdin if omitted
    • fix: update cmd/car/README with latest description
    • chore: add test cases for extract modes
    • feat: extract accepts '-' as an output path for stdout
    • feat: extract specific path, accept stdin as streaming input
    • fix: if we don't read the full block data, don't error on !EOF
    • blockstore: try to close during Finalize(), even in case of previous error
    • ReadWrite: add an alternative FinalizeReadOnly+Close flow
    • feat: add WithTrustedCar() reader option (#381) (ipld/go-car#381)
    • blockstore: fast path for AllKeysChan using the index
    • fix: switch to crypto/rand.Read
    • stop using the deprecated io/ioutil package
    • fix(doc): fix storage package doc formatting
    • fix: return errors for unsupported operations
    • chore: move insertionindex into store pkg
    • chore: add experimental note
    • fix: minor lint & windows fd test problems
    • feat: docs for StorageCar interfaces
    • feat: ReadableWritable; dedupe shared code
    • feat: add Writable functionality to StorageCar
    • feat: StorageCar as a Readable storage, separate from blockstore
    • feat(blockstore): implement a streaming read only storage
    • feat(cmd): add index create subcommand to create an external carv2 index (ipld/go-car#350)
    • chore: bump version to 0.6.0
    • fix: use goreleaser instead
    • Allow using WalkOption in WriteCar function (ipld/go-car#357)
    • fix: update go-block-format to the version that includes the stubs
    • feat: upgrade from go-block-format to go-libipfs/blocks
    • cleanup readme a bit to make the cli more discoverable (#353) (ipld/go-car#353)
    • Update install instructions in README.md
    • Add a debugging form for car files. (#341) (ipld/go-car#341)
    • (ipld/go-car#340)
    • add a SkipNext method on block reader (#338) (ipld/go-car#338)
    • feat: Has() and Get() will respect StoreIdentityCIDs option
  • github.com/libp2p/go-libp2p (v0.33.2 -> v0.34.1):
Read more

v0.29.0-rc2

04 Jun 18:20
c526f29
Compare
Choose a tag to compare
v0.29.0-rc2 Pre-release
Pre-release

v0.29.0-rc1

27 May 13:26
v0.29.0-rc1
Compare
Choose a tag to compare
v0.29.0-rc1 Pre-release
Pre-release

v0.28.0

15 Apr 08:59
v0.28.0
e7f0f34
Compare
Choose a tag to compare

Overview

RPC client: removed deprecated DHT API

The deprecated DHT API commands in the RPC client have been removed. Instead, use the Routing API.

Gateway: /api/v0 is removed

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 #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.

Removed deprecated Object API commands

The Object API commands deprecated back in 2021 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 and 4782).

Kubo ignores loopback addresses on LAN DHT and private addresses on WAN DHT

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.

To support testing scenarios where multiple Kubo instances run on the same machine, Routing.LoopbackAddressesOnLanDHT is set to true when the test profile is applied.

Pin roots are now prioritized when announcing

The root CIDs of pinned content are now prioritized when announcing to the Amino DHT with Reprovider.Strategy set to all (default) or pinned, making the important CIDs accessible faster.

📝 Changelog

Security Note: CVE-2024-22189 has been addressed by upgrading to quic-go v0.42.0.

Full Changelog

👨‍👩‍👧‍👦 Contributors

Contributor Commits Lines ± Files Changed
Henrique Dias 19 +867/-2806 96
Rod Vagg 7 +921/-475 25
Marcin Rataj 8 +358/-344 18
Guillaume Michel - guissou 1 +145/-485 13
Jorropo 8 +429/-136 22
Łukasz Magiera 4 +284/-48 11
whyrusleeping 1 +90/-90 2
Michael Muré 2 +48/-73 9
Marco Munizaga 6 +86/-29 10
guillaumemichel 3 +93/-1 3
Marten Seemann 1 +31/-4 4
godeamon 3 +11/-8 3
shuangcui 1 +6/-6 5
occupyhabit 1 +3/-3 3
crazehang 1 +2/-2 1
Dennis Trautwein 1 +1/-2 1
“GheisMohammadi” 1 +1/-1 1
web3-bot 1 +2/-0 1
Daniel Norman 1 +1/-1 1

This release was brought to you by the Shipyard team.

v0.28.0-rc1

11 Apr 06:20
v0.28.0-rc1
Compare
Choose a tag to compare
v0.28.0-rc1 Pre-release
Pre-release

v0.27.0

04 Mar 11:45
v0.27.0
59bcea8
Compare
Choose a tag to compare

Overview

🔦 Highlights

Gateway: support for /api/v0 is deprecated

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 #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.

IPNS resolver cache's TTL can now be configured

You can now configure the upper-bound of a cached IPNS entry's Time-To-Live via Ipns.MaxCacheTTL.

RPC client: deprecated DHT API, added Routing API

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.

Deprecated DHT commands removed from /api/v0/dht

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.

Repository migrations are now trustless

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.

📝 Changelog

Full Changelog

👨‍👩‍👧‍👦 Contributors

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

<img align="left" ...

Read more

v0.27.0-rc2

01 Mar 10:48
v0.27.0-rc2
4bc1939
Compare
Choose a tag to compare
v0.27.0-rc2 Pre-release
Pre-release

v0.27.0-rc1

20 Feb 10:36
v0.27.0-rc1
Compare
Choose a tag to compare
v0.27.0-rc1 Pre-release
Pre-release

v0.26.0

22 Jan 15:28
v0.26.0
096f510
Compare
Choose a tag to compare

Overview

🔦 Highlights

Kubo binary imports

For users of Kubo preloaded plugins there is now a way to create a kubo instance with your plugins by depending on the cmd/ipfs/kubo package rather than rebuilding kubo with the included plugins.

See the customization docs for more information.

Several deprecated commands have been removed

Several deprecated commands have been removed:

Support optional pin names

You can now add a name to a pin when pinning a CID. To do so, use ipfs pin add --name "Some Name" bafy.... You can list your pins, including their names, with ipfs pin ls --names.

jaeger trace exporter has been removed

jaeger exporter has been removed from upstream, you should use otlp exporter instead.
See the boxo tracing docs for an example.

📝 Changelog

Full Changelog
  • github.com/ipfs/kubo:
    • chore: update version
    • chore: update version
    • feat(pinning): allow for overwriting pin name
    • chore: update otlp
    • Revert "build,docker: add support for riscv64"
    • feat: support optional pin names (#10261) (ipfs/kubo#10261)
    • build,docker: add support for riscv64
    • feat(cmd/ipfs): Make it possible to depend on cmd/ipfs/kubo for easier preloaded plugin management (ipfs/kubo#10219)
    • docs: fix broken link in HTTP RPC client doc (#10267) (ipfs/kubo#10267)
    • Merge Release: v0.25.0 [skip changelog] (ipfs/kubo#10260)
    • docs: add detail to NOpfs instructions in content-blocking.md
    • commands: remove several deprecated commands
    • fix: allow daemon to start correctly if the API is null (#10062) (ipfs/kubo#10062)
    • chore: update version
  • github.com/ipfs/boxo (v0.16.0 -> v0.17.0):
  • github.com/ipfs/go-ipld-cbor (v0.0.6 -> v0.1.0):
  • github.com/ipfs/go-unixfsnode (v1.8.1 -> v1.9.0):
    • v1.9.0 bump
    • feat: expose ToDirEntryFrom to allow sub-dag representation
    • feat: new UnixFS{File,Directory} with options pattern
    • feat: testutil generator enhancements
  • github.com/ipld/go-car/v2 (v2.10.2-0.20230622090957-499d0c909d33 -> v2.13.1):
    • fix: BlockMetadata#Offset should be for section, not block data
    • fix: add closed check, expose storage.ErrClosed
    • fix: switch constructor args to match storage.New*, make roots plural
    • feat: add DeferredCarWriter
    • feat: fix BlockReader#SkipNext & add SourceOffset property
    • v0.6.2 (ipld/go-car#464)
    • fix: opt-in way to allow empty list of roots in CAR headers (ipld/go-car#461)
  • github.com/libp2p/go-libp2p-asn-util (v0.3.0 -> v0.4.1):
    • chore: release v0.4.1
    • fix: add Init method on backward compat
    • chore: release v0.4.0
    • rewrite representation to a sorted binary list and embed it
    • docs: fix incorrect markdown === in README
    • ci: run go generate on CI (#27) (libp2p/go-libp2p-asn-util#27)
  • github.com/multiformats/go-multiaddr (v0.12.0 -> v0.12.1):
    • v0.12.1 bump
    • manet: reduce allocations in resolve unspecified address
  • github.com/whyrusleeping/cbor-gen (v0.0.0-20230126041949-52956bd4c9aa -> v0.0.0-20240109153615-66e95c3e8a87):

👨‍👩‍👧‍👦 Contributors

Contributor Commits Lines ± Files Changed
Henrique Dias 11 +493/-1184 48
Łukasz Magiera 3 +610/-582 16
Rod Vagg 11 +1030/-151 18
whyrusleeping 6 +553/-388 14
Jorropo 13 +561/-348 84
Jeromy Johnson 1 +771/-48 6
Steven Allen 2 +264/-135 4
Forrest 1 +214/-0 5
Marcin Rataj 1 +89/-24 2
sukun 1 +31/-11 5
Will Scott 3 +25/-10 3
Adin Schmahmann 3 +21/-5 3
web3-bot 2 +8/-8 3
Marten Seemann 1 +13/-1 1
Bumblefudge 1 +5/-2 1
Will 1 +1/-1 1
Nicholas Ericksen 1 +1/-1 1
0xbasar 1 +1/-1 1

This release was brought to you by the Shipyard team.