Apply Version Updates From Current Changes #12856
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.4.0]
New Features
AppHandle.fetch_data_store_identifiersandAppHandle.remove_data_store#12900 by @Simon-Laux) addAppHandle.fetch_data_store_identifiersandAppHandle.remove_data_store(macOS and iOS only)WebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascript#12821 by @Simon-Laux) AddedWindowOptions::javascriptDisabledandWebviewOptions::javascriptDisabled.getIdentifier()to accesstauri.conf.jsonidentifier #12837 by @niladrix719) AddedgetIdentifier()function to get the application identifier configured in tauri.conf.jsonWindow.is_always_on_top()andWebviewWindow.is_always_on_top()#12944 by @Simon-Laux) AddedWindow#isAlwaysOnTopandWebviewWindow#isAlwaysOnTopmethods.pathbasename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.Bug Fixes
Webview.closealways fail with command not foundtauri-utils
[2.3.0]
New Features
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.Enhancements
Bug Fixes
--in permissions as command can have double__#12884 by @oscartbeaumont) fix: allow double--in permissions as command can have double__Performance Improvements
bundle.global.jsifapp > withGlobalTauriis set to falsetauri-bundler
[2.3.0]
Enhancements
Bug Fixes
Dependencies
[email protected]tauri-runtime
[2.5.0]
New Features
be2e6b8 (add
Window.is_always_on_top()andWebviewWindow.is_always_on_top()#12944 by @Simon-Laux) addWindow.is_always_on_top()andWebviewWindow.is_always_on_top()658e5f5 (feat: introduce
App::run_return#12668 by @thomaseizinger) AddApp::run_returnfunction. Contrary toApp::run, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited.App::run_returnis not available on iOS and fallbacks to the regularApp::runfunctionality.The
App::run_iterationfunction is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
traffic_light_positionwindow builder method to set the traffic light buttons position on macOS.cedb24d (feat: add
Webview::cookiesandWebview::cookies_for_url()#12665 by @charrondev) AddedWebviewDispatch::cookies()andWebviewDispatch::cookies_for_url().Dependencies
[email protected]tauri-runtime-wry
[2.5.0]
New Features
be2e6b8 (add
Window.is_always_on_top()andWebviewWindow.is_always_on_top()#12944 by @Simon-Laux) addWindow.is_always_on_top()andWebviewWindow.is_always_on_top()20c1906 (feat: add
WebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascript#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascriptapi to disable JavaScript.658e5f5 (feat: introduce
App::run_return#12668 by @thomaseizinger) AddApp::run_returnfunction. Contrary toApp::run, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited.App::run_returnis not available on iOS and fallbacks to the regularApp::runfunctionality.The
App::run_iterationfunction is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop.c698a6d (feat: add
Webview.reloadandWebviewWindow.reload#12818 by @Simon-Laux) feat: addWebview.reloadandWebviewWindow.reload30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
traffic_light_positionwindow builder method to set the traffic light buttons position on macOS.cedb24d (feat: add
Webview::cookiesandWebview::cookies_for_url()#12665 by @charrondev) AddedWebviewDispatch::cookies()andWebviewDispatch::cookies_for_url().Dependencies
[email protected][email protected]tauri-codegen
[2.1.0]
New Features
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.Dependencies
[email protected]tauri-macros
[2.1.0]
New Features
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.Dependencies
[email protected][email protected]tauri-plugin
[2.1.0]
New Features
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.Performance Improvements
bundle.global.jsifapp > withGlobalTauriis set to falseDependencies
[email protected]tauri-build
[2.1.0]
New Features
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.Performance Improvements
bundle.global.jsifapp > withGlobalTauriis set to falseDependencies
[email protected][email protected]tauri
[2.4.0]
New Features
be2e6b8 (add
Window.is_always_on_top()andWebviewWindow.is_always_on_top()#12944 by @Simon-Laux) addWindow.is_always_on_top()andWebviewWindow.is_always_on_top()c108024 (feat(tauri): derive
Clonefortauri::ExitRequestApi#12710 by @WSH032) deriveClonefortauri::ExitRequestApi.cedb24d (feat: add
Webview::cookiesandWebview::cookies_for_url()#12665 by @charrondev) AddedWebview::cookies(),Webview::cookies_for_url(),WebviewWindow::cookies()andWebview::cookies_for_url().20c1906 (feat: add
WebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascript#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascriptapi to disable JavaScript.060de5b (feat(api): implement
getIdentifier()to accesstauri.conf.jsonidentifier #12837 by @niladrix719) AddedgetIdentifier()function to get the application identifier configured in tauri.conf.json658e5f5 (feat: introduce
App::run_return#12668 by @thomaseizinger) AddApp::run_returnfunction. Contrary toApp::run, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited.App::run_returnis not available on iOS and fallbacks to the regularApp::runfunctionality.The
App::run_iterationfunction is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop.5591a4f (feature(linux) add mousewheel bindings for zoom functions #12912 by @Daedaluz) Change webview zoom on mousewheel when the
zoom_hotkeys_enabledconfiguration is set totrue.bcdd510 (feat(core): resolve file names from Android content URIs #13012 by @lucasfernog) The
pathbasename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.bcdd510 (feat(core): resolve file names from Android content URIs #13012 by @lucasfernog) Added
PathResolver::file_nameto resolve file names from content URIs on Android (leveratingstd::path::Path::file_nameon other platforms).c698a6d (feat: add
Webview.reloadandWebviewWindow.reload#12818 by @Simon-Laux) feat: addWebview.reloadandWebviewWindow.reload013f8f6 (feat: add a new option to remove unused commands #12890 by @Legend-Master) Added
build > removeUnusedCommandsto trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.35018ee (chore: fix missing .md on request-restart.md #12996 by @Legend-Master) Introduce
AppHandle::request_restart()as an alternative toAppHandle::restart()to trigger exit event reliably30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
WebviewWindowBuilder::traffic_light_positionto set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.Enhancements
Plugin#startIntentSenderForResultAndroid API for mobile plugins.Bug Fixes
Clonemanually onChannel. #12876 by @amrbashir) RemovedTSend: Clonerequirement forChannel<TSend>by implementingClonemanually instead of driving it.AssetResolver.get(): don't skip first char #12971 by @WofWca) Fixtauri::AssetResolver::getandtauri::AssetResolver::get_for_schemeskipping the first character of the
patheven if it's not a slash (/).Ctrl +orCmd +to support zoom functionality in swedish keyboard layouts.AppHandle::restart()now waits forRunEvent::Exitto be delivered before restarting the application.Performance Improvements
bundle.global.jsifapp > withGlobalTauriis set to falseDependencies
[email protected][email protected][email protected][email protected][email protected]@tauri-apps/cli
[2.4.0]
New Features
tauri dev,tauri build,tauri bundle,tauri android dev,tauri android build,tauri ios devandtauri ios build.trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.Enhancements
Bug Fixes
updaterbundle arg in help output #12985 by @FabianLars) The cli will now accept--bundles updateragain. It's still no-op as it has been for all v2 versions. If you want to build updater artifacts, enablecreateUpdaterArtifactsintauri.conf.json.tauri ioscommands using the wrong working directory withbun@>1.2.Dependencies
[email protected]tauri-cli
[2.4.0]
New Features
tauri dev,tauri build,tauri bundle,tauri android dev,tauri android build,tauri ios devandtauri ios build.build > removeUnusedCommandsfrom the config file and pass in the environment variables on the build command to trigger the build scripts and macros to remove unused commands based on the capabilities you defined. For this to work on inlined plugins you must add a#![plugin(<insert_plugin_name>)]inside thetauri::generate_handler![]usage and the app manifest must be set.trafficLightPositionwindow configuration to set the traffic light buttons position on macOS.Enhancements
Bug Fixes
updaterbundle arg in help output #12985 by @FabianLars) The cli will now accept--bundles updateragain. It's still no-op as it has been for all v2 versions. If you want to build updater artifacts, enablecreateUpdaterArtifactsintauri.conf.json.bun.lockandbun.lockb.tauri ioscommands using the wrong working directory withbun@>1.2.Dependencies
[email protected][email protected]