tauri@2.1.0
此内容尚不支持你的语言。
-
fabc2f283(#11485 by @39zde) Adds a new configuration optionapp > security > headersto define headers that will be added to every http response from tauri to the web view. This doesn’t include IPC messages and error responses. -
8036c78e0(#11455 by @amrbashir) AddPathResolver::home_dir()method on Android. -
5c4b83084(#11191 by @amrbashir) Improved support fordpimodule types to allow these types to be used without manual conversions withinvoke:- Added
SERIALIZE_TO_IPC_FNconst incoremodule which can be used to implement custom IPC serialization for types passed toinvoke. - Added
SizeandPositionclasses indpimodule. - Implementd
SERIALIZE_TO_IPC_FNmethod onPhysicalSize,PhysicalPosition,LogicalSizeandLogicalPositionto convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct.
- Added
-
4d545ab3c(#11486 by @amrbashir) AddedWindow::set_background_colorandWindowBuilder::background_color. -
cbc095ec5(#11451 by @amrbashir) Addapp > windows > devtoolsconfig option and when creating the webview from JS, to enable or disable devtools for a specific webview. -
f0da0bde8(#11439 by @lucasfernog) AddedWebviewWindow::resolve_command_scopeto check a command scope at runtime. -
“ Detect if
SERIALIZE_TO_IPC_FN, const from the JScoremodule, is implemented on objects when serializing over IPC and use it. -
f37e97d41(#11477 by @amrbashir) Addapp > windows > useHttpsSchemeconfig option to choose whether the custom protocols should usehttps://<scheme>.localhostinstead of the defaulthttp://<scheme>.localhoston Windows and Android -
f37e97d41(#11477 by @amrbashir) AddWebviewWindowBuilder/WebviewBuilder::use_https_schemeto choose whether the custom protocols should usehttps://<scheme>.localhostinstead of the defaulthttp://<scheme>.localhoston Windows and Android -
cbc095ec5(#11451 by @amrbashir) AddWebviewWindowBuilder::devtoolsandWebviewBuilder::devtoolsto enable or disable devtools for a specific webview. -
129414faa(#11569 by @amrbashir) AddWebviewBuilder::focusedmethod to choose whether to focus webview or not on creation. -
2a75c64b5(#11469 by @amrbashir) Addedapp > windows > windowClassnameconfig option to specify the name of the window class on Windows. -
2a75c64b5(#11469 by @amrbashir) AddedWindowBuilder/WebviewWindowBuilder::window_classnamemethod to specify the name of the window class on Windows.
17c6952ae(#11522 by @amrbashir) Enhance the error message when usingasynccommands with a reference.c33bbf457(#11575 by @kornelski) Include the path in ACL I/O errors.
229d7f8e2(#11616 by @amrbashir) Fix regression in creating child webviews on macOS and Windows, covering the whole window.8c6d1e8e6(#11401 by @amrbashir) FixApp/AppHandle/Window/Webview/WebviewWindow::cursor_positiongetter method failing on Linux withGDK may only be used from the main thread.f8994b214(#11581 by @Mikkel-T) Fix listeners created withEventTarget::AnyLabelnever receiving events.4191a7a53(#11583 by @amrbashir) Fix tray events not fired for tray icons created inside an async command.129414faa(#11569 by @amrbashir) Fix webview not focused by default.
- Upgraded to
tauri-utils@2.1.0 - Upgraded to
tauri-runtime@2.2.0 - Upgraded to
tauri-runtime-wry@2.2.0 - Upgraded to
tauri-macros@2.0.3 - Upgraded to
tauri-build@2.0.3
© 2025 Tauri Contributors. CC-BY / MIT