Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Release notes for Microsoft Edge WebView2 Prerelease SDK, release date: Feb. 10, 2021.
NuGet package for WebView2 SDK 1.0.790-prerelease
This Prerelease version of the WebView2 SDK requires Microsoft Edge version 86.0.616.0 or later; see Runtime 86.0.705.50 (Jan. 25, 2021).
Detailed contents:
Breaking changes
Prerelease package 1.0.781 is deprecated
WebView2 prerelease package 1.0.781 is deprecated. Discontinue development with package 1.0.781.
Prerelease package 0.9.430 is deprecated
WebView2 prerelease package 0.9.430 is deprecated, and is removed with the next release. If your WebView2 app uses the package, the WebView2 team recommends that you move to a newer package.
Features
Added TrySuspend and Resume method to suspend and resume WebViews.
Added SetVirtualHostNameToFolderMapping method that maps a virtual host name to a directory path. (Issue #37, Issue #161, and Issue #212).
Added the DefaultBackgroundColor property to set the color and alpha-channel of the background. (Issue #414).
Added the UserAgent property to get or set the User Agent. (Issue #122).
Replaced the
CreateCookieWithCookiemethod with theCopyCookiemethod.Added visual hosting support using the ICoreWebView2CompositionController interface, which is created using the new
CreateCoreWebView2CompositionControllermethod fromICoreWebView2Environment3.
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.
- Visual Hosting APIs
- SetVirtualHostNameToFolderMapping
Bug fixes
Turned off the Microsoft Edge Shopping feature in WebView2.
Turned off the context menu in the PDF viewer when
AreDefaultContextMenusEnabledisfalse. (Issue #605).Fixed a bug that returned
E_NOINTERFACEwhen queryingICoreWebView2forICoreWebView2Experimental. (Issue #691).Fixed a bug that allowed navigation with malformed URIs when
CoreWebView2NavigationStartingEventArgs.Cancelis set tofalse. (Issue #400).Fixed a bug that blocked
window.print()on pop-up windows with event handlers attached toNewWindowRequestedevents. (Issue #409).Fixed Dynamic DPI issue when moving apps between different monitors. (Issue #58)
Improved the
HRESULTinstances passed by ICoreWebView2WebResourceResponseViewGetContentCompletedHandler::Invoke.Turned off autofill manage button. (Issue #585).
Fixed Visual Studio crashes while you run
WebView2.Disposewhen hosted in multiple windows. (Issue #816) and Issue #442).Fixed bug to display WebView2 control in Visual Studio Toolbox. (Issue #210).
Reduced high CPU usage issues. (Issue #878).
Fixed issues with deprecated 1.0.781-prerelease package. (Issue #875 and Issue #878).
.NET
Bug fixes
Fixed bug that crashed WebView2 apps that use the WPF SDK. The crash occurred when pressing F4 to close a window. (Issue #399).
The WebView2 initialization screen is now transparent, instead of gray. (Issue #196).