Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 556 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (479 crate dependencies)
[2.0.0-alpha.11]
New Features
4db363a0
(#6589) Addedvisible_on_all_workspaces
configuration option toWindowBuilder
,Window
, andWindowConfig
.84c41597
(#6394) AddApp::primary_monitor
,App::available_monitors
,AppHandle::primary_monitor
, andAppHandle::available_monitors
2a000e15
(#7235) AddedWindow::navigate
.3b98141a
(#3736) Added support to file associations.3a2c3e74
(#7306) AddedPluginBuilder::on_navigation
.
AddedPlugin::on_navigation
.753900dd
(#7440) ExposeRunEvent::Opened
on macOS and iOS for deep link support.7fb419c3
(#7535) AddApp::cleanup_before_exit
andAppHandle::cleanup_before_exit
to manually call the cleanup logic. You should always exit the tauri app immediately after this function returns and not use any tauri-related APIs.7fb419c3
(#7535) On Linux, addWindow::default_vbox
to get a reference to thegtk::Box
that contains the menu bar and the webview.7fb419c3
(#7535) Addlinux-libxdo
feature flag (disabled by default) to enable linking tolibxdo
which is used to makeCut
,Copy
,Paste
andSelectAll
native menu items work on Linux.7fb419c3
(#7535) On macOS, addWindow::ns_view
to get a pointer to the NSWindow content view.7fb419c3
(#7535) Exposerun_on_main_thread
method onApp
that is similar toAppHandle::run_on_main_thread
.
Enhancements
a5752db9
(#7436) Listen toonNewIntent
and forward it to registered plugins.fbeb5b91
(#7170) AddedChannel::new
allowing communication from a mobile plugin with Rust.fbeb5b91
(#7170) Use custom protocols on the IPC implementation to enhance performance.
Dependencies
- Upgraded to
tauri-runtime@1.0.0-alpha.0
- Upgraded to
tauri-utils@2.0.0-alpha.7
- Upgraded to
tauri-macros@2.0.0-alpha.7
- Upgraded to
tauri-runtime-wry@1.0.0-alpha.0
- Upgraded to
tauri-build@2.0.0-alpha.7
d1a6e2f3
(#7252) Updatestate
to v0.6.
Breaking Changes
-
fd5dc788
(#7352) - Removedtauri::api::file
andtauri::api::dir
modules, usestd::fs
instead.- Removed
tauri::api::version
module, usesemver
crate instead.
- Removed
-
fbeb5b91
(#7170) Movedtauri::api::ipc
totauri::ipc
and refactored all types. -
fbeb5b91
(#7170) Removed thelinux-protocol-headers
feature (now always enabled) and addedlinux-ipc-protocol
. -
7fb419c3
(#7535) ChangedApp::handle
andManager::app_handle
to return a reference to anAppHandle
instead of an owned value. -
7fb419c3
(#7535) The tray icon and menu have received a huge refactor with a lot of breaking changes in order to add new functionalities and improve the DX around using them and here is an overview of the changes:- All menu and tray types are now exported from
tauri::menu
andtauri::tray
modules with new names so make sure to check the new types. - Removed
tauri::Builder::system_tray
, instead you should usetauri::tray::TrayIconBuilder
insidetauri::Builder::setup
hook to create your tray icons. - Changed
tauri::Builder::menu
to be a function to accomodate for new menu changes, you can passetauri::menu::Menu::default
to it to create a default menu. - Renamed
tauri::Context
methodssystem_tray_icon
,tauri::Context::system_tray_icon_mut
andtauri::Context::set_system_tray_icon
totauri::Context::tray_icon
,tauri::Context::tray_icon_mut
andtauri::Context::set_tray_icon
to be consistent with new type names. - Added
RunEvent::MenuEvent
andRunEvent::TrayIconEvent
. - Added
App/AppHandle::set_menu
,App/AppHandle::remove_menu
,App/AppHandle::show_menu
,App/AppHandle::hide_menu
andApp/AppHandle::menu
to access, remove, hide or show the app-wide menu that is used as the global menu on macOS and on all windows that don't have a specific menu set for it on Windows and Linux. - Added
Window::set_menu
,Window::remove_menu
,Window::show_menu
,Window::hide_menu
,Window::is_menu_visible
andWindow::menu
to access, remove, hide or show the menu on this window. - Added
Window::popup_menu
andWindow::popup_menu_at
to show a context menu on the window at the cursor position or at a specific position. You can also popup a context menu usingpopup
andpopup_at
methods fromContextMenu
trait which is implemented forMenu
andSubmenu
types. - Added
App/AppHandle::tray
,App/AppHandle::tray_by_id
,App/AppHandle::remove_tray
andApp/AppHandle::remove_tray_by_id
to access or remove a registered tray. - Added
WindowBuilder/App/AppHandle::on_menu_event
to register a new menu event handler. - Added
App/AppHandle::on_tray_icon_event
to register a new tray event handler.
- All menu and tray types are now exported from
-
7fb419c3
(#7535) Renamedsystem-tray
feature flag totray-icon
. -
3a2c3e74
(#7306) TheWindow#on_navigation
closure now receives a&Url
argument instead ofUrl
.
Cargo Publish
Updating crates.io index
Packaging tauri v2.0.0-alpha.11 (/home/runner/work/tauri/tauri/core/tauri)
Updating crates.io index
Verifying tauri v2.0.0-alpha.11 (/home/runner/work/tauri/tauri/core/tauri)
Downloading crates ...
Downloaded reqwest v0.11.18
Downloaded want v0.3.1
Downloaded state v0.6.0
Downloaded signal-hook-registry v1.4.1
Downloaded keyboard-types v0.6.2
Downloaded socket2 v0.5.3
Downloaded libappindicator v0.8.0
Downloaded tokio-util v0.7.8
Downloaded unicode-segmentation v1.10.1
Downloaded libm v0.2.7
Downloaded hyper v0.14.27
Downloaded h2 v0.3.20
Downloaded mio v0.8.8
Downloaded muda v0.8.2
Downloaded ipnet v2.8.0
Downloaded httparse v1.8.0
Downloaded httpdate v1.0.3
Downloaded serde_urlencoded v0.7.1
Downloaded mime v0.3.17
Downloaded tokio v1.31.0
Downloaded tauri-macros v2.0.0-alpha.7
Downloaded encoding_rs v0.8.32
Downloaded libloading v0.7.4
Downloaded http-body v0.4.5
Downloaded try-lock v0.2.4
Downloaded tower-service v0.3.2
Downloaded tokio-macros v2.1.0
Downloaded serialize-to-javascript-impl v0.1.1
Downloaded serialize-to-javascript v0.1.1
Downloaded libappindicator-sys v0.8.0
Downloaded tauri-build v2.0.0-alpha.7
Downloaded tauri-runtime-wry v1.0.0-alpha.0
Downloaded tray-icon v0.8.1
Compiling serde v1.0.183
Compiling serde_derive v1.0.183
Compiling libc v0.2.147
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling quote v1.0.32
Compiling smallvec v1.11.0
Compiling equivalent v1.0.1
Compiling hashbrown v0.14.0
Compiling serde_spanned v0.6.3
Compiling toml_datetime v0.6.3
Compiling winnow v0.5.10
Compiling indexmap v2.0.0
Compiling cfg-if v1.0.0
Compiling pkg-config v0.3.27
Compiling heck v0.4.1
Compiling toml_edit v0.19.14
Compiling autocfg v1.1.0
Compiling target-lexicon v0.12.11
Compiling cfg-expr v0.15.4
Compiling toml v0.7.6
Compiling version-compare v0.1.1
Compiling system-deps v6.1.1
Compiling syn v2.0.28
Compiling syn v1.0.109
Compiling once_cell v1.18.0
Compiling memchr v2.5.0
Compiling version_check v0.9.4
Compiling futures-core v0.3.28
Compiling bitflags v1.3.2
Compiling ppv-lite86 v0.2.17
Compiling pin-project-lite v0.2.12
Compiling glib-sys v0.16.3
Compiling gobject-sys v0.16.3
Compiling siphasher v0.3.10
Compiling getrandom v0.2.10
Compiling futures-io v0.3.28
Compiling slab v0.4.8
Compiling gio-sys v0.16.3
Compiling thiserror v1.0.44
Compiling thiserror-impl v1.0.44
Compiling futures-task v0.3.28
Compiling rand_core v0.6.4
Compiling proc-macro-crate v1.3.1
Compiling anyhow v1.0.72
Compiling futures-util v0.3.28
Compiling getrandom v0.1.16
Compiling futures-sink v0.3.28
Compiling rand_chacha v0.3.1
Compiling futures-macro v0.3.28
Compiling lock_api v0.4.10
Compiling parking_lot_core v0.9.8
Compiling pin-utils v0.1.0
Compiling rand v0.8.5
Compiling proc-macro-error-attr v1.0.4
Compiling semver v1.0.18
Compiling scopeguard v1.2.0
Compiling fnv v1.0.7
Compiling rand_core v0.5.1
Compiling proc-macro-error v1.0.4
Compiling futures-channel v0.3.28
Compiling log v0.4.20
Compiling parking_lot v0.12.1
Compiling phf_shared v0.10.0
Compiling gdk-sys v0.16.0
Compiling itoa v1.0.9
Compiling byteorder v1.4.3
Compiling proc-macro-hack v0.5.20+deprecated
Compiling rand_pcg v0.2.1
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling phf_generator v0.10.0
Compiling phf_shared v0.8.0
Compiling glib-macros v0.16.8
Compiling phf_generator v0.8.0
Compiling futures-executor v0.3.28
Compiling cairo-sys-rs v0.16.3
Compiling pango-sys v0.16.3
Compiling atk-sys v0.16.0
Compiling gdk-pixbuf-sys v0.16.3
Compiling rustc_version v0.4.0
Compiling serde_json v1.0.104
Compiling glib v0.16.9
Compiling tinyvec_macros v0.1.1
Compiling ryu v1.0.15
Compiling tinyvec v1.6.0
Compiling indexmap v1.9.3
Compiling percent-encoding v2.3.0
Compiling new_debug_unreachable v1.0.4
Compiling crossbeam-utils v0.8.16
Compiling typenum v1.16.0
Compiling form_urlencoded v1.2.0
Compiling unicode-normalization v0.1.22
Compiling phf_codegen v0.10.0
Compiling string_cache_codegen v0.5.2
Compiling generic-array v0.14.7
Compiling gtk-sys v0.16.0
Compiling mac v0.1.1
Compiling ident_case v1.0.1
Compiling strsim v0.10.0
Compiling gio v0.16.7
Compiling hashbrown v0.12.3
Compiling precomputed-hash v0.1.1
Compiling unicode-bidi v0.3.13
Compiling idna v0.4.0
Compiling darling_core v0.20.3
Compiling futf v0.1.5
Compiling markup5ever v0.11.0
Compiling phf_macros v0.8.0
Compiling phf_codegen v0.8.0
Compiling phf_macros v0.10.0
Compiling uuid v1.4.1
Compiling cssparser v0.27.2
Compiling dtoa v1.0.9
Compiling utf-8 v0.7.6
Compiling tendril v0.4.3
Compiling dtoa-short v0.3.4
Compiling phf v0.10.1
Compiling phf v0.8.0
Compiling selectors v0.22.0
Compiling darling_macro v0.20.3
Compiling url v2.4.0
Compiling string_cache v0.8.7
Compiling html5ever v0.26.0
Compiling cssparser-macros v0.6.1
Compiling itoa v0.4.8
Compiling matches v0.1.10
Compiling nodrop v0.1.14
Compiling convert_case v0.4.0
Compiling alloc-no-stdlib v2.0.4
Compiling stable_deref_trait v1.2.0
Compiling event-listener v2.5.3
Compiling servo_arc v0.1.1
Compiling alloc-stdlib v0.2.2
Compiling derive_more v0.99.17
Compiling darling v0.20.3
Compiling fxhash v0.2.1
Compiling memoffset v0.9.0
Compiling bytes v1.4.0
Compiling crc32fast v1.3.2
Compiling thin-slice v0.1.1
Compiling simd-adler32 v0.3.7
Compiling serde_with_macros v3.2.0
Compiling brotli-decompressor v2.3.4
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling cfb v0.7.3
Compiling concurrent-queue v2.2.0
Compiling treediff v4.0.2
Compiling field-offset v0.3.6
Compiling tracing-core v0.1.31
Compiling tracing-attributes v0.1.26
Compiling fastrand v1.9.0
Compiling parking v2.1.0
Compiling waker-fn v1.1.0
Compiling adler v1.0.2
Compiling same-file v1.0.6
Compiling walkdir v2.3.3
Compiling miniz_oxide v0.7.1
Compiling futures-lite v1.13.0
Compiling tracing v0.1.37
Compiling json-patch v1.0.0
Compiling infer v0.12.0
Compiling digest v0.10.7
Compiling brotli v3.3.4
Compiling kuchikiki v0.8.2
Compiling serde_with v3.2.0
Compiling gdk-pixbuf v0.16.7
Compiling pango v0.16.5
Compiling async-lock v2.8.0
Compiling cairo-rs v0.16.7
Compiling ctor v0.1.26
Compiling zvariant_utils v1.0.1
Compiling memoffset v0.7.1
Compiling gtk v0.16.2
Compiling dunce v1.0.4
Compiling static_assertions v1.1.0
Compiling io-lifetimes v1.0.11
Compiling cpufeatures v0.2.9
Compiling glob v0.3.1
Compiling tauri-utils v2.0.0-alpha.7
Compiling gdk v0.16.2
Compiling flate2 v1.0.26
Compiling fdeflate v0.3.0
Compiling http v0.2.9
Compiling atk v0.16.0
Compiling gtk3-macros v0.16.3
Compiling aho-corasick v1.0.3
Compiling enumflags2_derive v0.7.7
Compiling soup3-sys v0.3.1
Compiling javascriptcore-rs-sys v1.0.0
Compiling polling v2.8.0
Compiling socket2 v0.4.9
Compiling async-task v4.4.0
Compiling rustix v0.37.23
Compiling regex-syntax v0.7.4
Compiling enumflags2 v0.7.7
Compiling regex-automata v0.3.6
Compiling png v0.17.9
Compiling zvariant_derive v3.15.0
Compiling async-channel v1.9.0
Compiling webkit2gtk-sys v1.1.0
Compiling async-fs v1.6.0
Compiling async-io v1.13.0
Compiling x11 v2.21.0
Compiling linux-raw-sys v0.3.8
Compiling atomic-waker v1.1.1
Compiling async-trait v0.1.73
Compiling blocking v1.3.1
Compiling zvariant v3.15.0
Compiling nix v0.26.2
Compiling regex v1.9.3
Compiling tokio-macros v2.1.0
Compiling gdkx11-sys v0.16.0
Compiling x11-dl v2.21.0
Compiling mio v0.8.8
Compiling num_cpus v1.16.0
Compiling signal-hook-registry v1.4.1
Compiling cc v1.0.82
Compiling socket2 v0.5.3
Compiling tokio v1.31.0
Compiling embed-resource v2.2.0
Compiling zbus_macros v3.14.1
Compiling xdg-home v1.0.0
Compiling zbus_names v2.6.0
Compiling async-executor v1.5.1
Compiling sha1 v0.10.5
Compiling async-broadcast v0.5.1
Compiling crossbeam-channel v0.5.8
Compiling ordered-stream v0.2.0
Compiling derivative v2.2.0
Compiling serde_repr v0.1.16
Compiling async-recursion v1.0.4
Compiling raw-window-handle v0.5.2
Compiling hex v0.4.3
Compiling httparse v1.8.0
Compiling zbus v3.14.1
Compiling tauri-winres v0.1.1
Compiling tokio-util v0.7.8
Compiling javascriptcore-rs v1.0.0
Compiling soup3 v0.3.2
Compiling gdkwayland-sys v0.16.0
Compiling cargo_toml v0.15.3
Compiling instant v0.1.12
Compiling try-lock v0.2.4
Compiling tauri-runtime v1.0.0-alpha.0
Compiling wry v0.31.0
Compiling lazy_static v1.4.0
Compiling base64 v0.21.2
Compiling tao v0.22.0
Compiling tauri-build v2.0.0-alpha.7
Compiling want v0.3.1
Compiling webkit2gtk v1.1.0
Compiling h2 v0.3.20
Compiling ico v0.3.0
Compiling http-body v0.4.5
Compiling sha2 v0.10.7
Compiling tauri-runtime-wry v1.0.0-alpha.0
Compiling unicode-segmentation v1.10.1
Compiling tower-service v0.3.2
Compiling http-range v0.1.5
Compiling httpdate v1.0.3
Compiling hyper v0.14.27
Compiling keyboard-types v0.6.2
Compiling tauri-codegen v2.0.0-alpha.7
Compiling tauri v2.0.0-alpha.11 (/home/runner/work/tauri/tauri/target/package/tauri-2.0.0-alpha.11)
Compiling serde_urlencoded v0.7.1
Compiling serialize-to-javascript-impl v0.1.1
Compiling encoding_rs v0.8.32
Compiling dirs-sys-next v0.1.2
Compiling ipnet v2.8.0
Compiling mime v0.3.17
Compiling reqwest v0.11.18
Compiling dirs-next v2.0.0
Compiling serialize-to-javascript v0.1.1
Compiling tauri-macros v2.0.0-alpha.7
Compiling muda v0.8.2
Compiling state v0.6.0
Finished dev [unoptimized + debuginfo] target(s) in 2m 50s
Packaged 111 files, 759.0KiB (174.5KiB compressed)
Uploading tauri v2.0.0-alpha.11 (/home/runner/work/tauri/tauri/core/tauri)
Uploaded tauri v2.0.0-alpha.11 to registry `crates-io`
note: Waiting for `tauri v2.0.0-alpha.11` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
Published tauri v2.0.0-alpha.11 at registry `crates-io`