v8.3.5
- build: handle missing chunk import maps (#23777) (8d7623d)
- build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
- bundled-dev: apply
server.originto asset URLs (#23683) (52ba877) - bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
- bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
- bundled-dev: include user
import.meta.env.*defines in theimport.meta.envobject (#23713) (6019aa7) - bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
- bundled-dev: normalize served output files (#23684) (df4e02c)
- bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
- css: don't fail on a literal
%inurl()(#23676) (50b382d) - deps: update all non-major dependencies (#23731) (cf80aa5)
- deps: update all non-major dependencies (#23826) (77d8373)
- deps: update rolldown-related dependencies (#23733) (43f0d05)
- deps: update rolldown-related dependencies (#23827) (c2e0418)
- optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
- optimizer: scan
oxc.jsxInjectimports (#23758) (38f3cb4) - optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
- optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
- resolve: support subpath imports with multiple
#(#23631) (0d86b34) - resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
- server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
- server: only strip base when path matches a full segment (#23641) (3dfde87)
- deps: replace
@vercel/detect-agentwithstd-env(#23744) (ce4293f) - dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
- dev: separate import resolution from URL conversion (#23791) (6116689)
- dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
- dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)
v6.4.5
Please refer to CHANGELOG.md for details.
electron v45.0.0
- Chromium
156.0.8078.48 - Node
v24.22.0 - V8
15.6
- Reduced sandboxed renderer startup work for preload scripts that do not use
Buffer. #54048- Removed the
events,timersandurlmodules and theBuffer,setImmediateandclearImmediateglobals from sandboxed preload scripts; use a polyfill. - Made sandboxed renderers without a preload script start faster.
- Made sandboxed preload scripts start faster; Electron no longer evaluates a JavaScript bundle of its own in sandboxed renderers unless
webviewTagis enabled.
- Removed the
- With
nodeIntegrationInWorker: true, aWorkercreated from an<iframe>in the same process as the main frame used to get Node.js integration even though the iframe itself had none. Workers now only get Node.js integration when the frame that creates them has it: the main frame, or any frame whennodeIntegrationInSubFramesis enabled. - A
chrome-extension://document used to receive the window's preload script (and session preload scripts) wherever it was embedded. It now only does so when it is a top-level frame or is hosted inside the DevTools front-end (adevtools_pageor panel); an extension frame embedded in an ordinary page is treated like any other subframe and followsnodeIntegrationInSubFrames. - The legacy
chromeMediaSource: 'desktop'constraint now only accepts screen and window source ids fromdesktopCapturer.getSources. Passing a WebContents source id there now fails with an "Invalid state" error. To capture a WebContents, usechromeMediaSource: 'tab'with an id fromwebContents.getMediaSourceId(), or useses.setDisplayMediaRequestHandler. - The experimental
contentTracing.enableHeapProfiling()API has been removed. Chromium removed the memlog implementation that backed this API and replaced it with a Perfetto heap-profiling data source. Pass anativeHeapProfilingoption tocontentTracing.startRecording()to enable heap profiling for the duration of a trace. Like all recordings, heap-enabled recordings use the Perfetto protobuf format. - Changed heap profiling in
contentTracingrecordings to now use a perfetto heap-profiling data source. #54863 - Screen, window and tab capture requests are now reported to
setPermissionRequestHandlerasdisplay-captureinstead ofmedia; a handler that allows onlymediamust also allowdisplay-captureto keep screen sharing working. #52824 - Chromium has disabled
document.requestStorageAccessForby default ahead of its removal. The API can temporarily be restored with theenableBlinkFeaturesweb preference set toRequestStorageAccessFor. See Chromium's intent to remove discussion for more information. fs.open,fs.openSyncandfs.promises.openon a file inside an ASAR archive used to extract the file to a temporary copy and return a descriptor for that copy. They now return a descriptor that only identifies the entry to Node'sfsmodule, which reads directly out of the archive with no temporary file (fs.read,fs.readv,fs.fstat,fs.readFile(fd),fs.createReadStreamand theFileHandlemethods). The descriptor itself is not backed by the file's contents: code that reads the raw descriptor (a native addon,child_processstdio,net.Socket({ fd }),http2stream.respondWithFile()/respondWithFD(), aFileHandletransferred to a worker, ...) fails withEBADFand is not supported. Opening a file inside an archive with a flag that allows writing (w,a,r+, ...) now fails withEACCESinstead of silently writing to the temporary copy, andfs.fchmod,fs.fchownandfs.futimeson these descriptors fail withEACCES.- A
window.open()child whosesandboxstate differs from its opener's renderer process is now created in its own process with no opener relationship instead of silently sharing the opener's process; setsandbox: falseinsetWindowOpenHandlerto keep sharing an unsandboxed opener's process. #52472 - The synchronous
safeStoragemethods are deprecated and will be removed in Electron 46, following Chromium's removal of the synchronous OSCrypt backend they are built on. Use the asynchronous methods instead, which use the same per-platform key stores. Data encrypted withsafeStorage.encryptString()can be decrypted withsafeStorage.decryptStringAsync(). - Added
select-client-certificateevent support fornet.requestandnet.fetch; requests to servers requesting a client certificate no longer fail withERR_SSL_CLIENT_AUTH_CERT_NEEDED, and applications can now select a certificate to present. #52162 (Also in 44) - Clipboard module is now aligned with the W3C Clipboard API. #51707 (Also in 44)
- Removed 32-bit builds (Windows ia32 and Linux armv7l). Electron is now published only for 64-bit (x64 and arm64) platforms. #51816 (Also in 44)
- Removed
openAsHiddenoption fromapp.setLoginItemSettings(). #52351 (Also in 44)- Removed
openAsHidden,wasOpenedAsHiddenandrestoreStatefields from return value ofapp.getLoginItemSettings(). - Fixed potential deadlock inside
app.getLoginItemSettings()on macOS.
- Removed
- Updated the Linux support policy. #52429 (Also in 44)
See the Breaking Changes doc for more details about these changes.
- Added a
badgeproperty toMenuItemon macOS 14+ for showing a count or custom text badge next to a menu item's label. #50805 (Also in 43, 44) - Added a Save/Restore Window State API for cross-platform use. #51510 (Also in 44)
- Added a Windows Error Reporting helper (
electron_wer.dll, renamed to<app>_wer.dllalongside the executable) socrashReportercaptures__fastfailand other crashes that bypass the in-process handler on Windows. #53851 - Added app shims on macOS to show windows under another app's Dock icon. #55072 (Also in 44)
- Added
app.configureWebAuthn()API to enable iCloud Keychain passkey support on macOS. When enabled,navigator.credentials.create()and.get()present Apple's native passkey UI viaASAuthorizationController. #51563 - Added
availabletoprocess.getSystemMemoryInfo()on Linux, exposingproc/meminfoMemAvailable. #52299 (Also in 42, 43, 44) - Added
disableWakeLocksoption to WebPreferences. #52342 - Added
getIsolatedWorldsmethod andisolated-world-createdevent forwebFrameto enable discovery of isolated worlds. #50633 - Added
initiatorOriginto webRequest and protocol handler requests,DownloadItem.getInitiatorOrigin(), and a trailingframeargument to thewill-downloadandpreconnectsession events. #53700 (Also in 43, 44) - Added launch-failure reporting with
systemErrorCodeto theappchild-process-goneevent. #54230 (Also in 44) - Added support for
Notificationaction buttons on Linux. #54889 (Also in 44) - Added support for the Prompt API via the new
localAIHandlermodule in UtilityProcess. #50659 - Added the
ELECTRON_DEBUG_DRAGGABLE_REGIONSenvironment variable, which visualizes and logs draggable regions in unpackaged apps to help debug custom title bars. #53626 (Also in 43, 44) - Added the experimental
protocol.registerSource()to serve a custom scheme from directories on disk without a JavaScript handler. #54521 (Also in 44) - Added webContents.caretBrowsingEnabled for toggling caret browsing in a WebContents. #52696 (Also in 43, 44)
- Added
webFrameMain.printToPDF()to allow printing individual frames to PDF from the main process. #52439 (Also in 42, 43, 44) - Fixed an issue where
getDisplayMedia({ audio: { restrictOwnAudio: true } })was ignored insetDisplayMediaRequestHandler, causing loopback audio to include local app playback. #52455 (Also in 43, 44) - Frameless windows on Linux now use system-themed titlebar icons for Window Controls Overlay (WCO). #52461 (Also in 44)
fs.open,fs.createReadStream,fs.copyFile,fs.cpand friends now read files inside ASAR archives directly from the archive instead of extracting a temporary copy;fs.opendirandfs.readlinkwork on archives; opening a packed file for writing fails withEACCES. #52833- Restored
app.setBadgeCountandwin.setProgressBarfor Linux. These APIs now support any dock or taskbar which implements the LauncherEntry D-Bus API, and they no longer requirelibunity. #52739 (Also in 44) - The macOS
autoUpdaternow streams update downloads to disk, resumes an interrupted download on the next check instead of starting over, and applies a binary delta when the update feed offers one for the running version. #52820 (Also in 44)
<webview>andwindow.opennow inheritnodeIntegrationInWorkerfrom the embedder, consistent with the other Node and sandbox preferences. #52823 (Also in 41, 42, 43, 44)<webview>withoutallowpopupsalso blocks links opened into a new window by modifier-click, and such windows navigate as the clicking document rather than as a browser-initiated load. #53717 (Also in 42, 43, 44)- Added validation to
protocol.registerSchemesAsPrivileged()to reject protocol names that do not conform to RFC 3986 URI scheme grammar. #53742 (Also in 44) - Changed the default trash implementation on KDE Plasma 6 to
kioclient. #54362 (Also in 44) - DevTools zoom in/out now uses the same zoom steps as Chromium. #54388 (Also in 44)
- File System Access permission requests and the
file-system-access-restrictedevent are scoped to the requesting document, grants are reset when the origin's last page closes, and write access works in in-memory sessions. #53690 (Also in 42, 43, 44) - Fixed
--xdg-portal-required-versionhaving no effect and a spurious portal warning being logged for file dialogs on Linux. #54302 (Also in 43, 44) - Fixed
<select>dropdowns not rendering in offscreen windows on macOS. #53716 - Fixed a 1-in-200 chance per renderer process on Windows of scripts on the first page load being compiled without their V8 code cache. #52791 (Also in 42, 43, 44)
- Fixed a browser process crash that could occur during Windows logoff, shutdown, or restart. #52604 (Also in 42, 43, 44)
- Fixed a browser-process crash (
ValidateIntegrityOrDie) and spurious preloadENOENTerrors when an app'sapp.asaris replaced on disk (e.g. by an updater or MDM software) while the app is running. #52283 (Also in 42, 43, 44) - Fixed a bug where content-protected windows could temporarily appear in screen captures during picture-in-picture state changes. #54612
- Fixed a child
WebContentsViewlosing focus when its window is reactivated. #54454 (Also in 43, 44) - Fixed a crash in
systemPreferences.promptTouchID(reason)when an invalid reason value is passed. #52764 (Also in 42, 43, 44) - Fixed a crash on Linux at startup or on theme change with GTK modules loaded. #55017
- Fixed a crash on Linux when
process.envwas written while another thread was reading the environment, and a memory leak when a worker thread exits. #53508 (Also in 42, 43, 44) - Fixed a crash on Linux when the D-Bus session bus disconnected while the app was running, such as at logout or when dbus is restarted. #53022 (Also in 42, 43, 44)
- Fixed a crash on macOS when a notification's icon could not be attached; the notification is now shown without the icon. #53131 (Also in 42, 43, 44)
- Fixed a crash on macOS when a WebAuthn Touch ID prompt was requested while no locale resources were loaded. #53185 (Also in 43, 44)
- Fixed a crash on
navigator.usb.requestDevice()in in-memory sessions. #54615 (Also in 44) - Fixed a crash on Windows when V8 posted a delayed worker task during shutdown. #52956 (Also in 42, 43, 44)
- Fixed a crash report when the X server or Wayland compositor exits while an app is running. #52603 (Also in 42, 43, 44)
- Fixed a crash that could occur when closing DevTools while the host WebContents was being destroyed. #52166 (Also in 41, 42, 43, 44)
- Fixed a crash when a WebAuthn request used a security key that required its PIN. #54371 (Also in 43, 44)
- Fixed a crash when a webContents navigated to the Chrome Web Store and the page invoked the unsupported
chrome.webstorePrivateAPI. #53775 (Also in 44) - Fixed a crash when accessing frame details during cross-origin navigation. #53102 (Also in 44)
- Fixed a crash when calling
node:wasifunctions in optimized code. #53266 (Also in 42, 43, 44) - Fixed a crash when calling
setIgnoreMenuShortcuts()on DevTools. #54115 (Also in 43, 44) - Fixed a crash when calling
utilityProcess.postMessage()after the utility process had exited. #53299 (Also in 43, 44) - Fixed a crash when creating a framed window on Wayland in environments where GTK could not initialize. #54399 (Also in 43, 44)
- Fixed a crash when quickly switching menus while the app is under heavy load. #52598 (Also in 42, 43, 44)
- Fixed a crash when resolving a path inside a malformed ASAR archive that contains cyclic link entries. #52825 (Also in 42, 43, 44)
- Fixed a crash when sending a DevTools protocol command with a non-string value for an optional string parameter via
webContents.debugger. #54444 (Also in 43, 44) - Fixed a crash when showing Linux message boxes while another Linux UI implementation was active. #52238 (Also in 42, 43, 44)
- Fixed a crash when starting without an available display server on Linux. #54781
- Fixed a crash with
app.setLoginItemSettingsif a non-UTF8 service name is used. #52773 (Also in 42, 43, 44) - Fixed a graphical glitch on Linux where thin borders appeared past the drop shadows on frameless windows when multiple windows were created. #52584 (Also in 42, 43, 44)
- Fixed a grey border around frameless windows on Linux WMs without compositing. #54392 (Also in 43, 44)
- Fixed a Linux crash creating a window with a menu bar when GTK failed to load. #54846 (Also in 43, 44)
- Fixed a macOS File System Access blocklist bypass via
/System/Volumes/Datapaths. #54678 - Fixed a main process crash when a native API method was called with a
thisvalue of a different native type; it now throws aTypeError. #54313 (Also in 43, 44) - Fixed a main-process crash when an app called
loadURL()again right after a load failed because the renderer process exited before the page committed. #53942 (Also in 43, 44) - Fixed a memory leak on Windows when
app.getPreferredSystemLanguages()was called. #53869 (Also in 43, 44) - Fixed a memory leak when creating BrowserWindows. #52092 (Also in 42, 43, 44)
- Fixed a pending read on a
net.requestchunked upload stream inside a protocol handler never settling when the request failed or was aborted. #53368 (Also in 43, 44) - Fixed a possible crash (SIGABRT) during process exit when the process had loaded
tls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52856 (Also in 42, 43, 44) - Fixed a possible crash during process exit when
vm.Scriptorvmcontexts created in the main process had been garbage collected shortly before quitting. #54267 (Also in 43, 44) - Fixed a possible crash on Windows on ARM when
powerMonitoris torn down. #54384 (Also in 44) - Fixed a possible crash on Windows when a file dialog was shown for a window that was being closed at the same time. #53586 (Also in 42, 43, 44)
- Fixed a possible hang when pressing Esc while a
<webview>is fullscreen. #53744 - Fixed a possible main process crash at quit when a session was created from JavaScript that runs during shutdown. #52836 (Also in 42, 43, 44)
- Fixed a potential crash during application shutdown. #54526
- Fixed a potential crash in
contentTracing.stopRecording()when the trace file could not be written to the requested path. #52793 (Also in 42, 43, 44) - Fixed a potential crash when cleaning up download items. #54517
- Fixed a potential crash when closing detached DevTools. #54538
- Fixed a potential crash when notifying user activation before the primary main frame was live. #52215 (Also in 42, 43, 44)
- Fixed a potential crash when using
menu.popupwith a frame from an offscreen rendered window. #53242 (Also in 43, 44) - Fixed a potential UAF in
app.getPreferredSystemLanguages()on Windows. #53864 (Also in 43, 44) - Fixed a potential UAF when a
select-usb-devicehandler destroys the requestingwebContents. #54008 (Also in 43, 44) - Fixed a rare crash in the main process when DevTools were opened and a garbage collection ran before the DevTools frontend finished loading. #52847 (Also in 42, 43, 44)
- Fixed a regression preventing from transparent frameless windows from being resized on Linux. #52740 (Also in 43, 44)
- Fixed a regression where a window created with a custom title can show an empty title after using back/forward navigation. #53180 (Also in 42, 43, 44)
- Fixed a renderer crash calling
image.toPNG()from a sandboxed preload script. #54501 (Also in 43, 44) - Fixed a renderer crash that could occur when printing from an iframe. #53763 (Also in 43, 44)
- Fixed a renderer crash when a page calls
SpeechRecognition.available()orSpeechRecognition.install()withprocessLocally. #52955 (Also in 42, 43, 44) - Fixed a renderer crash when a
ResizeObserverloop-limit error handler modified layout. #54289 (Also in 42, 43, 44) - Fixed a renderer crash when an array with a throwing property getter is passed across
contextBridge, and several main/utility-process crashes when option objects passed to Electron APIs contain throwing accessors or Proxy traps. #53069 (Also in 42, 43, 44) - Fixed a renderer crash when an iframe was removed right after loading with
nodeIntegrationInSubFramesenabled andsandboxdisabled, e.g. on pages that embed Meta Pixel. #53883 (Also in 42, 43, 44) - Fixed a renderer crash when the main process sent IPC to, or a page navigated, a same-process
window.open()child whosecontextIsolationdiffered from its opener's. #53538 (Also in 42, 43, 44) - Fixed a spurious
node_initerror being logged when creating aShadowRealmwith Node.js integration enabled. #53578 (Also in 44) - Fixed a stale
nativeTheme.shouldUseDarkColorsafter resettingthemeSource. #54648 - Fixed a UAF with
protocol.registerStreamProtocolwhen an error is emitted during a read. #52474 (Also in 41, 42, 43, 44) - Fixed a
WebContentsViewstaying blank after its window is shown whensetBackgroundThrottling(false)was called while the window was hidden. #52844 (Also in 42, 43, 44) - Fixed a window being marked hidden and background-throttled on macOS when covered by a transparent or click-through window. #52365 (Also in 42, 43, 44)
- Fixed
accent-color-changedon Windows reporting a colour that differed fromsystemPreferences.getAccentColor(). #54405 (Also in 44) - Fixed alignment of the text label and popup menu in the macOS save dialog. #54144 (Also in 44)
- Fixed an "Invalid
guestInstanceId" error when removing a loaded<webview>from the DOM. #54096 (Also in 42, 43, 44) - Fixed an intermittent crash (access violation) on Windows when an ASAR integrity violation is detected, so the process now exits with code 1 as intended. #53438 (Also in 43, 44)
- Fixed an intermittent crash at startup on Linux caused by a race between Pango and the main thread initializing fontconfig. #53338 (Also in 43, 44)
- Fixed an issue on Windows where the app process could fail to exit after
app.quit()while ashell.openExternal()orshell.openPath()call was still waiting on a system "Open with" dialog. #52888 (Also in 41, 43, 44) - Fixed an issue where a JavaScript out-of-memory crash could be reported from inside the crash-key handler instead of at the out-of-memory site. #52591 (Also in 42, 43, 44)
- Fixed an issue where an exception thrown by a property getter on an object passed through
contextBridgewas swallowed instead of being thrown back to the caller. #53297 (Also in 43, 44) - Fixed an issue where clicks posted to a background app were dropped on macOS. #54818 (Also in 42, 43, 44)
- Fixed an issue where
crashReporter.setUploadToServer()had no effect aftercrashReporter.start()was called. #54519 (Also in 44) - Fixed an issue where loading ICO files from ASAR archives on Windows left temporary icon files behind. #52424 (Also in 42, 43, 44)
- Fixed an issue where notifications would sometimes not appear from certain long domains on Windows. #54348
- Fixed an issue where pages loaded in a detached
WebContentsViewwouldn't see the correct window size. #53031 (Also in 42, 43, 44) - Fixed an issue where some values passed into
requestSingleInstanceLockcould result in a crash. #52025 (Also in 42, 43, 44) - Fixed an issue where the browser-side check that blocks drag and drop between cross-site frames of the same page was disabled. #53748 (Also in 43, 44)
- Fixed an
npm installfailure with no recovery path when the OS blocked the native zip extractor from loading (for example, Windows Smart App Control). #52748 (Also in 43, 44) - Fixed an uncatchable TypeError in
net.fetchwhen receiving response headers with non-ASCII characters, and preserved multiple Set-Cookie headers. #54671 (Also in 44) - Fixed
app.disableHardwareAcceleration()not fully disabling GPU hardware usage on Windows starting from Electron 38. #51817 (Also in 41, 42, 43, 44) - Fixed
app.getGPUInfo('complete')stalling the GPU process for several seconds on some Windows systems. #53645 (Also in 44) - Fixed
app.getLoginItemSettings()not finding login items on Windows when the executable path contains spaces. #54419 - Fixed
app.getRecentDocuments()omitting documents with non-ASCII paths on Windows. #54385 (Also in 44) - Fixed application crash after a large number of IPC messages from renderers. #53418 (Also in 42, 43, 44)
- Fixed asar archives in non-ASCII folders failing to load on Linux. #54848 (Also in 44)
- Fixed
BrowserWindowsize corruption on Windows when created with explicitx/yon a secondary monitor whose DPI differs from the primary. #51603 (Also in 42, 43, 44) - Fixed
BrowserWindow.unmaximize()andrestore()having no effect on Wayland when the window was maximized immediately after creation. #53063 (Also in 42, 43, 44) - Fixed
chrome.tabs.query()returning taburlandtitleto extensions without thetabspermission or host access, aligning withtabs.get. #53353 (Also in 42, 43, 44) - Fixed
clipboard.read(),readText()andhas()resolving seconds late on Linux while the app was idle. #54307 (Also in 42, 43, 44) - Fixed crash in sharedTexture module when GPU context becomes unavailable. #49518 (Also in 42, 43, 44)
- Fixed crash triggered by replacing an open application menu. #52248 (Also in 41, 42, 43, 44)
- Fixed crashes in
setDisplayMediaRequestHandlerwhen the granted frame had been destroyed or another tab was granted by id. #53673 (Also in 42, 43, 44) - Fixed crashes in sharedTexture, service-worker ipcRenderer and utilityProcess.fork() caused by object lifetime bugs. #53280 (Also in 43, 44)
- Fixed crashes in the main process when a
webRequest.onBeforeRequestlistener redirected a CORS preflight request, and when callingnet.fetch()with awebRequest-permission extension loaded. #53302 (Also in 43, 44) - Fixed crashes when a webContents or parent window is destroyed while other APIs still reference it. #53281 (Also in 43, 44)
- Fixed crashes when certain app event handlers call back into Electron synchronously. #53269 (Also in 43, 44)
- Fixed Ctrl+Y not yanking text killed with Ctrl+K in text fields on macOS. #53715 (Also in 44)
- Fixed custom V8 snapshots (
electron-mksnapshot, and theloadBrowserProcessSpecificV8Snapshotfuse) having no effect in the main process on macOS arm64, Linux x64 and Windows x64. #52872 (Also in 42, 43, 44) - Fixed default protocol client APIs falsely returning
trueon Windows. #53958 (Also in 43, 44) - Fixed
desktopCapturer.getSources()leaving non-resizable windows resizable on macOS. #54398 (Also in 43, 44) - Fixed DevTools device metrics overrides persisting indefinitely when a remote debugging client disconnected without clearing them. #52254 (Also in 42, 43, 44)
- Fixed DevTools popup and context menus not appearing when DevTools is hosted in a custom window via
webContents.setDevToolsWebContents(). #52205 (Also in 42, 43, 44) - Fixed
dialog.showOpenDialog/dialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52243 (Also in 42, 43, 44) - Fixed
Dirent.parentPathbeingundefinedforfs.readdir,fs.readdirSync,fs.glob, andfs.globSyncwithwithFileTypes: trueinside asar archives. #51845 (Also in 42, 43, 44) - Fixed downloading files that live inside an asar archive, including saving a packed PDF from the built-in PDF viewer. #52808 (Also in 42, 43, 44)
- Fixed
fs.constants.O_DIRECTORY,O_NOFOLLOWandO_DIRECTholding x86 values on Linux arm64 and armv7l, which made opening a directory fail withEINVAL, and maderequire('trace_events')behave the same on cross-compiled builds as on native ones. #53321 (Also in 42, 43, 44) - Fixed
fs.rmSyncfailing to remove read-only files on Windows. #54190 (Also in 42, 43, 44) - Fixed
GDK_BACKENDleaking into processes spawned by Electron apps on Linux. #54424 (Also in 43, 44) - Fixed
globalShortcutnot working on GNOME Wayland by enabling Chromium'sGlobalShortcutsPortalPreferredTriggerfeature by default on Linux. #52221 (Also in 43) - Fixed GPU shaders compiled by Skia not being cached between launches. #54156 (Also in 44)
- Fixed helper executables on macOS starting a second app instance when launched without a process type, for example through
child_process.fork()with therunAsNodefuse disabled;fork()now throws in that configuration. #53839 (Also in 44) - Fixed hidden windows continuing to render at full frame rate after
setBackgroundThrottling(false)followed bysetBackgroundThrottling(true). #54339 (Also in 44) - Fixed interrupted macOS updates leaving a broken app behind. #54843 (Also in 44)
- Fixed link-opened windows not using the opener's session and
webPreferences. #55051 (Also in 42, 43, 44) - Fixed main process crashes when navigating to
http://accessibility/orhttp://devtools/, when using theLanguageModelAPI from a Worker with a local AI handler registered, when an extension background page usednavigator.mediaDevices, and when callingSerialPort.forget()for a disconnected device. #53325 (Also in 43, 44) - Fixed
matchMedia('(display-mode: ...)')returningbrowserfor window-controls-overlay, frameless, and fullscreen BrowserWindows. #51396 - Fixed mouse cursor missing over native dialogs in certain scenarios on Windows. #54878 (Also in 44)
- Fixed native addons deriving from
node::ObjectWrapaborting during garbage collection on Node.js 24.19.0 and later. #53391 (Also in 42, 43, 44) - Fixed
net.fetchandsession.fetchfailing permanently withnet::ERR_FAILEDafter the Network Service process restarts. #54910 (Also in 42, 43, 44) - Fixed
net.fetch()/net.request()spending seconds of main-process time buffering large streamed request bodies. #54062 (Also in 44) - Fixed paste hanging indefinitely on Linux X11 until the app was restarted. #54912
- Fixed
pointerLockpermission requests from some iframes reporting the parent frame. #54463 (Also in 42, 43, 44) - Fixed
process.nextTickand promise callbacks queued inprotocol/webRequesthandlers running at the wrong time. #54301 - Fixed
ready-to-shownever firing for some hidden windows on Windows and Linux. #54110 (Also in 43, 44) - Fixed region-qualified
--langvalues such asde-DEloading no locale resources on macOS, which left localized strings empty and could crash WebAuthn Touch ID prompts. #53184 (Also in 42, 43, 44) - Fixed
registerFileProtocolandregisterHttpProtocolreturning readable responses to cross-originno-corsfetches; they now return opaque responses likeprotocol.handle. #52822 (Also in 41, 42, 43, 44) - Fixed renderer crashes during garbage collection inside ShadowRealms. #54864 (Also in 44)
- Fixed
select-hid-devicepresenting HID devices that could not be granted, which causednavigator.hid.requestDevice()to resolve with no device. #52467 (Also in 44) - Fixed
session.setPermissionCheckHandlerreceiving the top-level origin and a nullwebContentsforhidandusbchecks made from a subframe. #53679 (Also in 42, 43, 44) - Fixed
setCertificateVerifyPrococcasionally not being applied to a request issued concurrently with the first request to a host. #55045 (Also in 42, 43, 44) - Fixed
setContentProtection(true)having no effect in Windows remote sessions. #54499 (Also in 44) - Fixed
setIgnoreMouseEvents()taking effect late on X11. #54496 (Also in 43, 44) - Fixed
setIgnoreMouseEvents(true)being undone by the next resize on X11. #54394 (Also in 43, 44)- Added
setIgnoreMouseEventssupport on Wayland.
- Added
- Fixed several non-functional DevTools integrations: the Security panel's "View certificate" button, Ctrl+wheel zooming inside DevTools, and DevTools keyboard shortcuts (e.g. F8) while the inspected page has focus. #53471 (Also in 43, 44)
- Fixed several object lifetime issues in
Debugger,Menu,Tray,Notification,globalShortcut,utilityProcess,ServiceWorkerMain,WebFrameMain,webFrame,sharedTexture,systemPreferences,netLog,MessagePortMain,net.requestandshell.openPath(). #53805 (Also in 44) - Fixed
shell.showItemInFolder()on Linux for paths containing#,?or%when the file manager is reached over D-Bus. #54386 (Also in 44) - Fixed spellcheck not initializing on Linux when the dictionary was already cached from a previous run. #52712 (Also in 43, 44)
- Fixed the built-in PDF viewer not rendering documents in in-memory sessions (partitions without the
persist:prefix). #52810 (Also in 42, 43, 44) - Fixed the default action label on Linux notifications not being localized. #54402 (Also in 43, 44)
- Fixed the GPU process being terminated in AppX/MSIX packaged apps on Windows when WebGPU fell back to SwiftShader. #53174 (Also in 42, 43, 44)
- Fixed the GPU process crash-looping on Windows when the sandbox cannot read the install folder; the folder is now reported instead. #54483 (Also in 43, 44)
- Fixed the PDF viewer failing to save an edited PDF with
NotAllowedError: Third party iframes are not allowed to show a file picker. #53326 (Also in 43, 44) - Fixed the primary instance being killed or receiving truncated arguments when a second instance passed a very long command line or large
additionalDatatoapp.requestSingleInstanceLock(). #52628 (Also in 42, 43, 44) - Fixed the tray context menu not working for snap-confined apps because AppArmor blocked the
/org/chromium/DbusMenupath. #54102 (Also in 44) - Fixed the zoom level resetting on
file:and other host-less pages after alocation.hashchange. #54441 (Also in 43, 44) - Fixed
Trayicons not appearing when running inside Flatpak or Snap sandboxes on Linux. #53654 (Also in 44) - Fixed typing not working after closing an
alert()orconfirm()on Windows. #54460 (Also in 43, 44) - Fixed
Uncaught illegal accesserrors and renderer crashes when closing a same-process child window or removing an iframe withnodeIntegrationInSubFramesenabled, and when native modules use napi async work or thread-safe functions from such windows and frames. #52964 (Also in 42, 43, 44) - Fixed unnecessary autofill popup creation for fields without datalist suggestions, which could cause input latency on macOS. #52262 (Also in 41, 42, 43, 44)
- Fixed utility process crashes at exit on Windows 11 24H2 and later. #53038 (Also in 42, 43, 44)
- Fixed
utilityProcessdropping messages posted withprocess.parentPort.postMessage()right before the process exits. #54956 (Also in 42, 43) - Fixed
utilityProcessdroppingstdout/stderroutput that the child wrote immediately before exiting. #54335 (Also in 42, 43, 44) - Fixed V8 code caching for https scripts loaded by
file://and custom-scheme pages. #53746 (Also in 44) - Fixed visual zoom limits resetting on navigation and not applying to webviews. #54438 (Also in 43, 44)
- Fixed WebAssembly modules loaded from the code cache crashing or throwing
RuntimeError: unreachableafter updating between certain patch releases. #54237 (Also in 42, 43, 44) - Fixed WebAuthn platform passkey requests on macOS hanging until the request timeout when an operation failed, and a potential crash when selecting between Touch ID and platform passkeys. #52682
- Fixed
webContentsemittingunresponsiveright after the system wakes from sleep on Windows, and emittingresponsivewhen a hung window was hidden rather than when it recovered. #53760 (Also in 44) - Fixed
webContents.capturePage()on offscreen windows returning an image resampled to the display's scale factor instead of rendered at the window'soffscreen.deviceScaleFactor. #53817 (Also in 43, 44) - Fixed
webContents.executeJavaScript()withuserGestureset not granting browser-side user activation, which could make activation-gated APIs fail. #54959 - Fixed
webContents.executeJavaScriptInIsolatedWorldresolving withundefinedwhenworldIdwas not an integer. #53205 (Also in 43, 44) - Fixed
webContents.on(),removeListener()andremoveAllListeners()throwing "Object has been destroyed" forconsole-messagelisteners after the WebContents was destroyed. #53495 (Also in 42, 43, 44) - Fixed
webContents.print()honoringprintBackground,duplexMode, and printer default duplex settings. #52279 (Also in 42, 43, 44) - Fixed
webview.findInPage()hanging when the host page also has an iframe. #54585 (Also in 43, 44) - Fixed
win.isFullScreen()being stale in fullscreen events on Windows. #55008 (Also in 44) - Fixed
win.setEnabled(false)and modal child windows not blocking input on Wayland. #54448 (Also in 43, 44) - Fixed Window Controls Overlay caption buttons not rendering on Linux. #52577 (Also in 44)
- Fixed Window Controls Overlay CSS environment variables and
navigator.windowControlsOverlaynot being populated forWebContentsViews in aBaseWindow. #53811 (Also in 44) - Fixed window state not being persisted when a window entered or left fullscreen, or was maximized or unmaximized, without also being moved or resized. #53577 (Also in 44)
- Fixed windows native message boxes being dismissed by other applications using invalid button ID. #52812 (Also in 43, 44)
- Fixed windows opened by a sandboxed top-level frame not inheriting the opener's sandbox restrictions. #52841 (Also in 41, 42, 43, 44)
- Fixed zoom in/out getting stuck after zooming past the 25%-500% range. #54395 (Also in 43, 44)
- Fixed
setVisualZoomLevelLimits()shrinking pages when the minimum is under 1.
- Fixed
- Fixed webContents.print() returning "Invalid printer settings" when print options are provided. #52367 (Also in 43, 44)
- Fixeed document title updates when using back/forward navigation using the same document without utilizing
browserWindow.setTitle(). #52089 (Also in 42, 43, 44) getUserMediawithchromeMediaSource: 'desktop'no longer accepts WebContents source ids; usechromeMediaSource: 'tab'withwebContents.getMediaSourceId()orsetDisplayMediaRequestHandlerto capture a WebContents. #53708 (Also in 42, 43, 44)- Internal
<webview>,window.close()andexecuteJavaScriptreply IPCs are validated against the sending frame. #53724 (Also in 42, 43, 44) nodeIntegrationInWorkernow applies only to workers created by frames that themselves have Node integration; enablenodeIntegrationInSubFramesto keep Node in workers created by subframes. #53706 (Also in 42, 43, 44)openExternalpermission requests started by a frame that has since gone away are attributed to that frame's origin rather than to the navigating page. #53696 (Also in 42, 43, 44)pointerLockandkeyboardLockpermission requests now report the requesting frame, andexecCommand('paste')requires user activation in the frame that calls it. #53692 (Also in 42, 43, 44)- Reduced the cost of calling native methods and properties on
BrowserWindow,BaseWindow,WebContents,WebFrameMainandViewfrom JavaScript. #54359- Fixed
BaseWindow.setBounds()throwing when given a partial bounds object. - Improved the performance of
app.getName(),app.name,app.getVersion()andapp.getAppPath().
- Fixed
- Fixed a stall of tens of milliseconds while creating the first
BrowserWindowon Linux. #52923 (Also in 42, 43, 44)- Improved the performance of file lookups inside ASAR archives and of large files served from them to the renderer.
- Improved the performance of calls through
contextBridge-exposed APIs. - Improved the performance of
Buffer.allocUnsafe()and of large file reads in the main and utility processes. - Reduced the main-thread cost of sending large values through
ipcRenderer,ipcMainhandlers andwebContents.send.
- Fixed the app becoming unresponsive when a page has a very large number of
app-regiondraggable elements. #53596 (Also in 43, 44) - Improved application startup time on Linux by skipping GDK's OpenGL probe and loading FontConfig off the main thread during toolkit initialization. #53070 (Also in 43, 44)
- Improved cold-launch time on macOS by prefetching Electron's framework files. #54528
- Improved startup time of
utilityProcess.fork(),child_process.fork()/ELECTRON_RUN_AS_NODEchild processes and Node.js-enabled renderers. #52873 (Also in 42, 43, 44) - Improved the error message when an asar integrity check fails to name the entry that failed. #52600 (Also in 42, 43, 44)
- Improved the performance of APIs that return rectangles, sizes, points and display objects. #54213 (Also in 44)
- Improved the performance of building and showing menus. #53914
- Improved the performance of
fsoperations andrequire()on files inside asar archives. #53919 (Also in 44) - Improved the performance of
session.getUserAgent(). #54245 (Also in 44) - Improved throughput of responses that
protocol.handlehandlers return straight fromnet.fetch. #53379 (Also in 44) - Page resources,
fetch()calls and file:// loads in renderers no longer wait for the main process to be idle when nowebRequestlisteners or protocol interceptors are registered. #53115 (Also in 42, 43, 44) - Reduced idle main-process CPU wakeups caused by Node.js timers and immediates. #52862 (Also in 43, 44)
- Reduced the macOS distribution size by shipping only the locale strings that Electron can actually use. #52290
- Renderer network requests no longer waited on the main process when the session's
webRequestlisteners only observe requests (onCompleted,onErrorOccurred,onSendHeaders,onBeforeRedirect,onResponseStarted) or are filtered to other resource types. #53204 (Also in 44) - The first sandboxed
BrowserWindownow starts in a renderer process launched ahead of time when the default session already exists, shortening the time from window creation to the page's first script; apps that open many windows can keep a spare renderer warm at all times with--enable-features=SpareRendererForSitePerProcess. #53116 (Also in 44)
- Backported fix from upstream V8. #53987
- Backported fixes from upstream ANGLE, Chromium, PDFium and V8. #54220
- Backported fixes from upstream ANGLE, Chromium, PDFium and V8. #54897
- Backported fixes from upstream ANGLE, Chromium, Skia and V8. #53983
- Backported fixes from upstream Chromium and V8. #53765
- Backported fixes from upstream Chromium and WebRTC. #54656
- Backported fixes from upstream Chromium, PDFium and V8. #54084
- Backported fixes from upstream Chromium, PDFium, Skia and V8. #55145
- Backported fixes from upstream Chromium, V8 and WebRTC. #54664
- Backported fixes from upstream Chromium. #55031
- Deprecated the synchronous
safeStorage.isEncryptionAvailable(),safeStorage.encryptString()andsafeStorage.decryptString()in favor ofisAsyncEncryptionAvailable(),encryptStringAsync()anddecryptStringAsync(). #53850 - Electron's internal JavaScript bundles are no longer listed in
require('module').builtinModulesor loadable throughprocess.getBuiltinModule(). #53624 - Linux arm64, Windows arm64 and macOS x64 builds now start the main process from the embedded Node.js startup snapshot like the other platforms, improving startup time. #52874 (Also in 42, 43, 44)
- None (reverts an unreleased change). #52323
- Refactored mouse forwarding on Windows to fix
setIgnoreMouseEvents(true, { forward: true })related issues. #54803 (Also in 44) - The non-functional dummy libEGL.so and libGLESv2.so files are no longer included in the Linux distribution, now that ANGLE is statically linked. #52226 (Also in 44)
Electron 42.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.
electron v44.9.3
- Backported fixes from upstream ANGLE, Chromium, PDFium, Skia and V8. #55149
electron v43.8.3
- Backported fixes from upstream ANGLE, Chromium, PDFium, Skia and V8. #55147
electron v42.11.18
[!WARNING] Electron 42.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.
- Backported fixes from upstream ANGLE, Chromium, PDFium, Skia and V8. #55148
electron v45.0.0-beta.7
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install electron@45.0.0-beta.7.
- Fixed paste hanging indefinitely on Linux X11 until the app was restarted. #54912
- Backported fixes from upstream Chromium, PDFium, Skia and V8. #55145
9.31.2
- Fix AndOrNotEvaluator returning false for "a || b && c" when only a is true - by Arthur031221 (#18968)
- Remove unused blockMap in flow graph data cycle detection - by irontaek (#18980)
- Fix GPUParticleSystem leaving instance attribute divisors bound - by redstair (#18975)
- SubMesh Draw Wrapper Caching Per Pass - by tholub99 (#18972)
- fix: support image source dimensions on WebGL1 - [Bug Fix] by alexchuber (#18971)
- Fix WebGPU render target sRGB option forwarding - [Bug Fix] by RaananW (#18966)
- Expose WebGPU canvas tone mapping and color space options - [New Feature] by RaananW (#18967)