chore(deps): update tauri monorepo to v2 (major) #7
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.
This PR contains the following updates:
^1.6.0->^2.4.0^1.6.3->^2.4.01.8.2->2.4.01.5.6->2.1.0Release Notes
tauri-apps/tauri (@tauri-apps/api)
v2.4.0: tauri v2.4.0Compare Source
Cargo Audit
[2.4.0]
New Features
be2e6b85f(#12944 by @Simon-Laux) addWindow.is_always_on_top()andWebviewWindow.is_always_on_top()c10802425(#12710 by @WSH032) deriveClonefortauri::ExitRequestApi.cedb24d49(#12665 by @charrondev) AddedWebview::cookies(),Webview::cookies_for_url(),WebviewWindow::cookies()andWebview::cookies_for_url().20c190691(#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascriptandWebviewWindowBuilder.disable_javascriptapi to disable JavaScript.060de5bbd(#12837 by @niladrix719) AddedgetIdentifier()function to get the application identifier configured in tauri.conf.json658e5f5d1(#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.5591a4f0b(#12912 by @Daedaluz) Change webview zoom on mousewheel when thezoom_hotkeys_enabledconfiguration is set totrue.bcdd51025(#13012 by @lucasfernog) Thepathbasename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.bcdd51025(#13012 by @lucasfernog) AddedPathResolver::file_nameto resolve file names from content URIs on Android (leveratingstd::path::Path::file_nameon other platforms).c698a6d6f(#12818 by @Simon-Laux) feat: addWebview.reloadandWebviewWindow.reload013f8f652(#12890 by @Legend-Master) Addedbuild > 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.35018eed0(#12996 by @Legend-Master) IntroduceAppHandle::request_restart()as an alternative toAppHandle::restart()to trigger exit event reliably30f5a1553(#12366 by @FabianLars) AddedWebviewWindowBuilder::traffic_light_positionto set the traffic light buttons position on macOS.30f5a1553(#12366 by @FabianLars) AddedtrafficLightPositionwindow configuration to set the traffic light buttons position on macOS.Enhancements
55ffa23c9(#12855 by @lucasfernog) Fix docs.rs build for mobile targets.f2c94aaca(#12682 by @lucasfernog) AddPlugin#startIntentSenderForResultAndroid API for mobile plugins.Bug Fixes
755533c51(#12876 by @amrbashir) RemovedTSend: Clonerequirement forChannel<TSend>by implementingClonemanually instead of driving it.f98598817(#12870 by @lucasfernog) Update path plugin to use older dataDir API on SDK < 24.f67a4a6bf(#12971 by @WofWca) Fixtauri::AssetResolver::getandtauri::AssetResolver::get_for_schemeskipping the first character of the
patheven if it's not a slash (/).dc90cd391(#12911 by @Daedaluz) Listen forCtrl +orCmd +to support zoom functionality in swedish keyboard layouts.b05f82d35(#12313 by @anatawa12)AppHandle::restart()now waits forRunEvent::Exitto be delivered before restarting the application.Performance Improvements
1cd8f55ee(#13033 by @Legend-Master) Don't ship globalbundle.global.jsifapp > withGlobalTauriis set to falseDependencies
tauri-runtime@2.5.0tauri-runtime-wry@2.5.0tauri-utils@2.3.0tauri-build@2.1.0tauri-macros@2.1.0Cargo Publish
v2.3.0: @tauri-apps/api v2.3.0Compare Source
PNPM Audit
[2.3.0]
Enhancements
a2d36b8c3(#12181 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).PNPM Publish
v2.2.0: @tauri-apps/api v2.2.0Compare Source
PNPM Audit
[2.2.0]
New Features
020ea0556(#11661 by @ahqsoftwares) Add badging APIs:Window/WebviewWindow::set_badge_countfor Linux, macOS and IOS.Window/WebviewWindow::set_overlay_iconfor Windows Only.Window/WebviewWindow::set_badge_labelfor macOS Only.fc30b20be(#11726 by @amrbashir) AddTrayIcon.setShowMenuOnLeftClickmethod and deprecateTrayIcon.setMenuOnLeftClickto match the Rust API.fc30b20be(#11726 by @amrbashir) AddTrayIconOptions.showMenuOnLeftClickfield and deprecateTrayIconOptions.menuOnLeftClickto match the Rust API.Enhancements
fc30b20be(#11726 by @amrbashir) Add support forTrayIconOptions.menuOnLeftClickoption andTrayIcon.setMenuOnLeftClickon Windows.Bug Fixes
a16796a55(#12069 by @Legend-Master) FixChannelnever callsonmessagein some cases12a48d1e2(#11741 by @amrbashir) Fix error when callingPredefinedMenuItem.newto create anAboutmenu item that uses anImageinstance for the about icon.12a48d1e2(#11741 by @amrbashir) Fix error when callingIconMenuItem.newusing anImageinstance for the icon.b63262cd4(#11724 by @FabianLars) Removed the generic in the type of the callback function argument inmockIPCwhich prevented its proper use in tests using TypeScript.a6e84f7d2(#11835 by @ilittlebig) Fix error where usingisAbsolutewould returnCommand not found.PNPM Publish
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.