Releases: ipld/go-car
Releases · ipld/go-car
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
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
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 extract
command has new superpowers:car extract
without a-f
input file will read streaming CAR data from stdincar 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 forcar 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.
- 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 LinkSystem
s. 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
v2.6.0
What's Changed
- docs: Update commands list by @ajnavarro in #340
- Add a debugging form for car files. by @willscott in #341
- Update install instructions in README.md by @gammazero in #352
- cleanup readme a bit to make the cli more discoverable by @willscott in #353
- feat: upgrade from go-block-format to go-libipfs/blocks by @hacdias in #356
- feat: add release-binaries workflow by @rvagg in #355
- chore: update deps by @rvagg in #359
New Contributors
- @ajnavarro made their first contribution in #340
- @gammazero made their first contribution in #352
- @hacdias made their first contribution in #356
- @leszko made their first contribution in #357
Full Changelog: v2.5.1...v2.6.0
v0.6.0
What's Changed
Binaries in releases!
- docs: Update commands list by @ajnavarro in #340
- Add a debugging form for car files. by @willscott in #341
- Update install instructions in README.md by @gammazero in #352
- cleanup readme a bit to make the cli more discoverable by @willscott in #353
- feat: upgrade from go-block-format to go-libipfs/blocks by @hacdias in #356
- Allow using WalkOption in WriteCar function by @leszko in #357
- feat: add release-binaries workflow by @rvagg in #355
- chore: update deps by @rvagg in #359
New Contributors
- @ajnavarro made their first contribution in #340
- @gammazero made their first contribution in #352
- @hacdias made their first contribution in #356
- @leszko made their first contribution in #357
Full Changelog: v0.5.0...v0.6.0
v2.5.0
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)