August 15, 2019, CEF 75.1.14+gc81164e+chromium-75.0.3770.100 / Chromium 75.0.3770.100
CEF
now supports the Chromium Network Service
which brings a huge number of breaking API
changes, please make sure you read #2743 for details.
Visual C++ 2015
is required, see Notes
below for more information
The Nuget
packages now use a slightly different versioning scheme, see #2706 for details
- #2250 SendProcessMessage message not recieved after process switch
- #2671 IRequest.Headers uses copy semantics instead of reference semantics [@amaitland]
- #2690 Change ISchemeRegistrar.AddCustomScheme to use SchemeOptions enum [@amaitland]
- #2710 Refactoring - Remove IsBrowserInitializedChangedEventArgs [@merceyz]
- #2743 Chromium NetworkService API Changes [@amaitland]
- #2747 Remove IRequestContext.ResolveHostCached [@amaitland]
- #2749 IME implementation in WPF [@a-marmer]
- #2755 UrlRequestFlags.AllowCachedCredentials rename to AllowStoredCredentials [@amaitland]
- #2756 Kill sub process to avoid hanging forever [@joaompneves]
- #2758 Feature Request - Async Javascript Binding Add support for returning Task [@amaitland]
- #2767 Refactor to avoid loading System.ServiceModel assembly [@slozier]
- #2775 Feature Request - Add Javascript CefSharp.PostMessage [@amaitland]
- #2776 WinForms - Initial Touch Activation Not Working [@amaitland]
- #2782 WPF Experimental IME - Fixed IME window not showing or showing at the wrong location [@mol]
- #2784 WinForms - Remove EditorBrowsableState.Never [@amaitland]
- #2792 Async JavaScript Binding - Long running method response incorrectly resolves promise after navigation [@amaitland]
- #2809 CEF/Chromium NetworkService API Changes [@amaitland]
- #2812 OffScreen - ChromiumWebBrowser constructor change RequestContext to IRequestContext [@medoni]
- #2814 WinForms - Add Shift+Tab to IsInputKey (used when MultiThreadedMessageLoop is disabled) [@eklavyamirani]
- #2817 WPF - Fix and improve touch and stylus @[kkwpsv]
- #2822 PdfPrintSettings margin measured in points, not mm [@matthew-a-thomas]
- #2829 Javascript Integration - Passing empty array in JS now maps to empty list/array instead of null [@angshuman-agarwal]
- #2834 WPF - Update ZoomLevel xml doc re same origin behaviour [@amaitland]
- #2839 WcfEnabledSubProcess::OnBrowserDestroyed crashes render process when channelFactory null [@amaitland]
- #2843 WPF - Image Jumps Vertically on Height Change [@chenhuang444]
Notes
CefSharp
requiresVisual C++ 2015
. See #1983 for details. You can bin deploy theVC++
dependencies, read theFAQ
for more.- Starting in June 2019 Google will require OAuth authentication when accessing web services that rely only Google Account Data, this includes Gmail, Drive, Docs, see https://security.googleblog.com/2019/04/better-protection-against-man-in-middle.html?m=1 for further discussion see https://groups.google.com/a/chromium.org/d/msg/embedder-dev/STyM5ZNTHMM/POj1v_cqBgAJ
Chromium
has removed support forWindows XP
,Windows Vista
,Windows Server 2003
andWindows Server 2008
. See https://chrome.googleblog.com/2015/11/updates-to-chrome-platform-support.htmlMP3
audio is now supported by default.- Due to licensing issues default builds do not support proprietary codecs like
H264/AAC
, sites likeNetflix/Twitter/Instagram/Facebook
won't play video/audio. See #1479 for more info. - Anyone new to
CefSharp
should read the General Usage Guide - This project uses
GitLink
for better debugging, see #1680 WPF
now has aVirtualKeyboardRequested
event that can be used to display a virtual keyboard see #1736 for full detailsWPF
now has experimental touch support, it's not enabled by default, see #228 (comment) for further detailsBrowserSettings
life cycle has changed, if created by CefSharp the object will be disposed automatically, if user created then it will be up to the user Disposed or Garbage collected. See for full details #2643- Legacy Javascript binding registered JavaScript objects no longer get lost when navigating to another domain.
Known Issues
WinForms
when running onWindows 10 Anniversary
pressing certain key combinations freezes the browser see #1822 The issue has been reportedupstream
, there are workarounds listed in #1822- Browser goes blank if used in combination with WPF TabControl see #2779
- Setting CefSettings.RootCachePath has no effect (https://bitbucket.org/chromiumembedded/cef/issues/2740/cefsettings-root_cache_path-is-not). The fix was applied to the
3770
branch, there is no official build available that includes this fix. No known workaround, you might need to skip this version and wait for the next major release. - WPF dropdown(select element) closes after mouse wheel https://bitbucket.org/chromiumembedded/cef/issues/2547/drop-down-box-select-element-closes-after
- A list of the
Network Service
related bugs that I'm aware of is at #2743 (comment) (there are possibly more issues that I'm not aware of). - LoadHtml/RegisterResourceHandler displays empty page #2872
CefSettings.IgnoreCertificateErrors
no longer works, use theignore-certificate-errors
command line arg as a workaround.- Intermittent crash on shutdown is caused by the new
Network Service
, see https://bitbucket.org/chromiumembedded/cef/issues/2703/crash-when-closing-if to workaround you can disable theNetwork Service
example at #2743 (comment) - See https://github.com/cefsharp/CefSharp/issues?q=is%3Aissue+is%3Aopen+label%3Aknown-issue for other known issues
Breaking Changes
- For
Network Service API
changes see #2743 UrlRequestFlags.AllowCachedCredentials
rename toAllowStoredCredentials
- Remove
IRequestContext.ResolveHostCached
- Change
ISchemeRegistrar.AddCustomScheme
to useSchemeOptions
enum - Javascript Integration - Passing empty array in JS now maps to empty list/array instead of null
CefSharp.WinForms.ChromiumWebBrowser.IsBrowserInitializedChanged
removed custom IsBrowserInitializedChangedEventArgs (wasn't being used) see #2710 for an example