Edit

Prerelease SDK 1.0.1222-prerelease, for Runtime 102 (Apr. 12, 2022)

Release notes for Microsoft Edge WebView2 Prerelease SDK, release date: Apr. 12, 2022.

NuGet package for WebView2 SDK 1.0.1222-prerelease

For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 102.0.1222.0 or later; see Runtime 102.0.1245.22 (Jun. 14, 2022).

Detailed contents:

Experimental APIs

The following Experimental APIs have been added in this Prerelease SDK.

Server Certificate API

Added the Server Certificate API which provides an option to trust the server's TLS certificate at the application level and render the page without prompting the user about TLS or providing the ability to cancel the web request.

Favicon API

Added the Favicon API which provides a way to get the favicon when it changes or is set at a website.

Promotions to Phase 2 (Stable in Prerelease)

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

Multiple user profiles

Support for multiple user profiles in WebView2.

Previous phase: Multiple user profiles in Prerelease SDK 1.0.1018-prerelease, for Runtime 95 (Sep. 20, 2021).

Theming API

Theming API which provides a way to customize the WebView2 color theme as light, dark, or system.

The previous phase isn't in the release notes.

Default Download API

Default Download API which provides a way to customize the default download location.

The previous phase isn't in the release notes.

Bug fixes

  • Fixed ZoomFactor issue that incorrectly sets ZoomFactor value to the maximum value when it is out of bounds.

  • Fixed an issue in which WebView2 content can become blurry when moving between monitors with different scaling.

  • Fixed a bug where MouseEvent.movementX and MouseEvent.movementY will always be 0 in visual hosting mode. (Issue #2220)

  • Fixed log in issue caused by a password regression in WebView2. (Issue #2291)

  • Fixed a failure caused when a user opens a new app window and the webpage does not have a navigation entry assigned.

  • Fixed ICoreWebView2Frame::PostWebMessage functionality after source update. (Issue #2267)

See also