tauri@2.0.0-alpha.12
此内容尚不支持你的语言。
Enhancements
8a676617
(#7618) Ensure Builder is Send by requiring the menu closure to be Send.0d63732b
(#7754) AddedBuilder::register_asynchronous_uri_scheme_protocol
to allow resolving a custom URI scheme protocol request asynchronously to prevent blocking the main thread.
Bug Fixes
0d63732b
(#7754) Fixes invalid header value type when requesting IPC body through a channel.e98393e4
(#7673) No longer unpacking and flattening thepayload
over the IPC so that commands with arguments calledcmd
,callback
,error
,options
orpayload
aren’t breaking the IPC.29818de6
(#7662) Fixes IPC failing to communicate for remote URLs on macOS and iOS.
What’s Changed
Dependencies
- Upgraded to
tauri-runtime@1.0.0-alpha.1
- Upgraded to
tauri-runtime-wry@1.0.0-alpha.1
Breaking Changes
0d63732b
(#7754) ChangedBuilder::register_uri_scheme_protocol
to return ahttp::Response
instead ofResult<http::Response>
. To return an error response, manually create a response with status code >= 400.0d63732b
(#7754)tauri-runtime
no longer implements its own HTTP types and relies on thehttp
crate instead.0d63732b
(#7754) ChangedBuilder::invoke_system
to take references instead of owned values.5c95152c
(#7621) ChangedMenuBuilder\SubmenuBuilder::text
,MenuBuilder\SubmenuBuilder::check
,MenuBuilder\SubmenuBuilder::icon
andMenuBuilder\SubmenuBuilder::native_icon
to take anid
as the first argument.0d63732b
(#7754) ChangedWindow::on_message
signature to take a responder closure instead of returning the response object in order to asynchronously process the request.
© 2024 Tauri Contributors. CC-BY / MIT