Apply Version Updates From Current Changes #8638
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
@tauri-apps/api
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.a093682d
(#8621) AddedemitTo
api toevent
module which is equivalent to the rustemit_to
method. Also addedemitTo
method onWindow
,Webivew
andWebviewWindow
classes.a2fc3a63
(#8657) AddvisibleOnAllWorkspaces
option when creating the window in JS andWindow.setVisibleOnAllWorkspaces
method.7f033f6d
(#8537) AddWindow.startResizeDragging
.9eaeb5a8
(#8622) Addparent
option when creating a window.af610232
(#8710) AddedWindow::destroy
to force close a window.c77b4032
(#8280) Added support to multiwebview via the newwindow
andwebview
modules.Breaking Changes
c77b4032
(#8280) Removed event callback'swindowLabel
.c77b4032
(#8280) The event target is now an object so you can target either a window or a webview.c77b4032
(#8280) Moved webview-specific APIs from theWindow
class to theWebview
class.c77b4032
(#8280) RenamedTauriEvent.WINDOW_FILE_DROP
toTauriEvent.WEBVIEW_FILE_DROP
,TauriEvent.WINDOW_FILE_DROP_HOVER
toTauriEvent.WEBVIEW_FILE_DROP_HOVER
andTauriEvent.WINDOW_FILE_DROP_CANCELLED
toTauriEvent.WEBVIEW_FILE_DROP_CANCELLED
.c77b4032
(#8280) Added back theWebviewWindow
API that exposes functionality of a window that hosts a single webview. The dedicatedWindow
andWebview
types are exposed for multiwebview features.af610232
(#8710)Window::close
now triggers a close requested event instead of forcing the window to be closed.tauri-utils
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.9eaeb5a8
(#8622) Addparent
option for window config.58fe2e81
(#8670) AddWebviewUrl::CustomProtocol
enum variant.What's Changed
6639a579
(#8441) Added theWindowConfig::proxy_url
WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()
options when creating a webview.Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.c77b4032
(#8280) Renamedconfig::WindowUrl
toconfig::WebviewUrl
.a093682d
(#8621) Changederror
field inConfigError::FormatToml
to be boxedBox<toml::de::Error>
to reduce the enumConfigError
size in memory.58fe2e81
(#8670) Changeddist_dir
anddev_path
config options to be optional.tauri-bundler
[2.0.0-beta.0]
Enhancements
d6c7568c
(#8720) Addfiles
option to the AppImage Configuration.30be0e30
(#8303) Added Russian language support to the NSIS bundler.Dependencies
tauri-utils@2.0.0-alpha.14
Breaking Changes
8de308d1
(#8723) - Removed all license fields fromWixSettings
,NsisSettings
andMacOsSettings
and replaced withlicense
andlicense_file
fields inBundlerSettings
.tauri-runtime
[2.0.0-beta.0]
New Features
af610232
(#8710) AddedWindow::destroy
to force close a window.c77b4032
(#8280) Add multiwebview support behind theunstable
feature flag. SeeWindowBuilder
andWebviewBuilder
for more information.00e15675
(#8708) AddedRuntimeHandle::request_exit
function.Bug Fixes
95da1a27
(#8713) Fix callingset_activation_policy
when the event loop is running.What's Changed
9eaeb5a8
(#8622) AddedWindowBuilder::transient_for
and RenamedWindowBuilder::owner_window
toWindowBuilder::owner
andWindowBuilder::parent_window
toWindowBuilder::parent
.7f033f6d
(#8537) AddWindow::start_resize_dragging
andResizeDirection
enum.6639a579
(#8441) Added theWindowConfig::proxy_url
WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()
options when creating a webview.Dependencies
tauri-utils@2.0.0-alpha.14
Breaking Changes
9eaeb5a8
(#8622) ChangedWindowBuilder::with_config
to take a reference to aWindowConfig
instead of an owned value.tauri-runtime-wry
[2.0.0-beta.0]
New Features
af610232
(#8710) AddedWindow::destroy
to force close a window.c77b4032
(#8280) Add multiwebview support behind theunstable
feature flag. SeeWindowBuilder
andWebviewBuilder
for more information.00e15675
(#8708) AddedRuntimeHandle::request_exit
function.Bug Fixes
95da1a27
(#8713) Fix callingset_activation_policy
when the event loop is running.What's Changed
9f8037c2
(#8633) On Windows, fix decorated window not transparent initially until resized.9eaeb5a8
(#8622) AddedWindowBuilder::transient_for
and RenamedWindowBuilder::owner_window
toWindowBuilder::owner
andWindowBuilder::parent_window
toWindowBuilder::parent
.7f033f6d
(#8537) AddWindow::start_resize_dragging
andResizeDirection
enum.6639a579
(#8441) Added theWindowConfig::proxy_url
WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()
options when creating a webview.Dependencies
tauri-utils@2.0.0-alpha.14
tauri-runtime@1.0.0-alpha.9
Breaking Changes
af610232
(#8710)WindowDispatch::close
now triggers theCloseRequested
flow.9eaeb5a8
(#8622) ChangedWindowBuilder::with_config
to take a reference to aWindowConfig
instead of an owned value.tauri-codegen
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.Dependencies
tauri-utils@2.0.0-alpha.14
Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.tauri-macros
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.Dependencies
tauri-utils@2.0.0-alpha.14
tauri-codegen@2.0.0-alpha.14
tauri-plugin
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.Dependencies
tauri-utils@2.0.0-alpha.14
tauri-build
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.Enhancements
e8d3793c
(#8732) Addconfig-json
cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding whentauri.conf.json
changes, see #8721 for more info.Dependencies
tauri-utils@2.0.0-alpha.14
tauri-codegen@2.0.0-alpha.14
Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.0cdfda28
(#8737) Movedmobile::PluginBuilder
,mobile::update_entitlements
,config::plugin_config
andmobile::update_android_manifest
to the newtauri-plugin
crate.74a2a603
(#8661)CodegenContext::build
andCodegenContext::try_build
have been removed, usetauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))
instead.tauri
[2.0.0-beta.0]
New Features
74a2a603
(#8661) Implement access control list for IPC usage.a2fc3a63
(#8657) AddvisibleOnAllWorkspaces
option when creating the window in JS andWindow.setVisibleOnAllWorkspaces
method.af610232
(#8710) AddedWindow::destroy
to force close a window.c77b4032
(#8280) Add multiwebview support behind theunstable
feature flag. SeeWindowBuilder
andWebviewBuilder
for more information.9eaeb5a8
(#8622) AddWindowBuilder::parent
which is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also addedWindowBuilder::owner
on Windows only. Also addedWindowBuilder::transient_for
andWindowBuilder::transient_for_raw
on Linux only.Enhancements
e8d3793c
(#8732) Addcommon-controls-v6
cargo feature flag (enabled by default).58fe2e81
(#8670) Allow IPC calls when window origin is a defined custom protocol.Bug Fixes
95da1a27
(#8713) Fix callingset_activation_policy
when the event loop is running.e1eb911f
(#8582) Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread.a093682d
(#8621) Fix can not prevent closing a window from another webview.7f033f6d
(#8537) Fix undecorated window resizing on Windows and Linux.What's Changed
9f8037c2
(#8633) On Windows, fix decorated window not transparent initially until resized.7f033f6d
(#8537) AddWindow::start_resize_dragging
andResizeDirection
enum.6639a579
(#8441) Added theWindowConfig::proxy_url
WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()
options when creating a webview.Dependencies
tauri-build@2.0.0-alpha.15
tauri-utils@2.0.0-alpha.14
tauri-macros@2.0.0-alpha.14
tauri-runtime@1.0.0-alpha.9
tauri-runtime-wry@1.0.0-alpha.10
Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.c77b4032
(#8280) Theinvoke_system
,on_page_load
hooks now gives you aWebview
argument instead of aWindow
.e1eb911f
(#8582) All menu item constructorsaccelerator
argument have been changed toOption<impl AsRef<str>>
so when providingNone
you need to specify the generic argument likeNone::<&str>
.e1eb911f
(#8582) All menu item constructors have been changed to return aResult<Self>
aa758a85
(#8716) Moved thecommand
module items to theipc
module so its import name does not clash with thecommand
macro.00e15675
(#8708)AppHandle::exit
andAppHandle::restart
now go triggersRunEvent::ExitRequested
andRunEvent::Exit
and cannot be executed on the event loop handler.ec9818ac
(#8696) Added a callback to theApp::run_iteration
and removed its return value.a093682d
(#8621) Refactored the event system to better accommodate the new window types:EventTarget
enum.App/AppHandle::listen
,App/AppHandle::once
andApp/AppHandle::unlisten
to listen to events targetingApp/AppHandle
App/AppHandle/Window/Webview/WebviewWindow::emit
will now emit to all event listeners.App/AppHandle/Window/Webview/WebviewWindow::emit_to
will emit to event targets that match the given label, seeEventTarget
enum.App/AppHandle/Window/Webview/WebviewWindow::emit_filter
will emit to event targets based on a filter callback which now takes&EventTarget
instead of&Window
.Manager::listen_global
andManager::once_global
tolisten_any
andonce_any
respectively to be consistent withEventTarget::Any
, it will now also listen to any event to any target (aka event sniffer).9eaeb5a8
(#8622) RenamedWindowBuilder::owner_window
toWindowBuilder::owner_raw
andWindowBuilder::parent_window
toWindowBuilder::parent_raw
.9eaeb5a8
(#8622) ChangedWindowBuilder::from_config
to return aResult<Self>
.c77b4032
(#8280) RenamedWindow
toWebviewWindow
,WindowBuilder
toWebviewWindowBuilder
,Manager::windows
toManager::webview_windows
andManager::get_window
toManager::get_webview_window
.af610232
(#8710)Window::close
now triggers a close requested event instead of forcing the window to be closed.c77b4032
(#8280) Renamed thewindow-data-url
feature flag towebview-data-url
.@tauri-apps/cli
[2.0.0-beta.0]
New Features
7fcc0bcd
(#8490) Add plugin initialization rust code when usingtauri add
1878766f
(#8667) Migrate the allowlist config to the new capability file format.Enhancements
d6c7568c
(#8720) Addfiles
option to the AppImage Configuration.b3209bb2
(#8688) Ignore global.gitignore
when searching for tauri directory.e691208e
(#7837) Prevent unneeded double Cargo.toml rewrite ondev
andbuild
.f492efd7
(#8666) Update app and plugin template following the new access control permission model.Bug Fixes
9cb9aa79
(#8672) Allow license field in Cargo.toml to be{ workspace = true }
Dependencies
tauri-cli@2.0.0-alpha.22
Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.tauri-cli
[2.0.0-beta.0]
New Features
7fcc0bcd
(#8490) Add plugin initialization rust code when usingtauri add
1878766f
(#8667) Migrate the allowlist config to the new capability file format.Enhancements
d6c7568c
(#8720) Addfiles
option to the AppImage Configuration.b3209bb2
(#8688) Ignore global.gitignore
when searching for tauri directory.e691208e
(#7837) Prevent unneeded double Cargo.toml rewrite ondev
andbuild
.f492efd7
(#8666) Update app and plugin template following the new access control permission model.Bug Fixes
9cb9aa79
(#8672) Allow license field in Cargo.toml to be{ workspace = true }
Dependencies
tauri-utils@2.0.0-alpha.14
tauri-bundler@2.0.0-alpha.15
Breaking Changes
8de308d1
(#8723) Restructured Tauri config per RFC#5:package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level.package
object.tauri
object toapp
.tauri.bundle
object to the top-level.build.distDir
field tofrontendDist
.build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs.tauri.pattern
toapp.security.pattern
.tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object.build.withGlobalTauri
toapp.withGlobalTauri
.tauri.bundle.dmg
object tobundle.macOS.dmg
.tauri.bundle.deb
object tobundle.linux.deb
.tauri.bundle.appimage
object tobundle.linux.appimage
.bundle.license
andbundle.licenseFile
.AppUrl
toFrontendDist
and refactored its variants to be more explicit.tauri-driver
[0.1.4]
New Features
435d7513
(#8609) AddedwebviewOptions
object to thetauri:options
capability to configure the Edge webview options on Windows.