1.128

CesiumGS/cesium1.128Apr 1, 2025by ggetz

AI Summary

This release adds support for iTwin data via share keys, adds Frozen.EMPTY_OBJECT/ARRAY, and fixes orthographic camera and entity tracking issues.

Key Highlights

  • Added support for loading iTwin data using share keys
  • Added Frozen.EMPTY_OBJECT and Frozen.EMPTY_ARRAY
  • Fixed entity tracking for delayed datasource bounding spheres
  • Fixed Camera.getPickRay in orthographic mode
  • Fixed shape bounds and transforms for cylinder-shaped voxels

New Features

  • iTwin share key support
  • Frozen.EMPTY_OBJECT/ARRAY
  • Orthographic camera fixes
  • Voxel shape bounds fixes

Full Release Notes

1.128 - 2025-04-01

Highlights include:

- Added support for loading iTwin data using share keys as an alternative to user-based OAuth. When using a share key, set `ITwinPlatform.defaultShareKey`. [#12530](https://github.com/CesiumGS/cesium/pull/12530)
- Added `Frozen.EMPTY_OBJECT` and `Frozen.EMPTY_ARRAY` for use as default parameter values that avoid unnecessary memory allocations. [#12507](https://github.com/CesiumGS/cesium/pull/12507)
- Fixed entity tracking for delayed datasource bounding spheres. [#12465](https://github.com/CesiumGS/cesium/issues/12465)
- `Camera.getPickRay` now correctly returns a ray with origin in world coordinates in orthographic mode. [#12500](https://github.com/CesiumGS/cesium/pull/12500)
- Fixed camera zooming in 3D orthographic mode when pixelRatio is not 1. [#12487](https://github.com/CesiumGS/cesium/pull/12487)
- Fixed shape bounds and transforms for cylinder-shaped voxels. [#12522](https://github.com/CesiumGS/cesium/pull/12522)
- Fixed an issue where clamped entities' height updates could stall when using high-resolution terrain due to a growing queue of tiles in `updateHeights` in `QuadtreePrimitive`. [#12476](https://github.com/CesiumGS/cesium/issues/12476)

See the [changelog](https://github.com/CesiumGS/cesium/blob/1.128/CHANGES.md) for the complete list of changes.