1.104
CesiumGS/cesium1.104Apr 3, 2023by jjhembd
AI Summary
This release deprecates the `readyPromise` pattern in favor of a new asynchronous constructor pattern. It adds async constructors for providers and fixes various race conditions and styling issues in lit components.
Key Highlights
- Deprecated `readyPromise` pattern; it will be removed in CesiumJS 1.107.
- Added asynchronous constructors for ImageryProviders, TerrainProviders, 3D Tilesets, and Models.
- Fixed various race conditions from asynchronous operations.
- Fixed CreditDisplay styles when instantiating Viewer inside lit components.
Breaking Changes
- Deprecated `readyPromise` pattern (will be removed in 1.107).
New Features
- Async constructors for providers.
Full Release Notes
1.104 - 2023-04-03 Highlights include: - The `readyPromise` pattern has been deprecated across the API. It will be removed in CesiumJS 1.107. This has been done to facilitate better asynchronous flow and error handling. [#11059](https://github.com/CesiumGS/cesium/pull/11059) - Added asynchronous constructors for ImageryProviders, TerrainProviders, 3D Tilesets, and Models. - Fixed various race conditions from asynchronous operations. [#10909](https://github.com/CesiumGS/cesium/issues/10909) - Fixed Cesium.Viewer instantiated inside lit components: CreditDisplay is missing its styles [#10907](https://github.com/CesiumGS/cesium/issues/10907) See the [changelog](https://github.com/CesiumGS/cesium/blob/1.104/CHANGES.md) for the complete list of changes.