Tauri 1.2 发布,桌面应用开发框架


Tauri 1.2 发布了,Tauri 是一个框架,用于为所有主要桌面平台构建小巧、快速的二进制文件。开发人员可以集成任何可编译为 HTML、JS 和 CSS 的前端框架,以构建他们的用户界面。应用程序的后端是一个基于 Rust 的二进制文件,带有一个前端可以与之交互的 API。

Tauri 应用程序的用户界面目前在 macOS 和 Windows 上利用 tao 作为窗口处理库,在 Linux 上通过 Tauri 团队孵化和维护的 WRY 利用 WebKit、Windows 上的 WebView2 和 Linux 上的 WebKitGTK 创建一个统一的系统 webview(和其他好东西,如菜单和任务栏)接口。

该版本改进包括:

  • Add accept_first_mouse option for macOS windows.
    • 95f467ad feat(core): add window accept_first_mouse option, closes #5347 (#5374) on 2022-10-17
  • Add new app-specific BaseDirectory enum variants AppConfig, AppData, AppLocalData, AppCache and AppLog along with equivalent functions in path module and deprecated ambiguous variants Log and App along with their equivalent functions in path module.
    • 5d89905e feat(api): add app-specific directory APIs, closes #5263 (#5272) on 2022-09-28
  • Set the correct mimetype when streaming files through asset: protocol
    • 39443b43 fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210) on 2022-09-30
    • 2d9c2b47 Revert "fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210)" on 2022-09-30
    • 9b1a6a1c fix(core): set correct mimetype for asset protocol streams, #5203 (#5536) on 2022-11-04
  • Disable automatic window tabbing on macOS when the tabbing_identifier option is not defined, the window is transparent or does not have decorations.
    • 4137ab44 feat(macos): add tabbing_identifier option, closes #2804, #3912 (#5399) on 2022-10-19
  • The custom protocol now validates the request URI. This has implications when using the asset protocol without the convertFileSrc helper, the URL must now use the asset://localhost/$filePath format.
    • 357480f4 feat(core): custom protocol headers on Linux, closes #4496 (#5421) on 2022-10-17
  • Escape glob special characters in files/directories when dropping files or using the open/save dialogs.
    • 4cbdf0fb fix(core): escape glob characters in drop/dialogs , closes #5234 (#5237) on 2022-10-05
  • Properly emit events with object payload.
    • 79dd6e16 fix(core): properly emit events with object payload, closes #5482 (#5492) on 2022-10-27
  • Fixes access to the WebviewWindow.getByLabel function in a tauri://window-created event listener.
    • e00b1e5f fix(core): update metadata before window-created listeners, closes #5191 (#5458) on 2022-10-22
  • Fixes resource reading being always rejected by the scope.
    • a06dc699 fix(core): canonicalize resource dir to fix scope check, closes #5196 (#5218) on 2022-09-29
  • Fixes __TAURI_PATTERN__ object freeze.
    • 49f06ca4 fix: deepfreeze check by prop (#5407) on 2022-10-17
  • Readd the option to create an unfocused window via the focused method. The focus function has been deprecated.
    • 4036e15f feat(core): reimplement window initial focus flag, closes #5120 (#5338) on 2022-10-08
  • Add hidden_title option for macOS windows.
    • 321f3fed feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965) on 2022-09-30
  • Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above.
    • 357480f4 feat(core): custom protocol headers on Linux, closes #4496 (#5421) on 2022-10-17
  • Add App::show(), AppHandle::show(), App::hide() and AppHandle::hide() for hiding/showing the entire application on macOS.
    • 39bf895b feat(macOS): Add application show and hide methods (#3689) on 2022-10-03
  • Fix a deadlock when modifying the menu in the on_menu_event closure.
    • ae65951b fix(core): fix deadlock in on_menu_event, closes #5254 (#5257) on 2022-09-28
    • 7d9aa398 feat: bump MSRV to 1.59 (#5296) on 2022-09-28
  • Resolve base system directory in shell scope.
    • 99fe1c56 fix(core): resolve base dir in shell scope, closes #5480 (#5508) on 2022-11-04
  • Added tabbing_identifier to the window builder on macOS.
    • 4137ab44 feat(macos): add tabbing_identifier option, closes #2804, #3912 (#5399) on 2022-10-19
  • Add title_bar_style option for macOS windows.
    • 321f3fed feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965) on 2022-09-30
  • Added methods to set the system tray title on macOS.
    • 8f1ace77 feat: expose set_title for MacOS tray (#5182) on 2022-09-30
  • Added the user_agent option when creating a window.
    • a6c94119 feat(core): expose user_agent to window config (#5317) on 2022-10-02

同时发布的还有 Tauri 1.1.2. 


相關推薦

2022-11-18

Tauri 1.2.0 已在上周正式发布。 Tauri 是一个桌面 UI 框架,可让开发者使用每个平台的 Webview 技术栈为所有主要桌面操作系统构建应用程序,目前支持 Windows/macOS/Linux 等平台。开发者通过 Tauri 几乎可以使用任何编译为 HTML、JS 和

2022-06-20

Tauri 1.0 已正式发布。 Tauri 是一个桌面 UI 框架,可让开发者使用每个平台的 Webview 技术栈为所有主要桌面操作系统构建应用程序,目前支持 Windows/macOS/Linux 等平台。开发者通过 Tauri 几乎可以使用任何编译为 HTML、JS 和 CSS 的前端

2023-05-04

Tauri 今天正式发布了 1.3.0 版本。 Tauri 是一个桌面 UI 框架,可让开发者使用每个平台的 Webview 技术栈为所有主要桌面操作系统构建应用程序,目前支持 Windows/macOS/Linux 等平台。开发者通过 Tauri 几乎可以使用任何编译为 HTML、JS

2023-01-20

StateOfJS 最新发布了 2022 年 JavaScript 现状调查报告指出,Solid 和 Qwik 等新兴前端框架正在挑战 React 的权威。该报告基于对近 40,000 名 Web 开发人员的调查,数量几乎是去年的两倍。 JavaScript 可能发展得很快,但 JavaScri

2023-05-04

Pake 已发布 2.0 正式版本,这是一款用 Rust 打包网页生成轻量级桌面 App 的工具。 更新日志 使用体验上:支持窗口位置大小记忆、文件下载、谷歌苹果外跳免登、超链接跳转优化、菜单栏里面支持打开任意地址跳转。 命

2023-07-14

这个版本主要更新了程序框架,把tauri从1.2版本升级到了1.4.1版本。 在功能方面: 新增: 新增milvus向量数据查询微应用 改进: 应用市场增加关键词搜索 相关截图:

2023-08-05

Dioxus 0.4 已发布。 Dioxus (dye•ox•us) 是一个用于在 Rust 中构建类似 React 用户界面的库。Dioxus 支持多平台:Web、桌面、移动、TUI 等。 核心特性 原生的桌面程序支持。 强大的状态管理工具。 支持所有 HTML 标签,监听器和

2023-01-19

达到了自维护状态(用户自问自答)。 Twitter 主要用于发布一些动态。目前还没有设立视频类频道,但是油管和B站已经有大量第三方制作的自建服务器教材视频,其中最受欢迎的油管视频有超过 329K+ 观看。   公共

2022-11-06

面环境,它是由 LXDE 和 Razor-qt 项目合并而成的。LXQt 正式发布了 LXQt 1.2.0,主要更新内容如下: 常规 LXQt 1.2.0 仍基于 Qt 5.15,即 Qt5 的最后一个 LTS 版本 LXQt 的文件管理器现在有了搜索历史,有了单独的名称和内容搜索列表

2023-07-15

RustDesk 1.2 现已发布,此版本采用Flutter重写桌面版本,支持Wayland被控。 一些值得关注的变化有: 用 Flutter 重写 支持ipv6(Beta) 增加一次性密码 QuickSupport (Beta) 硬件编解码器 H264 / H265(Beta) AV1编解码器 国际键盘

2023-06-17

Fresh 1.0 以来,已经过去了将近一年,如今 Fresh 1.2 正式发布,亮点功能如下: islands 是在服务器和客户端都渲染的独立组件,是 Fresh 设计的核心。如今可以在 island props 中传递 Preact、Uint8Arrays 和循环数据 向 island 传递 JSX,

2022-09-14

次发版仅两周的时间,Go 后端一站式开发框架 Go-Spring 又发布了新的版本,新版本实现了两个非常重要的特性:动态配置和 Bean 共享。 动态配置 有时候我们想要在不停机的情况下可以修改程序的配置,更改程序的行为,即所谓

2023-03-30

实践,美团内部已经有该理论成熟的应用经验 v1.1.2 发布记录 Feature 增加对 juc 线程池的动态调参能力,感谢@wenpan 的贡献 增加 ScheduledDtpExecutor,感谢@WindSearcher 的贡献 增加 spring-cloud-tencent 配置中心 polaris 的支持

2022-09-09

多任务状态 优化流程执行信息显示优化 优化流行模型发布后不允许被删除 fix: 流程模型复制功能不生效 fix: plumelog依赖导致的java.lang.NoClassDefFoundError: net/sf/json/JSONException 问题 fix: ijpay版本升级导致的 WxPayKit.verifyNotify 方