Apply Version Updates From Current Changes #13123
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.5.0]
New Features
66e6325 (fix: channel callback never cleaned up from
window
#13136) Allow passing the callback as the parameter of constructor ofChannel
so you can use it like thisnew Channel((message) => console.log(message))
ea36294 (feat(core): allow changing or disabling the input accessory view on iOS #13208) Added
disableInputAccessoryView: bool
config for iOS.c1cd0a2 (feat: macOS/iOS: add option to disable or enable link previews when building a webview #13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)
WindowOptions::allowLinkPreview
WebviewOptions::allowLinkPreview
b072e2b (feat(core): add an option for preventing window overflow #9687) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationdd4f13c (feat: add
set_dock_visibility
method #13185) Addedapp.setDockVisibility
for macOS.Enhancements
isTauri
runtime-unrelated #13145)core.isTauri
now leveragesglobalThis
instead ofwindow
in order to be used in unit tests.Bug Fixes
window
#13136) FixChannel
's callback attached towindow
never cleaned uptauri-utils
[2.4.0]
New Features
disableInputAccessoryView: bool
config for iOS.bundleVersion
to iOS and macOS configuration to support specifying aCFBundleVersion
.preventOverflow
config option to prevent the window from overflowing the monitor size on creationBug Fixes
fileAssociations
missingLSHandlerRank
on macOS.tauri-bundler
[2.4.0]
New Features
bundleVersion
to iOS and macOS configuration to support specifying aCFBundleVersion
.Enhancements
Bug Fixes
$
#13186) Fix NSIS bundler can't include resources and sidecars with$
in the pathfileAssociations
missingLSHandlerRank
on macOS.Dependencies
tauri-utils@2.4.0
tauri-runtime
[2.6.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185) MacOS: Addset_dock_visibility
method to support setting the visibility of the application in the dock.8cf662e (feat: expose api to run initialization scripts on all frames. #13076) - add API to run initialization scripts on all frames
-
WebviewBuilder::initialization_script_on_all_frames
-
WebviewWindowBuilder::initialization_script_on_all_frames
-
WebviewAttributes::initialization_script_on_all_frames
ea36294 (feat(core): allow changing or disabling the input accessory view on iOS #13208) Added
WebviewAttributes::input_accessory_view_builder
on iOS.c1cd0a2 (feat: macOS/iOS: add option to disable or enable link previews when building a webview #13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)
WebViewBuilder.allow_link_preview(allow_link_preview: bool)
WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)
b072e2b (feat(core): add an option for preventing window overflow #9687) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationDependencies
tauri-utils@2.4.0
tauri-runtime-wry
[2.6.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185) MacOS: Addset_dock_visibility
method to support setting the visibility of the application in the dock.ea36294 (feat(core): allow changing or disabling the input accessory view on iOS #13208) Added
WebviewAttributes::input_accessory_view_builder
on iOS.c1cd0a2 (feat: macOS/iOS: add option to disable or enable link previews when building a webview #13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)
WebViewBuilder.allow_link_preview(allow_link_preview: bool)
WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)
b072e2b (feat(core): add an option for preventing window overflow #9687) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationBug Fixes
WindowEvent::Focused
events when using the multiwebview (unstable feature flag) mode on Windows.Dependencies
tauri-utils@2.4.0
tauri-runtime@2.6.0
tauri-codegen
[2.2.0]
Dependencies
tauri-utils@2.4.0
tauri-utils@2.4.0
tauri-macros
[2.2.0]
Dependencies
tauri-utils@2.4.0
tauri-codegen@2.2.0
tauri-utils@2.4.0
tauri-plugin
[2.2.0]
Dependencies
tauri-utils@2.4.0
tauri-utils@2.4.0
tauri-build
[2.2.0]
Dependencies
tauri-utils@2.4.0
tauri-codegen@2.2.0
tauri-utils@2.4.0
tauri
[2.5.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185) MacOS: Addset_dock_visibility
method to support setting the visibility of the application in the dock.8cf662e (feat: expose api to run initialization scripts on all frames. #13076) - add API to run initialization scripts on all frames
-
WebviewBuilder::initialization_script_on_all_frames
-
WebviewWindowBuilder::initialization_script_on_all_frames
-
WebviewAttributes::initialization_script_on_all_frames
ea36294 (feat(core): allow changing or disabling the input accessory view on iOS #13208) Added
WebviewWindowBuilder::with_input_accessory_view_builder
andWebviewBuilder::with_input_accessory_view_builder
on iOS.c1cd0a2 (feat: macOS/iOS: add option to disable or enable link previews when building a webview #13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)
WebViewBuilder.allow_link_preview(allow_link_preview: bool)
WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)
b072e2b (feat(core): add an option for preventing window overflow #9687) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationb072e2b (feat(core): add an option for preventing window overflow #9687) Add
WindowBuilder::prevent_overflow
,WebviewWindowBuilder::prevent_overflow
,WindowBuilder::prevent_overflow_with_margin
andWebviewWindowBuilder::prevent_overflow_with_margin
APIs to prevent the window from overflowing the monitor size on creation.Enhancements
Into<String>
#13135)Webview::eval
andWebviewWindow::eval
now takesimpl Into<String>
instead of&str
to allow passing the scripts more flexible and efficientlyinvoke_system
takeAsRef<str>
#13175)Builder::invoke_system
takesAsRef<str>
nowBug Fixes
window
#13136) FixChannel
's callback attached towindow
never cleaned upcore:
in referenced commands #13150) Fix missingcore:
in referenced commands in ACL error messageHeaders
insendIpcMessage
#13227)invoke
will now properly throw whenoptions.headers
contains non-ascii characters instead of silently replacing themHeaders
insendIpcMessage
#13227) Fixinvoke
ignores the headers option if it's anHeaders
run_return
not responding torestart
#13040) Fixrun_return
not responding torestart
andrequest_restart
Performance Improvements
window
#13136) ImproveChannel
's performance when sending small amount of data (e.g. sending a number)Dependencies
tauri-utils@2.4.0
tauri-runtime@2.6.0
tauri-runtime-wry@2.6.0
tauri-macros@2.2.0
tauri-build@2.2.0
Breaking Changes
WebviewAttributes
fromtauri-runtime
which is exposed by accident intauri
and not used by any public facing APIs@tauri-apps/cli
[2.5.0]
New Features
bundleVersion
to iOS and macOS configuration to support specifying aCFBundleVersion
.Enhancements
npm_config_user_agent
firstios dev --open
).Bug Fixes
fileAssociations
missingLSHandlerRank
on macOS.rm -r src-tauri/gen/apple && tauri ios init
or remove thearm64-sim
architecture from the Xcode project.Dependencies
tauri-cli@2.5.0
tauri-cli
[2.5.0]
New Features
bundleVersion
to iOS and macOS configuration to support specifying aCFBundleVersion
.Enhancements
npm_config_user_agent
firstios dev --open
).Bug Fixes
fileAssociations
missingLSHandlerRank
on macOS.rm -r src-tauri/gen/apple && tauri ios init
or remove thearm64-sim
architecture from the Xcode project.Dependencies
tauri-utils@2.4.0
tauri-bundler@2.4.0
tauri-driver
[2.0.4]
Enhancements
.exe
extension on the application path intauri:options
.Bug Fixes