Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@jourdain jourdain released this 20 Aug 20:28
f472e9b

2.0.0 (2025-08-20)

Bug Fixes

  • Algorithm: update viewer on algo update (0bd1637)
  • DataArray: register array before model update (71e4cea)
  • DataArray: setRange with all valid indices (f2efe04)
  • do not bundle vtk.js (ab47f69)
  • do not retrigger onDataAvailable (353b78a)
  • do not show data if dataset is deleted (2e84f19)
  • InteractorStyle: setStyle must be memoized (4fb11dd)
  • ParentedView: mouse scrolling behavior for out-of-focus windows (f6451eb)
  • ParentedView: switch interactor on capture (e31d803)
  • Picking: getCanvas fix (dabebc6)
  • Picking: guard against deleted selector (4d03628)
  • Picking: guard against unmounted state (f2af760)
  • Picking: remove onSelect and split pick func (e887c9d)
  • Picking: use react event system (0bc5c85)
  • PolyData: recompute bounds (4108827)
  • Renderer: call correct resetCamera (676d273)
  • Renderer: no need to call setDraw (c673123)
  • RenderWindow: queue a render after resize (8020f1f)
  • RenderWindow: remove setDraw calls for now (3b31f20)
  • RenderWindow: setState race conditions (501e6ec)
  • SliceRepresentation: copy-paste error (598be45)
  • ts/View: set camera props in correct order (a373b8f)
  • ts: add default props to previous props (73ca10c)
  • update IView and move types to file (be2b0a9)
  • useCamera: filter out any null props (169c5e4)
  • useColorAndOpacity: set as null (2a6496f)
  • useInteractorStyle: get latest value (9722b83)
  • useInteractorStyle: improve registration (9ba919f)
  • useInteractorStyle: no presets with external styles (674b232)
  • useInteractorStyle: set style immediately (f4b4d69)
  • useInteractorStyle: track effect deps (8d700e3)
  • useProp: skip warning (cdabc9d)
  • view.js: fix crash on style.delete() when interactive prop is set to false (0c0722f)
  • View: add getViewContainer to view API (3f1034e)
  • View: api is not optionally null (f4a063e)
  • View: avoid always-null api (3adb234)

chore

  • update rollup and other packages (29d65bf)

Features

  • add color + opacity funcs to slice + volume (167843d)
  • add Geometry2DRepresentation (d570bb6)
  • add ImageData and SliceRepresentation (9a91034)
  • add more vtk.js types (26f1139)
  • add view mounted suspense hook (d47f388)
  • CellData: add component (20d92b8)
  • context: uniform naming and main export (822444f)
  • Dataset: initial dataset impl (6a1db28)
  • example: PET MIP with window/level adjustment (6d6bb0d)
  • expose fine-grained components (e37255c)
  • FieldData: add component (7825ddd)
  • IRepresentation: expose actor and mapper (596456e)
  • MultiViewRoot: initial implementation (405b5a4)
  • onDataAvailable representation callback (0863e96)
  • onDataAvailable/Changed event hooks (7ed06f4)
  • ParentedView: handle custom interactor style (af7462a)
  • Picking: add Picking implementation (02f6d7b)
  • react: update react peer version (ec3f872)
  • Reader: port over this component (29c44c3)
  • remove interactor style if the same (8175cf4)
  • ShareDataSet: initial implementation (1fde03c)
  • SliceRepresentation: mapper instance prop (9aff778)
  • ts/View: add camera props (ccf7552)
  • ts/View: add interactor style (e2c0f04)
  • ts: working PolyDataWithData example (e4a2f3e)
  • types: export types (5647188)
  • View: autoCenterOfRotation (c22805f)
  • View: expose container on API (b5d9e8c)
  • View: move interactor style up to View (ee76d85)
  • View: View handles center of rotation (9735f16)
  • VolumeController: add impl (71b04b8)
  • VolumeRepresentation: initial add (f68e400)
  • vtk.js: bump to v28.13.0 (23801ba)
  • vtk.js: update vtk.js to 26.9.9 (4b009e5)
  • working react 18 upgrades (non-strict) (addf39c)

BREAKING CHANGES

  • this commit will release a breaking change, which was
    not properly done in a prior commit. See BREAKING_CHANGES.md for info.