Update tauri monorepo to v2 (major) #258
Open
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.9.11.5.6→2.9.61.5.2→2.0.01.5.0→2.0.0Release Notes
tauri-apps/tauri (@tauri-apps/api)
v2.9.1: @tauri-apps/cli v2.9.1Compare Source
[2.9.1]
Dependencies
tauri-cli@2.9.1v2.9.0: @tauri-apps/cli v2.9.0Compare Source
[2.9.0]
New Features
3b4fac201(#14194) Addtauri.conf.json > bundle > android > autoIncrementVersionCodeconfig option to automatically increment the Android version code.673867aa0(#14094) Try to detect ANDROID_HOME and NDK_HOME environment variables from default system locations and install them if needed using the Android Studio command line tools.3d6868d09(#14128) Added support to defining the content type of the declared file association on macOS (maps to LSItemContentTypes property).3d6868d09(#14128) Added support to defining the metadata for custom types declared intauri.conf.json > bundle > fileAssociations > exportedTypevia theUTExportedTypeDeclarationsInfo.plist property.ed7c9a410(#14108) Addedbundle > macOS > infoPlistandbundle > iOS > infoPlistconfigurations to allow defining custom Info.plist extensions.75082cc5b(#14120) Addedios runandandroid runcommands to run the app in production mode.cc8c0b531(#14031) Added support to universal app links on macOS with theplugins > deep-link > desktop > domainsconfiguration.Enhancements
b5aa01870(#14268) Update cargo-mobile2 to 0.21, enhancing error messages and opening Xcode when multiple apps are installed.55453e845(#14262) Check mismatched versions intauri info1a6627ee7(#14122) Set a default log level filter when runningtauri add log.b06b3bd09(#14126) Improve error messages with more context.f6622a3e3(#14129) Prompt to install the iOS platform if it isn't installed yet.6bbb530fd(#14105) Warn if productName is empty when initializing mobile project.Bug Fixes
19fb6f7cb(#14146) Strip Windows-only extensions from the binary path so an Android project initialized on Windows can be used on UNIX systems.19fb6f7cb(#14146) Enhance Android build script usage on Windows by attempting to run cmd, bat and exe formats.28a2f9bc5(#14101) Fix iOS CLI usage after modifying the package name.d2938486e(#14261) Replaced the non-standard nerd font character withⱼₛintarui info25e920e16(#14298) Wait for dev server to exit before exiting the CLI when the app is closed ontauri dev --no-watch.b0012424c(#14115) Resolve local IP address whentauri.conf.json > build > devUrlhost is0.0.0.0.abf7e8850(#14118) Fixes mobile project initialization when usingpnpxorpnpm dlx.Dependencies
tauri-cli@2.9.0v2.8.0: tauri v2.8.0Compare Source
Cargo Audit
[2.8.0]
New Features
68874c68c(#13564 by @robertrpf) Add window focusable attribute and set_focusable API.22d6bcacb(#14008 by @WSH032) ImplementApp::set_device_event_filterforAppHandlealso.d6d5f3707(#13358 by @lucasfernog) Load root certificate from CLI-set environment variable and use it on the mobile dev server proxy.33d0b3f0c(#13876 by @thlstsul) AddedWebviewBuilder::on_document_title_changedandWebviewWindowBuilder::on_document_title_changed.33d0b3f0c(#13876 by @thlstsul) AddedWebviewBuilder::on_new_windowandWebviewWindowBuilder::on_new_window.7c2eb31c8(#13895 by @ahqsoftwares) IntroducesPluginHandle::run_mobile_plugin_asyncas an async alternative torun_mobile_plugindfadcb764(#13661 by @WSH032) AddedWebview::set_cookie(),Webview::delete_cookie(),WebviewWindow::set_cookie()andWebviewWindow::delete_cookie().5110a762e(#13830 by @Sky-walkerX) AddedWindow::set_simple_fullscreen.Enhancements
7261a1436(#14012 by @WSH032) ImplementedWebview::on_webview_eventforWebviewWindowas well0e6b5cbe5(#14009 by @WSH032) re-exportPixelUnit,PhysicalUnit,LogicalUnita3dc42477(#14013 by @WSH032) exportTitleBarStylefor all platforms.f1232671a(#13959 by @petersamokhin) Introducewith_inner_tray_iconfor TauriTrayIconto access the inner platform-specific tray icon.Note that
tray-iconcrate may be updated in minor releases of Tauri.Therefore, it’s recommended to pin Tauri to at least a minor version when you’re using
with_inner_tray_icon.72b4226ee(#13809 by @Beanow) ReducedDebugformat size for binary buffers.21ebc6e82(#14007 by @WSH032) Changed the parameter type ofAppHandle::remove_pluginfrom&'static strto&str.5ba1c3faa(#13722 by @s00d) Added icon (icon and nativeIcon) support for Submenu:tauri), you can now set an icon for submenus via the builder and dedicated methods.@tauri-apps/api),SubmenuOptionsnow has aniconfield, and theSubmenuclass providessetIconandsetNativeIconmethods.This is a backwards-compatible feature. Submenus can now display icons just like regular menu items.
Dependencies
tauri-utils@2.7.0tauri-runtime-wry@2.8.0tauri-runtime@2.8.0tauri-macros@2.3.3tauri-build@2.3.2Cargo Publish
v2.7.0: tauri v2.7.0Compare Source
Cargo Audit