From daa3f7f20c135e03a238d3a17b1f5b1cedba1dfe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 04:52:41 +0300 Subject: [PATCH] Apply Version Updates From Current Changes (#197) Co-authored-by: amrbashir --- .changes/serde-tagged.md | 28 ---------------------------- CHANGELOG.md | 27 +++++++++++++++++++++++++++ Cargo.toml | 4 ++-- 3 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 .changes/serde-tagged.md diff --git a/.changes/serde-tagged.md b/.changes/serde-tagged.md deleted file mode 100644 index d075ed8..0000000 --- a/.changes/serde-tagged.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"tray-icon": minor ---- - -**Breaking change** Changed `serde` derive implementation for `TrayIconEvent` to use `serde(tag = "type")` and `rename_all = "camelCase"` on variants so the expected JSON serialization would look like this - -```json -{ - "type": "Click", - "button": "Left", - "buttonState": "Down", - "id": "some id", - "position": { - "x": 0, - "y": 0 - }, - "rect": { - "size": { - "width": 0, - "height": 0 - }, - "position": { - "x": 0, - "y": 0 - } - } -} -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 6855323..57c6bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## \[0.19.0] + +- [`bf5cec4`](https://www.github.com/tauri-apps/tray-icon/commit/bf5cec4c3242534cb068978bb27e37551bcb63f9) ([#196](https://www.github.com/tauri-apps/tray-icon/pull/196) by [@amrbashir](https://www.github.com/tauri-apps/tray-icon/../../amrbashir)) **Breaking change** Changed `serde` derive implementation for `TrayIconEvent` to use `serde(tag = "type")` and `rename_all = "camelCase"` on variants so the expected JSON serialization would look like this + + ```json + { + "type": "Click", + "button": "Left", + "buttonState": "Down", + "id": "some id", + "position": { + "x": 0, + "y": 0 + }, + "rect": { + "size": { + "width": 0, + "height": 0 + }, + "position": { + "x": 0, + "y": 0 + } + } + } + ``` + ## \[0.18.0] - [`c63733c`](https://www.github.com/tauri-apps/tray-icon/commit/c63733c45f5fd34bc16c9310cb4f1a063e5e21c7) ([#193](https://www.github.com/tauri-apps/tray-icon/pull/193) by [@amrbashir](https://www.github.com/tauri-apps/tray-icon/../../amrbashir)) Update `muda` crate to `0.15` diff --git a/Cargo.toml b/Cargo.toml index 044236e..02502f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tray-icon" -version = "0.18.0" +version = "0.19.0" edition = "2021" description = "Create tray icons for desktop applications" homepage = "https://github.com/tauri-apps/tray-icon" @@ -77,4 +77,4 @@ winit = "0.29" tao = "0.30" image = "0.25" eframe = "0.27" -serde_json = "1" \ No newline at end of file +serde_json = "1"