1107 Commits

Author SHA1 Message Date
github-actions[bot]
9fa99b14fd apply version updates (#1656)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.54.1 wry-v0 wry-v0.54
2026-01-18 16:55:21 +01:00
Marc Espin
6704b207ac feat: Derive PartialEq in Rect (#1655)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2026-01-18 16:53:45 +01:00
github-actions[bot]
598e22a971 apply version updates (#1627)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.54.0
2026-01-15 14:29:14 +01:00
Youn Mélois
4fcff147b5 fix: set WebKitGTK WebsiteDataManager's base_cache_directory (#1547)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2026-01-15 14:21:42 +01:00
Tony
fd0ccdc94c refactor: share custom protocol work around logic (#1645) 2026-01-15 13:28:52 +01:00
renovate[bot]
64d92960b9 chore(deps): update rust crate webkit2gtk to v2.0.2 (#1640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <github@fabianlars.de>
2026-01-15 13:25:43 +01:00
Tunglies
ff8876d92b refactor: improve performance in wkwebview by optimizing string handling and memory usage (#1652)
* refactor: improve performance in wkwebview by optimizing string handling and memory usage

* refactor: replace NSString with ns_string for improved performance and memory management
2026-01-15 10:04:47 +08:00
Tunglies
51d06d0cec refactor: remove redundant clones in WebView and download handling (#1646)
* refactor: remove redundant clones in WebView and download handling

* Update .changes/cleanup-redundant-clone.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

---------

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
2026-01-04 16:28:31 +09:00
Tunglies
7b77322f88 fix: clippy io_other_error errors (#1647) 2025-12-28 23:28:39 +08:00
Kevin Gimbel
2e4850a583 fix: add missing backtick which breaks formatting in docs (#1635) 2025-11-29 17:01:18 +09:00
Lucas Fernandes Nogueira
5fdd1a9840 refactor(android): use OnBackPressedCallback (#1625)
* refactor(android): use OnBackPressedCallback

see https://developer.android.com/reference/android/app/Activity#onBackPressed()

* fix

* fmt
2025-11-10 07:30:59 -03:00
lon
a0403b9e2f docs: simpler dependencies with Nix on README (#1629)
The previous `shell.nix` version is quite opinionated. Users of `nix` would be expected to know how to build their own `mkShell`, based on this simple `nix-shell` command.
2025-10-27 19:47:18 +01:00
FabianLars
27ba73f077 Revert "temporarily remove changefiles"
This reverts commit 2bfe45f48a.
2025-10-22 11:40:11 +02:00
FabianLars
2bfe45f48a temporarily remove changefiles wry-v0.53 wry-v0.53.5 2025-10-22 11:39:51 +02:00
Fabian-Lars
37b81221e0 chore: manually trigger release for 0.35.5 to fix docsrs (#1628) 2025-10-22 11:37:27 +02:00
Jeff Tsang
84b0ec2e35 feat(ios/macos): Add handler for web content process termination (#1624)
* Add handler for web content process termination

* Move handler to platform specific attributes

* chore: code format

---------

Co-authored-by: Jason Tsai <git@pews.dev>
2025-10-15 18:04:40 +09:00
Fabian-Lars
9604b0e9fa chore: remove rustc/rustdoc args for docsrs cfg to fix docs.rs builds (#1626) 2025-10-15 18:03:44 +09:00
github-actions[bot]
7dbc918799 apply version updates (#1611)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.53.4
2025-10-06 15:43:16 -03:00
Lucas Fernandes Nogueira
093856a2a5 feat(android): add flag to opt out of automatic back navigation (#1622)
needed by https://github.com/tauri-apps/tauri/pull/14133
see https://github.com/tauri-apps/tauri/pull/14133#issuecomment-3361224695
2025-10-06 15:41:24 -03:00
Fabian-Lars
48e5e9903f fix(linux): improve download handler's default filename fallback logic (#1613) 2025-09-08 16:26:09 +02:00
Daniel Gerhardt
0f51d67485 fix(linux): remove harmful request loading workaround (#1605)
* fix(linux): remove harmful request loading workaround

The `WebViewUriLoader` is a workaround for an unknown concurrency bug in
WebKitGTK. It is now removed because
* it introduces a deadlock situation,
* it disables parallel loading when initializing multiple webviews, and
* the bug can no longer be reproduced using current WebKitGTK versions.

Closes https://github.com/tauri-apps/tauri/issues/12589
Refs https://github.com/tauri-apps/wry/pull/359

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-08-27 13:29:35 -03:00
github-actions[bot]
aaafa7c861 apply version updates (#1610)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.53.3
2025-08-27 12:24:47 -03:00
Lucas Fernandes Nogueira
6aa5854b03 fix(macos): webview_version crash if com.apple.WebKit is not found (#1609) 2025-08-27 10:23:34 -03:00
github-actions[bot]
cb36e77dad apply version updates (#1606)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.53.2
2025-08-25 09:54:46 -03:00
Lucas Fernandes Nogueira
1743e7f9c1 fix(macos): new_window_req_handler crashing when using custom data store (#1608) 2025-08-25 09:52:53 -03:00
github-actions[bot]
4b44ebb202 apply version updates (#1604)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.53.1
2025-08-16 13:43:06 -03:00
Lucas Fernandes Nogueira
ccdf912621 fix: build without x11 feature (#1603)
* fix: build without x11 feature

* fix tests

* fix example

* fix async protocol example

* fix other examples

* pub fn
2025-08-16 13:40:47 -03:00
github-actions[bot]
a6fbc57aa6 apply version updates (#1597)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.53.0
2025-08-16 10:22:50 -03:00
Daniel Gerhardt
88cbb019a8 fix(linux): deadlock in WebViewUriLoader (#1561)
* fix(linux): deadlock in WebViewUriLoader

A deadlock could occur, when a WebView was destroyed before handling
`LoadEvent::Finished`.

Refs https://github.com/tauri-apps/tauri/issues/12589

* unregister listeners

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-08-16 10:20:42 -03:00
Lucas Fernandes Nogueira
3f978d3290 refactor: allow new_window_req_handler to create the webview on its own (#1601)
* feat(linux): craete webview on new_window_req

follow-up for #1596

ref https://github.com/tauri-apps/tauri/pull/13876

* refactor: allow new_window_req_handler to create the webview on its own

* add webview getter

* clippy regression

* macos fixes

* enhance platform support

* fix deadlock on windows

* fix mac build
2025-08-16 09:13:15 -03:00
Fabian-Lars
1456f8e33a fix: Allow downloads by default on linux/macos to match windows behavior (#1602) 2025-08-15 15:25:11 +02:00
Lucas Fernandes Nogueira
5399823a1e feat(linux): craete webview on new_window_req (#1600)
follow-up for #1596

ref https://github.com/tauri-apps/tauri/pull/13876
2025-08-13 15:10:29 -03:00
Fabian-Lars
af1cc1334a fix(macos/ios): prepend the Downloads dir to the suggested download path (#1599)
* fix(macos/ios): prepend the Downloads dir to the suggested download path

* typo

* numerate files
2025-08-13 15:10:15 -03:00
Lucas Fernandes Nogueira
eb562ca993 fix(macos): new_window_req not firing on window.open (#1596)
* fix(macos): new_window_req not firing on window.open

currently the new_window_req_handler is fired on navigation events, which is incorrect as it calls the handler on iframe navigations and doesn't call it on window.open calls, not matching behavior on other platforms

this PR changes it to run under [`webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:`](https://developer.apple.com/documentation/webkit/wkuidelegate/webview(_:createwebviewwith:for:windowfeatures:)?language=objc) instead

I've noticed this when testing https://github.com/tauri-apps/tauri/pull/13876

* fix build

* fix coordinates

* fix features
2025-08-13 13:20:49 -03:00
Fabian-Lars
66c91aa9b3 docs: small formatting fixes 2025-08-13 17:06:06 +02:00
Fabian-Lars
cb2ba95ae3 chore: Port readme changes into lib.rs (#1598) 2025-08-13 16:59:29 +02:00
Fabian-Lars
ce377e2783 ci: Rename covector release branch 2025-08-13 16:39:14 +02:00
Fabian-Lars
78634b3d4d fix(linux): set suggested filename for download started handler (#1594) 2025-08-13 15:49:25 +02:00
Zephiris Evergreen
43e78ff6b0 Feat: add WebViewBuilder::with_limit_navigations_to_app_bound_domains (#1588)
* Added `with_limit_navigations_to_app_bound_domains` to WebViewBuilder

* Update .changes/app-bound-domains.md

---------

Co-authored-by: Jason Tsai <git@pews.dev>
2025-07-16 14:32:08 +09:00
Fabian-Lars
6a89f46646 docs(readme): remove leftover partial feature description (#1585) 2025-07-11 22:14:19 +09:00
bobo
7c7c0bfbf0 docs(readme): fix various typos (#1582) 2025-07-10 11:04:11 +02:00
Oleh Dolhov
35022fa9bb fix(macos): don't panic if Request can't be constructed (#1554) 2025-07-02 12:53:12 +02:00
Sean Wang
60dba38ddc feat: add WebView::set_cookie and WebView::delete_cookie (#1569)
* feat: add `WebView::set_cookie` and `WebView::delete_cookie`

* feat: implement for `wkwebview`

* chore: changes-files

* feat: implement SameSite cookie policy for wkwebview

* refactor: use `&` instead of `&*`

* refactor: remove `debug_assert` for `HttpOnly`

* docs: add `delete_cookie` in example

* chore: remove redundant samesite setting

---------

Co-authored-by: Jason Tsai <git@pews.dev>
2025-07-02 00:38:00 +09:00
github-actions[bot]
27c59161ec apply version updates (#1574)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wry-v0.52.1 wry-v0.52
2025-06-26 11:21:32 +02:00
Tony
c9978bcec4 ci: enable create-pull-request sign commits (#1575) 2025-06-26 11:15:25 +02:00
Tony
63eaab80ba fix(windows): Drop::paths returns random data (#1573) 2025-06-26 11:07:42 +02:00
github-actions[bot]
180458bdf3 apply version updates (#1549)
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com>
wry-v0.52.0
2025-06-24 13:27:09 -03:00
Fabian-Lars
41f4a3a65e feat(windows): Use new webview2 background color api (#1572) 2025-06-24 13:22:12 -03:00
Lucas Nogueira
b40bdb1026 chore: update tao to 0.34 2025-06-24 12:31:51 -03:00
renovate[bot]
99dab51fef chore(deps): update rust crate webview2-com to 0.38 (#1570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-06-24 14:13:03 +02:00