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: Apr. 22, 2024.
NuGet package for WebView2 SDK 1.0.2526-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 125.0.2526.0 or later; see Runtime 125.0.2535.41 (May 28, 2024).
Detailed contents:
- Breaking changes
- Experimental APIs (Phase 1: Experimental in Prerelease)
- Promotions to Phase 2 (Stable in Prerelease)
- Bug fixes
- See also
Breaking changes
Minimum .NET Framework version
The minimum .NET Framework version requirement for .NET WebView2, including WPF and WinForms controls, has been updated from .NET Framework 4.5 to .NET Framework 4.6.2.
Experimental APIs (Phase 1: Experimental in Prerelease)
The following Experimental APIs have been added in this Prerelease SDK.
SaveAs APIs to programmatically perform Save as
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.
CoreWebView2Class:-
CompleteDefaultHtmlOnlySingleFile
CoreWebView2SaveAsUIResult Enum
CancelledFileAlreadyExistsInvalidPathKindNotSupportedSuccess
CoreWebView2SaveAsUIShowingEventArgsClass:- CoreWebView2SaveAsUIShowingEventArgs.AllowReplace Property
- CoreWebView2SaveAsUIShowingEventArgs.Cancel Property
- CoreWebView2SaveAsUIShowingEventArgs.ContentMimeType Property
- CoreWebView2SaveAsUIShowingEventArgs.Kind Property
- CoreWebView2SaveAsUIShowingEventArgs.SaveAsFilePath Property
- CoreWebView2SaveAsUIShowingEventArgs.SuppressDefaultDialog Property
- CoreWebView2SaveAsUIShowingEventArgs.GetDeferral Method
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.
Fluent Style Overlay Scrollbar
Support for the Fluent Style Overlay Scrollbar.
Previous phase: Fluent Style Overlay Scrollbar in Prerelease SDK 1.0.2470-prerelease, for Runtime 124 (Mar. 25, 2024).
CoreWebView2EnvironmentOptionsClass:CoreWebView2ScrollbarStyle Enum
DefaultFluentOverlay
Bug fixes
Fixed a bug in WinRT JavaScript projection where passing in a typed array resulted in an "Interface Not Supported" error. (Runtime and SDK) (Issue #3486)
Added support for handling
outarray parameters in WinRT JavaScript projection. (Runtime and SDK)Fixed missing
AreBrowserExtensionsEnabledAPI in WinRT projection.