tauri@2.0.0-beta.14
此内容尚不支持你的语言。
New Features
06833f4fa
(#9100) AddedRect
struct.06833f4fa
(#9100) AddWebview::bounds
andWebview::set_bounds
APIs.
Enhancements
06833f4fa
(#9100) 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 usingWebview::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).
Bug Fixes
c33f6e6cf
(#9211) Fixed an issue preventing webview/window creation events to not be emitted. This also fixed thegetByLabel
andgetAll
JavaScript functions.
What’s Changed
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.11
- Upgraded to
tauri-runtime-wry@2.0.0-beta.11
- Upgraded to
tauri-runtime@2.0.0-beta.11
- Upgraded to
tauri-macros@2.0.0-beta.11
- Upgraded to
tauri-build@2.0.0-beta.11
Breaking Changes
-
06833f4fa
(#9100) RenameFileDrop
toDragDrop
on structs, enums and enum variants. Also renamedfile_drop
todrag_drop
on fields and function names. -
284eca9ef
(#9272)Manager::resources_table
is now scoped so eachApp/AppHandle/Window/Webview/WebviewWindow
has its own resource collection. -
06833f4fa
(#9100) Refactored the tray icon event struct:- Changed
TrayIconEvent.icon_rect
type to use the newtauri::Rect
type. - Removed
TrayIconEvent.x
andTrayIconEvent.y
fields and combined them intoTrayIconEvent.position
field. - Removed
tauri::tray::Rectangle
struct.
- Changed
© 2024 Tauri Contributors. CC-BY / MIT