Edit

Release SDK 1.0.1245.22, for Runtime 102 (Jun. 14, 2022)

Release notes for Microsoft Edge WebView2 SDK, release date: Jun. 14, 2022.

NuGet package for WebView2 SDK 1.0.1245.22

For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime 102.0.1245.22 (Jun. 14, 2022) or later.

There is no corresponding prerelease package.

Detailed contents:

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.

Server Certificate API

The Server Certificate API which provides an option to trust the server's TLS certificate at the application level.

It renders the page without prompting the user about TLS or providing the ability to cancel the web request.

Previous phase: Server Certificate API in Prerelease SDK 1.0.1248-prerelease, for Runtime 102 (May 9, 2022).

ClearBrowsingData API

The ClearBrowsingData API which allows developers to programmatically clear specific data types for a duration:

  • ClearBrowsingData
  • ClearBrowsingDataAll
  • ClearBrowsingDataInTimeRange

Previous phase: ClearBrowsingData API in Prerelease SDK 1.0.1248-prerelease, for Runtime 102 (May 9, 2022).

HttpStatusCode API

The HttpStatusCode API which provides the HTTP status code for navigation requests in NavigationCompleted events.

The previous phase isn't in the release notes.

Bug fixes

  • Fixed an issue with the on-screen keyboard in which the keyboard doesn't reappear after it's closed by clicking the X button. Also fixed an issue in which the keyboard gets dismissed when users switch from one edit control to another within WebView2. (Issue #460)

  • Fixed an issue when using a proxy from AddHostObjectToScript in script. If you call setHostProperty and it failed, you could have received an internal error message structure rather than a JavaScript Error object.

  • Fixed regression where WebView2 would steal focus from the app when the WebView2 was made visible. (Issue #862)

  • Fixed a bug that caused increased memory usage with WebResourceRequested events using large data. (Issue #2171)

  • Fixed StatusBarTextChanged regression. The StatusBarText API was made compatible with previous versions again. (Issue #2414)

  • Better support for apps running as admin. (Issue #2356)

See also