v2.0.1
We're happy to announce go-car v2.0.1!
This is the first stable release of the v2 module, github.com/ipld/go-car/v2
.
As a v2 module, existing users of go-car v0 are not forced to upgrade,
and it is possible to use both go-car v0 and v2 in the same build.
This new major version adds support for the
CAR version 2 spec.
It is mainly aimed at reading and writing CARv2 files,
but also supports consuming CARv1 files.
On top of support for CARv2, it also includes a blockstore
sub-package that
implements a go-ipfs-blockstore on top of a CARv2 archive with an index.
Downstream users of go-car which simply want to list or obtain blocks and CIDs
from CAR files should be able to replace v0 with v2.0.1. With the upgrade, the
code will also be able to consume CARv2 files.
Downstream users which want to write CARv1 files should likely continue using v0
for that purpose for now. In the future, the v2 module will be
better suited to writing DAGs as
CAR files. As of v2.0.1, only the blockstore
package allows writing CARv2 files.
Please note that the previous v2.0.0 tag is missing a LICENSE file and should be ignored.