Apply Version Updates From Current Changes #13282
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.6.0]
New Features
setAutoResizeAPI for webviews in@tauri-apps/api.Monitor.workAreafield.Bug Fixes
path.join('', 'a')incorrectly returns "/a" instead of "a".What's Changed
transformCallback#13325 by @Legend-Master)transformCallbacknow registers the callbacks insidewindow.__TAURI_INTERNALS__.callbacksinstead of directly onwindow['_{id}']tauri-utils
[2.5.0]
New Features
bundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.Service-Woker-AllowedHTTP header #13304 by @39zde) Adds the option to configure the HTTPService-Worker-Allowedresponse header inapp > security > headersBug Fixes
This default permission set includes the followingto the reference if the default permission set is not emptytauri.conf.json > app > security > capabilitiesnot working when generating allowed commands.mainBinaryNamedoesn't work when there's.in itWhat's Changed
dynamic-acl, this is currently enabled by default to align with the previous behaviors, you can disable it throughdefault-features = falseto reduce the final binary size by not including the ACL referencesDependencies
Breaking Changes
tauri-utilsbehined a flag to reduce compile timetauri-bundler
[2.5.0]
New Features
bundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.CheckIfAppIsRunningmacro inside NSIS hooks #13502 by @amrbashir) Allow usingCheckIfAppIsRunningmacro inside NSIS hooks, for example!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable".Bug Fixes
ARCHenv var to the current build target to prevent potential issues withappimagetool's auto-detection.mainBinaryNamedoesn't work when there's.in itDependencies
tauri-utils@2.5.0tauri-runtime
[2.7.0]
Dependencies
tauri-utils@2.5.0tauri-runtime-wry
[2.7.0]
New Features
x11Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size.NOTE: When manually disabling tauri default features, you must enable the
x11feature to support it.Enhancements
Bug Fixes
app.set_themeon main thread #13443 by @Legend-Master) FixAppHandle::set_themecrashes or has no effect on macOS if not ran on main threadvideo.requestFullscreenanddocument.exitFullscreen)Dependencies
tauri-utils@2.5.0tauri-runtime@2.7.0tauri-codegen
[2.3.0]
New Features
bundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.What's Changed
dynamic-acl, this is currently enabled by default to align with the previous behaviors, you can disable it throughdefault-features = falseto reduce the final binary size by not including the ACL referencesDependencies
tauri-utils@2.5.0tauri-macros
[2.3.0]
Dependencies
tauri-codegen@2.3.0tauri-utils@2.5.0tauri-plugin
[2.3.0]
Dependencies
tauri-utils@2.5.0tauri-build
[2.3.0]
Dependencies
tauri-codegen@2.3.0tauri-utils@2.5.0tauri
[2.6.0]
New Features
setAutoResizeAPI for webviews in@tauri-apps/api.Monitor::work_areagettertauri::PhysicalRectandtauri::LogicalRecttypes.Service-Woker-AllowedHTTP header #13304 by @39zde) Adds the option to configure the HTTPService-Worker-Allowedresponse header inapp > security > headersx11Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size.NOTE: When manually disabling tauri default features, you must enable the
x11feature to support it.Enhancements
Bug Fixes
format_callback::format_rawfor channels #13288 by @oscartbeaumont) Prevent the JavaScript runtime crashing when channel events fire in a webview that no longer has callbacks for the channel.path.join('', 'a')incorrectly returns "/a" instead of "a".TrayIcon.getByIdreturning a new resource ID instead of reusing a previously created id fromTrayIcon.new.Webview.proxyUrlhad no effect when used in theWebviewconstructorPerformance Improvements
What's Changed
dynamic-acl, this is currently enabled by default to align with the previous behaviors, you can disable it throughdefault-features = falseto reduce the final binary size by not including the ACL referencestransformCallback#13325 by @Legend-Master)transformCallbacknow registers the callbacks insidewindow.__TAURI_INTERNALS__.callbacksinstead of directly onwindow['_{id}']Dependencies
tauri-utils@2.5.0tauri-runtime-wry@2.7.0tauri-macros@2.3.0tauri-build@2.3.0tauri-runtime@2.7.0Breaking Changes
tauri-utilsbehined a flag to reduce compile time@tauri-apps/cli
[2.6.0]
New Features
bundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.--configarg to the mobile init cmds, closes #13284 #13660 by @lucasfernog) Allow passing--configarguments to theios initandandroid initcommands to tweak the configuration used to initialize the mobile projects.CheckIfAppIsRunningmacro inside NSIS hooks #13502 by @amrbashir) Allow usingCheckIfAppIsRunningmacro inside NSIS hooks, for example!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"..appbecause it conflicts with the application bundle extension on macOSBug Fixes
--configoption.Dependencies
tauri-cli@2.6.0tauri-cli
[2.6.0]
New Features
bundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.--configarg to the mobile init cmds, closes #13284 #13660 by @lucasfernog) Allow passing--configarguments to theios initandandroid initcommands to tweak the configuration used to initialize the mobile projects.CheckIfAppIsRunningmacro inside NSIS hooks #13502 by @amrbashir) Allow usingCheckIfAppIsRunningmacro inside NSIS hooks, for example!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"..appbecause it conflicts with the application bundle extension on macOSBug Fixes
dev,buildandbundlecommands always take 2 seconds to start--configoption.Dependencies
tauri-bundler@2.5.0tauri-utils@2.5.0