Skip to content

Releases: ipld/go-car

v2.10.0

10 Apr 06:33
Compare
Choose a tag to compare

What's Changed

  • chore: unmigrate from go-libipfs by @Jorropo in #405
  • refactor insertion index to be publicly accessible by @willscott in #408
  • fix: reading from stdin should broadcast EOF to block loaders by @rvagg in #409
  • chore(deps): bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 by @dependabot in #398
  • chore(deps): bump github.com/ipfs/go-cid from 0.3.2 to 0.4.1 in /v2 by @dependabot in #410
  • fix(deps): update deps for cmd by @rvagg in #411

Full Changelog: v2.9.0...v2.10.0

v2.9.0

24 Mar 12:17
Compare
Choose a tag to compare

What's Changed

  • blockstore: give a direct access to the index for read operations by @MichaelMure in #387
  • fix: handle (and test) WholeCID vs not; fast Has() path for storage by @rvagg in #397
  • blockstore: only close the file on error in OpenReadWrite, not OpenReadWriteFile by @MichaelMure in #396
  • Create CODEOWNERS by @BigLep in #403

New Contributors

Full Changelog: v2.8.2...v2.9.0

v2.8.2

16 Mar 09:45
Compare
Choose a tag to compare

What's Changed

  • ReadWrite: faster Has() by using the in-memory index instead of reading on disk by @MichaelMure in #393

Full Changelog: v2.8.1...v2.8.2

v2.8.1

14 Mar 00:20
Compare
Choose a tag to compare

What's Changed

  • fix: let extract skip missing unixfs shard links by @rvagg in #386
  • chore(deps): bump github.com/ipfs/go-libipfs from 0.6.0 to 0.6.1 by @dependabot in #388
  • chore(deps): bump github.com/ipfs/go-libipfs from 0.6.0 to 0.6.1 in /v2 by @dependabot in #389
  • chore(deps): bump github.com/ipfs/go-ipfs-blockstore from 1.2.0 to 1.3.0 in /v2 by @dependabot in #390
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.5.2 to 1.6.0 in /v2 by @dependabot in #391

Full Changelog: v2.8.0...v2.8.1

v2.8.0

07 Mar 11:57
Compare
Choose a tag to compare

What's Changed

Notable items

  • go.mod now specifies Go 1.19.
  • ReadWrite: add an alternative FinalizeReadOnly+Close flow by @MichaelMure in #376
    • ReadWrite blockstores can now be left open, but read-only with a new FinalizeReadOnly() method which should be followed-up by a Close() when the blockstore is no longer needed. These two operations are currently combined in the Finalize() method.
  • blockstore: fast path for AllKeysChan using the index by @MichaelMure in #372
    • Iterating over the keys in a ReadWrite blockstore is now significantly faster and more efficient
  • Add WithTrustedCar() reader option by @hsanjuan in #381
    • A BlockReader can be opened with carv2.WithTrustedCAR(true) to disable block data being hashed and checked against the CID. Where a CAR is from a trusted source this can significantly speed up iterating through the blocks.
  • feat: extract specific path, accept stdin as streaming input by @rvagg in #384
    • The car extract command has new superpowers:
      • car extract without a -f input file will read streaming CAR data from stdin
      • car extract -p /path/to/data will apply UnixFS pathing to the extraction and extract a specific file, or directory (including subdirectories)
      • Supplying - as the destination for car extract will send the output to stdout where the output would be a single file.
      • Incomplete DAGs are no longer always fatal during car extract; where possible, missing parts will be skipped, with a notice about what is being skipped provided to stderr.

Other changes

  • deps(cmd): update go-internal dependency by @rvagg in #364
  • Update dependencies, upgrade unified-ci by @rvagg in #371
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.5.1 to 1.5.2 in /v2 by @dependabot in #370
  • chore(deps): bump github.com/multiformats/go-multicodec from 0.8.0 to 0.8.1 in /v2 by @dependabot in #374
  • chore(deps): bump github.com/ipfs/go-libipfs from 0.5.0 to 0.6.0 by @dependabot in #377
  • chore(deps): bump github.com/ipfs/go-libipfs from 0.5.0 to 0.6.0 in /v2 by @dependabot in #379
  • chore(deps): bump github.com/ipfs/go-merkledag from 0.9.0 to 0.10.0 in /v2 by @dependabot in #380
  • chore(deps): bump github.com/ipfs/go-merkledag from 0.9.0 to 0.10.0 by @dependabot in #378
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #382
  • chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /v2 by @dependabot in #383

New Contributors

Full Changelog: v2.7.0...v2.8.0

v2.7.0

08 Feb 02:36
317491d
Compare
Choose a tag to compare

What's Changed

  • feat(cmd): add index create subcommand to create an external carv2 index by @aschmahmann in #350
  • Implement go-ipld-prime readable and writable storage API (v2/storage) by @rvagg in #363

The new github.com/ipld/go-car/v2/storage API implements the go-ipld-prime/storage interface, for use with LinkSystems. This is currently an experimental implementation and may be subject to change without a sevmer-major release.

New Contributors

Full Changelog: v0.6.0...v2.7.0

v2.6.0

30 Jan 09:01
268b65b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.6.0

v0.6.0

30 Jan 08:57
268b65b
Compare
Choose a tag to compare

What's Changed

Binaries in releases!

New Contributors

Full Changelog: v0.5.0...v0.6.0

v2.5.0

09 Sep 05:14
Compare
Choose a tag to compare

What's Changed

  • [02d658faa7] - feat: Has() and Get() will respect StoreIdentityCIDs option (Rod Vagg)
  • [9be1c2e7e0] - fix: remove use of ioutil (Rod Vagg)
  • [a18b68d3ea] - bump go.mod to Go 1.18 (web3-bot)

v2.4.1

06 Jul 16:36
Compare
Choose a tag to compare
  • Empty identity CID should be indexed when options are set #316

Full Changelog: v2.4.0...v2.4.1