v2.1.0
-
Implement the new
multicodec.CarMultihashIndexSortedindex format, which uses full multihashes, and is now the default when generating an index -
Add
ExtractV1Fileto extract a CARv1 file out of a CARv2 efficiently -
Add
ReplaceRootsInFileto update the roots list in a CAR file -
Support the
fully-indexedCARv2 characteristic along withStoreIdentityCIDs, which specify if an index contains identity CIDs -
Prevent indexing huge CIDs, configurable via
MaxIndexCidSize -
Reader.IndexReadernow returnsnilwhen a CARv2 file lacks an index -
The API types
ReadOption,WriteOption, andReadWriteOptionare deprecated in favor ofOptionto improve usability
Full Changelog: v2.0.2...v2.1.0