Electron v35.0.0
Release Notes
Stack Upgrades
Chromium
134.0.6998.44Node
22.14.0V8
13.4
Breaking Changes
Added excludeUrls to webRequest filter and deprecated the use of empty arrays in urls property. #45678
Added
fromVersionIDonServiceWorkersto get an instance ofServiceWorkerMain. #45341Deprecated
getPreloadsandsetPreloadsonSession. #45329Fixed file chooser dialogs for flaptak applications. #44426 (Also in 34)
Moved 'console-message' arguments into event object. #43617
The
systemPreferences.isAeroGlassEnabled()API has been deprecated and will be removed without replacement. #45554
Features
Additions
Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are
session.getSharedDictionaryUsageInfo(),session.getSharedDictionaryInfo(options),session.clearSharedDictionaryCache(), andsession.clearSharedDictionaryCacheForIsolationKey(options). #44750 (Also in 33, 34)Added
NSPrefersDisplaySafeAreaCompatibilityMode=falseto Info.plist to remove "Scale to fit below built-in camera." from app options. #45357 (Also in 33, 34)Added
ServiceWorkerMainclass to interact with service workers in the main process. #45341Added
running-status-changedevent onServiceWorkersto indicate when a service worker's running status has changed.Added
startWorkerForScopeonServiceWorkersto start a worker that may have been previously stopped.
Added
WebFrameMain.collectJavaScriptCallStack()for accessing the JavaScript call stack of unresponsive renderers. #44204 (Also in 33, 34)Added
contextBridge.executeInMainWorldto safely execute code across world boundaries. #45330Added
frameto 'console-message' event. #43617Added
query-session-endevent and improvedsession-endevents on Windows. #44598Added
webContents.navigationHistory.restore(index, entries)API that allows restoration of navigation history. #45583 (Also in 34)Added optional animation parameter to BrowserWindow.setVibrancy. #35987
Added permission support for
document.executeCommand("paste"). #45471 (Also in 33, 34)Added support for
roundedCornersBrowserWindow constructor option on Windows. #45740 (Also in 34)Added support for service worker preload scripts. #45408
Support Portal's globalShortcuts. Electron must be run with --enable-features=GlobalShortcutsPortal in order to have the feature working. #45297
Improvements
Performance improvements when processing microtasks. #44439 (Also in 32, 33, 34)
Redesigned preload script APIs by introducing
registerPreloadScript,unregisterPreloadScript,getPreloadScriptsonSession.#45329
Removed/Deprecated
Removed 240 FPS limit when use shared texture OSR. #45781
Fixes
Fixed
webContents.print()after switch to OOP printing on macOS and Linux. #45285Fixed an issue where the renderer process crashed when loading about:blank in subframes. #45758
Fixed broken OOP
window.print()on macOS/Linux. #45259Fixed desktopCapturer.getSources not returning electron windows on Windows. #45000
Fixed spellcheck suggestions not correctly populating on Windows. #45763
Optimized
webFrame.getZoomLevelandwebFrame.getZoomFactorAPIs. #45557Re-enables the MacWebContentsOcclusion feature flag for Mac, with plans to make it enabled by default in a future release. #45801
Also in earlier versions...
Addressed two possible crashes in the File System Access API. #45261 (Also in 34)
Backported fix for a upstream bug that cause Offscreen Rendering to stutter. #45660 (Also in 32, 33, 34)
Fixed WebFrameMain crash related to accessing speculative frames that have been destroyed. #45686 (Also in 33, 34)
Fixed
chrome.i18nextension API being unavailable in service workers. #45031 (Also in 31, 32, 33, 34)Fixed
trace-startupnot working on macOS. #44257 (Also in 32, 33, 34)Fixed
v8.setHeapSnapshotNearHeapLimitapi in main and utility process, along with support for--diagnostic-dirNode.js cli flag to specify the directory to save the heap snapshots. #45632 (Also in 33, 34)Fixed a bug where the default path didn't always correctly fill the Name field in KDialogs on Linux. #45420 (Also in 34)
Fixed a crash that could occur in OSR on window close. #45630 (Also in 34)
Fixed a crash that could occur when calling
shell.readShortcutLinkon Windows. #44784 (Also in 33, 34)Fixed a crash when calling
shell.readShortcutLinkcaused byPKEY_AppUserModel_ToastActivatorCLSIDsometimes being represented by a string uuid. #45348 (Also in 33, 34)Fixed a potential crash in
chrome.tabs.update(). #45302 (Also in 33, 34)Fixed a potential crash when calling legacy
getUserMediawith an invalidchromeMediaSourceId. #45755 (Also in 34)Fixed a potential issues permissions in the Pointer Lock API after focus loss and regain. #45628 (Also in 34)
Fixed an issue where RTL tooltips could be incorrect when using WCO on Windows. #45425 (Also in 33, 34)
Fixed an issue where Windows Control Overlay didn't work with some window configurations. #45477 (Also in 33, 34)
Fixed an issue where
EventSourcewasundefinedin 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
contextmenuevents wouldn't be correctly dispatched in draggable regions on Linux. #45841 (Also in 34)Fixed an issue where
resizewasn't being emitted for single-pixel resizes on Windows. #44700 (Also in 32, 33, 34)Fixed an issue where a
utilityProcesspid would not beundefinedafter 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 drag-dropping two directories would cause
getAsFileSystemHandleto never resolve. #45256 (Also in 33, 34)Fixed an issue where print scaling could be too small during silent print. #45262 (Also in 34)
Fixed an issue where selection of multiple directories with the
dialogmodule didn't work on Linux. #45394 (Also in 34)Fixed an issue where the
exitevent could be emitted twice from theutilityProcess. #44243 (Also in 31, 32, 33, 34)Fixed an issue where the webContents
context-menuevent 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 issue where windows on Windows with
backgroundMateriallost effect on maximization. #45525 (Also in 34)Fixed an possible crash when using draggable regions and BaseWindows to get the
context-menuevent. #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 gin::wrappable::secondweakcallback. #45378 (Also in 33, 34)
Fixed crash in net api when utility process exits. #44574 (Also in 32, 33, 34)
Fixed crash on startup with asan build on macOS. #45569 (Also in 33, 34)
Fixed crash when accessing WebFrameMain frames and name attributes on destroyed frames. #45508 (Also in 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 drag and drop icons not showing on Windows. #45777 (Also in 34)
Fixed external window focus when using shell.openExternal. #44408 (Also in 33, 34)
Fixed file preview window reappearing when calling
win.closeFilePreviewtwice on macOS. #45664 (Also in 32, 33, 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 the path for a needed library used for mksnapshot. #45546 (Also in 32, 33, 34)
Fixed theme does not work in DevTools. #44114 (Also in 32, 33, 34)
Fixed web worker scripts failing to load for chrome extensions. #45708 (Also in 32, 33, 34)
Return 0 exit code for normal termination of the utility process. #44726 (Also in 32, 33, 34)
The
avoidClosingConnectionsoption forsession.clearDatanow properly defaults tofalsewhen thedataTypesoption is not set. #45187 (Also in 33, 34)
Other Changes
Added more helpful logging if Node.js fails to initialize. #45317
Backported fix for 387258077,383070811. #45496
Fixed all
-Wunsafe-buffer-usageClang warnings and enabled the compiler warning in new builds. #44056Fixed an issue where a deprecation warning was being incorrectly emitted for frameless windows on macOS. #44728 (Also in 33, 34)
Documentation
Notices
End of Support for 32.x.y
Electron 32.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.