Skip to content

H5Web 12

Compare
Choose a tag to compare
@axelboc axelboc released this 25 Jun 13:52
· 68 commits to main since this release
61ea900

Full Changelog: v11.2.0...v12.0.0

@h5web/app

  • < NX Line, NX Heatmap > Support complex auxiliary signals #1676 #1680
  • < Line > Replace Autoscale toggle in toolbar with domain widget to allow customising the y axis domain #1665
  • < Compound > Visualize compound scalar datasets #1674
  • < Raw > Add toggle to fit raw JPEG/PNG images to viewport (on by default) #1633
  • [H5GroveProvider, HsdsProvider] Add prop resetKeys to reset fetch cache when file content changes #1673
  • 🐛 < Raw > Disable dark mode on raw JPEG/PNG images #1628
  • 🐛 Fix alignment of toolbar controls in overflow menu #1647
  • 🐛 Don't capitalize attribute names in metadata viewer #1671
  • ⚡ Reduce delay when slicing through a dimension whenever the target slice is already in the cache #1634 #1667
  • Make variable-length string types explicit in metadata viewer #1620
  • Allow inspecting HDF5 string padding metadata with h5grove (>=2.2.0), h5wasm and HSDS providers #1659
  • Errors that occur when retrieving dataset values are no longer stored in the provider's cache, which allows for retrying #1661
  • Throw error when encountering axes or auxiliary_signals attributes with dataset paths #1671

@h5web/lib

⚠️ Breaking changes

  • [Btn] Prop onClick now receives the MouseEvent as first parameter #1653
    • 👉 Please make sure you don't pass a state setter as is, like onClick={toggleOpen}; if you do, refactor with an arrow function instead: onClick={() => toggleOpen()}
  • [Selector] Remove prop optionComponent #1652
    • 👉 Use new renderOption prop instead, which accepts an inline render function instead of a component
  • Remove component ColorMapOption #1652
    • 👉 Use new ColorMapGradient component instead, which renders only the horizontal color map gradient preview
  • Remove deprecated components GridToggler and FlipYAxisToggler #1653
    • 👉 Use ToggleBtn directly instead
  • [ExportMenu] Remove prop align #1653
    • 👉 The popup is now smart enough to remain within the bounds of the viewport

Other changes

  • ⚙️ Remove react-aria-menubutton dependency to get rid of peer dependency warning
    • 👉 You may now revert any package manager configuration that you had made to silence the warning
  • 🐛 [Line] Fix subtle glitch between two points with finite and infinite/NaN coordinates #1632
  • [VisCanvas] Tweak camera frustrum to provide wider z range, and export Z_MIN and Z_MAX constants #1632
  • [SelectionTool] Start selection on pointerdown instead of pointermove #1625
  • [Btn] Add prop withArrow to display a drop-down arrow #1653
  • [Btn] Forward ref and any valid HTML attributes to the button element (HTMLAttributes<HTMLButtonElement>) #1653
  • New ComplexVisTypeSelector toolbar component and ComplexVisType enum #1652

@h5web/h5wasm

  • ⚠️ Breaking change: Rename H5WasmProvider to H5WasmBufferProvider #1664
  • [H5WasmLocalFileProvider, H5WasmBufferProvider] Load compression plugins for datasets with compressed virtual sources within the same file #1662
  • [H5WasmLocalFileProvider] Add prop resetKeys to reset fetch cache when file content changes #1673
  • [H5WasmBufferProvider] Now implemented with a Web Worker, which may reduce UI lag when accessing large datasets.

Screenshots

Complex auxiliary signals

NX Line NX Heatmap
image image

Scalar compound

image

Fit JPEG/PNG images

fit-raw-image