-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ipc): enhance request URL checks, update wry, refactor file drop (…
…#9100) * feat(ipc): enhance request URL checks * actually use req url * fix windows, tests * wry 0.38, file drop refactor * wry 0.38.1 * adjust for windows [skip ci] * wry 0.38.2 [skip ci] * update to latest tao, wry, muda and tray-icon * change tag * serde * use published crates * downgrade cargo-platform to 0.1.7 --------- Co-authored-by: amrbashir <[email protected]>
- Loading branch information
1 parent
b78f90b
commit 06833f4
Showing
45 changed files
with
1,056 additions
and
1,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"tauri": patch:enhance | ||
--- | ||
|
||
Enhance the IPC URL check by using the Origin header on the custom protocol IPC and the new request URI field on the postMessage IPC instead of using `Webview::url()` which only returns the URL of the main frame and is not suitable for iframes (iframe URL fetch is still not supported on Android and on Linux when using the postMessage IPC). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'tauri': 'patch:deps' | ||
'tauri-runtime': 'patch' | ||
'tauri-runtime-wry': 'patch' | ||
--- | ||
|
||
Updated `http` crate to `1.1` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"tauri-runtime": patch:breaking | ||
"tauri-runtime-wry": patch:breaking | ||
--- | ||
|
||
The IPC handler closure now receives a `http::Request` instead of a String representing the request body. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri': 'patch:feat' | ||
--- | ||
|
||
Added `Rect` struct. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"tauri": patch:breaking | ||
"tauri-runtime": patch:breaking | ||
"tauri-utils": patch:breaking | ||
"tauri-runtime-wry": patch:breaking | ||
"@tauri-apps/api": patch:breaking | ||
--- | ||
|
||
Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-runtime': 'major:breaking' | ||
--- | ||
|
||
Moved `window::dpi` module to the root of the crate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'tauri': 'patch:breaking' | ||
--- | ||
|
||
Refactored the tray icon event struct: | ||
|
||
- Changed `TrayIconEvent.icon_rect` type to use the new `tauri::Rect` type. | ||
- Removed `TrayIconEvent.x` and `TrayIconEvent.y` fields and combined them into `TrayIconEvent.position` field. | ||
- Removed `tauri::tray::Rectangle` struct. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri': 'minor:feat' | ||
--- | ||
|
||
Add `Webview::bounds` and `Webview::set_bounds` APIs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"tauri-runtime-wry": patch:deps | ||
--- | ||
|
||
Upgraded to `[email protected]` |
Oops, something went wrong.