From 849a894e0c498b0f43c4afff2a7656a69d775cae Mon Sep 17 00:00:00 2001 From: Markus Ast Date: Sun, 25 Apr 2021 15:40:04 +0200 Subject: [PATCH] release 3.0.0 --- CHANGELOG.md | 13 +++++++++++++ crates/datis-cmd/Cargo.toml | 2 +- crates/datis-core/Cargo.toml | 2 +- crates/datis-core/src/tts/azure.rs | 1 - crates/datis-core/src/weather.rs | 4 +--- crates/datis-module/Cargo.toml | 2 +- crates/radio-station/Cargo.toml | 2 +- crates/srs/Cargo.toml | 2 +- crates/win-tts/Cargo.toml | 2 +- mod/Mods/services/DATIS/entry.lua | 2 +- 10 files changed, 21 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b3a9f9..06d727a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [3.0.0] - 2021-04-25 + +The following list is a summary of changes of all previous beta releases, there were no changes since the previous beta `3.0.0-beta.3`, + +### Added + +- **BREAKING:** Added support for DCS 2.7 cloud presets. Requires DCS 2.7 from now on. +- Added Azure as an additional TTS provider [#90](https://github.com/rkusa/DATIS/pull/90) (thanks [ugene143](https://github.com/ugene143) for the implementation!) + +### Removed + +- **BREAKING:** The plugin settings have been removed from the DCS settings screen. DATIS is now configured through a config file at `Saved Games\DCS.openbeta\Config\DATIS.json`, see [Settings](./docs/Settings.md). Existing settings are not automatically migrated. This has been done, because each mission you save contains all your plugin settings. This included the cloud provider access keys set for DATIS. The change has been made to prevent the accidential sharing of those credentials. + ## [3.0.0-beta.3] - 2021-04-22 ### Added diff --git a/crates/datis-cmd/Cargo.toml b/crates/datis-cmd/Cargo.toml index 7b63e43..d06cd49 100644 --- a/crates/datis-cmd/Cargo.toml +++ b/crates/datis-cmd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datis-cmd" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["Markus Ast "] edition = "2018" diff --git a/crates/datis-core/Cargo.toml b/crates/datis-core/Cargo.toml index 7529943..950f127 100644 --- a/crates/datis-core/Cargo.toml +++ b/crates/datis-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datis-core" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["Markus Ast "] edition = "2018" diff --git a/crates/datis-core/src/tts/azure.rs b/crates/datis-core/src/tts/azure.rs index 4f4725b..9286696 100644 --- a/crates/datis-core/src/tts/azure.rs +++ b/crates/datis-core/src/tts/azure.rs @@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize}; use serde_json::json; use std::fmt::Display; use std::io::Cursor; -use std::ops::{Bound, RangeBounds}; use std::str::FromStr; #[derive(Clone)] diff --git a/crates/datis-core/src/weather.rs b/crates/datis-core/src/weather.rs index 483d6f1..e0dd4cb 100644 --- a/crates/datis-core/src/weather.rs +++ b/crates/datis-core/src/weather.rs @@ -34,8 +34,6 @@ pub struct NewClouds { #[serde(rename_all = "camelCase")] pub struct CloudPreset { pub precipitation_power: f64, - pub preset_alt_min: u32, // in m - pub preset_alt_max: u32, // in m pub layers: Vec, } @@ -204,7 +202,7 @@ impl Clouds { impl NewClouds { pub fn get_cloud_layers(&self) -> Vec { let diff = match self.preset.layers.first() { - Some(first) => first.altitude_min - self.base, + Some(first) => self.base - first.altitude_min, None => return Vec::new(), }; diff --git a/crates/datis-module/Cargo.toml b/crates/datis-module/Cargo.toml index eae5d18..3b851f5 100644 --- a/crates/datis-module/Cargo.toml +++ b/crates/datis-module/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datis" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["Markus Ast "] edition = "2018" diff --git a/crates/radio-station/Cargo.toml b/crates/radio-station/Cargo.toml index 116db2b..0206690 100644 --- a/crates/radio-station/Cargo.toml +++ b/crates/radio-station/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dcs-radio-station" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["Markus Ast "] edition = "2018" diff --git a/crates/srs/Cargo.toml b/crates/srs/Cargo.toml index bce84eb..887ee15 100644 --- a/crates/srs/Cargo.toml +++ b/crates/srs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "srs" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["rkusa"] edition = "2018" diff --git a/crates/win-tts/Cargo.toml b/crates/win-tts/Cargo.toml index 41db39c..f83fbdf 100644 --- a/crates/win-tts/Cargo.toml +++ b/crates/win-tts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "win-tts" -version = "3.0.0-beta.3" +version = "3.0.0" authors = ["Markus Ast "] edition = "2018" diff --git a/mod/Mods/services/DATIS/entry.lua b/mod/Mods/services/DATIS/entry.lua index f5b09fa..077a0e4 100644 --- a/mod/Mods/services/DATIS/entry.lua +++ b/mod/Mods/services/DATIS/entry.lua @@ -5,7 +5,7 @@ declare_plugin("DATIS", { "datis.dll", }, - version = "3.0.0-beta.3", + version = "3.0.0", state = "installed", developerName = "github.com/rkusa", info = _("DATIS enables a DCS server with an SRS server running on the same machine (TCP=127.0.0.1) to get weather from the mission for stations and frequencies set in the mission editor, and then to report same in a standardized format over SRS using either the Amazon or Google text to speech engines."),