Skip to content

Commit 5d538ec

Browse files
authored
refactor(core): use the event loop proxy to send updater events (#3687)
* feat(core): add `WindowEvent::FileDrop`, closes #3664 * refactor(core): use the event loop proxy to send updater events * simplify generics with user event trait * fix tray impl
1 parent 4c84559 commit 5d538ec

File tree

24 files changed

+407
-221
lines changed

24 files changed

+407
-221
lines changed

.changes/runtime-create-proxy.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-runtime": minor
3+
"tauri-runtime-wry": minor
4+
---
5+
6+
Added `create_proxy` to the `Runtime` and `RuntimeHandle` traits.

.changes/runtime-user-event.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-runtime": minor
3+
"tauri-runtime-wry": minor
4+
---
5+
6+
Allow specifying a user event type for the event loop message.

.changes/rust-tauri-events.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": minor
3+
---
4+
5+
**Breaking change:** The `tauri://` events are no longer emitted to listeners using `Window::listen`. Use the `App::run` closure, `Window::on_window_event` and `Window::on_menu_event` instead.

.changes/updater-events.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": minor
3+
---
4+
5+
Send updater events to the `App::run` closure.

0 commit comments

Comments
 (0)