Hi,
WebView4Delphi has been updated to WebView2 NuGet 1.0.2210.55
These are the official release notes :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#10221055
This is what's new in WebView4Delphi :
- Added GlobalWebView2Loader.AreBrowserExtensionsEnabled
- Changed the "aFrameID" argument type from integer to cardinal in all TWVBrowserBase events!!!
- Added TWVBrowserBase.AddBrowserExtension
- Added TWVBrowserBase.GetBrowserExtensions
- Added TWVBrowserBase.DeleteProfile
- Added TWVBrowserBase.GetProcessExtendedInfos
- Added TWVBrowserBase.Profile
- Added TWVBrowserBase.AreBrowserExtensionsEnabled
- Added TWVBrowserBase.FrameId
- Added TWVBrowserBase.OnGetProcessExtendedInfosCompleted
- Added TWVBrowserBase.OnBrowserExtensionRemoveCompleted
- Added TWVBrowserBase.OnBrowserExtensionEnableCompleted
- Added TWVBrowserBase.OnProfileAddBrowserExtensionCompleted
- Added TWVBrowserBase.OnProfileGetBrowserExtensionsCompleted
- Added TWVBrowserBase.OnProfileDeleted
- Added TCoreWebView2.FrameId
- Added TCoreWebView2AcceleratorKeyPressedEventArgs.IsBrowserAcceleratorKeyEnabled
- Added TCoreWebView2BrowserExtension
- Added TCoreWebView2BrowserExtensionList
- Added TCoreWebView2GetProcessExtendedInfosCompletedHandler
- Added TCoreWebView2BrowserExtensionRemoveCompletedHandler
- Added TCoreWebView2BrowserExtensionEnableCompletedHandler
- Added TCoreWebView2ProfileAddBrowserExtensionCompletedHandler
- Added TCoreWebView2ProfileGetBrowserExtensionsCompletedHandler
- Added TCoreWebView2ProfileDeletedEventHandler
- Added TCoreWebView2Environment.GetProcessExtendedInfos
- Added the aAreBrowserExtensionsEnabled parameter to TCoreWebView2EnvironmentOptions.Create
- Changed TCoreWebView2Frame.FrameId from integer to cardinal.
- Changed the parameters in TCoreWebView2Frame.Create
- Added TCoreWebView2FrameInfo.ParentFrameInfo
- Added TCoreWebView2FrameInfo.FrameId
- Added TCoreWebView2FrameInfo.FrameKind
- Added TCoreWebView2FrameInfo.FrameKindStr
- Added TCoreWebView2ProcessExtendedInfo
- Added TCoreWebView2ProcessExtendedInfoCollection
- Added TCoreWebView2ProcessInfo.KindStr
- Added TCoreWebView2Profile.AddAllBrowserEvents
- Added TCoreWebView2Profile.AddBrowserExtension
- Added TCoreWebView2Profile.GetBrowserExtensions
- Added TCoreWebView2Profile.Delete
- Added COREWEBVIEW2_FRAME_KIND
- Added TWVFrameKind
- Added a "Hello World" browser extension demo to the "Assets" directory.
- Added some options to show the current browser extensions and to add a new browser extension in the MiniBrowser demo (VCL)
Important
Breaking Change: If you're developing an unpackaged Win32 app using Fixed Version Runtime v120 or above and targeting Windows 10 devices, you need to run a couple of ACL shell commands (icacls), to avoid crashing, because of a new security feature implemented in WebView2. See [Breaking Change] Unpackaged Win32 app using Fixed Version v120+ on Win10 need ACL. The fix is in the article Distribute your app and the WebView2 Runtime, section Details about the Fixed Version runtime distribution mode, step "On Windows 10 devices, starting with Fixed Version 120, developers of unpackaged Win32 applications using Fixed Version are required to run the following commands."