Releases: ipld/go-car
Releases · ipld/go-car
v2.11.0
What's Changed
- Dependency updates
- go.mod bump to v1.20
- Add the options
--versionand--inversetocar 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
- @laurentsenta made their first contribution in #457
Full Changelog: v2.10.1...v2.11.0
v0.6.2
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
- @laurentsenta made their first contribution in #457
Full Changelog: v0.6.1...v0.6.2
v2.10.1
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
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
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
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
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
What's Changed
- fix: let
extractskip 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
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 aClose()when the blockstore is no longer needed. These two operations are currently combined in theFinalize()method.
- ReadWrite blockstores can now be left open, but read-only with a new
- 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.
- A BlockReader can be opened with
- feat: extract specific path, accept stdin as streaming input by @rvagg in #384
- The
car extractcommand has new superpowers:car extractwithout a-finput file will read streaming CAR data from stdincar extract -p /path/to/datawill apply UnixFS pathing to the extraction and extract a specific file, or directory (including subdirectories)- Supplying
-as the destination forcar extractwill 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.
- The
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
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
- @aschmahmann made their first contribution in #350
Full Changelog: v0.6.0...v2.7.0