Skip to content

H5Web 11

Compare
Choose a tag to compare
@axelboc axelboc released this 15 Feb 12:35
· 234 commits to main since this release
v11.0.0
3402266

Full Changelog: v10.1.0...v11.0.0

🎉 H5WasmProvider now supports loading the Blosc2 and Bitshuffle compression plugins provided by @bmaranville in h5wasm-plugins@0.0.3. Keep an eye out for upcoming releases of myHDF5 and the VS Code extension, or check out the h5wasm demo!

@h5web/app

  • ⚠️ Breaking change [H5GroveProvider] now requires h5grove@2.0.0 #1557
    • ✨ External links are now included in search results thanks to improvements to the /paths endpoint.
    • ✨ Advanced HDF5 types, such as H5T_ENUM, H5T_OPAQUE, H5T_ARRAY, H5T_VLEN, H5T_REFERENCE, are now properly parsed and displayed in the metadata viewer thanks to improvements to the /metadata endpoint.
  • 🐛 Fix import issues with Vitest #1562 #1564 #1565
  • 🛠️ Reduce bundle size and runtime footprint in consumer applications #1537 #1564 #1571
  • [H5GroveProvider, HsdsProvider] Document using React's key attribute to ensure the viewer displays up-to-date metadata and dataset values when the content of the current HDF5 file changes #1559
  • [H5GroveProvider] Take advantage of h5grove's dtype=safe type conversions to fetch float16 and float128 datasets as binary (Float32Array and Float64Array respectively) instead of JSON #1561
  • [H5GroveProvider] Recommend memoising axiosConfig object with useMemo #1559

@h5web/lib

  • ⚠️ Remove mockMetadata, findMockEntity and getMockDataArray #1537
  • ⚠️ Instead of holding entire, plain JS arrays, the mockValues object now provides factory functions to generate mock ndarrays only when needed — e.g. mockValues.twoD() returns a mock ndarray with dimensions [20, 41] #1537
  • 🐛 Fix import issues with Vitest #1562 #1564 #1565
  • 🛠️ Reduce bundle size and runtime footprint in consumer applications #1537 #1564 #1571
  • Export toTypedNdArray utility to convert a plain number[] ndarray into a typed ndarray #1537

@h5web/h5wasm

  • [H5WasmProvider] Support loading Blosc2 and Bitshuffle compression plugins provided in h5was-plugins@0.0.3 #1524
    • ⚠️ The type of the getPlugin function prop has changed: it now accepts a Plugin enum value as argument.
  • [H5WasmProvider] Correctly parse the following advanced HDF5 types: H5T_OPAQUE, H5T_VLEN, and H5T_REFERENCE so they no longer appear as Unknown in the metadata viewer #1556
  • 🐛 [H5WasmProvider] Fix issue when switching between two files with the same NeXus default path #1568