tauri@2.4.0
此内容尚不支持你的语言。
New Features
-
be2e6b85f
(#12944 by @Simon-Laux) addWindow.is_always_on_top()
andWebviewWindow.is_always_on_top()
-
c10802425
(#12710 by @WSH032) deriveClone
fortauri::ExitRequestApi
. -
cedb24d49
(#12665 by @charrondev) AddedWebview::cookies()
,Webview::cookies_for_url()
,WebviewWindow::cookies()
andWebview::cookies_for_url()
. -
20c190691
(#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
api to disable JavaScript. -
060de5bbd
(#12837 by @niladrix719) AddedgetIdentifier()
function to get the application identifier configured in tauri.conf.json -
658e5f5d1
(#12668 by @thomaseizinger) AddApp::run_return
function. Contrary toApp::run
, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited.App::run_return
is not available on iOS and fallbacks to the regularApp::run
functionality.The
App::run_iteration
function is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop. -
5591a4f0b
(#12912 by @Daedaluz) Change webview zoom on mousewheel when thezoom_hotkeys_enabled
configuration is set totrue
. -
bcdd51025
(#13012 by @lucasfernog) Thepath
basename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin. -
bcdd51025
(#13012 by @lucasfernog) AddedPathResolver::file_name
to resolve file names from content URIs on Android (leveratingstd::path::Path::file_name
on other platforms). -
c698a6d6f
(#12818 by @Simon-Laux) feat: addWebview.reload
andWebviewWindow.reload
-
013f8f652
(#12890 by @Legend-Master) Addedbuild > removeUnusedCommands
to trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won’t be accounting for dynamically added ACLs so make sure to check it when using this. -
35018eed0
(#12996 by @Legend-Master) IntroduceAppHandle::request_restart()
as an alternative toAppHandle::restart()
to trigger exit event reliably -
30f5a1553
(#12366 by @FabianLars) AddedWebviewWindowBuilder::traffic_light_position
to set the traffic light buttons position on macOS. -
30f5a1553
(#12366 by @FabianLars) AddedtrafficLightPosition
window configuration to set the traffic light buttons position on macOS.
Enhancements
55ffa23c9
(#12855 by @lucasfernog) Fix docs.rs build for mobile targets.f2c94aaca
(#12682 by @lucasfernog) AddPlugin#startIntentSenderForResult
Android API for mobile plugins.
Bug Fixes
755533c51
(#12876 by @amrbashir) RemovedTSend: Clone
requirement forChannel<TSend>
by implementingClone
manually instead of driving it.f98598817
(#12870 by @lucasfernog) Update path plugin to use older dataDir API on SDK < 24.f67a4a6bf
(#12971 by @WofWca) Fixtauri::AssetResolver::get
andtauri::AssetResolver::get_for_scheme
skipping the first character of thepath
even if it’s not a slash (/).dc90cd391
(#12911 by @Daedaluz) Listen forCtrl +
orCmd +
to support zoom functionality in swedish keyboard layouts.b05f82d35
(#12313 by @anatawa12)AppHandle::restart()
now waits forRunEvent::Exit
to be delivered before restarting the application.
Performance Improvements
1cd8f55ee
(#13033 by @Legend-Master) Don’t ship globalbundle.global.js
ifapp > withGlobalTauri
is set to false
Dependencies
- Upgraded to
tauri-runtime@2.5.0
- Upgraded to
tauri-runtime-wry@2.5.0
- Upgraded to
tauri-utils@2.3.0
- Upgraded to
tauri-build@2.1.0
- Upgraded to
tauri-macros@2.1.0
© 2025 Tauri Contributors. CC-BY / MIT