tauri@1.0.0-rc.5
Esta página aún no está disponible en tu idioma.
-
Added
updater_target
method to theBuilder
struct. -
Added an option to disable the CSP injection of distributable assets nonces and hashes.
-
Toggle devtools when
Ctrl + Shift + I
orCommand + Option + I
is pressed. -
Use asynchronous file dialog on macOS and Windows to properly set the parent window.
-
The
Error
enum is nowSend + Sync
. -
Do not allow path traversal on the asset protocol.
-
Properly apply the CSP when loading a route that fallbacks to index.html.
-
Fix CSP usage on Linux when changing it via the
on_web_resource_request
handler.- f5efc248 fix(core): runtime CSP changes on Linux on 2022-03-07
-
Improved the updater response validation and error messages.
-
Breaking change: The
MenuItem::About
variant is now associated with a tuple value(String, AboutMetadata)
. -
Replace multiple dependencies who’s C code compiled concurrently and caused the other ones to bloat compile time significantly.
-
zstd
->brotli
-
blake3
-> a vendored version of the blake3 reference -
ring
->getrandom
See https://github.com/tauri-apps/tauri/pull/3773 for more information about these specific choices.
- 8661e3e2 replace dependencies with long build times when used together (closes #3571) (#3773) on 2022-03-27
- Breaking change: The
Window::hwnd
method now returns HWND fromwindows-rs
crate instead of c_void on Windows. - Support window parenting on macOS
- Breaking change: The updater default targets have been renamed to include better support for different architectures.
- Breaking change: Removed
RunEvent::CloseRequested
andRunEvent::WindowClosed
and addedRunEvent::WindowEvent
. - Breaking change: Removed
window_label
fromRunEvent::ExitRequested
. - Breaking change: The
tauri://
events are no longer emitted to listeners usingWindow::listen
. Use theApp::run
closure,Window::on_window_event
andWindow::on_menu_event
instead. - The
App::setup
closure can now return a boxed error directly. - Implement
Debug
fortauri::State
. - Breaking change: The
Manager::manage
function now returns a bool indicating whether the type is already managed or not. - Set the
Access-Control-Allow-Origin
header on thetauri
protocol response with the initial webview URL as value. - Breaking change: The
tauri_runtime
crate is no longer exported since its API is not stable. - Added
Temp
to theBaseDirectory
enum. - Added
$TEMP
to the allowed variables to the filesystem and asset protocol scopes. - Update
wry
to0.14
andtao
to0.7
. - Added
updater
method toApp
andAppHandle
, a builder to check for app updates. - Allow using a custom updater version checker via
App::updater().should_install()
. - Added download progress events to the updater.
- Send updater events to the
App::run
closure. - Run the updater on startup even if no window was created.
- Properly fire the window destroyed event.
- Added
close_devtools
andis_devtools_open
APIs to theWindow
struct. - Added the
WindowEvent::FileDrop
variant. - Added a configuration flag for disallowing install downgrades on Windows. Breaking change: The default behavior on Windows is now to allow downgrades.
© 2024 Tauri Contributors. CC-BY / MIT