Apply Version Updates From Current Changes #13123
Open
+263
−247
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 by @Legend-Master) 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 by @lucasfernog) Added
disableInputAccessoryView: bool
config for iOS.c1cd0a2 (feat: macOS/iOS: add option to disable or enable link previews when building a webview #13090 by @Simon-Laux) 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 by @Legend-Master) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationdd4f13c (feat: add
set_dock_visibility
method #13185 by @1111mp) Addedapp.setDockVisibility
for macOS.Enhancements
isTauri
runtime-unrelated #13145 by @typed-sigterm)core.isTauri
now leveragesglobalThis
instead ofwindow
in order to be used in unit tests.Bug Fixes
window
#13136 by @Legend-Master) 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 creationtauri-bundler
[2.4.0]
New Features
bundleVersion
to iOS and macOS configuration to support specifying aCFBundleVersion
.Enhancements
Bug Fixes
$
#13186 by @Legend-Master) Fix NSIS bundler can't include resources and sidecars with$
in the pathDependencies
[email protected]
tauri-runtime
[2.6.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185 by @1111mp) 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 by @Simon-Laux) - 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 by @lucasfernog) 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 by @Simon-Laux) 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 by @Legend-Master) Add
preventOverflow
config option to prevent the window from overflowing the monitor size on creationDependencies
[email protected]
tauri-runtime-wry
[2.6.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185 by @1111mp) 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 by @lucasfernog) 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 by @Simon-Laux) 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 by @Legend-Master) 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
[email protected]
[email protected]
tauri-codegen
[2.1.2]
Dependencies
[email protected]
tauri-macros
[2.1.2]
Dependencies
[email protected]
[email protected]
tauri-plugin
[2.1.2]
Dependencies
[email protected]
tauri-build
[2.1.2]
Dependencies
[email protected]
[email protected]
tauri
[2.5.0]
New Features
dd4f13c (feat: add
set_dock_visibility
method #13185 by @1111mp) 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 by @Simon-Laux) - 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 by @lucasfernog) 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 by @Simon-Laux) 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 by @Legend-Master) 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 by @Legend-Master) 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 by @Legend-Master)Webview::eval
andWebviewWindow::eval
now takesimpl Into<String>
instead of&str
to allow passing the scripts more flexible and efficientlyinvoke_system
takeAsRef<str>
#13175 by @Legend-Master)Builder::invoke_system
takesAsRef<str>
nowBug Fixes
window
#13136 by @Legend-Master) FixChannel
's callback attached towindow
never cleaned upcore:
in referenced commands #13150 by @Legend-Master) Fix missingcore:
in referenced commands in ACL error messagerun_return
not responding torestart
#13040 by @Legend-Master) Fixrun_return
not responding torestart
andrequest_restart
Performance Improvements
window
#13136 by @Legend-Master) ImproveChannel
's performance when sending small amount of data (e.g. sending a number)Dependencies
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
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
rm -r src-tauri/gen/apple && tauri ios init
or remove thearm64-sim
architecture from the Xcode project.Dependencies
[email protected]
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
rm -r src-tauri/gen/apple && tauri ios init
or remove thearm64-sim
architecture from the Xcode project.Dependencies
[email protected]
[email protected]