Skip to content

feat: add back/forward navigation APIs (fix #1735)#1748

Merged
Legend-Master merged 3 commits into
tauri-apps:devfrom
Buncys:navigation-apis
Jul 3, 2026
Merged

feat: add back/forward navigation APIs (fix #1735)#1748
Legend-Master merged 3 commits into
tauri-apps:devfrom
Buncys:navigation-apis

Conversation

@Buncys

@Buncys Buncys commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds back/forward navigation APIs and navigation state queries, as requested in #1735.

The following APIs were added:

  • go_back()
  • go_forward()
  • can_go_back() -> bool
  • can_go_forward() -> bool

Implementation

  • Windows (WebView2) GoBack / GoForward / CanGoBack / CanGoForward
  • macOS / iOS (WKWebView) goBack / goForward / canGoBack / canGoForward
  • Linux (WebKitGTK) go_back / go_forward / can_go_back / can_go_forward
  • Android goBack / goForward / canGoBack / canGoForward through JNI

Fixes #1735

@Buncys Buncys requested a review from a team as a code owner June 9, 2026 21:45
@Buncys Buncys force-pushed the navigation-apis branch from 7a95774 to 09641e9 Compare June 9, 2026 21:57
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through fdf82f5

There are 1 changes which include wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
wry 0.55.1 0.56.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Legend-Master
Legend-Master previously approved these changes Jul 3, 2026

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you also add a change file?

https://github.com/tauri-apps/wry/blob/dev/.changes/readme.md

@Legend-Master Legend-Master merged commit 871497a into tauri-apps:dev Jul 3, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add navigation state APIs

2 participants