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_identifiers
andAppHandle.remove_data_store
#12900 by @Simon-Laux) addAppHandle.fetch_data_store_identifiers
andAppHandle.remove_data_store
(macOS and iOS only)WebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
#12821 by @Simon-Laux) AddedWindowOptions::javascriptDisabled
andWebviewOptions::javascriptDisabled
.getIdentifier()
to accesstauri.conf.json
identifier #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#isAlwaysOnTop
andWebviewWindow#isAlwaysOnTop
methods.path
basename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.Bug Fixes
Webview.close
always fail with command not foundtauri-utils
[2.3.0]
New Features
build > removeUnusedCommands
to 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.trafficLightPosition
window 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.js
ifapp > withGlobalTauri
is 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_return
function. 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_return
is not available on iOS and fallbacks to the regularApp::run
functionality.The
App::run_iteration
function 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
trafficLightPosition
window configuration to set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
traffic_light_position
window builder method to set the traffic light buttons position on macOS.cedb24d (feat: add
Webview::cookies
andWebview::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_javascript
andWebviewWindowBuilder.disable_javascript
#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
api to disable JavaScript.658e5f5 (feat: introduce
App::run_return
#12668 by @thomaseizinger) AddApp::run_return
function. 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_return
is not available on iOS and fallbacks to the regularApp::run
functionality.The
App::run_iteration
function 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.reload
andWebviewWindow.reload
#12818 by @Simon-Laux) feat: addWebview.reload
andWebviewWindow.reload
30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
trafficLightPosition
window configuration to set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
traffic_light_position
window builder method to set the traffic light buttons position on macOS.cedb24d (feat: add
Webview::cookies
andWebview::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 > removeUnusedCommands
to 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 > removeUnusedCommands
to 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 > removeUnusedCommands
to 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.js
ifapp > withGlobalTauri
is set to falseDependencies
[email protected]
tauri-build
[2.1.0]
New Features
build > removeUnusedCommands
to 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.js
ifapp > withGlobalTauri
is 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
Clone
fortauri::ExitRequestApi
#12710 by @WSH032) deriveClone
fortauri::ExitRequestApi
.cedb24d (feat: add
Webview::cookies
andWebview::cookies_for_url()
#12665 by @charrondev) AddedWebview::cookies()
,Webview::cookies_for_url()
,WebviewWindow::cookies()
andWebview::cookies_for_url()
.20c1906 (feat: add
WebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
api to disable JavaScript.060de5b (feat(api): implement
getIdentifier()
to accesstauri.conf.json
identifier #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_return
function. 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_return
is not available on iOS and fallbacks to the regularApp::run
functionality.The
App::run_iteration
function 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_enabled
configuration is set totrue
.bcdd510 (feat(core): resolve file names from Android content URIs #13012 by @lucasfernog) The
path
basename 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_name
to resolve file names from content URIs on Android (leveratingstd::path::Path::file_name
on other platforms).c698a6d (feat: add
Webview.reload
andWebviewWindow.reload
#12818 by @Simon-Laux) feat: addWebview.reload
andWebviewWindow.reload
013f8f6 (feat: add a new option to remove unused commands #12890 by @Legend-Master) Added
build > removeUnusedCommands
to 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_position
to set the traffic light buttons position on macOS.30f5a15 (feat: traffic light position #12366 by @FabianLars) Added
trafficLightPosition
window configuration to set the traffic light buttons position on macOS.Enhancements
Plugin#startIntentSenderForResult
Android API for mobile plugins.Bug Fixes
Clone
manually onChannel
. #12876 by @amrbashir) RemovedTSend: Clone
requirement forChannel<TSend>
by implementingClone
manually instead of driving it.AssetResolver.get()
: don't skip first char #12971 by @WofWca) Fixtauri::AssetResolver::get
andtauri::AssetResolver::get_for_scheme
skipping the first character of the
path
even if it's not a slash (/).Ctrl +
orCmd +
to support zoom functionality in swedish keyboard layouts.AppHandle::restart()
now waits forRunEvent::Exit
to be delivered before restarting the application.Performance Improvements
bundle.global.js
ifapp > withGlobalTauri
is 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 dev
andtauri ios build
.trafficLightPosition
window configuration to set the traffic light buttons position on macOS.Enhancements
Bug Fixes
updater
bundle arg in help output #12985 by @FabianLars) The cli will now accept--bundles updater
again. It's still no-op as it has been for all v2 versions. If you want to build updater artifacts, enablecreateUpdaterArtifacts
intauri.conf.json
.tauri ios
commands 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 dev
andtauri ios build
.build > removeUnusedCommands
from 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.trafficLightPosition
window configuration to set the traffic light buttons position on macOS.Enhancements
Bug Fixes
updater
bundle arg in help output #12985 by @FabianLars) The cli will now accept--bundles updater
again. It's still no-op as it has been for all v2 versions. If you want to build updater artifacts, enablecreateUpdaterArtifacts
intauri.conf.json
.bun.lock
andbun.lockb
.tauri ios
commands using the wrong working directory withbun@>1.2
.Dependencies
[email protected]
[email protected]