Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 323 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (419 crate dependencies)
[1.0.0-beta.6]
-
Breaking change: The
tauri::async_runtime::spawn
function now returnstauri::async_runtime::JoinHandle<T>
. -
Breaking change: Added
window_parent: Option<&Window>
as first argument to theask
andmessage
APIs on thetauri::api::dialog
module. -
Allow the
tauri::api::dialog
APIs 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
Plugin
traitinitialize
method now takes anAppHandle
reference 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_policy
API to thetauri::App
struct (macOS only). -
Add
handle
API totauri::async_runtime
. -
Assets will now fallback to
<uri>/index.html
before/index.html
, allowing anchor links to work as expected. -
Fix
data-tauri-drag-region
double-click, will now respectresizable: false
and 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::api
re-exports fromtauri-utils
to 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
AppHandle
instance using theplugin
method. -
Embed Info.plist file contents on binary on dev.
-
Add
ExitRequested
event 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
defaultPath
option 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
listen
calls receiving past events. -
Fixes file drop events being swapped (
file-drop-hover
on drop andfile-drop
on hover). -
Fixes
app.listen_global
not receiving events emitted in javascript. -
Fixes minimum window height being used as maximum height.
-
Fixes
unlisten
calls from JavaScript removing every registered event listener. -
Use
Url.join()
when building webview URLs in
WindowManager
, to handle edge cases and leading/trailing slashes in paths and urls. -
Fixes
fs-all
feature not requiring thebase64
crate. -
Update gtk and its related libraries to v0.14. This also remove requirements of
clang
as build dependency. -
Use
HeaderValue::from_bytes
instead ofHeaderValue::from_str
andHeaderValue#to_bytes
instead ofHeaderValue#to_str
to improve compatibility. -
Implement
Debug
on public API structs and enums. -
Adds
Resumed
andMainEventsCleared
variants to theEvent
enum. -
Panic when a dispatcher getter method (
Window
,GlobalShortcutHandle
,ClipboardManager
andMenuHandle
APIs) is called on the main thread. -
Use
percent_encoding::percent_decode
on theasset
custom protocol URL before reading the file. -
Keep original value on
config > package > productName
on 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::Command
emitted 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
ClipboardManager
andGlobalShortcutManager
public 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::Ready
on 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_task
with aboolean
and 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_state
API to theManager
trait.
Cargo Publish
Updating crates.io index
Packaging tauri v1.0.0-beta.6 (/home/runner/work/tauri/tauri/core/tauri)
Uploading tauri v1.0.0-beta.6 (/home/runner/work/tauri/tauri/core/tauri)