WebView2 SDK Changelog

What's new in WebView2 SDK 1.0.2526 Pre-release

Apr 23, 2024
  • Bug fixes:
  • Runtime and SDK:
  • Fixed a bug in WinRT JavaScript projection where passing in a typed array resulted in an "Interface Not Supported" error. (Issue #3486)
  • Added support for handling out array parameters in WinRT JavaScript projection.
  • Runtime-only:
  • Fixed a bug where the Image Auto-captioning feature was enabled by default.
  • Fixed a bug where if the LaunchingExternalURIScheme event handler is attached, if the always remember checkbox is enabled and the user selects this checkbox, the dialog will incorrectly be shown again.
  • Fixed GetNonClientRegionAtPoint incorrectly returning Nowhere for some points.
  • Fixed a bug where the Text Services Framework would disconnect upon dropping a file onto a WebView2 region.
  • Fixed a bug where the View Source Ctrl+U keyboard shortcut remained enabled when the AreDevToolsEnabled setting was false.
  • Fixed a bug where a composable IME was duplicated upon regaining focus. (Issue #1610)
  • Ensured that devicePixelRatio is synchronized with custom rasterization scales. (Issue #3060)
  • Fixed a race condition when using CallDevToolsProtocolMethod events in NewWindowRequested. (Issue #4181)
  • Fixed a crash that can occur in WPF TabIntoCore when the Controller has been destroyed but the user tries to tab into the control (pressing the Tab key). (Issue #4452)
  • Ensured that spellcheck takes input language with case-insensitive format.
  • Made the Language API more robust regarding user input.
  • Fixed a bug where the Save password? prompt is not displayed.
  • SDK-only:
  • Fixed missing AreBrowserExtensionsEnabled API in WinRT projection.

New in WebView2 SDK 1.0.2357 Pre-release (Feb 6, 2024)

  • Experimental APIs:
  • Added the Runtime selection feature to support more prerelease testing and flighting scenarios. Developers can specify ReleaseChannels to choose which channels are searched for during environment creation, and ChannelSearchKind to select a search order.
  • Added a new API to provide hit-testing results on the regions that a WebView2 contains. This API is useful for visually hosted applications that want to handle mouse events on the non-client area of the WebView2 window.
  • Promotions:
  • The following APIs have been promoted from Experimental to Stable in this Prerelease SDK.
  • CoreWebView2AcceleratorKeyPressedEventArgs has a new IsBrowserAcceleratorKeyEnabled property to allow you to control whether the browser handles accelerator keys (shortcut keys), such as Ctrl+P or F3
  • The Frame Process Info API, including GetProcessExtendedInfos, provides a snapshot collection of all frames that are actively running in the associated renderer process. This API enables the host application to detect which part of WebView2 is consuming resources such as memory or CPU usage
  • 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
  • CreateFromComICoreWebView2 wraps an existing ICoreWebView2 object in a CoreWebView2 instance, to allow .NET devs to interact with an control that was created in C++.
  • Added support for WebResourceRequested for workers, which allows setting filters in order to receive WebResourceRequested events for service workers, shared workers, and different origin iframes
  • Bug fixes:
  • Fixed a bug where closing a WebView control that has an embedded PDF viewer could lead to a crash. (Runtime-only) (Issue #3832)
  • Fixed an issue where the WebView2 control in .NET was failing to find the WebView2Loader.dll on UNC paths. (SDK-only) (Issue #4081)
  • Fixed issues with stacking of child-process taskbar icons. (Runtime-only) (Issue #3245)
  • Fixed a bug that sent an unnecessary network request for Edge Cloud Config Service. (Runtime-only) (Issue #4180)
  • Updated the behavior of the app-region CSS property so that changes to its value trigger a page re-layout.
  • Fixed an issue where put_AreBrowserAcceleratorKeysEnabled wasn't able to update settings for WebView2 when no AcceleratorKeyPressed event handler is registered. (Runtime-only) (Issue #4278)
  • Fixed some issues causing instances of InvalidOperationException in .NET controls, that weren't helpful to developers. (SDK-only) (Issue #4272)

New in WebView2 SDK 1.0.2088.41 (Oct 16, 2023)

  • Bug fixes:
  • Fixed an issue causing some UWP apps to be unable to input text. (Runtime-only) (Issue #3805)
  • Fixed an initialization failure for apps that were using the Windows PerProcessSystemDPIForceOff compatibility setting. (Runtime-only) (Issue #3692)
  • Fixed a Dialog Position Offset bug in WebView2. (Runtime-only) (Issue #3763)

New in WebView2 SDK 1.0.2045.28 (Sep 20, 2023)

  • Promotions:
  • No additional APIs have been promoted to Stable and added in this Release SDK.
  • Bug fixes:
  • Disabled the Mouse Gesture feature by default. (Runtime-only) (Issue #3737)
  • Fixed a bug where mouse wheel scrolling was intermittently broken for visual hosting. (Runtime-only)
  • Fixed a bug where downloading APK files in WebView2 crashes the WebView2 browser process. (Runtime-only) (Issue #3569)

New in WebView2 SDK 1.0.2065 Pre-release (Aug 31, 2023)

  • Bug fixes:
  • Disabled installing CRX in WebView2. (Runtime-only)
  • Fixed an initialization failure when the app has a DPI awareness compatibility setting applied. (Runtime-only) (Issue 3008)
  • Fixed a bug where visual hosted owned windows couldn't take character input. (Runtime-only)

New in WebView2 SDK 1.0.1466 Pre-release (Nov 3, 2022)

  • General:
  • Experimental features:
  • Added support for creating a shared memory based buffer with a specified size:
  • Close
  • Get_Buffer
  • Get_FileMappingHandle
  • Get_Size
  • OpenStream
  • Added support for accessing a shared buffer object from the script of the main frame or iframe.
  • Added support for running JavaScript code from the JavaScript parameter in the current top-level document:
  • ColumnNumber
  • LineNumber
  • Message
  • Name
  • ToJson
  • Bug fixes:
  • Fixed a bug in which the custom header title in print settings could be wrong. (Issue #2093)
  • Display AllowedCertificateAuthorities in add_ClientCertificateRequested event as a Base64 string. (Runtime)(Issue #2346)
  • Fixed a bug in which the default footer URI in print settings is missing. (Issue #2851)
  • Fixed a bug that produces a null pointer exception that's related to print settings. (Runtime)(Issue #2858)
  • Fixed a bug that reports navigation failure when redirecting to a server that has been configured with Client Certificate Authentication and when the WebResourceRequested event is subscribed to. (Runtime)
  • Fixed an AddHostObjectToScript bug in which, when JavaScript calls an async method and then a synchronous method, the async method call might fail.

New in WebView2 SDK 1.0.1414 Pre-release (Oct 11, 2022)

  • Added support for the Print API:
  • Added support for SmartScreen API:
  • Added support for Custom Crash Reporting API:
  • Bug fixes:
  • Removed three-dot menu with a broken link from the downloads page. (Runtime) (Issue #2753)
  • Fixed a bug in the WebView2 WinRT JS Projection tool (wv2winrt) where C++20 projects failed to compile. (Issue #2768)
  • Fixed a crash which could occur with the WebView2 WinRT API while closing down WebView2 if you subscribed to any events, especially the CoreWebView2.GetDevToolsEventReceiver event. This is an SDK-only change.
  • Fixed a bug where it wasn't possible to dismiss the download popup after minimizing the window. (Runtime)

New in WebView2 SDK 1.0.1340 Pre-release (Aug 10, 2022)

  • General:
  • Experimental features:
  • Added support for WebResourceRequested for workers which allows setting filters in order to receive WebResourceRequested events for service workers, shared workers, and different origin iFrames.
  • Added support for custom scheme registration which allows WebView2 apps to be able to handle WebResourceRequested event for requests with the specified scheme and be able to navigate the WebView2 control to the custom scheme.
  • Bug fixes:
  • Added the ability for developers to explicitly specify the path from which to load the WebView2Loader.dll. (Issue #767)
  • Added useful error messages when using CallDevToolsProtocolMethod. (Issue #1609)
  • Fixed a bug in finding and loading the WebView2Loader.dll in some .NET apps. (Issue #2372)
  • Fixed a bug where DownloadStarting event was not fired when retrying a download. (Issue #2489)
  • Fixed an issue in service worker caching if the path was too long. (Issue #1900)
  • Improved performance for wv2winrt IMap and IMapView projections into JavaScript.
  • Adding support for HWND_MESSAGE to be used as WebView2 parent window to support headless scenarios. (Issue #202)
  • Improved handling of running as admin user apps.
  • Fixed online/offline status and notifications when using WebView2 in UWP apps.
  • GDI scaling can now be enabled for WebView2. WebView2 will respect the GDI scaling setting of the hosting application without additional work needed from the app. (Issue #1700)
  • Fixed a bug where focus is not returned to the application after closing the find bar for windowed mode. (Issue #1225)

New in WebView2 SDK 1.0.1305 Pre-release (Jul 7, 2022)

  • General:
  • Promotions:
  • The following APIs are promoted to stable in this prerelease SDK:
  • The Favicon API
  • Bug fixes:
  • Fixed an issue where PrintToPdfAsync may hang for long time.
  • Fixed regression where WebView2 would steal focus from the app when the WebView2 was made visible.

New in WebView2 SDK 1.0.1245.22 (Jul 6, 2022)

  • General:
  • Promotions:
  • The following items are now stable:
  • 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.
  • The ClearBrowsingData API which allows developers to programmatically clear specific data types for a duration:
  • ClearBrowsingData
  • ClearBrowsingDataAll
  • ClearBrowsingDataInTimeRange
  • The HttpStatusCode API which provides the HTTP status code for navigation requests in NavigationCompleted events.
  • 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)

New in WebView2 SDK 1.0.1150.38 (Mar 11, 2022)

  • Bug:
  • Cover Art Archive, if url is http fails to get artwork because redirect is https
  • When select some recno records and then close them should no longer be anything selected in recno
  • Sort by Album Artwork Image giving Error
  • Close Files toolbar icon not working
  • Improvement:
  • Failing to get some direct image links from Amazon because of issue with Amazon SSL Certiifcate

New in WebView2 SDK 1.0.1056 Pre-release (Oct 30, 2021)

  • General:
  • General reliability improvements.
  • Experimental Features:
  • The Download Positioning and Anchoring API. This API enables:
  • Changing the position of the download dialog, relative to the WebView2 bounds. You can anchor the download dialog to the Download button, instead of the default position, which is the top-right corner.
  • Programmatically opening and closing the default download dialog.
  • Making changes in response to the dialog opening and closing.
  • The HTTP Authentication API.
  • Bug Fixes:
  • The real process exit code is now provided as ExitCode in ICoreWebView2ProcessFailedEventArgs2 for COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED process failure.
  • The --js-flags switch is now honored in the AdditionalBrowserArguments that are provided in CoreWebView2EnvironmentOptions.
  • Fixed access to the name property for host objects in JavaScript. (Issue #641)
  • Fixed an InvalidCastException in the WPF control when it's implicitly initialized prior to the event loop starting. (Issue #1577)

New in WebView2 SDK 1.0.902.49 (Jul 26, 2021)

  • General:
  • Improved WebView2 startup performance and disk footprint.
  • Experimental Features:
  • Added IsSwipeNavigationEnabled property to enable or disable the ability of the end user to use swiping gesture on touch input enabled devices to navigate in WebView2.
  • Added BrowserProcessExited event.
  • Added add_ClientCertificateRequested API. It allows showing a client certificate dialog prompt if desired and enables access to required metadata to replace default client certificate dialog prompt.
  • Bug fixes:
  • Fix a bug where mouse left click doesn't dismiss context menu. This change is Runtime-specific.
  • Fixed a bug where WebView2 creation fails when exe files for apps sharing the same user data folder have inconsistent version info.
  • Fixed a bug where special browser keys like Refresh, Home, Back, etc can't be disabled by AreBrowserAcceleratorKeysEnabled. This change is Runtime-specific.
  • Fixed a bug in WebView2 .NET controls that WebView2 windows are blank when created in the background. (#1077).
  • Dismissing a file picker dialog by pressing 'enter' or 'esc' no longer crashes Fixed a bug that AllowSingleSignOnUsingOSPrimaryAccount doesn't work properly with WebView2 when a WebResourceRequested event handler is attached. This change is Runtime-specific. (#1183).
  • Downloading a file no longer breaks WebView2 DefaultBackgroundColor transparency. This change is Runtime-specific. (#1108).
  • Removed screen sharing media picker message that contains Microsoft branding. (#940).
  • Fixed a bug in WebView2 WinForm control where hiding the parent form does not hide WebView2 control (#828 and #1079).
  • Added static WS_CLIPCHILDREN style to WebView2's WPF windows. (#1013).
  • Fixed a bug that right-clicking a link crashes WebView2 host app. This change is Runtime-specific.
  • Fixed reliability bug that could crash host app process when moving to newer Edge WebView2 Runtime version.
  • DEPRECATION: Officially deprecated DefaultBackgroundColor API for Windows 7.
  • .NET:
  • Bug fixes:
  • Fixed a bug in WebView2 WinForm control where WebView2 window visibility is not updated properly after parent window is disposed. (#1282 and #828).
  • Fixed a bug in WebView2 WPF control that Source property binding in WPF OneWay binding mode is not working properly. (#619 and #608).

New in WebView2 SDK 1.0.824 Pre-release (Mar 23, 2021)

  • Features:
  • Extended ProcessFailed event that it is now raised for non-renderer child processes and frame renderers.
  • Added experimental AreBrowserAcceleratorKeysEnabled setting. You may choose to keep the browser from responding to accelerator keys related to navigation, printing, saving, and other browser-specific functions.
  • Added iframe support for AddScriptToExecuteOnDocumentCreated.
  • Promotion:
  • UserAgent API is now promoted to Stable.
  • Rasterization Scale APIs (RasterizationScale property, RasterizationScaleChanged event, BoundsMode property, and ShouldDetectMonitorScaleChanges property) are now promoted to Stable.
  • Bug fixes:
  • Expanded supported C++ and .NET project types such as MFC and ATL. (#506, #669, and #851).
  • Fixed a bug that Evergreen WebView2 Runtime leaks Inbound firewall entry.
  • Fixed setting Response during WebResourceRequested event. (#568).
  • Fixed a bug that navigating to edge:// causes browser process to exit. (#604).
  • Fixed a bug that limited WebView2 bounds to size of screen in Visual Hosting mode.

New in WebView2 SDK 1.0.774.44 (Mar 23, 2021)

  • Features:
  • Turned off various Microsoft Edge browser services in WebView2.
  • Visual Hosting APIs are now Generally Available.
  • Promotions:
  • The following experimental APIs are now promoted to Stable:
  • DPI support related APIs
  • Visual hosting APIs
  • SetVirtualHostNameToFolderMapping
  • TrySuspend and Resume
  • DefaultBackgroundColor
  • Bug fixes:
  • Fixed a bug that limited WebView2 bounds to size of screen in Visual Hosting mode.