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: Sep. 14, 2021.
NuGet package for WebView2 SDK 1.0.1010-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires Microsoft Edge version 95.0.1010.0 or later; see Runtime 95.0.1020.30 (Oct. 25, 2021).
General features
WebView2 performance improvements.
Reliability fixes. (Issue #1605 and Issue #1678)
Added performance improvements during startup and when the host app is in the foreground.
Experimental APIs (Phase 1: Experimental in Prerelease)
The following Experimental APIs have been added in this Prerelease SDK.
Removed silent failures by using
EnsureCoreWebView2Async, which throws anArgumentExceptionwhen called multiple times with incompatible parameters.Changed default handling of the UserDataFolder property in the environment object.
Caution
Breaking Change: The default handling for the user data folder, if the developer doesn't specify where to put it, will be changing. See Announcement: User directory folder default handling updates.
Added navigation & script APIs for iframes.
Added MemoryUsageTargetLevel which allows developers to specify memory consumption levels, such as low, or normal.
Added ExclusiveUserDataFolderAccess to environment options.
Added HiddenPdfToolbarItems to customize PDF toolbar items.
Added PrintToPdf, which allows printing the current page to PDF. Also, you can use optional custom settings with this new API.
Added AllowExternalDrop property to allow the dragging and dropping of objects from outside a WebView2 control into it.
Added ContextMenu APIs which allow customization of the WebView2 context menu.
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:
IsSwipeNavigationEnabledBrowserProcessExitedOpenBrowserTaskManager
Bug fixes
Improved how host objects exceptions are caught in your JavaScript code.
Replaced WebView2 icon with a generic icon in DevTools windows.
Turn on the Tab screen sharing option when
MediaDevices.getDisplayMedia()is used. (Issue #1566)Fixed a bug where dropdown menus or lists were displayed behind the window that has focus. (Issue #411)
Fixed focus issues when using
put_IsVisible(false). (Issue #238)Fixed a bug to apply
SetVirtualHostNameToFolderMappingto pop-up windows.Fixed bugs where an
IDispatchobjects were returned asIUnknown.