tauri@2.0.0-alpha.17
Ce contenu n’est pas encore disponible dans votre langue.
Enhancements
b89de9fa
(#8092) Add support for onResume and onPause events in android plugins.c6c59cf2
Pull changes from Tauri 1.5 release.198abe3c
(#8076) Mobile plugins can now resolve using an arbitrary object instead of using theJSObject
class viaInvoke.resolve
on iOS andInvoke.resolveObject
on Android.
Bug Fixes
Dependencies
- Upgraded to
tauri-build@2.0.0-alpha.11
- Upgraded to
tauri-macros@2.0.0-alpha.10
- Upgraded to
tauri-utils@2.0.0-alpha.10
- Upgraded to
tauri-runtime@1.0.0-alpha.4
- Upgraded to
tauri-runtime-wry@1.0.0-alpha.5
9580df1d
(#8084) Upgradegtk
to 0.18.c7c2507d
(#8035) Updatewindows
to version0.51
andwebview2-com
to version0.27
9580df1d
(#8084) Updated to wry@0.34, removing thedox
feature flag.
Breaking Changes
-
198abe3c
(#8076) The AndroidPluginManager.loadConfig
now takes a third parameter to define the class type of the config object. -
198abe3c
(#8076) Mobile plugins now have access to a parser for the invoke arguments instead of relying on theInvoke#get$\{TYPE}
methods. -
74d2464d
(#8116) AddedWindowBuilder::on_page_load
and refactored theBuilder::on_page_load
handler to take references. The page load hook is now triggered for load started and finished events, to determine what triggered it seePageLoadPayload::event
. -
93c8a77b
(#7996) The event system APIS on Rust is recieving a few changes for consistency and quality of life improvements:- Renamed
Manager::emit_all
to justManager::emit
and will now both trigger the events on JS side as well as Rust. - Removed
Manager::trigger_global
, useManager::emit
- Added
Manager::emit_filter
. - Removed
Window::emit
, and moved the implementation toManager::emit
. - Removed
Window::emit_and_trigger
andWindow::trigger
, useWindow::emit
instead. - Changed
Window::emit_to
to only trigger the target window listeners so it won’t be catched byManager::listen_global
- Renamed
© 2024 Tauri Contributors. CC-BY / MIT