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"