tauri@1.0.0-beta.6
此内容尚不支持你的语言。
-
Breaking change: The
tauri::async_runtime::spawnfunction now returnstauri::async_runtime::JoinHandle<T>. -
Breaking change: Added
window_parent: Option<&Window>as first argument to theaskandmessageAPIs on thetauri::api::dialogmodule. -
Allow the
tauri::api::dialogAPIs to be executed on any secondary thread. Breaking change: All dialog APIs now takes a closure instead of returning the response on the function call. -
Breaking change: The
Plugintraitinitializemethod now takes anAppHandlereference instead ofApp. -
Breaking change: Remove menu feature flag since there’s no package dependency need to be installed on any platform anymore.
-
Adds
set_activation_policyAPI to thetauri::Appstruct (macOS only). -
Add
handleAPI totauri::async_runtime. -
Assets will now fallback to
<uri>/index.htmlbefore/index.html, allowing anchor links to work as expected. -
Fix
data-tauri-drag-regiondouble-click, will now respectresizable: falseand won’t maximize. -
Fix
Notification.requestPermission()throwingUnhandled Promise Rejection: TypeError: undefined is not a function (near '...window.__TAURI__.invoke...') -
Fix blur/focus events being incorrect on Windows.
-
Move items which
tauri::apire-exports fromtauri-utilsto individual moduleutils. Because these items has their own Error/Result types which are not related to api module at all. -
Allow registering a plugin through an
AppHandleinstance using thepluginmethod. -
Embed Info.plist file contents on binary on dev.
-
Add
ExitRequestedevent that allows preventing the app from exiting when all windows are closed, and anAppHandle.exit()function to exit the app manually. -
Change
App.create_window()andAppHandle.create_window()to accept anInto<String>type instead ofString. -
Fixes
defaultPathoption on dialog API not setting the file name if it doesn’t exist on Linux. -
Fix ES Module detection for default imports with relative paths or scoped packages and exporting of async functions.
-
Fix
listencalls receiving past events. -
Fixes file drop events being swapped (
file-drop-hoveron drop andfile-dropon hover). -
Fixes
app.listen_globalnot receiving events emitted in javascript. -
Fixes minimum window height being used as maximum height.
-
Fixes
unlistencalls from JavaScript removing every registered event listener. -
Use
Url.join()when building webview URLs inWindowManager, to handle edge cases and leading/trailing slashes in paths and urls. -
Fixes
fs-allfeature not requiring thebase64crate. -
Update gtk and its related libraries to v0.14. This also remove requirements of
clangas build dependency. -
Use
HeaderValue::from_bytesinstead ofHeaderValue::from_strandHeaderValue#to_bytesinstead ofHeaderValue#to_strto improve compatibility. -
Implement
Debugon public API structs and enums. -
Adds
ResumedandMainEventsClearedvariants to theEventenum. -
Panic when a dispatcher getter method (
Window,GlobalShortcutHandle,ClipboardManagerandMenuHandleAPIs) is called on the main thread. -
Use
percent_encoding::percent_decodeon theassetcustom protocol URL before reading the file. -
Keep original value on
config > package > productNameon Linux (previously converted to kebab-case). -
Inject the invoke key on regular
<script></script>tags. -
Remove salt-related APIs (no longer needed after the
__TAURI_INVOKE_KEY__implementation). -
Update minimum Rust version to 1.54.0.
-
Run the setup callback after preparing the system tray.
-
Fixes a consistency issue on the order of
tauri::process::Commandemitted events. -
Force data directory even on non-local window.
-
Allow creation of empty Window with
create_tao_window()and management withsend_tao_window_event()on the AppHandler. -
Make
ClipboardManagerandGlobalShortcutManagerpublic as they are exposed in theAppHandle. -
- Support macOS tray icon template to adjust automatically based on taskbar color.
-
Images you mark as template images should consist of only black and clear colors. You can use the alpha channel in the image to adjust the opacity of black content, however.
-
426a6b49 feat(macOS): Implement tray icon template (#2322) on 2021-07-29
-
Add
Event::Readyon therun()callback. Triggered once when the event loop is ready. -
- Do not run the updater with UAC task if server don’t tell us. (Allow toggling server-side)
-
The updater expect a field named
with_elevated_taskwith abooleanand will not run if the task is not installed first. (windows only) -
c5761190 fix(updater): Run elevated task only if server tell us (#2357) on 2021-08-08
-
Add
try_stateAPI to theManagertrait.
© 2025 Tauri Contributors. CC-BY / MIT