Cesium v1.96 Release Notes
Release Date: 2022-08-01 // over 1 year ago-
Major Announcements :loudspeaker:
- โก๏ธ Built
Cesium.js
is no longer AMD format. This may or may not be a breaking change depending on how you use Cesium in your app. See our blog post for the full details. #10399- Built
Cesium.js
has gone from12.5MB
to8.4MB
unminified and from4.3MB
to3.6MB
minified.Cesium.js.map
has gone from22MB
to17.2MB
. - If you were ingesting individual ESM-style modules from the combined file
Build/Cesium/Cesium.js
orBuild/CesiumUnminified/Cesium.js
, instead useBuild/Cesium/index.js
orBuild/CesiumUnminified/index.js
respectively. - Using ESM from
Source
will require a bundler to resolve third party node dependencies. CESIUM_BASE_URL
should be set to eitherBuild/Cesium
orBuild/CesiumUnminified
.
- Built
๐ฅ Breaking Changes :mega:
Model.boundingSphere
now returns the bounding sphere in ECEF coordinates instead of the local coordinate system. #10589
โ Additions :tada:
- Models and tilesets that use the
CESIUM_primitive_outline
extension can now toggle outlines at runtime with theshowOutline
property. Furthermore, the color of the outlines can now be controlled by theoutlineColor
property. #10506 - โ Added optional
blurActiveElementOnCanvasFocus
option to set the behavior of blurring the active element when interacting with the canvas. #10518 - โ Added
ModelExperimental.getNode
to allow users to modify the transforms of model nodes at runtime. #10540 - โ Added support for point cloud styling for tilesets loaded with
ModelExperimental
. #10569 - ๐ Upgraded earcut from version 2.2.2 to version 2.2.4 which includes 10-15% better performance in triangulation. #10593
๐ Fixes :wrench:
- Fixed crash when loading glTF models with the
EXT_mesh_features
andEXT_structural_metadata
extensions withoutchannels
property. #10511 - ๐ Fixed a crash in the 3D Tiles Feature Styling sandcastle that occurred when using
ModelExperimental
. #10514 - ๐ Fixed improper handling of double-sided materials in
ModelExperimental
. #10507 - ๐ Fixed a bug where the alpha component of
model.color
would not update in the 3D Models Coloring sandcastle when usingModelExperimental
. #10519 - ๐ Fixed a bug where .cmpt files were not cached correctly in
ModelExperimental
. #10524 - ๐ Fixed a crash in the 3D Tiles Formats sandcastle when loading draco-compressed point clouds with
ModelExperimental
. #10521 - ๐ Fixed a bug where per-feature post-processing was not working with
ModelExperimental
. #10528 - ๐ Fixed error in
loadAndExecuteScript
and favorite icon lost in sandcaslte when CesiumJS was running in cross-origin isloated evironment.#10515 - ๐ Fixed a bug where
Viewer.zoomTo
would continuously throw errors if aCesium3DTileset
failed to load.#10523 - ๐ Fixed a bug where styles would not apply to tilesets if they were applied while the tileset was hidden. #10582
- ๐ Fixed a bug where
.i3dm
models with quantized positions were not being correctly loaded byModelExperimental
. #10598 - ๐ Fixed a bug where dynamic geometry was not marked as
ready
. #10517
Deprecated :hourglass_flowing_sand:
- โก๏ธ Built