:tocdepth: 2

##############
Envision 5.1
##############

December 2, 2025 - SHA: 6c3f649a

|web| HOOPS Envision for Web        |desktop| HOOPS Envision for Desktop

*************
New Features
*************

CAE-1531 Add support for node-averaged results in QueryMapResultOnPoints  |web|
================================================================================

Node averaged element-mapped results are now retrieved when querying results using the ``cee.ug.QueryMapResultOnPoints``. 
The query will follow the nodeAveragedValues setting in result settings object ``cee.ug.ScalarSettings`` and ``cee.ug.VectorSettings``.


CAE-1531 CAE-1582 Updated docker images |web|
===================================================

Raised the docker image version to Debian 11 (bullseye) and Node.js minor version to 20.19.5 for the UgServer, GeoServer and CugServer docker images.


CAE-1605 VizStreamer improvements and changes |web|
===============================================================

For this release, we have been working on improving and updating the VizStreamer component. This means that there may be some minor breaking changes. 
These changes are localized to the VizStreamer component only, and users of other Envision components should not be affected.

The following changes have been made:

- Changes to the VizStreamerService gRPC interface (.proto)

  - Extended ``PublishFrames()`` method to return message with a ``stream_revision``.
  - Added ``DeleteStreams()`` method.
  - Added ``publish_tag`` as an optional user defined string that can be associated with a publish operation.
  - Renamed ``stream_name`` to ``stream_id`` to better reflect their purpose as a unique identifier for the stream. Also renamed the ``description`` to ``display_name``

- Updated VizStreamerProxy C++ interface to reflect changes in the gRPC interface.
- Changed the default port for HTTP Stream Server URL from 8080 to 8091.
- ``cee.vs.StreamModel``:

  - The ``startStreaming()`` method has been made async and renamed to ``startStreaming_async()``.
  - Added ``detachFromSession()`` method to detach the model from its owner server session.
  - Added ``streamRevision`` and ``publishTag`` properties.
  - Added ``isStreamingComplete()`` to indicate whether the streaming process has finished.
  - Added ``configReady`` and ``streamingComplete`` callbacks with various methods to attach and remove listeners.

- ``cee.vs.ServerSession``:

  - Added ``destroySession()`` method to explicitly detach the StreamModels from the session and release associated resources.
  - ``createStreamModel()`` no longer starts streaming automatically. ``startStreaming_async()`` must be called explicitly to start streaming.

- Fixed stalling in streaming when having more than one StreamModel at the same time.
- Various performance improvements.


***********
Fixed Bugs
***********

CAE-1596 Include node ID's for displaced nodes in QueryElementInfo |web|
========================================================================

Fixed an issue where querying element information using ``cee.ug.QueryElementInfo`` did not return the node ID's for nodes when displacement results were applied.
The query now correctly returns the node ID's (if specified) for element nodes when displacement results are shown.


CAE-1604 Reduce blurriness of lines in overlay items caused by antialiasing |web|
=================================================================================

Fixed an issue where some lines in overlay items were blurry/thick with antialiasing enabled on Windows machines.
This was most notable on the borders and tick marks of color legends, but also on the border around the info box.


CAE-1247 VTFx Properties missing for Contour lines on Isosurface and Cutting planes |web| |desktop|
=======================================================================================================

Fixed an issue where VTFx properties for Contour lines on Isosurfaces and Cutting planes were not saved in the VTFx file.
