tauri@1.0.0-rc.5
此内容尚不支持你的语言。
-
Added
updater_targetmethod to theBuilderstruct. -
Added an option to disable the CSP injection of distributable assets nonces and hashes.
-
Toggle devtools when
Ctrl + Shift + IorCommand + Option + Iis pressed. -
Use asynchronous file dialog on macOS and Windows to properly set the parent window.
-
The
Errorenum 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_requesthandler.- f5efc248 fix(core): runtime CSP changes on Linux on 2022-03-07
-
Improved the updater response validation and error messages.
-
Breaking change: The
MenuItem::Aboutvariant 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::hwndmethod now returns HWND fromwindows-rscrate 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::CloseRequestedandRunEvent::WindowClosedand addedRunEvent::WindowEvent. - Breaking change: Removed
window_labelfromRunEvent::ExitRequested. - Breaking change: The
tauri://events are no longer emitted to listeners usingWindow::listen. Use theApp::runclosure,Window::on_window_eventandWindow::on_menu_eventinstead. - The
App::setupclosure can now return a boxed error directly. - Implement
Debugfortauri::State. - Breaking change: The
Manager::managefunction now returns a bool indicating whether the type is already managed or not. - Set the
Access-Control-Allow-Originheader on thetauriprotocol response with the initial webview URL as value. - Breaking change: The
tauri_runtimecrate is no longer exported since its API is not stable. - Added
Tempto theBaseDirectoryenum. - Added
$TEMPto the allowed variables to the filesystem and asset protocol scopes. - Update
wryto0.14andtaoto0.7. - Added
updatermethod toAppandAppHandle, 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::runclosure. - Run the updater on startup even if no window was created.
- Properly fire the window destroyed event.
- Added
close_devtoolsandis_devtools_openAPIs to theWindowstruct. - Added the
WindowEvent::FileDropvariant. - Added a configuration flag for disallowing install downgrades on Windows. Breaking change: The default behavior on Windows is now to allow downgrades.
© 2025 Tauri Contributors. CC-BY / MIT