wry@0.24.0
Ce contenu n’est pas encore disponible dans votre langue.
- Changed env vars used when building for Android; changed
WRY_ANDROID_REVERSED_DOMAINtoWRY_ANDROID_PACKAGEandWRY_ANDROID_APP_NAME_SNAKE_CASEtoWRY_ANDROID_LIBRARY. - Fixes Android initialization scripts order.
- Remove redundant
.clone()calls and avoid unnecessary heap allocations. - Change return type of custom protocol handlers from
Result<Response<Vec<u8>>>toResult<Response<Cow<'static, [u8]>>>. This allows the handlers to return static resources without heap allocations. This is effective when you embed some large files like bundled JavaScript source as&'static [u8]usinginclude_bytes!. - Ensures that the script passed to
.with_initialization_script("here")is not empty. - Add APIs to process webview document title change.
- Evaluate scripts after the page load starts on Linux and macOS.
- Improve panic error messages on the build script.
- Add
WebViewBuilder::with_url_and_headersandWebView::load_url_with_headersto navigate to urls with headers. - Change class declare name from
UIViewControllertoWryNavigationDelegateto avoid class name conflict on iOS. - Rerun build script if the
WRY_ANDROID_KOTLIN_FILES_OUT_DIRdirectory changes. - On Windows, Add
WebviewBuilderExtWindows::with_themeandWebviewExtWindows::set_themeto change webview2 theme.
© 2025 Tauri Contributors. CC-BY / MIT