Skip to content

Release Notification - 143.0.x #5194

Closed
Closed

Description

@amaitland

Release 143.0.x

  • Create cefsharp/143 release branch
  • Update DevTools client API
  • Update to latest CEF build
  • Resolve remaining issues attached to 143 Milestone
  • Create release notes
  • Release stable packages to nuget.org
  • Update Issue Template CEF Sample application links
  • Generate new API Doc and upload to http://cefsharp.github.io/api/
  • Update General Usage API doc links

Activity

  1. added this to the 142.0.x milestone on Nov 15, 2025
  2. pinned this issue on Nov 15, 2025
  3. amaitland commented on Nov 18, 2025

    @amaitland
    MemberAuthor

    There are issues with tests failing, seems like something has changed in CEF/Chromium, Issue #4621 now reproduces all the time. Simply reloading a page appears to create then immediately destroy the CefBrowser in the render process.

  4. amaitland commented on Nov 26, 2025

    @amaitland
    MemberAuthor

    I haven't found an easy way to reproduce the issue with the CEF sample application.

    I can disable the two failing tests for now to get the release out. This isn't my ideal though as I don't see a workaround for the issue.

    The browser in the render process appears to be created then immediately destroyed when refresh occurs or reloading the same URL.

  5. GrabzIt commented on Nov 26, 2025

    @GrabzIt
    Contributor

    Hi Alex,

    Thanks for all the great work you do.

    Is the fact that the browser process is being destroyed and recreated causing an issue in the off-screen version? Or will it not be noticeable?

    Because my code uses the refresh feature and some webpages will trigger it as well.

    Thanks

    Dominic

  6. amaitland commented on Nov 26, 2025

    @amaitland
    MemberAuthor

    Hi Dominic,

    Is the fact that the browser process is being destroyed and recreated causing an issue in the off-screen version? Or will it not be noticeable?

    Yes, the offscreen implementation is impacted. If you are evaluating javascript after the reload then it will fail.

    I can make a CI build available if you want to test to see if your application is impacted.

    Alex

  7. amaitland commented on Nov 26, 2025

    @amaitland
    MemberAuthor

    Looks like another CEF user is experiencing a similar problem, related forum thread.

    https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=20428

    Have added some extra detail, will see if we can get an actionable bug created on the CEF issue tracker.

  8. GrabzIt commented on Nov 26, 2025

    @GrabzIt
    Contributor

    Thanks, Alex.

    That would definitely affect my software then, as I rely on JavaScript and other features that require a browser ID after a reload. I think it is safer for me to hold off on an upgrade until there is a fix.

    Thanks for all your hard work in getting to the bottom of this.

  9. amaitland commented on Nov 30, 2025

    @amaitland
    MemberAuthor

    PR #5197 will restructure to workaround the issue.

    @GrabzIt Are you using the old sync javascript binding at all?

  10. GrabzIt commented on Nov 30, 2025

    @GrabzIt
    Contributor

    That's awesome, thanks Alex! No, I don't use the old sync binding.

  11. SorceryAdmin commented on Dec 1, 2025

    @SorceryAdmin

    Hi Dominic,

    Is the fact that the browser process is being destroyed and recreated causing an issue in the off-screen version? Or will it not be noticeable?

    Yes, the offscreen implementation is impacted. If you are evaluating javascript after the reload then it will fail.

    I can make a CI build available if you want to test to see if your application is impacted.

    Alex

    I would like to test a CI to see if my App gets impacted and I can let you know what occurs and if find a workaround.

  12. amaitland commented on Dec 3, 2025

    @amaitland
    MemberAuthor
  13. SorceryAdmin commented on Dec 3, 2025

    @SorceryAdmin

    Well I'm testing need to dig deeper since the app I'm using is WinForm x64, Net 10 with reference to CefSharp.BrowserSubprocess.Core.dll so the process can be renamed, CefSharp.CefRuntimeStyle.Chrome

    And it just crash with libcef error.
    I'm checking I can make it work.

  14. amaitland commented on Dec 4, 2025

    @amaitland
    MemberAuthor

    CefSharp.CefRuntimeStyle.Chrome

    Tested with the MinimalExample and can reproduce the crash with Chrome style, works fine with Alloy. So is very likely a CEF issue.

  15. amaitland commented on Dec 4, 2025

    @amaitland
    MemberAuthor
    settings.CefCommandLineArgs.Add("disable-features", "OptimizationGuideOnDeviceModel");

    Removing the above command line arg from the MinimalExample and it stops crashing.

    Do you have any command line args set @SorceryAdmin ?

  16. SorceryAdmin commented on Dec 8, 2025

    @SorceryAdmin

    settings.CefCommandLineArgs.Add("disable-features", "OptimizationGuideOnDeviceModel");
    Removing the above command line arg from the MinimalExample and it stops crashing.

    Do you have any command line args set @SorceryAdmin ?
    I do have many so I have been trying to get to find which one is the problematic.

    These are the ones I use.
    settings.CefCommandLineArgs.Add("disable-system-fonts", "1");
    settings.CefCommandLineArgs.Add("disable-font-subpixel-positioning", "1");
    settings.CefCommandLineArgs.Add("disable-lcd-text", "1");
    settings.CefCommandLineArgs.Add("disable-font-system-caching", "1");
    settings.CefCommandLineArgs.Add("disable-font-antialiasing", "1");
    settings.CefCommandLineArgs.Add("disable-font-hint-scaling", "1");
    settings.CefCommandLineArgs.Add("force-text-direction", "ltr");
    settings.CefCommandLineArgs.Add("force-device-scale-factor", "1");
    settings.CefCommandLineArgs.Add("disable-features",
    "VizDisplayCompositor,FontAccess,FontAccessAPI,SystemFonts,DirectWrite,GDI,Skia,FontCache,LocalFonts,FontManager,TextInputClient,HarfBuzzShaper,SkiaTextRenderer");
    settings.CefCommandLineArgs.Add("force-gpu-mem-available-mb", "2048");
    settings.CefCommandLineArgs.Add("max-gum-fps", "60");
    settings.CefCommandLineArgs.Add("force-max-texture-size", "16384");
    settings.CefCommandLineArgs.Add("memory-pressure-off", "1");
    settings.CefCommandLineArgs.Add("enable-win32k-renderer-lock-down", "1");
    settings.CefCommandLineArgs.Add("renderer-process-limit", "6");
    settings.AcceptLanguageList = "en-US,en";
    settings.CefCommandLineArgs.Add("--disable-webrtc");
    settings.CefCommandLineArgs.Add("--disable-webrtc-hw-decoding");
    settings.CefCommandLineArgs.Add("--disable-webrtc-multiple-routes");
    settings.CefCommandLineArgs.Add("--disable-webrtc-smoothness-algorithm");
    settings.CefCommandLineArgs.Add("--disable-webrtc-stun-origin");
    settings.CefCommandLineArgs.Add("--disable-webrtc-hw-vp8-encoding");
    settings.CefCommandLineArgs.Add("--disable-webrtc-hw-vp9-encoding");
    settings.CefCommandLineArgs.Add("--disable-webrtc-hw-h264-encoding");
    settings.CefCommandLineArgs.Add("--disable-features=WebRtcHideLocalIpsWithMdns");
    settings.CefCommandLineArgs.Add("--force-webrtc-ip-handling-policy=disable_non_proxied_udp");
    settings.CefCommandLineArgs.Add("-–disable-blink-features", "AutomationControlled");
    settings.CefCommandLineArgs.Add("--disable-background-networking");
    settings.CefCommandLineArgs.Add("--disable-renderer-backgrounding");
    settings.CefCommandLineArgs.Add("--disable-backgrounding-occluded-windows");
    settings.CefCommandLineArgs.Add("--disable-ipc-flooding-protection");
    settings.CefCommandLineArgs.Add("--no-default-browser-check");
    settings.CefCommandLineArgs.Add("--disable-component-extensions-with-background-pages");
    settings.CefCommandLineArgs.Add("--disable-features=VizDisplayCompositor");
    settings.CefCommandLineArgs.Add("--disable-dev-shm-usage");
    settings.CefCommandLineArgs.Add("--enable-proprietary-media-types");
    settings.CefCommandLineArgs.Add("--memory-pressure-off");
    settings.CefCommandLineArgs.Add("--password-store", "basic");
    CefSharp.CefSharpSettings.ShutdownOnExit = true;
    CefSharp.CefSharpSettings.RuntimeStyle = CefSharp.CefRuntimeStyle.Chrome;

  17. amaitland commented on Dec 9, 2025

    @amaitland
    MemberAuthor

    How does it behave if you remove all the options added to CefCommandLineArgs?

    Some of those arguments look outdated and likely no longer exist, few I don't recognize.

  18. amaitland commented on Dec 10, 2025

    @amaitland
    MemberAuthor

    Given that 143 is now stable, I'm thinking of skipping 142 and releasing a 143 build (likely on the weekend depending on tests)

  19. GrabzIt commented on Dec 10, 2025

    @GrabzIt
    Contributor

    That sounds like a sensible approach. Thanks for everything!

  20. SorceryAdmin commented on Dec 11, 2025

    @SorceryAdmin

    Given that 143 is now stable, I'm thinking of skipping 142 and releasing a 143 build (likely on the weekend depending on tests)

    It makes sense.

  21. changed the title [-]Release Notification - 142.0.x[/-] [+]Release Notification - 143.0.x[/+] on Dec 11, 2025
  22. unpinned this issue on Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions