跳转到内容
Tauri

tauri@2.2.0

此内容尚不支持你的语言。

New Features

  • f884bae75 (#11742 by @amrbashir) Add tauri::Builder::on_tray_icon_event handler.

  • 5188c0fae (#11767 by @FabianLars) Added Scope::is_forbidden to check if a path was explicitly forbidden.

  • 18bd639f6 (#11798 by @lars-berger) Add WebviewWindowBuilder/WebviewBuilder::data_store_identifier on macOS.

  • dc4d79477 (#11628 by @SpikeHD) Add WebviewWindowBuilder/WebviewBuilder::extensions_path on Linux and Windows.

  • 020ea0556 (#11661 by @ahqsoftwares) Add badging APIs:

    • Window/WebviewWindow::set_badge_count for Linux, macOS and IOS.
    • Window/WebviewWindow::set_overlay_icon for Windows Only.
    • Window/WebviewWindow::set_badge_labelfor macOS Only.
  • fc30b20be (#11726 by @amrbashir) Add TrayIconBuilder::show_menu_on_left_click method and deprecate TrayIconBuilder::menu_on_left_click for consistent naming and clarity.

Enhancements

  • d86aaccb0 (#11729 by @sandercox) Add support for TrayIconBuilder::menu_on_left_click and TrayIcon::set_show_menu_on_left_click on Windows.
  • b0ddee899 (#12101 by @renovate) Breaking change: Updated webview2-com to 0.34. This may be a breaking change if you use the with_webview method.

Bug Fixes

Dependencies

  • Upgraded to tauri-runtime@2.3.0
  • Upgraded to tauri-runtime-wry@2.3.0
  • Upgraded to tauri-utils@2.1.1
  • Upgraded to tauri-macros@2.0.4
  • Upgraded to tauri-build@2.0.4

© 2025 Tauri Contributors. CC-BY / MIT