Skip to content

chore(deps): upgrade @kitware/vtk.js to 36.1.1#879

Open
PaulHax wants to merge 1 commit into
Kitware:mainfrom
PaulHax:vtk-js-upgrade
Open

chore(deps): upgrade @kitware/vtk.js to 36.1.1#879
PaulHax wants to merge 1 commit into
Kitware:mainfrom
PaulHax:vtk-js-upgrade

Conversation

@PaulHax
Copy link
Copy Markdown
Collaborator

@PaulHax PaulHax commented May 17, 2026

Bumps @kitware/vtk.js from ^32.12.1 to ^36.1.1.

API migration

Per vtk.js BREAKING_CHANGES (33 -> 34), several volume mapper setters were moved from the mapper onto the volume property. Callers are adjusted to invoke the new property-based setters:

  • src/utils/volumeProperties.ts: route the relevant set* calls through the volume's property instead of the mapper.
  • src/components/vtk/VtkBaseVolumeRepresentation.vue: same migration for the representation component's mapper/property interactions.

Build config

vtk.js v36 builds with Vite/Rolldown (Kitware/vtk-js#3435). Its internal ColorMaps.json.js is now emitted with export default instead of v35's minified named export, so the virtual-modules stub in vite.config.ts is updated to match.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 9cf72ec
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6a1f3a12a810c000089d6435
😎 Deploy Preview https://deploy-preview-879--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax PaulHax changed the title chore(deps): upgrade @kitware/vtk.js to 35.15.1 chore(deps): upgrade @kitware/vtk.js to 36.0.0 May 21, 2026
@PaulHax PaulHax changed the title chore(deps): upgrade @kitware/vtk.js to 36.0.0 chore(deps): upgrade @kitware/vtk.js to 36.1.1 Jun 2, 2026
Bumps @kitware/vtk.js from ^32.12.1 to ^36.1.1.

Per vtk.js BREAKING_CHANGES (33 -> 34), several volume mapper setters
were moved from the mapper onto the volume property. Adjust callers to
invoke the new property-based setters:

- src/utils/volumeProperties.ts: route the relevant set* calls through
  the volume's property instead of the mapper.
- src/components/vtk/VtkBaseVolumeRepresentation.vue: same migration for
  the representation component's mapper/property interactions.

vtk.js v36 builds with Vite/Rolldown instead of Rollup, changing
ColorMaps.json.js from a minified named export to a default export.
Update the virtual-modules stub in vite.config.ts accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant