Skip to content

Releases: ipld/go-car

v2.13.1

06 Sep 12:10
Compare
Choose a tag to compare

What's Changed

Addresses an erroneous change in behaviour introduced in v2.12.0 whereby the BlockMetadata returned by BlockReader#SkipNext() records Offset for the block bytes rather than the CAR section byte offset. This release restores the original behaviour for CARv1 data and also includes the fix in v2.12.0 that brings CARv2 parsing behaviour into parity with CARv1 behaviour.

  • fix: BlockMetadata#Offset should be for section, not block data by @rvagg in #497

Full Changelog: v2.13.0...v2.13.1

v2.13.0

04 Sep 07:16
Compare
Choose a tag to compare

What's Changed

Added new github.com/ipld/go-car/v2/storage/deferred package with DeferredCarWriter. Useful for cases where streaming a CAR that you don't want to begin until you know you've got data to write but need to set up a WritableStorage early.

By @rvagg in #493

Full Changelog: v2.12.0...v2.13.0

v2.12.0

01 Sep 06:58
Compare
Choose a tag to compare

What's Changed

  • feat: fix BlockReader#SkipNext & add SourceOffset property by @rvagg in #491

Dependency updates

  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.4 to 1.8.0 in /cmd by @dependabot in #478
  • chore(deps): bump github.com/ipld/go-car/v2 from 2.10.1 to 2.11.0 in /cmd by @dependabot in #479
  • chore(deps): bump github.com/ipfs/go-ipld-cbor from 0.0.6 to 0.1.0 in /v2 by @dependabot in #488
  • chore(deps): bump github.com/ipfs/go-block-format from 0.1.2 to 0.2.0 in /cmd by @dependabot in #480
  • chore(deps): bump github.com/ipfs/go-block-format from 0.1.2 to 0.2.0 in /v2 by @dependabot in #485
  • chore(deps): bump github.com/ipfs/go-ipld-format from 0.5.0 to 0.6.0 in /cmd by @dependabot in #481
  • chore(deps): bump github.com/ipfs/go-ipld-format from 0.5.0 to 0.6.0 in /v2 by @dependabot in #486
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.4 to 1.8.0 in /v2 by @dependabot in #487

Full Changelog: v2.11.0...v2.12.0

v2.11.0

23 Aug 00:10
Compare
Choose a tag to compare

What's Changed

  • Dependency updates
  • go.mod bump to v1.20
  • Add the options --version and --inverse to car filter

Commits:

  • chore(deps): bump github.com/ipld/go-car/v2 from 2.10.1-0.20230613053002-4a5acd6d5622 to 2.10.1 in /cmd by @dependabot in #453
  • chore(deps): bump github.com/ipld/go-car from 0.6.1-0.20230613053002-4a5acd6d5622 to 0.6.1 in /cmd by @dependabot in #452
  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 in /cmd by @dependabot in #455
  • feat: add inverse and version to filter cmd by @laurentsenta in #457
  • chore(deps): bump github.com/rogpeppe/go-internal from 1.10.0 to 1.11.0 in /cmd by @dependabot in #458
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.1 to 1.7.3 in /v2 by @dependabot in #462
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.1 to 1.7.3 in /cmd by @dependabot in #463
  • chore(deps): bump github.com/ipld/go-car from 0.6.1 to 0.6.2 in /cmd by @dependabot in #465
  • chore(deps): bump github.com/libp2p/go-libp2p from 0.25.1 to 0.27.8 in /cmd by @dependabot in #466
  • chore(deps): bump github.com/ipld/go-ipld-prime from 0.20.0 to 0.21.0 in /v2 by @dependabot in #470
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.3 to 1.7.4 in /v2 by @dependabot in #471
  • chore(deps): bump github.com/ipld/go-ipld-prime from 0.20.0 to 0.21.0 in /cmd by @dependabot in #472
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.3 to 1.7.4 in /cmd by @dependabot in #474

New Contributors

Full Changelog: v2.10.1...v2.11.0

v0.6.2

03 Aug 15:38
a154056
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4 by @dependabot in #451
  • chore(deps): bump actions/setup-go from 2 to 4 by @dependabot in #449
  • chore(deps): bump github.com/ipld/go-car/v2 from 2.10.1-0.20230613053002-4a5acd6d5622 to 2.10.1 in /cmd by @dependabot in #453
  • chore(deps): bump protocol/multiple-go-modules from 1.2 to 1.4 by @dependabot in #454
  • chore(deps): bump github.com/ipld/go-car from 0.6.1-0.20230613053002-4a5acd6d5622 to 0.6.1 in /cmd by @dependabot in #452
  • chore(deps): bump actions/checkout from 2 to 3 by @dependabot in #456
  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7 in /cmd by @dependabot in #455
  • feat: add inverse and version to filter cmd by @laurentsenta in #457
  • chore(deps): bump github.com/rogpeppe/go-internal from 1.10.0 to 1.11.0 in /cmd by @dependabot in #458
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.1 to 1.7.3 in /v2 by @dependabot in #462
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.1 to 1.7.3 in /cmd by @dependabot in #463

New Contributors

Full Changelog: v0.6.1...v0.6.2

v2.10.1

13 Jun 22:32
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump github.com/ipld/go-car/v2 from 2.9.1-0.20230406035547-a06f8a9fdb4a to 2.10.0 in /cmd by @dependabot in #415
  • chore(deps): bump github.com/multiformats/go-multicodec from 0.8.1 to 0.9.0 in /v2 by @dependabot in #417
  • chore(deps): bump github.com/multiformats/go-multicodec from 0.8.1 to 0.9.0 in /cmd by @dependabot in #418
  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.3 in /cmd by @dependabot in #419
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.6.0 to 1.7.0 in /cmd by @dependabot in #424
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.6.0 to 1.7.0 in /v2 by @dependabot in #422
  • chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 in /v2 by @dependabot in #423
  • feat: expose index for StorageCar by @rvagg in #431
  • fix: remove github.com/ipfs/go-ipfs-blockstore dependency by @rvagg in #430
  • feat(cmd/car): add '--no-wrap' option to 'create' command by @hacdias in #432
  • chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 in /v2 by @dependabot in #433
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.0 to 1.7.1 in /cmd by @dependabot in #436
  • chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.0 to 1.7.1 in /v2 by @dependabot in #434
  • Update usage of merkledag by go-car by @willscott in #437
  • chore(deps): bump github.com/multiformats/go-multihash from 0.2.2 to 0.2.3 in /cmd by @dependabot in #446
  • chore(deps): bump github.com/multiformats/go-multihash from 0.2.2 to 0.2.3 in /v2 by @dependabot in #441
  • chore(deps): bump github.com/urfave/cli/v2 from 2.25.5 to 2.25.6 in /cmd by @dependabot in #445
  • chore(deps): bump github.com/ipfs/go-ipld-format from 0.4.0 to 0.5.0 in /cmd by @dependabot in #444

New Contributors

Full Changelog: v2.10.0...v2.10.1

v0.6.1

13 Jun 22:32
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1 by @dependabot in #412
  • perf: reduce NewCarReader allocations by @bradfitz in #420
  • chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #421
  • chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #435
  • Update usage of merkledag by go-car by @willscott in #437
  • chore(deps): bump github.com/multiformats/go-multihash from 0.2.2 to 0.2.3 by @dependabot in #440
  • v0.6.1 bump by @rvagg in #447

New Contributors

Full Changelog: v0.6.0...v0.6.1

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