Training
Module
Protect against malicious attacks and unauthorized access with Microsoft Edge - Training
Protect against malicious attacks and unauthorized access with Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
These Release Notes provide information about new features and bug fixes that are included in the WebView2 Release SDK and the WebView2 Prerelease SDK.
Release Date: November 18, 2024
NuGet package for WebView2 SDK 1.0.2903.40
For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime version 131.0.2903.40 or higher.
The following APIs have been promoted to Stable and are now included in this Release SDK.
Added a new ScreenCaptureStarting
event. This event is raised whenever the WebView2 and/or iframe that corresponds to the CoreWebView2Frame
(or to any of its descendant iframes) requests permission to use the Screen Capture API before the UI is shown. The app can then block the UI from being displayed, or allow the UI to be displayed.
CoreWebView2
Class:
CoreWebView2Frame
Class:
CoreWebView2NonClientRegionKind
Enum:
Release Date: November 18, 2024
NuGet package for WebView2 SDK 1.0.2950-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 132.0.2950.0 or higher.
No Experimental APIs have been added in this Prerelease SDK.
No APIs have been promoted from Experimental to Stable in this Prerelease SDK.
FrameNavigationStarting
. (Issue #4843)Release Date: October 21, 2024
NuGet package for WebView2 SDK 1.0.2849.39
For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime version 130.0.2849.39 or higher.
The following APIs have been promoted to Stable and are now included in this Release SDK.
Added a new SaveFileSecurityCheckStarting
event. Your app can register a handler on this event to get the file path, filename extension, and document origin URI information. You can then apply your own rules to do actions such as the following:
CoreWebView2
Class:
CoreWebView2SaveFileSecurityCheckStartingEventArgs Class
CoreWebView2.AddWebResourceRequestedFilter
without a CoreWebView2WebResourceRequestSourceKinds
parameter is now deprecated. See the .NET CoreWebView2.AddWebResourceRequestedFilter Method.TargetFramework
for C# WinRT, enabled AOT (ahead-of-time) compatibility, and disabled runtime marshalling.Release Date: October 21, 2024
NuGet package for WebView2 SDK 1.0.2895-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 131.0.2895.0 or higher.
The following Experimental APIs have been added in this Prerelease SDK.
Added a new RestartRequested
event. The RestartRequested
event is raised whenever WebView2 needs to restart to apply updates or configuration changes. You can use this API to detect when WebView2 needs to restart, and take appropriate actions. The Priority
property of the RestartRequested
event arguments indicates the priority of the restart request:
High
indicates that the app should prompt users to restart as soon as possible.Normal
indicates that the app should remind users to restart, on a best-effort basis.CoreWebView2Environment
Class:
CoreWebView2RestartRequestedEventArgs
Class:
CoreWebView2RestartRequestedPriority Enum
CoreWebView2RestartRequestedPriority.Normal
CoreWebView2RestartRequestedPriority.High
The following APIs have been promoted from Experimental to Stable in this Prerelease SDK.
Added a new ScreenCaptureStarting
event. This event is raised whenever the WebView2 and/or iframe that corresponds to the CoreWebView2Frame
(or to any of its descendant iframes) requests permission to use the Screen Capture API before the UI is shown. The app can then block the UI from being displayed, or allow the UI to be displayed.
CoreWebView2
Class:
CoreWebView2Frame
Class:
CoreWebView2ScreenCaptureStartingEventArgs
Class:
Added a new SaveFileSecurityCheckStarting
event. Your app can register a handler on this event to get the file path, filename extension, and document origin URI information. You can then apply your own rules to do actions such as the following:
CoreWebView2
Class:
CoreWebView2SaveFileSecurityCheckStartingEventArgs Class
WebView2Loader.dll
in WinAppSDK case.CoreWebView2.AddWebResourceRequestedFilter
without a CoreWebView2WebResourceRequestSourceKinds
parameter is now deprecated. See the .NET CoreWebView2.AddWebResourceRequestedFilter Method.Release Date: September 23, 2024
NuGet package for WebView2 SDK 1.0.2792.45
For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime version 129.0.2792.45 or higher.
No additional APIs have been promoted to Stable and added in this Release SDK.
Release Date: September 23, 2024
NuGet package for WebView2 SDK 1.0.2839-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 130.0.2839.0 or higher.
No Experimental APIs have been added in this Prerelease SDK.
No APIs have been promoted from Experimental to Stable in this Prerelease SDK.
edge://wallet
in WebView2. (Issue #4710)DataList
was not visible in WinUI or in other visually hosted WebView2 instances.GetAvailableBrowserVersionString()
with an older WebView2Loader.dll
. (Issue #4395)cpp20
and /permissive-
options.TargetFramework
for C# WinRT, enabled AOT (ahead-of-time) compatibility, and disabled runtime marshalling.Release Date: August 26, 2024
NuGet package for WebView2 SDK 1.0.2739.15
For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime version 128.0.2739.15 or higher.
The following APIs have been promoted to Stable and are now included in this Release SDK.
Added support for Web Notification, for non-persistent notifications. The NotificationReceived
event for CoreWebView2
controls web notification handling, allowing customization or suppression by the host app. Unhandled notifications default to WebView2's UI.
CoreWebView2
Class:
CoreWebView2Notification Class
CoreWebView2TextDirectionKind Enum
Default
LeftToRight
RightToLeft
Added SaveAs
APIs that allow you to programmatically perform the Save as operation. You can use these APIs to block the default Save as dialog, and then either save silently, or build your own UI for Save as. These APIs pertain only to the Save as dialog, not the Download dialog, which continues to use the existing Download APIs.
CoreWebView2
Class:
Complete
Default
HtmlOnly
SingleFile
CoreWebView2SaveAsUIResult Enum
Cancelled
FileAlreadyExists
InvalidPath
KindNotSupported
Success
CoreWebView2SaveAsUIShowingEventArgs Class
There are no bug fixes in this Release SDK.
Release Date: August 26, 2024
NuGet package for WebView2 SDK 1.0.2783-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 129.0.2783.0 or higher.
No Experimental APIs have been added in this Prerelease SDK.
No APIs have been promoted from Experimental to Stable in this Prerelease SDK.
SetUserAgent
: by default, SetUserAgent
is effective for cross-origin iframes.Enabled the interactive dragging feature by default. See edge-webview-interactive-dragging
in WebView2 browser flags.
Disabled IsolateSandboxedIframes
for WebView2.
Fixed an issue where WebView creation fails when multiple instances are launched at the same time. (Issue #4731)
Fixed a bug in WinRT JavaScript projection where caching existing properties in objects whose name contains Proxy
or Function
caused an error due to name collision.
Fixed a bug where the WebView2 control became the wrong size after disconnecting and reconnecting a monitor.
Fixed an issue where "mailto:" links leave an untitled popup window open, instead of automatically closing the popup window.
C# WinRT projection now works on UWP.
Fixed an issue to ensure that GeneratedFilesDir
no longer appears in Visual Studio for C# WinRT projection.
Release Date: August 13, 2024
NuGet package for WebView2 SDK 1.0.2651.64
For full API compatibility, this Release version of the WebView2 SDK requires WebView2 Runtime version 127.0.2651.64 or higher.
The following APIs have been promoted to Stable and are now included in this Release SDK.
CoreWebView2.PostWebMessage
API in the other direction. Added a new web object type (CoreWebView2FileSystemHandle
) to represent a file system handle that can be posted to the web content to provide it with filesystem access.CoreWebView2
Class:
CoreWebView2Environment
Class:
CoreWebView2FileSystemHandle
Class:
CoreWebView2FileSystemHandleKind Enum
File
Directory
CoreWebView2FileSystemHandlePermission Enum
ReadOnly
ReadWrite
WebResourceRequested
events crash on certain sites. (Issue #4602)Release Date: August 7, 2024
NuGet package for WebView2 SDK 1.0.2730-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 128.0.2730.0 or higher.
The following Experimental APIs have been added in this Prerelease SDK.
setTimeout
and setInterval
) throttling under different page states (foreground, background, and background with intensive throttling).CoreWebView2Frame
Class:
CoreWebView2Settings
Class:
The following APIs have been promoted from Experimental to Stable in this Prerelease SDK.
SaveAs
APIs that allow you to programmatically perform the Save as operation. You can use these APIs to block the default Save as dialog, and then either save silently, or build your own UI for Save as. These APIs pertain only to the Save as dialog, not the Download dialog, which continues to use the existing Download APIs.CoreWebView2
Class:
Default
HtmlOnly
SingleFile
Complete
CoreWebView2SaveAsUIResult Enum
Success
InvalidPath
FileAlreadyExists
KindNotSupported
Cancelled
CoreWebView2SaveAsUIShowingEventArgs Class
NotificationReceived
event for CoreWebView2
controls web notification handling, allowing customization or suppression by the host app. Unhandled notifications default to WebView2's UI.Fixed an issue where the app window couldn't be controlled via system commands (such as Alt+F4 or Alt+Spacebar) when the focus was in WebView2 for Visual hosting mode. (Issue #2961)
Fixed a bug in WebView2 UWP where the Find bar couldn't be clicked into from the host app.
Adding the missing WinRT CoreWebView2Notification.VibrationPattern
API. This WinRT API can be combined with the stable notification API promotion release notes; see "Web Notification" and NotificationReceived
for WinRT, immediately above.
Fixed an issue where KeyDown
events from the WinForms WebView2 control didn't include the correct ModifierKeys
information. (Issue #1216)
Fixed x86 for WinRT C# projection.
Made CreateCoreWebView2Environment
and GetAvailableCoreWebView2BrowserVersionString
more robust against potential race condition during Runtime update.
Training
Module
Protect against malicious attacks and unauthorized access with Microsoft Edge - Training
Protect against malicious attacks and unauthorized access with Microsoft Edge