WebView4Delphi has been updated to WebView2 NuGet 1.0.1245.22
This is what's new in the WebView Runtime :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/release-notes#10124522
This is what's new in WebView4Delphi :
- Added TWVBrowserBase.OnServerCertificateErrorActionsCompleted
- Added TWVBrowserBase.OnServerCertificateErrorDetected
- Added TWVBrowserBase.OnClearBrowsingDataCompleted
- Added TWVBrowserBase.ClearBrowsingData
- Added TWVBrowserBase.ClearBrowsingDataInTimeRange
- Added TWVBrowserBase.ClearBrowsingDataAll
- Added TCoreWebView2ServerCertificateErrorDetectedEventArgs
- Added TCoreWebView2Certificate
- Added LoggedQueryInterface
- All calls to QueryInterface have been replaced by LoggedQueryInterface to detect if some interface wasn't available.
- Added TCoreWebView2ClearBrowsingDataCompletedHandler
- Added TCoreWebView2ClearServerCertificateErrorActionsCompletedHandler
- Added TCoreWebView2ServerCertificateErrorDetectedEventHandler
- GlobalWebView2Loader now checks the WebView Runtime version and it adds a warning in the log if it's too old.
If this is your case, some WebView4Delphi features won't work and you'll see a warning in the log and some messages about QueryInterface calls that failed.
Download a fixed version of the runtime if you want to test the new WebView4Delphi features. Decompress the CAB file and edit this line in the MiniBrowser demo in order to use the new runtime :
https://github.com/salvadordf/WebView4Delphi/blob/82e47ccb20f29b680e8989efdeddf0c34d2459c2/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas#L879