Skip to content

Commit

Permalink
change the version
Browse files Browse the repository at this point in the history
  • Loading branch information
cavencj committed Oct 29, 2022
1 parent f383c0e commit dd12445
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 16 deletions.
13 changes: 13 additions & 0 deletions CHANGES_zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

### 2.17.0 - 2022-10-29

#### Breaking Changes 📣

- 升级 Cesium 到 1.98.1 版本
- 移除 ModelCollectionPrimitive

#### Fixes 🔧

- 修复 locatonbar 鼠标移动的坐标错误
- 修复 transform 中坐标转换的问题
- 修复瓦片蒙层问题

### 2.16.2 - 2022-09-13

#### Additions 🎉
Expand Down
5 changes: 2 additions & 3 deletions build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = env => {
}
return {
entry: {
'dc.base': [path.resolve(__dirname, '..', 'packages/base/index.js')]
'dc.base': path.resolve(__dirname, '..', 'packages/base/index.js')
},
devtool: IS_PROD ? false : 'cheap-module-eval-source-map',
output: {
Expand All @@ -50,14 +50,13 @@ module.exports = env => {
umdNamedDefine: true
},
module: {
unknownContextCritical: false,
// unknownContextCritical: false,
rules: common.rules
},
resolve: {
extensions: ['.js', '.json', '.css'],
alias: {
'@dc-modules': path.resolve(__dirname, '..', 'modules')
// cesium: path.resolve(__dirname, cesiumBuild)
}
},
plugins
Expand Down
2 changes: 1 addition & 1 deletion modules/copy-right/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ console.clear()
console.log(
`%c \n DC-SDK \n %c \n 用数字描绘世界之美 %c \n
版本:${__VERSION__} - ${__TIME__}
Cesium版本:1.96.0
Cesium版本:1.98.1
开发作者:${__AUTHOR__}
网站主页: ${__HOME_PAGE__}
github:${__REPOSITORY__}
Expand Down
2 changes: 1 addition & 1 deletion modules/option/ViewerOption.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class ViewerOption {
let globeFS = globe._surfaceShaderSet.baseFragmentShaderSource
let oriShder = globeFS.sources[globeFS.sources.length - 1]
globeFS.sources[globeFS.sources.length - 1] = oriShder.replace(
'gl_FragColor = finalColor;',
'gl_FragColor = finalColor;',
`gl_FragColor = finalColor * vec4(${filterColor.red.toFixed(
2
)},${filterColor.green.toFixed(2)},${filterColor.blue.toFixed(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dc-sdk",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand Down
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-base",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand Down
4 changes: 2 additions & 2 deletions packages/chart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-chart",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand All @@ -19,7 +19,7 @@
"license": "Apache 2.0",
"main": "dist/dc.chart.min.js",
"peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-core",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand All @@ -19,7 +19,7 @@
"license": "Apache 2.0",
"main": "dist/dc.core.min.js",
"peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/mapv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-mapv",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand All @@ -19,7 +19,7 @@
"license": "Apache 2.0",
"main": "dist/dc.mapv.min.js",
"peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/s3m/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-s3m",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand All @@ -19,7 +19,7 @@
"license": "Apache 2.0",
"main": "dist/dc.s3m.min.js",
"peerDependencies": {
"@dvgis/dc-base": "^2.16.2"
"@dvgis/dc-base": "^2.17.0"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-sdk",
"version": "2.16.2",
"version": "2.17.0",
"description": "The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.",
"repository": "https://github.com/dvgis/dc-sdk.git",
"homepage": "https://www.dvgis.cn",
Expand Down

0 comments on commit dd12445

Please sign in to comment.