Skip to content

v0.13.9

Choose a tag to compare

@kolkov kolkov released this 04 Mar 15:30
· 4 commits to main since this release
7748ffb

Bug Fix

V2 Object Header Checksum (Issue #24)

Fixed a critical compatibility issue where V2 object headers were written without the mandatory 4-byte Jenkins lookup3 checksum. HDF5 readers (h5py, h5wasm, h5dump) validate this checksum on every object header read, causing incorrect metadata checksum after all read attempts errors.

Changes:

  • Added Jenkins lookup3 checksum computation to V2 object header writing
  • Added support for variable chunk size field width (1/2/4/8 bytes) per HDF5 spec
  • Unified all header size calculations via ObjectHeaderWriter.Size()
  • Fixed CI double-trigger: push events now only fire on main branch
  • Verified against HDF5 C reference implementation (H5Ocache.c)

Impact: Files created with v0.11.0–v0.13.8 have invalid V2 object header checksums. Files created with v0.13.9+ are fully compatible with h5py, h5wasm, h5dump, and the HDF5 C library.

Reported by @vrv-bit. Fixes #24.