### Features
- [Windows] `getUrl()`, `getProgress()`, `canGoBack()` and `canGoForward()` return real values instead of placeholders. `webview_windows` publishes the current URL, the loading state and the history depth only as event streams, with no synchronous getter, while the platform interface asks for them on demand — so `getUrl()` was a hardcoded `null` and `getProgress()` a hardcoded `100`. `InAppWebViewWindowsController` is the long-lived owner of the `WebviewController` and the only listener that can cache them (`url` is a single-subscription stream), so it now subscribes once to `url` / `loadingState` / `historyChanged`, mirrors them, and answers the four getters from that cache; progress maps `loading` → `0` and `navigationCompleted` → `100`, the same mapping `onProgressChanged` already reports. The widget reads the cached URL instead of opening a second subscription, so the URL handed to `onLoadStart`/`onLoadStop` and the one returned by `getUrl()` cannot drift apart (#367)
### Bug Fixes
- [Windows] Load events are no longer dropped. Every `onLoadStart` / `onLoadStop` / `onProgressChanged` callback vanished while the WebView rendered normally and the host waited forever for an `onLoadStop` that never arrived. `dispatchLoadingStateChange` declared its `controller` parameter as `PlatformInAppWebViewController`, but the value forwarded to the callbacks is whatever `params.controllerFromPlatform` returned, and in the federated plugin that is the app-facing `InAppWebViewController`, which *wraps* a `PlatformInAppWebViewController` instead of implementing one. The implicit downcast therefore threw a `TypeError` inside a `Stream.listen` callback, where it escaped as an unhandled zone error and killed the event. The parameter is now typed `Object` — the shape the `void Function(T, ...)` callback contract actually passes (#368)
- [Windows] An unmounted `InAppWebView` no longer leaks its platform controller. `InAppWebViewWindowsController` holds three `WebviewController` stream subscriptions, and `WebviewController.dispose()` never closes its stream controllers, so those listeners outlived the widget and kept the graph alive. The controller is created asynchronously in `initPlatformState`, held on the `State`, and disposed from `State.dispose()` — mirroring `MacOSInAppWebViewWidget` — with teardown forwarded immediately when the state was torn down while the win32 environment was still coming up (#367)
- [Android] The first `window.open()` popup is reported to Dart with `windowId` 1 instead of 2. `InAppWebViewChromeClient.onCreateWindow` allocated an id at the top of the request, then allocated a *second* one inside `shouldOverrideUrlLoading` and forwarded that one, burning an id and shifting every popup id reported to Dart (#362)
- [Android] `window.open()` no longer throws when a parked `WebViewTransport` has been recycled. The parked `Message` was read with `get()` and left in `windowWebViewMessages`, while `onCreateWindow`'s default-behaviour callback re-parked a message whose `obj` the Looper had already recycled to `null`, so a later creation for the same `windowId` dereferenced null. The message is now consumed with `remove()` on lookup, `obj` is null-checked, and the popup URL reaches Dart through the `CreateWindowAction` request instead of a re-parked message. Both consumers also fall back to their own initial load when the transport could not be wired — previously `InAppBrowserActivity` and the platform-view path both skipped it, leaving a blank window (#357)
- [iOS] `webAuthenticationSupport` no longer claims a level it never applied. No iOS version exposes a `webAuthenticationSupport` key on `WKWebView` / `WKWebViewConfiguration` — the symbol is absent from every WebKit header, and the runtime `responds(to:)` guard is false on the iOS 26.3 simulator runtime — so both non-`NONE` levels were dropped without a word and `getRealSettings()` echoed the *requested* value out of its `toMap()` seed. `FOR_BROWSER` and `FOR_APP` now log a native diagnostic at WebView creation, including below the iOS 16.4 availability gate where the in-block `else` is unreachable, and the read-back reports the applied level only: such a WebView reads back as `NONE`, which means "no passkeys are enabled via this setting", not "FOR_BROWSER was requested" (#352)
- [macOS] The same honesty fix as iOS: `webAuthenticationSupport` is unsupported on every macOS version — `WKWebViewConfiguration` exposes no public `webAuthenticationSupport` on any macOS SDK, and the KVC path behind the `responds(to:)` guard is false at runtime — so a requested `FOR_BROWSER` or `FOR_APP` is now reported at creation instead of vanishing, and `getRealSettings()` reports the applied level (`NONE`) rather than echoing the request out of `toMap()` (#351)
- [iOS] Window access goes through the UIScene lifecycle. `UIApplication.shared.keyWindow`, `UIApplication.shared.windows` and `UIApplication.shared.delegate?.window` are deprecated, and the AppDelegate `window` is `nil` once an app adopts the UIScene lifecycle — mandatory with the iOS 27 SDK — which left `HeadlessInAppWebView`, `InAppBrowser` teardown, `visibleViewController` and the `ASWebAuthenticationSession` presentation anchor with no window to use. A new `UIApplication.sceneKeyWindow` extension resolves the foreground-active connected `UIWindowScene`'s `keyWindow`, consulting another connected scene only when no foreground-active scene exists (a foreground-active scene whose `keyWindow` is momentarily `nil` still yields `nil`), and every one of those call sites now uses it (#355)
- Held `zuraffa_session` at `>=1.1.0 <1.2.0` so Flutter Web consumers stop resolving zuraffa 7.x, whose CLI subtree (`lib/src/cli/zfa_executable.dart`, reachable from the public barrel) uses 64-bit integer literals that fail dart2js. 1.2.0 differs from 1.1.0 only by widening its `zuraffa` constraint to `^7.0.1` — the session code is identical. Note the cap also keeps `zuraffa` below 7.0.0 on every platform, not just under dart2js: an app whose graph requires `zuraffa: ^7.x` will fail pub version solving after taking this release, where previously only its Web build failed. Root cause upstream: arrrrny/zuraffa#1729 (#363)
### Internal
- `scripts/local_ci.sh` runs the repository's GitHub Actions workflow locally. GitHub Actions is billing-blocked on these repos — every run ends in ~3 s with zero steps executed — so a red check meant nothing; the script reads `.github/workflows/*` at run time and executes that workflow's jobs and steps in order, which is why it cannot drift from CI. It prints what it cannot reproduce (Linux runners, GitHub context, `uses:` actions, container jobs) instead of guessing, and reports a step that fails naming only gitignored/untracked paths as LOCAL-ONLY rather than as a CI failure. Documented in AGENTS.md
- The `webAuthenticationSupport` documentation in the platform interface now states the truth instead of a supported-versions list: a per-value matrix (`NONE` / `FOR_APP` / `FOR_BROWSER` × Android/iOS/macOS/Windows/Linux/Web), an explicit definition of "applied" vs "ignored", the iOS/macOS warning-and-read-back-`NONE` behavior, and the fact that no Apple platform offers a browser-mode WebAuthn surface for arbitrary relying parties — passkey ceremonies there are gated by the host app's `webcredentials` Associated Domains entry plus `apple-app-site-association`, not by this setting
- Every fix above is guarded by tests runnable on any host: `window_open_id_allocation_test` and `window_open_transport_test` (Android), `swift_uiscene_window_api_test` and `web_authentication_support_ios_test` (iOS), `web_authentication_support_macos_test` (macOS), and `in_app_webview_windows_load_events_test` / `in_app_webview_windows_navigation_state_test` / `in_app_webview_windows_widget_wiring_test` (Windows). The Swift ones read the `.swift` files as text, so they are evidence about code shape only — `build-ios` and `build-macos` are what prove the sources compile
- `PUBLISH.md` records the 6.2.0 release gotchas: an `HTTPS_PROXY` with embedded credentials makes pub reject every command (run the pub-touching scripts with the proxy unset), `restore_dev_setup.sh` must not be the last step of a release because it writes `path:` entries under `dependencies:` and turns `invalid_dependency` into a warning that fails CI, and `publish.sh` runs `dart format lib/` per package so a formatting pre-check belongs before the release starts
---