Skip to content

v2.1.0

Choose a tag to compare

@mvdan mvdan released this 06 Oct 09:46
· 441 commits to master since this release
c93f536
  • Implement the new multicodec.CarMultihashIndexSorted index format, which uses full multihashes, and is now the default when generating an index

  • Add ExtractV1File to extract a CARv1 file out of a CARv2 efficiently

  • Add ReplaceRootsInFile to update the roots list in a CAR file

  • Support the fully-indexed CARv2 characteristic along with StoreIdentityCIDs, which specify if an index contains identity CIDs

  • Prevent indexing huge CIDs, configurable via MaxIndexCidSize

  • Reader.IndexReader now returns nil when a CARv2 file lacks an index

  • The API types ReadOption, WriteOption, and ReadWriteOption are deprecated in favor of Option to improve usability

Full Changelog: v2.0.2...v2.1.0