tauri-v2.0.0-beta.24
版本发布时间: 2024-07-13 04:07:59
tauri-apps/tauri最新发布版本:tauri-v2.0.0-rc.10(2024-09-06 01:29:03)
Updating git repository https://github.com/chippers/schemars.git
Updating crates.io index
Locking 498 packages to latest compatible versions
Adding addr2line v0.22.0 (latest: v0.23.0)
Adding base64 v0.21.7 (latest: v0.22.1)
Adding bit-set v0.5.3 (latest: v0.6.0)
Adding bit-vec v0.6.3 (latest: v0.7.0)
Adding bitflags v1.3.2 (latest: v2.6.0)
Adding brotli v3.5.0 (latest: v6.0.0)
Adding brotli-decompressor v2.5.1 (latest: v4.0.1)
Adding cairo-rs v0.18.5 (latest: v0.20.0)
Adding cairo-sys-rs v0.18.2 (latest: v0.20.0)
Adding cargo_toml v0.17.2 (latest: v0.20.3)
Adding cfb v0.7.3 (latest: v0.10.0)
Adding convert_case v0.4.0 (latest: v0.6.0)
Adding cssparser v0.27.2 (latest: v0.34.0)
Adding encode_unicode v0.3.6 (latest: v1.0.0)
Adding env_logger v0.8.4 (latest: v0.11.3)
Adding foreign-types v0.3.2 (latest: v0.5.0)
Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
Adding gdk-pixbuf v0.18.5 (latest: v0.20.0)
Adding gdk-pixbuf-sys v0.18.0 (latest: v0.20.0)
Adding generator v0.7.5 (latest: v0.8.1)
Adding generic-array v0.14.7 (latest: v1.1.0)
Adding getrandom v0.1.16 (latest: v0.2.15)
Adding gimli v0.29.0 (latest: v0.30.0)
Adding gio v0.18.4 (latest: v0.20.0)
Adding gio-sys v0.18.1 (latest: v0.20.0)
Adding glib v0.18.5 (latest: v0.20.0)
Adding glib-macros v0.18.5 (latest: v0.20.0)
Adding glib-sys v0.18.1 (latest: v0.20.0)
Adding gobject-sys v0.18.0 (latest: v0.20.0)
Adding hashbrown v0.12.3 (latest: v0.14.5)
Adding heck v0.4.1 (latest: v0.5.0)
Adding hermit-abi v0.3.9 (latest: v0.4.0)
Adding html5ever v0.26.0 (latest: v0.27.0)
Adding idna v0.5.0 (latest: v1.0.2)
Adding image v0.24.9 (latest: v0.25.1)
Adding indexmap v1.9.3 (latest: v2.2.6)
Adding infer v0.15.0 (latest: v0.16.0)
Adding itoa v0.4.8 (latest: v1.0.11)
Adding jni-sys v0.3.0 (latest: v0.4.0)
Adding json-patch v1.4.0 (latest: v2.0.0)
Adding libloading v0.7.4 (latest: v0.8.4)
Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
Adding loom v0.5.6 (latest: v0.7.2)
Adding malloc_buf v0.0.6 (latest: v1.0.0)
Adding markup5ever v0.11.0 (latest: v0.12.1)
Adding matchers v0.1.0 (latest: v0.2.0)
Adding mio v0.8.11 (latest: v1.0.0)
Adding ndk v0.7.0 (latest: v0.9.0)
Adding ndk-sys v0.4.1+23.1.7779620 (latest: v0.6.0+11769913)
Adding nu-ansi-term v0.46.0 (latest: v0.50.0)
Adding num_enum v0.5.11 (latest: v0.7.2)
Adding num_enum_derive v0.5.11 (latest: v0.7.2)
Adding pango v0.18.3 (latest: v0.20.0)
Adding pango-sys v0.18.0 (latest: v0.20.0)
Adding phf v0.8.0 (latest: v0.11.2)
Adding phf v0.10.1 (latest: v0.11.2)
Adding phf_codegen v0.8.0 (latest: v0.11.2)
Adding phf_codegen v0.10.0 (latest: v0.11.2)
Adding phf_generator v0.8.0 (latest: v0.11.2)
Adding phf_generator v0.10.0 (latest: v0.11.2)
Adding phf_macros v0.8.0 (latest: v0.11.2)
Adding phf_shared v0.8.0 (latest: v0.11.2)
Adding phf_shared v0.10.0 (latest: v0.11.2)
Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
Adding proc-macro-crate v2.0.2 (latest: v3.1.0)
Adding quick-error v1.2.3 (latest: v2.0.1)
Adding quick-xml v0.32.0 (latest: v0.36.0)
Adding rand v0.7.3 (latest: v0.8.5)
Adding rand_chacha v0.2.2 (latest: v0.3.1)
Adding rand_core v0.5.1 (latest: v0.6.4)
Adding rand_hc v0.2.0 (latest: v0.3.2)
Adding rand_pcg v0.2.1 (latest: v0.3.1)
Adding raw-window-handle v0.5.2 (latest: v0.6.2)
Adding regex-automata v0.1.10 (latest: v0.4.7)
Adding regex-syntax v0.6.29 (latest: v0.8.4)
Adding rustc-hash v1.1.0 (latest: v2.0.0)
Adding selectors v0.22.0 (latest: v0.25.0)
Adding servo_arc v0.1.1 (latest: v0.3.0)
Adding siphasher v0.3.11 (latest: v1.0.1)
Adding soup3 v0.5.0 (latest: v0.7.0)
Adding soup3-sys v0.5.0 (latest: v0.7.0)
Adding syn v1.0.109 (latest: v2.0.71)
Adding system-deps v6.2.2 (latest: v7.0.1)
Adding toml v0.7.8 (latest: v0.8.14)
Adding toml v0.8.2 (latest: v0.8.14)
Adding toml_datetime v0.6.3 (latest: v0.6.6)
Adding toml_edit v0.19.15 (latest: v0.22.15)
Adding toml_edit v0.20.2 (latest: v0.22.15)
Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
Adding windows v0.48.0 (latest: v0.58.0)
Adding windows v0.57.0 (latest: v0.58.0)
Adding windows-core v0.52.0 (latest: v0.58.0)
Adding windows-core v0.57.0 (latest: v0.58.0)
Adding windows-implement v0.57.0 (latest: v0.58.0)
Adding windows-interface v0.57.0 (latest: v0.58.0)
Adding windows-result v0.1.2 (latest: v0.2.0)
Adding windows-sys v0.45.0 (latest: v0.52.0)
Adding windows-sys v0.48.0 (latest: v0.52.0)
Adding windows-targets v0.42.2 (latest: v0.52.6)
Adding windows-targets v0.48.5 (latest: v0.52.6)
Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.6)
Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6)
Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.6)
Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6)
Adding windows_i686_gnu v0.42.2 (latest: v0.52.6)
Adding windows_i686_gnu v0.48.5 (latest: v0.52.6)
Adding windows_i686_msvc v0.42.2 (latest: v0.52.6)
Adding windows_i686_msvc v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6)
Adding winnow v0.5.40 (latest: v0.6.13)
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 638 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (498 crate dependencies)
[2.0.0-beta.24]
New Features
Enhancements
-
a7354f9a8
(#10171 by @amrbashir) MarkAppHandle::restart
andprocess::restart
as diverging functions.
Bug Fixes
-
4c239729c
(#10167 by @amrbashir) Fix deserialization of raw invoke requests when usingisolation
pattern. -
55733aba9
(#10176 by @lucasfernog) MovePluginApi::register_ios_plugin
behind thewry
Cargo feature asWebview::with_webview
is only available when that feature is enabled.
Dependencies
- Upgraded to
tauri-macros@2.0.0-beta.19
- Upgraded to
tauri-build@2.0.0-beta.19
- Upgraded to
tauri-runtime-wry@2.0.0-beta.20
- Upgraded to
tauri-utils@2.0.0-beta.19
- Upgraded to
tauri-runtime@2.0.0-beta.20
Breaking Changes
-
ba9590aa9
(#9640 by @amrbashir) AddedEmitter
andListener
traits that defines what an emitter or a listener can do, this however comes with a few breaking changes:- Removed
Manager::listen_any
, useListener::listen_any
instead. - Removed
Manager::once_any
, useListener::once_any
instead. - Removed
Manager::unlisten
, useListener::unlisten
instead. - Removed
Manager::emit
, useEmitter::emit
instead. - Removed
Manager::emit_to
, useEmitter::emit_to
instead. - Removed
Manager::emit_filter
, useEmitter::emit_filter
instead. - Removed
App/AppHandle::listen
,WebviewWindow::listen
,Window::listen
andWebview::listen
, useListener::listen
instead. - Removed
App/AppHandle::once
,WebviewWindow::once
,Window::once
andWebview::once
, useListener::once
instead. - Removed
App/AppHandle::unlisten
,WebviewWindow::unlisten
,Window::unlisten
andWebview::unlisten
, useListener::unlisten
instead.
- Removed
-
261c9f942
(#10170 by @amrbashir) RenamedDragDropEvent
enum variants to better convey when they are triggered:-
DragDropEvent::Dragged
->DragDropEvent::Enter
-
DragDropEvent::DragOver
->DragDropEvent::Over
-
DragDropEvent::Dropped
->DragDropEvent::Drop
-
DragDropEvent::Cancelled
->DragDropEvent::Leave
This also comes with a change in the events being emitted to JS and Rust event listeners:
-
tauri://drag
->tauri://drag-enter
-
tauri://drop-over
->tauri://drag-over
-
tauri://drop
->tauri://drag-drop
-
tauri://drag-cancelled
->tauri://drag-leave
-
-
2b1ceb40d
(#10229 by @amrbashir) Renamed the JSgetCurrent
andgetAll
functions to a clearer name to avoid ambiguity:-
getCurrent
inwindow
module has been renamed togetCurrentWindow
-
getCurrent
inwebview
module has been renamed togetCurrentWebview
-
getCurrent
inwebviewWindow
module has been renamed togetCurrentWebviewWindow
-
getAll
inwindow
module has been renamed togetAllWindows
-
getAll
inwebview
module has been renamed togetAllWebviews
-
getAll
inwebviewWindow
module has been renamed togetAllWebviewWindows
-
-
57612ab24
(#10139 by @Brendonovich) AddTSend
generic toipc::Channel
for typesafesend
calls and type inspection intauri-specta
Cargo Publish
Updating crates.io index
Packaging tauri v2.0.0-beta.24 (/home/runner/work/tauri/tauri/core/tauri)
Updating crates.io index
Verifying tauri v2.0.0-beta.24 (/home/runner/work/tauri/tauri/core/tauri)
Downloading crates ...
Downloaded serde_repr v0.1.19
Downloaded libappindicator v0.9.0
Downloaded keyboard-types v0.7.0
Downloaded serialize-to-javascript-impl v0.1.1
Downloaded serialize-to-javascript v0.1.1
Downloaded unicode-segmentation v1.11.0
Downloaded tokio-macros v2.3.0
Downloaded tray-icon v0.14.3
Downloaded state v0.6.0
Downloaded signal-hook-registry v1.4.2
Downloaded libloading v0.7.4
Downloaded muda v0.13.5
Downloaded libappindicator-sys v0.9.0
Downloaded tauri-build v2.0.0-beta.19
Downloaded tauri-macros v2.0.0-beta.19
Downloaded tauri-runtime-wry v2.0.0-beta.20
Compiling proc-macro2 v1.0.86
Compiling unicode-ident v1.0.12
Compiling serde v1.0.204
Compiling libc v0.2.155
Compiling hashbrown v0.14.5
Compiling equivalent v1.0.1
Compiling winnow v0.5.40
Compiling indexmap v2.2.6
Compiling quote v1.0.36
Compiling syn v2.0.71
Compiling smallvec v1.13.2
Compiling pkg-config v0.3.30
Compiling heck v0.5.0
Compiling target-lexicon v0.12.15
Compiling version-compare v0.2.0
Compiling cfg-if v1.0.0
Compiling autocfg v1.3.0
Compiling cfg-expr v0.15.8
Compiling syn v1.0.109
Compiling once_cell v1.19.0
Compiling siphasher v0.3.11
Compiling ppv-lite86 v0.2.17
Compiling version_check v0.9.4
Compiling memchr v2.7.4
Compiling getrandom v0.2.15
Compiling thiserror v1.0.62
Compiling getrandom v0.1.16
Compiling pin-project-lite v0.2.14
Compiling slab v0.4.9
Compiling futures-core v0.3.30
Compiling fnv v1.0.7
Compiling rand_core v0.6.4
Compiling rand_chacha v0.3.1
Compiling rand_core v0.5.1
Compiling futures-task v0.3.30
Compiling pin-utils v0.1.0
Compiling itoa v1.0.11
Compiling rand v0.8.5
Compiling phf_shared v0.10.0
Compiling parking_lot_core v0.9.10
Compiling rand_chacha v0.2.2
Compiling rand_pcg v0.2.1
Compiling proc-macro-error-attr v1.0.4
Compiling lock_api v0.4.12
Compiling semver v1.0.23
Compiling rand v0.7.3
Compiling proc-macro-error v1.0.4
Compiling phf_shared v0.8.0
Compiling scopeguard v1.2.0
Compiling phf_generator v0.8.0
Compiling futures-channel v0.3.30
Compiling serde_derive v1.0.204
Compiling thiserror-impl v1.0.62
Compiling futures-macro v0.3.30
Compiling futures-util v0.3.30
Compiling phf_generator v0.10.0
Compiling log v0.4.22
Compiling new_debug_unreachable v1.0.6
Compiling percent-encoding v2.3.1
Compiling byteorder v1.5.0
Compiling bitflags v1.3.2
Compiling precomputed-hash v0.1.1
Compiling proc-macro-hack v0.5.20+deprecated
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.8.0
Compiling ryu v1.0.18
Compiling heck v0.4.1
Compiling unicode-normalization v0.1.23
Compiling futures-executor v0.3.30
Compiling form_urlencoded v1.2.1
Compiling phf_codegen v0.10.0
Compiling string_cache_codegen v0.5.2
Compiling unicode-bidi v0.3.15
Compiling mac v0.1.1
Compiling futf v0.1.5
Compiling phf_macros v0.8.0
Compiling markup5ever v0.11.0
Compiling idna v0.5.0
Compiling cssparser v0.27.2
Compiling convert_case v0.4.0
Compiling utf-8 v0.7.6
Compiling dtoa v1.0.9
Compiling dtoa-short v0.3.5
Compiling tendril v0.4.3
Compiling derive_more v0.99.18
Compiling toml_datetime v0.6.3
Compiling serde_spanned v0.6.6
Compiling bitflags v2.6.0
Compiling toml_edit v0.20.2
Compiling rustc_version v0.4.0
Compiling phf v0.8.0
Compiling cssparser-macros v0.6.1
Compiling phf_codegen v0.8.0
Compiling phf v0.10.1
Compiling matches v0.1.10
Compiling itoa v0.4.8
Compiling ident_case v1.0.1
Compiling strsim v0.11.1
Compiling selectors v0.22.0
Compiling toml v0.8.2
Compiling proc-macro-crate v2.0.2
Compiling system-deps v6.2.2
Compiling darling_core v0.20.10
Compiling toml_edit v0.19.15
Compiling html5ever v0.26.0
Compiling glib-sys v0.18.1
Compiling gobject-sys v0.18.0
Compiling gio-sys v0.18.1
Compiling gdk-sys v0.18.0
Compiling glib-macros v0.18.5
Compiling cairo-sys-rs v0.18.2
Compiling pango-sys v0.18.0
Compiling gdk-pixbuf-sys v0.18.0
Compiling atk-sys v0.18.0
Compiling stable_deref_trait v1.2.0
Compiling hashbrown v0.12.3
Compiling gio v0.18.4
Compiling nodrop v0.1.14
Compiling servo_arc v0.1.1
Compiling darling_macro v0.20.10
Compiling gtk-sys v0.18.0
Compiling fxhash v0.2.1
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.4
Compiling futures-io v0.3.30
Compiling unic-common v0.9.0
Compiling typeid v1.0.0
Compiling thin-slice v0.1.1
Compiling unic-char-range v0.9.0
Compiling unic-char-property v0.9.0
Compiling unic-ucd-version v0.9.0
Compiling darling v0.20.10
Compiling bytes v1.6.0
Compiling phf_shared v0.11.2
Compiling glib v0.18.5
Compiling alloc-no-stdlib v2.0.4
Compiling alloc-stdlib v0.2.2
Compiling phf_generator v0.11.2
Compiling serde_with_macros v3.8.3
Compiling regex-automata v0.4.7
Compiling unic-ucd-ident v0.9.0
Compiling serde_json v1.0.120
Compiling parking_lot v0.12.3
Compiling phf_macros v0.11.2
Compiling brotli-decompressor v2.5.1
Compiling regex v1.10.5
Compiling memoffset v0.9.1
Compiling indexmap v1.9.3
Compiling same-file v1.0.6
Compiling walkdir v2.5.0
Compiling brotli v3.5.0
Compiling phf v0.11.2
Compiling string_cache v0.8.7
Compiling field-offset v0.3.6
Compiling ctor v0.2.8
Compiling cairo-rs v0.18.5
Compiling camino v1.1.7
Compiling glob v0.3.1
Compiling dunce v1.0.4
Compiling typenum v1.17.0
Compiling http v1.1.0
Compiling proc-macro-crate v1.3.1
Compiling url v2.5.2
Compiling serde_derive_internals v0.29.1
Compiling uuid v1.10.0
Compiling generic-array v0.14.7
Compiling gtk v0.18.1
Compiling schemars v0.8.21
Compiling schemars_derive v0.8.21
Compiling cfb v0.7.3
Compiling gtk3-macros v0.18.0
Compiling atk v0.18.0
Compiling erased-serde v0.4.5
Compiling javascriptcore-rs-sys v1.1.1
Compiling soup3-sys v0.5.0
Compiling cargo-platform v0.1.8
Compiling x11 v2.21.0
Compiling simd-adler32 v0.3.7
Compiling dyn-clone v1.0.17
Compiling cargo_metadata v0.18.1
Compiling serde-untagged v0.1.6
Compiling kuchikiki v0.8.2
Compiling infer v0.15.0
Compiling urlpattern v0.2.0
Compiling pango v0.18.3
Compiling gdk-pixbuf v0.18.5
Compiling json-patch v1.4.0
Compiling serde_with v3.8.3
Compiling gdk v0.18.0
Compiling gdkx11-sys v0.18.0
Compiling webkit2gtk-sys v2.0.1
Compiling num_cpus v1.16.0
Compiling socket2 v0.5.7
Compiling mio v0.8.11
Compiling crossbeam-utils v0.8.20
Compiling adler v1.0.2
Compiling miniz_oxide v0.7.4
Compiling tokio v1.38.0
Compiling tauri-utils v2.0.0-beta.19
Compiling dpi v0.1.1
Compiling crc32fast v1.4.2
Compiling x11-dl v2.21.0
Compiling httparse v1.9.4
Compiling option-ext v0.2.0
Compiling anyhow v1.0.86
Compiling cc v1.1.1
Compiling embed-resource v2.4.2
Compiling dirs-sys v0.4.1
Compiling flate2 v1.0.30
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling fdeflate v0.3.4
Compiling http-body v1.0.1
Compiling toml v0.7.8
Compiling pin-project-internal v1.1.5
Compiling raw-window-handle v0.6.2
Compiling try-lock v0.2.5
Compiling want v0.3.1
Compiling tauri-winres v0.1.1
Compiling png v0.17.13
Compiling digest v0.10.7
Compiling crossbeam-channel v0.5.13
Compiling pin-project v1.1.5
Compiling dirs v5.0.1
Compiling soup3 v0.5.0
Compiling javascriptcore-rs v1.1.2
Compiling cargo_toml v0.17.2
Compiling dlopen2_derive v0.4.0
Compiling tracing-core v0.1.32
Compiling tauri-runtime v2.0.0-beta.20
Compiling tower-layer v0.3.2
Compiling tower-service v0.3.2
Compiling cpufeatures v0.2.12
Compiling base64 v0.22.1
Compiling wry v0.41.0
Compiling sha2 v0.10.8
Compiling tower v0.4.13
Compiling webkit2gtk v2.0.1
Compiling tracing v0.1.40
Compiling dlopen2 v0.7.0
Compiling tauri-build v2.0.0-beta.19
Compiling hyper v1.4.1
Compiling ico v0.3.0
Compiling gdkx11 v0.18.0
Compiling gdkwayland-sys v0.18.0
Compiling instant v0.1.13
Compiling lazy_static v1.5.0
Compiling unicode-segmentation v1.11.0
Compiling tauri-runtime-wry v2.0.0-beta.20
Compiling futures-sink v0.3.30
Compiling tokio-util v0.7.11
Compiling keyboard-types v0.7.0
Compiling tao v0.28.1
Compiling tauri-codegen v2.0.0-beta.19
Compiling hyper-util v0.1.6
Compiling tauri v2.0.0-beta.24 (/home/runner/work/tauri/tauri/target/package/tauri-2.0.0-beta.24)
Compiling http-body-util v0.1.2
Compiling serde_urlencoded v0.7.1
Compiling serialize-to-javascript-impl v0.1.1
Compiling mime v0.3.17
Compiling ipnet v2.9.0
Compiling sync_wrapper v1.0.1
Compiling serialize-to-javascript v0.1.1
Compiling tauri-macros v2.0.0-beta.19
Compiling reqwest v0.12.5
Compiling muda v0.13.5
Compiling serde_repr v0.1.19
Compiling state v0.6.0
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
Packaged 139 files, 1.1MiB (239.9KiB compressed)
Uploading tauri v2.0.0-beta.24 (/home/runner/work/tauri/tauri/core/tauri)
Uploaded tauri v2.0.0-beta.24 to registry `crates-io`
note: waiting for `tauri v2.0.0-beta.24` 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-beta.24 at registry `crates-io`
1、 tauri-2.0.0-beta.24.crate 239.87KB