SDK: 1.0.3405.78
WebView2 Runtime: For full API compatibility, this version of the WebView2 SDK requires WebView2 Runtime version 139.0.3405.78 or higher. Release notes:
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10340578
Delivering the Microsoft Edge WebView2 Runtime to Windows 10 Consumers:
https://blogs.windows.com/msedgedev/2022/06/27/delivering-the-microsoft-edge-webview2-runtime-to-windows-10-consumers/
Microsoft: We're bringing Edge WebView2 to more Windows 10 devices, and here's why:
https://www.zdnet.com/article/microsoft-is-bringing-more-loop-components-to-microsoft-teams-and-outlook/
New or updated APIs:
Customize the Find behavior (Find API)
The Find API allows you to programmatically control Find operations, and enables adding the following functionality to your app:
Customize Find options, including Find Term, Case Sensitivity, Word Matching, Match Highlighting, and Default UI Suppression.
Find text strings and navigate among them within a WebView2 control.
Programmatically initiate Find operations, and navigate Find results.
Suppress the default Find UI.
Track the status of Find operations.
NEW: TClaEdgeFind class which performs a search, navigates between found matches, returns the total count of matches and the index of the currently active match.
NEW: TClaEdgeBase.OnFindCompleted event raised when the UI has been displayed with the find term in the UI bar, and the matches have populated on the counter on the find bar.
NEW: TClaEdgeBase.OnFindMatchCountChanged event raised when the total count of matches in the document changes due to a new find session or changes in the document.
NEW: TClaEdgeBase.OnFindActiveMatchIndexChanged raised when the index of the currently active match changes.
The demo was updated to demonstrate the Find API usage, see the WebBrowser example.
Allow host input processing
For MDI app, this option allows you to activate the main menu of the application by pressing F10 or Alt when the focus is in the WebView.
NEW: TClaEdgebase.SdkBuildVersion(): Gets the version of the SDK required to be compatible with your app.
NEW: TClaEdgebase.RuntimeVersion(): Gets the browser version info of the current CoreWebView2Environment, including channel name if it is not the stable channel.
NEW: TClaEdgebase.RuntimePath(): Gets the path of WebView2 runtime (msedgewebview2.exe)
This release is available, free of charge, to all customers who have an active maintenance and support subscription plan.