Skip to content

Version 1.11.0

Compare
Choose a tag to compare
@DavidAce DavidAce released this 03 Jan 08:11
· 127 commits to master since this release

New features

  • New wrappers h5pp::varr_t<> and h5pp::vstr_t to hold variable-length data in structs for compound types or table fields. See examples 01d, 04c and 04e.
    • a597dd9 - Add .size() support for varr_t and other minor improvements:
    • e85246e - Add ostream operators to vstr_t and add .size() member to varr_t
    • 69c5f00 - Added simpler examples showing the new vlen types
    • 748d2e0 - Added tests for the new varr_t and vstr_t types
    • e2e3f39 - Improved support for variable-length arrays and strings
    • 38edec3 - Minor tweaks to vlen wrappers
      9d25d58 - New set of member functions h5pp::File::vlen???(...) to control tracking of variable-length data allocations made by HDF5. Users can enable/disable tracking and call h5pp::File::vlenReclaim() to free all allocated memory in one go if tracking is enabled.
  • 6f91fb8 - New member function h5pp::File::deleteAttribute(...)

Minor updates

  • 33577b1 - Added a custom fmt formatter for complex types
  • 94f490a d511fef - Update HDF5 to 1.13.1 on conan builds, 1.13.2 on other builds (the link to 1.13.1 has been removed)
  • Optimized type detection:
    • 08dc1c9 aff4ec7 - Refactored type detection
    • 4c899d6 - More efficient type equality checks for compound types (complex, scalar2, scalar3)
    • 221153d - More efficient HDF5 <--> C++ type matching
    • 4b8d110 - Shorten the H5T_NATIVE type list to check
  • cc5f8d8 - Add more metadata fields to LinkInfo struct
  • e681348 - Enable automatic creation intermediate groups when making soft/hard/external links

Updated dependencies

  • Updated HDF5 1.12 to 1.13
  • Updated spdlog 1.10.0 to 1.11.0

Bug fixes

  • 0172f9e - Fixed bug in automatic estimation of chunk size for very big table records
  • 58cbf0f - Return (do nothing) if extent == 0 when reading table records or fields
  • c708efe - Use h5pp:: namespace for enum2str to avoid collisions
  • 41c720e - Wrap all steps in FindFilesystem.cmake in a function to avoid local variables leaking out. This should fix #16
  • f292750 - Take all hyperslabs into account when resizing datasets
  • 9e5f41f - Fixed bug caused by H5TBget_field_info not being able to calculate the size of table types correctly when a field has an enum.
  • a1d8f08 - Fixed issues with iterating/recursing through nodes in an HDF5 file, when given relative paths