From 80be9fb70e19a8bceab2b06a15b0fa1a085e9c27 Mon Sep 17 00:00:00 2001 From: cavencj Date: Tue, 5 Nov 2024 09:12:22 +0800 Subject: [PATCH] upgrade the cesium --- CHANGES_en.md | 36 +++++++++++++++++++++++++++--------- CHANGES_zh.md | 37 +++++++++++++++++++++++++++---------- package.json | 2 +- 3 files changed, 55 insertions(+), 20 deletions(-) diff --git a/CHANGES_en.md b/CHANGES_en.md index 238a9fd8..145efc07 100644 --- a/CHANGES_en.md +++ b/CHANGES_en.md @@ -1,5 +1,24 @@ # Change Log +### 4.0.0 + +#### Breaking Changes 📣 + +- Changes to the underlying packaging for fixing a DC is not extensible issue when using node mode [#199](https://github.com/dvgis/dc-sdk/issues/199) +- Upgrade @cesium/engine to version 12.0.0. +- Remove `__namespace` global variable, suggest using `getLib` to get required third-party framework modules. +- Remove the extension module Viewer class and will use `CesiumWidget` as the scene builder class. + +#### Additions 🎉 + +- Added SkyLine analysis feature +- Improve the anchor style function in Plot. +- Opened up some of Cesium's underlying native classes. + +#### Fixes 🔧 + +- Fix mouse pickup issue + ### 3.5.0 #### Breaking Changes 📣 @@ -51,7 +70,7 @@ #### Fixes 🔧 -- Optimize camera position calculation +- Optimize camera position calculation ### 3.1.0 - 2023-08-06 @@ -72,6 +91,7 @@ ### 3.0.1 #### Fixes 🔧 + - Optimization of measurement functions - Optimize Google Maps - Optimize weather effects @@ -106,7 +126,6 @@ - Optimize heat zone layer - Fix a number of issues caused by upgrading the Cesium framework - ### 2.17.0 - 2022-10-29 #### Breaking Changes 📣 @@ -128,7 +147,7 @@ #### Fixes 🔧 -- Improve the scene export +- Improve the scene export - Improve terrain loading [#126](https://github.com/dvgis/dc-sdk/issues/126) ### 2.16.1 - 2022-08-21 @@ -173,7 +192,7 @@ - Optimize position bar elevation value [#109](https://github.com/dvgis/dc-sdk/issues/109) - Fix the problem of incorrect recovery time of history track several times -- Fix the problem of wrong display of the end of history track[#107](https://github.com/dvgis/dc-sdk/issues/107) +- Fix the problem of wrong display of the end of history track[#107](https://github.com/dvgis/dc-sdk/issues/107) - Fix the problem that the number of anchor points is wrong and the size cannot be set when editing the marker. ### 2.14.0 - 2022-06-04 @@ -305,7 +324,7 @@ #### Fixes 🔧 -- Improve the function of clearing or removing the primitive layer +- Improve the function of clearing or removing the primitive layer - Improve the history track function ### 2.7.0 - 2021-11-13 @@ -333,7 +352,7 @@ - Improve the DivIcon style - Improve the Popup config -- Improve the terrian name option [#74](https://github.com/dvgis/dc-sdk/pull/74) +- Improve the terrian name option [#74](https://github.com/dvgis/dc-sdk/pull/74) ### 2.6.0 - 2021-10-10 @@ -427,7 +446,6 @@ - Improve the function area - Improve the function of calculating the point position of a sector - ### 2.3.0 - 2021-07-03 #### Breaking Changes 📣 @@ -482,7 +500,7 @@ #### Fixes 🔧 -- Improve the viewer destroy +- Improve the viewer destroy - Refine mouse and context-menu events for primitive ### 2.2.2 - 2021-05-29 @@ -510,7 +528,7 @@ - Improve the wind layer add fix the issue[#28](https://github.com/dvgis/dc-sdk/issues/28) - Repair the problem that the auxiliary view cone of video fusion function cannot be displayed[#29](https://github.com/dvgis/dc-sdk/issues/29) -- Improve the video primitive +- Improve the video primitive - Repair the problem that the animation function cannot be used after the scene time is stoped[#31](https://github.com/dvgis/dc-sdk/issues/31) ### 2.2.0 - 2021-05-09 diff --git a/CHANGES_zh.md b/CHANGES_zh.md index 8a8555a1..767925c4 100644 --- a/CHANGES_zh.md +++ b/CHANGES_zh.md @@ -1,35 +1,53 @@ # Change Log -### 3.5.0 +### 4.0.0 + +#### Breaking Changes 📣 + +- 修改底层打包方式,用于修复使用 node 模式后,出现 DC 是无法扩展的问题 [#199](https://github.com/dvgis/dc-sdk/issues/199) +- 升级 @cesium/engine 到 12.0.0 版本 +- 移除 `__namespace` 全局变量,建议使用 `getLib` 获取所需的第三方框架模块 +- 移除扩展模块 Viewer 类,将使用 `CesiumWidget` 作为场景构建类 + +#### Additions 🎉 + +- 添加天际线分析功能 +- Plot 中完善锚点样式功能 +- 开放部分 Cesium 底层原生的类 + +#### Fixes 🔧 + +- 修复鼠标拾取问题 + +### 3.5.0 #### Breaking Changes 📣 - 升级 @cesium/engine 到 9.1.0 版本 -- overlay中的Ellipsoid实体类变更为Sphere实体类,Ellipsoid为Cesium.Ellipsoid +- overlay 中的 Ellipsoid 实体类变更为 Sphere 实体类,Ellipsoid 为 Cesium.Ellipsoid -#### Additions 🎉 +#### Additions 🎉 -- 添加自定义TilingScheme,用于通过切图原点和比例尺添加瓦片 +- 添加自定义 TilingScheme,用于通过切图原点和比例尺添加瓦片 - 添加启用控制覆盖物移入和移出监听参数 -- 添加默认Cesium裁剪面 +- 添加默认 Cesium 裁剪面 #### Fixes 🔧 -- 修复场景分割组件添加3dtiles和baselayer的问题 - +- 修复场景分割组件添加 3dtiles 和 baselayer 的问题 ### 3.4.0 - 2024-04-04 #### Fixes 🔧 -- 优化Node模式下引入错误的问题 +- 优化 Node 模式下引入错误的问题 ### 3.3.0 - 2024-03-21 #### Breaking Changes 📣 - 升级 @cesium/engine 到 8.0.0 版本 -- 优化打包方式,移除rollup的打包 +- 优化打包方式,移除 rollup 的打包 #### Fixes 🔧 @@ -54,7 +72,6 @@ - 优化相机当前位置计算方式 - ### 3.1.0 - 2023-08-06 #### Breaking Changes 📣 diff --git a/package.json b/package.json index 836b99c7..962ba650 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,6 @@ "dist" ], "dependencies": { - "@dvgis/dc-common": "^3.5.1" + "@dvgis/dc-common": "^4.0.0" } }