Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

WebView4Delphi updates

User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2088.41

Post by salvadordf »

Hi,

WebView4Delphi has been updated to WebView2 NuGet 1.0.2088.41

These are the official release notes :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#10208841

This time WebView2 doesn't have any new features in the API, only internal bug fixes and new Loader DLLs.

Bug fixes in WebView2 :
  • Fixed an issue causing some UWP apps to be unable to input text. (Runtime-only) (Issue #3805)
  • Fixed an initialization failure for apps that were using the Windows PerProcessSystemDPIForceOff compatibility setting. (Runtime-only) (Issue #3692)
  • Fixed a Dialog Position Offset bug in WebView2. (Runtime-only) (Issue #3763)
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: WebView4Delphi updates

Post by salvadordf »

I just added some compiler version information for Delphi 12 available in the Skia4Delphi project.

I'm not a beta tester and I can't test WebView4Delphi in Delphi 12 yet but a compiler version change requires some changes in the webview2.inc file.
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2151.40

Post by salvadordf »

Hi,

WebView4Delphi has been updated to WebView2 NuGet 1.0.2151.40

These are the official release notes :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#10215140

This is what's new in WebView4Delphi :
  • Added TCoreWebView2NewWindowRequestedEventArgs.OriginalSourceFrameInfo.
  • Updated the XML documentation.
  • Added Delphi 12 mention to the readme file.
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2210.55

Post by salvadordf »

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."
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2277.86

Post by salvadordf »

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#10227786

This is what's new in WebView4Delphi :
  • Added TWVBrowserBase.ExecuteScriptWithResult (See the MiniBrowser demo for an example in the menu)
  • Added TWVBrowserBase.OnExecuteScriptWithResultCompleted
  • Added TCoreWebView2ExecuteScriptResult
  • Added TCoreWebView2ScriptException
  • Added TCoreWebView2ExecuteScriptWithResultCompletedHandler
  • Added TCoreWebView2.ExecuteScriptWithResult
Important
Breaking Change: Navigations to about:blank are now cancellable via the NavigationStarting event. To revert to the old behavior, disable the msWebView2CancellableAboutNavigations feature flag.
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2365.46

Post by salvadordf »

Hi,

WebView4Delphi has been updated to WebView2 NuGet 1.0.2365.46

These are the official release notes :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#10236546

This is what's new in WebView4Delphi :
  • Added TWVBrowserBase.AddWebResourceRequestedFilterWithRequestSourceKinds
  • Added TWVBrowserBase.RemoveWebResourceRequestedFilterWithRequestSourceKinds
  • Added TCoreWebView2.AddWebResourceRequestedFilterWithRequestSourceKinds
  • Added TCoreWebView2.RemoveWebResourceRequestedFilterWithRequestSourceKinds
  • Added TCoreWebView2WebResourceRequestedEventArgs.RequestedSourceKind
  • Added ICoreWebView2WebResourceRequestedEventArgs2
  • Added COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS
  • Added ICoreWebView2_22
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: WebView4Delphi updates

Post by salvadordf »

Hi,

WebView4Delphi has been updated recently and this is what's new :
  • Fixed issue #53 : Incorrect custom context menu handling. https://github.com/salvadordf/WebView4Delphi/issues/53
  • Removed TWVBrowserBase.CustomItemSelectedEventHandler. BREAKING CHANGE!
  • Fixed context menu handling in the KioskBrowser demo for Delphi.
  • Added a custom context menu to the CookieBrowser demo for Lazarus.
  • Added TCoreWebView2ContextMenuItem.AddAllBrowserEvents.
  • TCoreWebView2ContextMenuItem.AddCustomItemSelectedEvent is now protected.
  • Fixed the project order in the groupproj file.
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: WebView4Delphi updates

Post by salvadordf »

Hi,

The latest WebView4Delphi update added experimental Delphi 6 support thanks to André Luis Finger Candido, known as andreluisfc in GitHub.

If you use Delphi 6 you need to install the second Delphi 6 patch in order to build WebView4Delphi.

Thank you very much!!! :D
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2420.47

Post by salvadordf »

Hi,

WebView4Delphi has been updated to WebView2 NuGet 1.0.2420.47

These are the official release notes :
https://learn.microsoft.com/es-es/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10242047

This is what's new in WebView4Delphi :
  • Added TWVBrowserBase.OnNonClientRegionChanged
  • Added TWVBrowserBase.IsNonClientRegionSupportEnabled
  • Added TWVBrowserBase.GetNonClientRegionAtPoint
  • Added TWVBrowserBase.QueryNonClientRegion
  • Added TCoreWebView2ProcessFailedEventArgs.FailureSourceModulePath
  • Added TCoreWebView2NonClientRegionChangedEventArgs
  • Added TCoreWebView2CompositionController.GetNonClientRegionAtPoint
  • Added TCoreWebView2CompositionController.QueryNonClientRegion
  • Added TCoreWebView2NonClientRegionChangedEventHandler
  • Added TCoreWebView2RegionRectCollectionView
  • Added TCoreWebView2Settings.IsNonClientRegionSupportEnabled
  • Added ICoreWebView2ProcessFailedEventArgs3
  • Added ICoreWebView2Settings9
  • Added ICoreWebView2NonClientRegionChangedEventHandler
  • Added ICoreWebView2NonClientRegionChangedEventArgs
  • Added ICoreWebView2RegionRectCollectionView
  • Added ICoreWebView2CompositionController4
  • Added TWVNonClientRegionKind (COREWEBVIEW2_NON_CLIENT_REGION_KIND)
User avatar
salvadordf
Posts: 4392
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to WebView2 NuGet 1.0.2478.35

Post by salvadordf »

Hi,

WebView4Delphi has been updated to WebView2 NuGet 1.0.2478.35

These are the official release notes :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10247835

This is what's new in WebView4Delphi :
  • Added GlobalWebView2Loader.AvailableBrowserVersionWithOptions
  • Added GlobalWebView2Loader.ChannelSearchKind
  • Added GlobalWebView2Loader.ReleaseChannels
  • Added TWVBrowserBase.ChannelSearchKind
  • Added TWVBrowserBase.ReleaseChannels
  • Updated TCoreWebView2EnvironmentOptions.Create with two new arguments.
  • Added GetAvailableCoreWebView2BrowserVersionStringWithOptions.
  • Added COREWEBVIEW2_CHANNEL_SEARCH_KIND
  • Added COREWEBVIEW2_RELEASE_CHANNELS
  • Added TWVChannelSearchKind
  • Added TWVReleaseChannels
  • Added ICoreWebView2EnvironmentOptions7
Locked