Edit

Release SDK 1.0.2277.86, for Runtime 121 (Feb. 5, 2024)

Release notes for Microsoft Edge WebView2 SDK, release date: Feb. 5, 2024.

NuGet package for WebView2 SDK 1.0.2277.86

For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime 121.0.2277.86 (Feb. 5, 2024) or later.

Detailed contents:

Breaking changes

Navigations to about:blank are now cancellable via the NavigationStarting event. To revert to the old behavior, disable the msWebView2CancellableAboutNavigations feature flag.

Promotions to Phase 3 (Stable in Release)

The following APIs have been promoted from Phase 2: Stable in Prerelease, to Phase 3: Stable in Release, and are now included in this Release SDK.

ExecuteScriptWithResult provides exception info, and TryGetResultAsString

ExecuteScriptWithResult provides exception information if the script failed. TryGetResultAsString gets the script execution result as a string rather than as JSON, to make it more convenient to interact with string results:

Previous phase: ExecuteScriptWithResult provides exception info, and TryGetResultAsString in Prerelease SDK 1.0.2357-prerelease, for Runtime 122 (Jan. 30, 2024).

See also