3.14.0 Migration Guide#

This release includes several API cleanups, refactorings and changes which will be addressed in the following. This document includes general information about the changes necessary for the migration and a detailed list of API changes.

License Server Compatibility#

Before upgrading, make sure your license server version is compatible with this instant3Dhub release. See the instant3Dhub and License Server Compatibility table for details. License server releases are always backward compatible, so upgrade the license server first if required.

QueryAPI Changes#

The selector faceHandle has been removed. Queries using it now fail with an error. Use faceHandles instead.

Previously, nodes with multiple face handles were returned as multiple result entries. Now each node is returned as a single entry, and faceHandles always contains an array (empty if there are no face handles):

const result = await webvis.getContext().query({
    select     : ["nodeId", "faceHandles"],
    conditions : [{nodeType: "aux"}, {nodeId: auxNodeId}]
});
// Before (faceHandle): [[auxNodeId, faceHandleA], [auxNodeId, faceHandleB]]
// After (faceHandles): [[auxNodeId, [faceHandleA, faceHandleB]]]

A linking node and the root node of the linked model are now returned as a single result entry. If both models contain a value for the same selector or metadata key, the linking model’s value wins. Arrays are concatenated.

Node id conditions (nodeId, pointsTo) are now also supported inside nested and, or and not condition groups, which may change the results of such queries.

Queries are now always sent as batched requests. The setting BATCHED_QUERIES is deprecated and has no effect.

AnimationAPI Changes#

Removing animation frames while a target is running them no longer throws. Related behavior is now stricter:

  • removeAnimationFrames(name) stops a running animation after its current iteration (previously it kept running). It is also a no-op for an unknown name, so AnimationFramesRemovedEvent only fires when a sequence was actually removed.

  • createAnimationFrames(name, frames) no longer overwrites an existing sequence; the call is ignored with a warning. Remove the sequence first to redefine it under the same name.

Colored PMI for JT data#

PMI in JT data is now visualized in its original colors. JT data that is already in the cache keeps its PMI in black. To get the PMI colors for this data, the existing cache must be cleared.

3DSpace MCP Server#

The 3DSpace MCP Server is now switched off with the Helm value spaceMcp.enabled: false instead of numSpaceMcpPods: 0; a remaining numSpaceMcpPods: 0 fails the render while the server is enabled. Overrides of resourceLimits.spacemcp and additionalPodSpecs.spacemcp are no longer read; use resourceLimits.spacemcpsvc and additionalPodSpecs.spacemcpsvc instead. Each agent session now occupies a worker of the Space MCP pods, and one further worker always runs the lobby, which answers agents outside of sessions. So at most numSpaceMcpPods × numSpaceMcpWorkersPerPod - 1 sessions can run at once.

Agents now manage their sessions with tools instead of the MCP transport session: they call createSession first, pass the returned sessionId to all other tools and end the session with closeSession. Agents that follow the tool descriptions adjust to this automatically; only prompts and scripts that call the tools in a fixed sequence have to be updated.

Legacy Mode will be removed with 3.15.0#

Legacy mode, which emulates the global webvis-object as it worked before 3.6.0, will be removed entirely with webvis 3.15.0 (planned for Q2 2027). There will be no fallback: apps that still depend on legacy mode have to be migrated before the upgrade.

Your app runs in legacy mode if it loads webvis.js without the next URL parameter. To make this more visible, the existing message in the browser console is now logged as a warning and names the removal version, and the <webvis-viewer> shows a new “Legacy Mode” warning.

To migrate, load webvis with the next parameter and call the API on a context instead of the global webvis-object:

<script src="https://{HUB_URL}/repo/webvis/webvis.js?next"></script>

If you use the default app webvis-app.html, switch to the new webvis-app-next.html, which runs without legacy mode.

All details and the migration steps are described in the Legacy Mode documentation.

API Changes

The following list contains API additions, changes and removals which might require migration efforts. Most alterations were performed to provide a more streamlined experience when working with the API and come only with minimal need for manual intervention from application developers.

ContextAPI

Events

Types

  • UserFeedback

Enums

EventType

Property

  • NAMES

ServiceType

  • HUB_2_RESOURCE

SettingStrings

ViewerSettingStrings