Electron v35.0.0-alpha.2

npm
npm install --save-dev electron@35.0.0-alpha.2
yarn
yarn add --dev electron@35.0.0-alpha.2
Google ChromeChromium
133.0.6920.0
Node.jsNode.js
22.9.0
V8V8
13.3.402

Release Notes

Features

  • Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are session.getSharedDictionaryUsageInfo(), session.getSharedDictionaryInfo(options), session.clearSharedDictionaryCache(), and session.clearSharedDictionaryCacheForIsolationKey(options). #44750 (Also in 33, 34)

  • Added WebFrameMain.collectJavaScriptCallStack() for accessing the JavaScript call stack of unresponsive renderers. #44204 (Also in 33, 34)

  • Added frame to 'console-message' event.

    • Moved 'console-message' arguments into event object. #43617

  • Added query-session-end event and improved session-end events on Windows. #44598

  • Added optional animation parameter to BrowserWindow.setVibrancy. #35987

Fixes

  • Fixed chrome.i18n extension API being unavailable in service workers. #45031 (Also in 31, 32, 33, 34)

  • Fixed trace-startup not working on macOS. #44257 (Also in 32, 33, 34)

  • Fixed a crash that could occur when calling shell.readShortcutLink on Windows. #44784 (Also in 33, 34)

  • Fixed an issue where EventSource was undefined in both renderer and worker processes when Node.js integration was enabled. #44475 (Also in 32, 33, 34)

  • Fixed an issue where WebContentsViews were being improperly removed. #44656 (Also in 31, 32, 33, 34)

  • Fixed an issue where resize wasn't being emitted for single-pixel resizes on Windows. #44700 (Also in 32, 33, 34)

  • Fixed an issue where a utilityProcess pid would not be undefined after exit. #44677 (Also in 32, 33, 34)

  • Fixed an issue where buttons shown under the Window Controls Overlay API were missing tooltips. #44721 (Also in 32, 33, 34)

  • Fixed an issue where closing a window after printing on Linux triggered a crash. #44246 (Also in 31, 32, 33, 34)

  • Fixed an issue where the exit event could be emitted twice from the utilityProcess. #44243 (Also in 31, 32, 33, 34)

  • Fixed an issue where the webContents context-menu event was not emitted when using -webkit-app-region: drag. #44761 (Also in 32, 33, 34)

  • Fixed an issue where the windows control overlay was unexpectedly visible in fullscreen on Linux. #44621 (Also in 31, 32, 33, 34)

  • Fixed an possible crash when using draggable regions and BaseWindows to get the context-menu event. #44940 (Also in 32, 33, 34)

  • Fixed build failure when the PDF viewer is disabled. #44960 (Also in 33, 34)

  • Fixed calling setAlwaysOnTop on a hidden window which is then shown with showInactive on Linux under X11. #44078 (Also in 31, 32, 33, 34)

  • Fixed crash in net api when utility process exits. #44574 (Also in 32, 33, 34)

  • Fixed crash when network process terminates while a net log is running. #44406 (Also in 31, 32, 33, 34)

  • Fixed crash when rendering super menu accelerator on linux. #44341 (Also in 32, 33, 34)

  • Fixed custom spell checker getting stuck in infinite loop using 100% CPU. #45001 (Also in 31, 32, 33, 34)

  • Fixed desktopCapturer.getSources not returning electron windows on Windows. #45000

  • Fixed external window focus when using shell.openExternal. #44408 (Also in 33, 34)

  • Fixed file chooser dialogs for flaptak applications. #44426 (Also in 32, 34)

  • Fixed issue where 'contextmenu' event is emitted twice on macOS. #44978 (Also in 34)

  • Fixed issue with missing index arg for webContents.canGoToOffset. #44989 (Also in 32, 33, 34)

  • Fixed race condition in which WebContents appears as white screen on VDI machines without hardware acceleration capabilities. #44318 (Also in 32, 33, 34)

  • Fixed regression with dynamic dependency on libgdk_pixbuf. #44423 (Also in 32, 33, 34)

  • Fixed segfault when moving WebContentsView between BrowserWindows. #44599 (Also in 31, 32, 33, 34)

  • Fixed theme does not work in DevTools. #44114 (Also in 32, 33, 34)

  • Fixed update file extension bug. #44296 (Also in 33, 34)

  • Return 0 exit code for normal termination of the utility process. #44726 (Also in 32, 33, 34)

  • The avoidClosingConnections option for session.clearData now properly defaults to false when the dataTypes option is not set. #45187 (Also in 33, 34)

Other Changes

  • Fixed all -Wunsafe-buffer-usage Clang warnings and enabled the compiler warning in new builds. #44056

  • Fixed an issue where a deprecation warning was being incorrectly emitted for frameless windows on macOS. #44728 (Also in 33, 34)

  • Performance improvements when processing microtasks. #44439 (Also in 32, 33, 34)

  • Reverts a Node bump to v22.9.0, downgrades back to v20.18.0. #44596

  • Updated Chromium to 133.0.6920.0. #45055

  • Upgrades Node to v22.9.0. #44597

  • Upgrades Node.js to v22.9.0. #44281

Documentation