1.92
CesiumGS/cesium1.92Apr 1, 2022by sanjeetsuhag
AI Summary
The release adds experimental support for 3D Tiles 1.1 and metadata support in CustomShader. A major breaking change involves removing Cesium.when in favor of native Promises.
Key Highlights
- Added experimental support for 3D Tiles 1.1 draft.
- Added support for EXT_structural_metadata in CustomShader.
- Added splitDirection property to Cesium3DTileset for screen-side rendering.
- Removed Cesium.when in favor of native Promises API.
Breaking Changes
- Removed `Cesium.when`. Any `Promise` in the Cesium API has changed to the native `Promise` API.
New Features
- 3D Tiles 1.1 draft support
- CustomShader metadata support
- Cesium3DTileset splitDirection property
Full Release Notes
1.92 - 2022-04-01 Highlights include: - Added experimental support for the [3D Tiles 1.1 draft](https://github.com/CesiumGS/3d-tiles/pull/666). [#10189](https://github.com/CesiumGS/cesium/pull/10189) - Added support for `EXT_structural_metadata` property attributes in `CustomShader` [#10228](https://github.com/CesiumGS/cesium/pull/10228) - Added partial support for `EXT_structural_metadata` property textures in `CustomShader` [#10247](https://github.com/CesiumGS/cesium/pull/10247) - Added `minimumPixelSize`, `scale`, and `maximumScale` to `ModelExperimental`. [#10092](https://github.com/CesiumGS/cesium/pull/10092) - `Cesium3DTileset` now has a `splitDirection` property, allowing the tileset to only be drawn on the left or right side of the screen. This is useful for visual comparison of tilesets. [#10193](https://github.com/CesiumGS/cesium/pull/10193) - Removed `Cesium.when`. Any `Promise` in the Cesium API has changed to the native `Promise` API. Code bases using cesium will likely need updates after this change. See the [upgrade guide](https://community.cesium.com/t/cesiumjs-is-switching-from-when-js-to-native-promises-which-will-be-a-breaking-change-in-1-92/17213) for instructions on how to update your code base to be compliant with native promises. See the [changelog](https://github.com/CesiumGS/cesium/blob/1.92/CHANGES.md) for the complete list of changes.