Announcing the Tauri v2 Beta Release
Tauri v2 has been in progress for over a year and it is now ready to take the next step towards being stable! We have just released Tauri v2.0.0-beta.0 which represents a major milestone from our roadmap.
The v2 release introduces mobile support to Tauri and also comes with several new features that have been requested by the community. Let’s get a high level overview of the major changes:
Developing an application for desktop and mobile has never been easier. Tauri v2 is a huge statement on cross platform development now that we support Android and iOS. You can bring your existing desktop implementation and seamlessly port it to mobile, with access to native APIs and the great developer experience of the Tauri CLI.
The v1 allowlist is a good tool for securing your frontend from accessing unnecessary APIs, but its configuration is not fine grained and it lacks multiwindow support. The 2.0.0-beta.0 release includes a new approach for command access based on Access Control List. It is now possible to allow commands and define scopes for specific windows or even remote URLs.
v2 includes many of the most requested features by the Tauri community:
Additionally, there is a new channel API so you can quickly send data from Rust to your frontend.
Tauri now supports adding multiple webviews to a single window. This is also a highly anticipated feature request.
Note this is still an unfinished feature that is hidden behind an
unstable Cargo feature flag while we review the API design together with the community.
Several new window APIs have been implemented, making your app much more configurable.
The v2 release comes with some mobile native API support by default. Currently there is support for notifications, dialogs, NFC, barcode reading, biometric authentication, clipboard and deep link. More APIs will be added soon after the stable release.
We are currently being audited to ensure v2 is safe, similar to what we did for the v1 stable release.
The API is not stable yet, but no major changes are expected. As soon as the audit is completed and the changes are done, we will promote to a Release Candidate and a v2 stable release soon after that. Stay tuned!
© 2024 Tauri Contributors. CC-BY / MIT