Edit

Release SDK 0.8.270, for Runtime 78 (Sep. 10, 2019)

Release notes for Microsoft Edge WebView2 SDK, release date: Sep. 10, 2019.

NuGet package for WebView2 SDK 0.8.270 - This release has been unlisted at NuGet.

This Release version of the WebView2 SDK requires Microsoft Edge version 78.0.270.0 or later; see Runtime 78.8.270 (Sep. 10, 2019).

Changes

  • Added DocumentTitleChanged event to indicate document title change (Issue #27).

  • Added GetWebView2BrowserVersionInfo API (Issue #18).

  • Added NewWindowRequested event.

  • Updated CreateWebView2EnvironmentWithDetails function to remove releaseChannelPreference. For more information about the CreateWebView2EnvironmentWithDetails function, see CreateWebView2EnvironmentWithDetails. The registry and environment variable override is still supported. The default channel preference is used unless overridden.

    During the channel search, the WebView2 team skips any previous channel version that isn't compatible with the WebView2 SDK.

    The WebView2 team selects the more stable channel to ensure the most consistent behaviors for the end user. When you test with the latest Canary build, you should create a script to set the WEBVIEW2_RELEASE_CHANNEL_PREFERENCE environment variable to 1 before launching the app. See Test upcoming APIs and features.

  • Updated the CreateWebView2EnvironmentWithDetails function with logic for selecting userDataFolder when not specified. For more information about the CreateWebView2EnvironmentWithDetails function, see CreateWebView2EnvironmentWithDetails. If you previously used the default userDataFolder location, when you switch to the new SDK the default userDataFolder is reset (set to a new location in the host code directory) and your state is also reset. If the host process doesn't have permission to write to the specified directory, the CreateWebView2EnvironmentWithDetails function might fail. You can copy the data from the old user data folder to the new directory.

See also