tauri@2.1.0
Esta página aún no está disponible en tu idioma.
New Features
-
fabc2f283
(#11485 by @39zde) Adds a new configuration optionapp > security > headers
to 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 fordpi
module types to allow these types to be used without manual conversions withinvoke
:- Added
SERIALIZE_TO_IPC_FN
const incore
module which can be used to implement custom IPC serialization for types passed toinvoke
. - Added
Size
andPosition
classes indpi
module. - Implementd
SERIALIZE_TO_IPC_FN
method onPhysicalSize
,PhysicalPosition
,LogicalSize
andLogicalPosition
to 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_color
andWindowBuilder::background_color
. -
cbc095ec5
(#11451 by @amrbashir) Addapp > windows > devtools
config option and when creating the webview from JS, to enable or disable devtools for a specific webview. -
f0da0bde8
(#11439 by @lucasfernog) AddedWebviewWindow::resolve_command_scope
to check a command scope at runtime. -
“ Detect if
SERIALIZE_TO_IPC_FN
, const from the JScore
module, is implemented on objects when serializing over IPC and use it. -
f37e97d41
(#11477 by @amrbashir) Addapp > windows > useHttpsScheme
config option to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and Android -
f37e97d41
(#11477 by @amrbashir) AddWebviewWindowBuilder/WebviewBuilder::use_https_scheme
to choose whether the custom protocols should usehttps://<scheme>.localhost
instead of the defaulthttp://<scheme>.localhost
on Windows and Android -
cbc095ec5
(#11451 by @amrbashir) AddWebviewWindowBuilder::devtools
andWebviewBuilder::devtools
to enable or disable devtools for a specific webview. -
129414faa
(#11569 by @amrbashir) AddWebviewBuilder::focused
method to choose whether to focus webview or not on creation. -
2a75c64b5
(#11469 by @amrbashir) Addedapp > windows > windowClassname
config option to specify the name of the window class on Windows. -
2a75c64b5
(#11469 by @amrbashir) AddedWindowBuilder/WebviewWindowBuilder::window_classname
method to specify the name of the window class on Windows.
Enhancements
17c6952ae
(#11522 by @amrbashir) Enhance the error message when usingasync
commands with a reference.c33bbf457
(#11575 by @kornelski) Include the path in ACL I/O errors.
Bug Fixes
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_position
getter method failing on Linux withGDK may only be used from the main thread
.f8994b214
(#11581 by @Mikkel-T) Fix listeners created withEventTarget::AnyLabel
never 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.
Dependencies
- 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
© 2024 Tauri Contributors. CC-BY / MIT