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 SDK, release date: Oct. 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 130.0.2849.39 (Oct. 21, 2024) or later.
Detailed contents:
Promotions to Phase 3 (Stable in Release)
The following APIs have been promoted from Phase 2: Stable in Prerelease, to Phase 3: Stable in Release, and are now included in this Release SDK.
Configure the security warning when saving a file (SaveFileSecurityCheckStarting event)
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:
- Allow saving the file without presenting a default security-warning UI about the file-type policy.
- Cancel the saving.
- Create your own UI to manage runtime file-type policies.
Previous phase: Configure the security warning when saving a file (SaveFileSecurityCheckStarting event) in Prerelease SDK 1.0.2895-prerelease, for Runtime 131 (Oct. 21, 2024).
CoreWebView2Class:CoreWebView2SaveFileSecurityCheckStartingEventArgs Class
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.CancelSave Property
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.DocumentOriginUri Property
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.FileExtension Property
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.FilePath Property
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.SuppressDefaultPolicy Property
- CoreWebView2SaveFileSecurityCheckStartingEventArgs.GetDeferral Method
Bug fixes
Using
CoreWebView2.AddWebResourceRequestedFilterwithout aCoreWebView2WebResourceRequestSourceKindsparameter is now deprecated. See the .NET CoreWebView2.AddWebResourceRequestedFilter Method.Added the .NET 8
TargetFrameworkfor C# WinRT, enabled AOT (ahead-of-time) compatibility, and disabled runtime marshalling.