chore(deps): update dependency electron to v43 #82
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
released
semantic-release
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
florian/hermesx!82
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/electron-43.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
34.5.8→43.4.0Release Notes
electron/electron (electron)
v43.4.0: electron v43.4.0Compare Source
Release Notes for v43.4.0
Features
webFrameMain.printToPDF()to allow printing individual frames to PDF from the main process. #52627 (Also in 42, 44)getDisplayMedia({ audio: { restrictOwnAudio: true } })was ignored insetDisplayMediaRequestHandler, causing loopback audio to include local app playback. #52533 (Also in 44)Fixes
systemPreferences.getAccentColor()returning an empty string on some launches). #52575Other Changes
v43.3.0: electron v43.3.0Compare Source
Release Notes for v43.3.0
Features
availabletoprocess.getSystemMemoryInfo()on Linux, exposingproc/meminfoMemAvailable. #52379 (Also in 42, 44)Fixes
BrowserWindowsize corruption on Windows when created with explicitx/yon a secondary monitor whose DPI differs from the primary. #52501 (Also in 42, 44)Dirent.parentPathbeingundefinedforfs.readdir,fs.readdirSync,fs.glob, andfs.globSyncwithwithFileTypes: trueinside asar archives. #52505 (Also in 42, 44)dialog.showOpenDialog/dialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52401 (Also in 44)protocol.registerStreamProtocolwhen an error is emitted during a read. #52514 (Also in 41, 42, 44)requestSingleInstanceLockcould result in a crash. #52471 (Also in 44)Other Changes
v43.2.0: electron v43.2.0Compare Source
Release Notes for v43.2.0
Features
net.WebSocket, a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack. #52344 (Also in 42)Fixes
app.disableHardwareAcceleration()not fully disabling GPU hardware usage on Windows starting from Electron 38. #52369 (Also in 41, 42, 44)globalShortcutnot working on GNOME Wayland by enabling Chromium'sGlobalShortcutsPortalPreferredTriggerfeature by default on Linux. #52228Other Changes
v43.1.1: electron v43.1.1Compare Source
Release Notes for v43.1.1
Fixes
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. #52293 (Also in 42, 44)Other Changes
v43.1.0: electron v43.1.0Compare Source
Release Notes for v43.1.0
Fixes
Other Changes
v43.0.0: electron v43.0.0Compare Source
Release Notes for v43.0.0
Stack Upgrades
150.0.7871.46v24.147.015.0Breaking Changes
nativeImagewas passed an image with a color profile, its pixel values will now be normalized to SRGB. This ensures that two visually identical images after color space application will receive similar pixel values when converted to anativeImage. #51565roundedCorners: falseon the window. #52111showHiddenFilessupport from thedialogAPI on Linux. #51880Features
Additions
app.getApplicationInfoForProtocol(). #51297 (Also in 42)Notification.getHistory()for macOS, allowing developers to restore all delivered notifications still present in Notification Center. #50325 (Also in 42)accessibilityLabelproperty toMenuItemconstructor options and properties for defining screen-reader-friendly labels. #50240allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #49951 (Also in 40, 41, 42)app.configureWebAuthn()to enable the Touch ID platform authenticator for WebAuthn on macOS, and aselect-webauthn-accountsession event for choosing between multiple discoverable credentials. #51255 (Also in 41, 42)globalShortcut.setSuspended()andglobalShortcut.isSuspended()methods to temporarily suspend and resume global shortcut handling. #50425 (Also in 42)idandgroupIdoptions to the Notification constructor on macOS.idallows custom identifiers for notifications, andgroupIdvisually groups notifications together in Notification Center. #50097 (Also in 42)nv12OSR pixel format support for professional use. #49799view.setBackgroundBlur. #51076webContents.copyVideoFrameAt(x, y)andwebContents.saveVideoFrameAs(x, y)methods. #48149contentTracing.enableHeapProfiling(). #50826 (Also in 41, 42)urgencyoption in Notifications on Windows. #50225 (Also in 41, 42)--experimental-inspector-network-resourceNode.js flag to be passed through Electron. #49689 (Also in 41, 42)Improvements
app.getApplicationNameForProtocol()on Linux. #51251 (Also in 42)app.isDefaultProtocolClient()andapp.setAsDefaultProtocolClient()on Linux. #51316 (Also in 42)webRequestheader conversions and several other gin converter hot paths. #51608 (Also in 42)Fixes
desktopCapturer.getSources()hanging on macOS. #51128process.exit()with no argument did not exit withprocess.exitCodeprocess.exit()in the main process. #51428rgba(0,0,0,0)failing back to default frame color. #52010Also in earlier versions...
fscopy methods. #50226 (Also in 39, 40, 41, 42)metadatafields tocontentTracingtraces. #50892 (Also in 41, 42)kResizeThresholdto trigger the resize on corners. #50637 (Also in 41, 42)fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51152 (Also in 39, 40, 41, 42)ps aux. #50509 (Also in 42)NativeWindowViews::MoveBehindTaskBarIfNeeded(). #52021 (Also in 41, 42)ELECTRON_INSTALL_PLATFORMbeing ignored when resolving the Electron executable path during postinstall, which causedpath.txtto be written for the host platform instead of the requested target and madeisInstalled()always re-download on subsequent installs. #51029 (Also in 42)ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52131 (Also in 40, 41, 42)app.getLoginItemSettings()returningundefinedforexecutableWillLaunchAtLoginon macOS; the property is now always a boolean. #51416 (Also in 40, 41, 42)fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50825 (Also in 40, 41, 42)webContents.printToPDFrejecting on all subsequent calls after a prior call was rejected with an invalidpageRangesvalue. #51174 (Also in 40, 41, 42)webRequest.onBeforeSendHeaders()callback. #51340 (Also in 40, 41, 42)webContents.reload()or navigating synchronously from therender-process-goneevent; the event is now emitted after the renderer's teardown notification has completed. #51918 (Also in 41, 42)clipboard.readImage()when the clipboard contains malformed image data. #50475 (Also in 39, 40, 41, 42)touchID.promptReasontoapp.configureWebAuthn()to customize the prompt text. #51595 (Also in 41, 42)contentTracing.getTraceBufferUsage()while a trace session is active. #50556 (Also in 39, 40, 41, 42)release()after the texture object was garbage collected. #50473 (Also in 39, 40, 41, 42)webContents.print(). #50843 (Also in 41, 42)setResizable. #51252 (Also in 41, 42)<geolocation>HTML element. #51346 (Also in 41, 42)WebAssembly.compileStreaming()orWebAssembly.instantiateStreaming()withnodeIntegrationenabled. #51955 (Also in 42)Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50688 (Also in 40, 41, 42)win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows. #51920 (Also in 41, 42)UnhookWindowsHookExfailure insetIgnoreMouseEvents(true, { forward: true })teardown could cause duplicate low-level mouse hooks to be installed on the next activation. #51098 (Also in 41, 42)show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50579 (Also in 40, 41, 42)app-region: draginside a hiddenWebContentsViewwould still drag the parent window on Windows. #51200 (Also in 40, 41, 42)nodeIntegrationInWorkerdidn't always work in AudioWorklet. #47244 (Also in 40, 41, 42)processand other Node globals were undefined in ESM preload scripts whencontextIsolationwas disabled. #51723 (Also in 42)setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50874 (Also in 40, 41, 42)contentTracingAPIs beforeapp.whenReady()would crash the application. #50920 (Also in 41, 42)getFileHandlerequests on the same path could stall indefinitely. #50597 (Also in 40, 41, 42)webContents.print()did not prefill the print dialog on macOS. #50600 (Also in 40, 41, 42)electronvia ESM would touch the OS keychain on app-ready even whensafeStoragewas never used.safeStorage.isAsyncEncryptionAvailable()now returns a Promise as documented. #50419 (Also in 42)webContents.print()callback may not fire correctly in some cases. #50431 (Also in 41, 42)always-on-top-changedeven to fire with incorrect values. #51110 (Also in 40, 41, 42)contenteditableelements. #51289 (Also in 40, 41, 42)enable_pdfdisabled. #51223 (Also in 41, 42)app.setPath('sessionData')was called with a non-existent directory. #50891 (Also in 41, 42)setResizable(false)followed bysetResizable(true). #51175 (Also in 41, 42)--remote-debugging-portnot working when inspecting from Chrome'schrome://inspectpage. The DevTools page would appear empty due to the frontend URL pointing to a CDN that returned 404 for Electron's Chromium builds. #51236 (Also in 41)frame: false, matching the behavior for windows with frames. #50706 (Also in 41, 42)desktopNameis not provided inpackage.json. #51424 (Also in 41, 42)BaseWindow. #52119 (Also in 41, 42)allow-popups-to-escape-sandboxis set. #52189 (Also in 42)Other Changes
gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51146 (Also in 39, 40, 41, 42)Buffer/TextEncoderAPIs and a crash infs.writeFileSyncwith non-ASCII strings on Apple Silicon. #51850 (Also in 41, 42)Documentation
Notices
Support for 32-bit platforms ending
Electron 43.x.y will be the last version series of Electron to ship with prebuilt binaries for 32-bit platforms: Windows x86 (
win32-ia32) and Linux ARM (linux-armv7l). Once the v43 series reaches end of life in January 2027, these 32-bit platforms will no longer be supported.End of Support for 40.x.y
Electron 40.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.
v42.9.0: electron v42.9.0Compare Source
Release Notes for v42.9.0
Features
webFrameMain.printToPDF()to allow printing individual frames to PDF from the main process. #52626 (Also in 43, 44)Fixes
Other Changes
v42.8.1: electron v42.8.1Compare Source
Release Notes for v42.8.1
Fixes
BrowserWindowsize corruption on Windows when created with explicitx/yon a secondary monitor whose DPI differs from the primary. #52500 (Also in 43, 44)Dirent.parentPathbeingundefinedforfs.readdir,fs.readdirSync,fs.glob, andfs.globSyncwithwithFileTypes: trueinside asar archives. #52506 (Also in 43, 44)protocol.registerStreamProtocolwhen an error is emitted during a read. #52516 (Also in 41, 43, 44)Other Changes
v42.8.0: electron v42.8.0Compare Source
Release Notes for v42.8.0
Features
availabletoprocess.getSystemMemoryInfo()on Linux, exposingproc/meminfoMemAvailable. #52378 (Also in 43, 44)Fixes
v42.7.1: electron v42.7.1Compare Source
Release Notes for v42.7.1
Fixes
app.disableHardwareAcceleration()not fully disabling GPU hardware usage on Windows starting from Electron 38. #52371 (Also in 41, 43, 44)--remote-debugging-portnot working when inspecting from Chrome'schrome://inspectpage. The DevTools page would appear empty due to the frontend URL pointing to a CDN that returned 404 for Electron's Chromium builds. #51415 (Also in 41)Other Changes
v42.7.0: electron v42.7.0Compare Source
Release Notes for v42.7.0
Features
net.WebSocket, a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack. #52345v42.6.2: electron v42.6.2Compare Source
Release Notes for v42.6.2
Fixes
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. #52294 (Also in 43, 44)BrowserWindowwithuseContentSize: truewould clamp the content area smaller than the configuredmaxWidth/maxHeightwhen programmatically resizing beyond those constraints viasetBounds,setSize, orsetContentSize. #51622Other Changes
v42.6.1: electron v42.6.1Compare Source
Release Notes for v42.6.1
Fixes
v42.6.0: electron v42.6.0Compare Source
Release Notes for v42.6.0
Fixes
Other Changes
v42.5.2: electron v42.5.2Compare Source
Release Notes for v42.5.2
Fixes
allow-popups-to-escape-sandboxis set. #52190 (Also in 43)v42.5.1: electron v42.5.1Compare Source
Release Notes for v42.5.1
Fixes
ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52132 (Also in 40, 41, 43)BaseWindow. #52117 (Also in 41, 43)Other Changes
v42.5.0: electron v42.5.0Compare Source
Release Notes for v42.5.0
Fixes
NativeWindowViews::MoveBehindTaskBarIfNeeded(). #52022 (Also in 41, 43)Other Changes
v42.4.1: electron v42.4.1Compare Source
Release Notes for v42.4.1
Fixes
safeStorage.isAsyncEncryptionAvailable()incorrectly reportingfalseshortly after the appreadyevent, and a crash when callingsafeStorage.encryptStringAsync()orsafeStorage.decryptStringAsync()before async encryption initialization completed.safeStorage.isAsyncEncryptionAvailable()now returns a Promise as documented. #51924WebAssembly.compileStreaming()orWebAssembly.instantiateStreaming()withnodeIntegrationenabled. #51956 (Also in 43)Other Changes
Documentation
v42.4.0: electron v42.4.0Compare Source
Release Notes for v42.4.0
Fixes
webContents.reload()or navigating synchronously from therender-process-goneevent; the event is now emitted after the renderer's teardown notification has completed. #51916 (Also in 43)win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows. #51921 (Also in 41, 43)Other Changes
v42.3.3: electron v42.3.3Compare Source
Release Notes for v42.3.3
Fixes
node:wasifunctions with fast API calls enabled. #51867Other Changes
Buffer/TextEncoderAPIs and a crash infs.writeFileSyncwith non-ASCII strings on Apple Silicon. #51849 (Also in 41, 43)v42.3.2: electron v42.3.2Compare Source
Release Notes for v42.3.2
simdutfwhen processing strings in the main processv42.3.1: electron v42.3.1Compare Source
Release Notes for v42.3.1
Fixes
desktopCapturercrash when sharing a window on Windows. #51787Other Changes
app.isDefaultProtocolClient()andapp.setAsDefaultProtocolClient()on Linux. #51627v42.3.0: electron v42.3.0Compare Source
Release Notes for v42.3.0
Features
app.getApplicationInfoForProtocol(). #51680Fixes
processand other Node globals were undefined in ESM preload scripts whencontextIsolationwas disabled. #51726 (Also in 43)Other Changes
v42.2.0: electron v42.2.0Compare Source
Release Notes for v42.2.0
Features
--experimental-inspector-network-resourceNode.js flag to be passed through Electron. #51378 (Also in 41)Fixes
Other Changes
app.getApplicationNameForProtocol()on Linux. #51628Documentation
v42.1.0: electron v42.1.0Compare Source
Release Notes for v42.1.0
Fixes
touchID.promptReasontoapp.configureWebAuthn()to customize the prompt text. #51594 (Also in 41, 43)Other Changes
webRequestheader conversions and several other gin converter hot paths. #51607 (Also in 43)v42.0.1: electron v42.0.1Compare Source
Release Notes for v42.0.1
Fixes
app.getLoginItemSettings()returningundefinedforexecutableWillLaunchAtLoginon macOS; the property is now always a boolean. #51507 (Also in 40, 41)Other Changes
v42.0.0: electron v42.0.0Compare Source
Release Notes for v42.0.0
Stack Upgrades
148.0.7778.96v24.15.014.8Breaking Changes
Behavior Changed: macOS notifications now use
UNNotificationAPIElectron has migrated from the deprecated
NSUserNotificationAPI to theUNNotificationAPI on macOS. The new API requires that an application be code-signed in order for notifications to be displayed. If an application is not code-signed, notifications will emit afailedevent on theNotificationobject. #47817Behavior Changed:
electronno longer downloads itself viapostinstallscriptPreviously, the
electronnpm package would download the Electron binary from the repository's GitHub Releases in the package'spostinstallscript. With recent supply chain security attacks against the npm ecosystem withpostinstallscripts as a common attack vector, Electron will now download itself dynamically the first time that its mainbinscript is run (e.g. vianpx electron). See RFC #22 for more context. #49328Behavior Changed: Offscreen rendering default device scale factor
Previously, OSR used the primary display's device scale factor for rendering. Starting from Electron 42, the default changes to a constant value of
1.0for more consistent output sizes. UsewebPreferences.offscreen.deviceScaleFactorto specify a custom value. #49683Removed:
quotasobject fromSession.clearStorageData(options)When calling
Session.clearStorageData(options), theoptions.quotasobject is no longer supported because it has been removed from upstream Chromium.Removed:
ELECTRON_SKIP_BINARY_DOWNLOADenvironment variableThis environment variable is no longer supported due to the new lazy download behavior. #50459
Features
Additions
app.configureWebAuthn({ touchID: { keychainAccessGroup } })to enable the WebAuthn Touch ID platform authenticator on macOS. Also introduces aselect-webauthn-accountsession event for discoverable-credential selection. #51411 (Also in 41)Notification.getHistory()for macOS. #51123Notification.handleActivation(callback)API on Windows to handle notification clicks, replies, and action buttons - including when the app is launched from a notification (cold start). #49919ELECTRON_INSTALL_PLATFORMandELECTRON_INSTALL_ARCHvariables to install binaries from other platforms and architectures. #49981allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50530 (Also in 40, 41)app.isActive()to check if the app is the active/foreground application (macOS only). #49622globalShortcut.setSuspended()andglobalShortcut.isSuspended()methods to temporarily suspend and resume global shortcut handling. #50777idandgroupIdoptions to the Notification constructor on macOS.idallows custom identifiers for notifications, andgroupIdvisually groups notifications together in Notification Center. #50304webContents.getOrCreateDevToolsTargetId(). #49733 (Also in 41)disclaimoption to the UtilityProcess API to allow for TCC disclaiming on macOS. #49128 (Also in 39, 40, 41)reasonproperty to the Notification 'closed' event on Windows to allow developers to know the reason the Notification was dismissed. #49913 (Also in 40, 41)usePrinterDefaultPageSizeoption towebContents.print()to allow using the printer's default page size. #49523 (Also in 41)view.setBoundsand addedview.setBackgroundBlur. #48812nativeTheme.shouldDifferentiateWithoutColoron macOS. #50409 (Also in 41)--experimental-transform-types. #49711 (Also in 39, 40, 41)long-animation-framescript attribution (via--enable-features=AlwaysLogLOAFURL). #49706 (Also in 39, 40, 41)contentTracing. #51162 (Also in 41)safeStoragebackends via new asynchronous functionality in safeStorage. #49054urgencyoption in Notifications on Windows. #50383 (Also in 41)webPreferences.focusOnNavigation. #49425 (Also in 40, 41)node_modulesdynamically on first launch instead of running apostinstallscript. Added theinstall-electronscript to manually trigger the download as well. #49328WasmTrapHandlersfuse. #48983 (Also in 41)hasShadow: falsein the window constructor. #49295 (Also in 41)Fixes
fscopy methods. #50285 (Also in 39, 40, 41)metadatafields tocontentTracingtraces. #51007 (Also in 41)CoreAudio Tap APIfor audio capture used in electron'sdesktopCapturer(macOS). #49717 (Also in 39, 40, 41)kResizeThresholdto trigger the resize on corners. #51001 (Also in 41)AllowUniversalAccessFromFileURLsnot being properly constrained tofile:origins in agent cluster key assignment. #51404corsEnabled: falseprotocol handlers incorrectly working across protocols. #51269 (Also in 39, 40, 41)printToPDFqueue not resetting after a rejection. #51222 (Also in 40, 41)webContents.print()not honoringdpihorizontal/vertical options. #51354 (Also in 41)ps aux. #50533fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50877 (Also in 40, 41)globalShortcutnot working on Wayland withGlobalShortcutsPortalfeature enabled. #49842 (Also in 40, 41)webPreference.offscreen.deviceScaleFactorto allow user specify a value. #48730 (Also in 40, 41)AutofillPopupteardown. #51317 (Also in 40, 41)clipboard.readImage()when the clipboard contains malformed image data. #50494 (Also in 39, 40, 41)contentTracingAPIs before app is ready. #51353 (Also in 41)contentTracing.getTraceBufferUsage()while a trace session is active. #50592 (Also in 39, 40, 41)webRequest.onBeforeSendHeaderswith invalid header names or values. #51366 (Also in 40, 41)release()after the texture object was garbage collected. #50502 (Also in 39, 40, 41)MicrotasksScopefor worker exit emit inContextWillDestroy. #51350 (Also in 40, 41)<permission>element was used, by including permission element string resources in locale paks. #51374 (Also in 41)webContents.print(). #50853Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50695 (Also in 40, 41)chrome://accessibility. #49547 (Also in 39, 40, 41)app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #49986 (Also in 39, 40, 41)show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50712 (Also in 40, 41)autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50210 (Also in 39, 40, 41)VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #49997 (Also in 39, 40, 41)additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50119 (Also in 38, 39, 40, 41)net.fetch()requests in the main process and utility processes would permanently fail withnet::ERR_FAILEDafter the Network Service process crashed and restarted. #49887nodeIntegrationInWorkerdidn't always work in AudioWorklet. #51005 (Also in 40, 41)nodeIntegrationInWorkeroverrides insetWindowOpenHandlerwere not honored for child windows sharing a renderer process with their opener. #50122 (Also in 38, 39, 40, 41)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50092 (Also in 39, 40, 41)setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50987 (Also in 40, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49476 (Also in 39, 40, 41)setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #49464 (Also in 39, 40, 41)getFileHandlerequests on the same path could stall indefinitely. #50671 (Also in 40, 41)webContents.print()did not prefill the print dialog on macOS. #50643toastXmlcould cause a Notification crash. #49947 (Also in 40, 41)nullfor their accelerator property. #49558 (Also in 39, 40, 41)zoomFactorinsetWindowOpenHandler'soverrideBrowserWindowOptionshad no effect on windows opened viawindow.open(). #49886 (Also in 39, 40, 41)shellfunctionality may not work on Linux if the target window is already open. #49499 (Also in 41)webContents.print()callback may not fire correctly in some cases. #50603 (Also in 41)trafficLightPositionfrom minimization on macOS. #50183 (Also in 39, 40, 41)always-on-top-changedevent to fire with incorrect values. #51133 (Also in 40, 41)app.setPath('sessionData')was called with a non-existent directory. #50908 (Also in 41)WebContentsView. #51245 (Also in 40, 41)UnhookWindowsHookExfails inSetForwardMouseMessages. #51418 (Also in 41)contenteditableelements. #51344 (Also in 40, 41)win.setFullScreen(false)when not in fullscreen on Linux. #45930 (Also in 39, 40, 41)menu-will-closeevent when closed after any submenu has been open. #49783 (Also in 40, 41)frame: false, matching the behavior for windows with frames. #50864 (Also in 41)setResizablefor frameless windows. #51296 (Also in 41)setResizabletoggles on Windows. #51218 (Also in 41)resizableisfalse. Windows no longer shrink below the requested max size or grow taller when resizability is disabled. #49903 (Also in 41)globalShortcutAPI. #49988 (Also in 41)Other Changes
4835695. #49788gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51166 (Also in 39, 40, 41)gin_helper::Promiseto be managed by cppgc. #51405Documentation
Notices
End of Support for 39.x.y
Electron 39.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.
v41.10.5: electron v41.10.5Compare Source
Release Notes for v41.10.5
Fixes
Other Changes
v41.10.4: electron v41.10.4Compare Source
Release Notes for v41.10.4
Fixes
protocol.registerStreamProtocolwhen an error is emitted during a read. #52513 (Also in 42, 43, 44)allow-popups-to-escape-sandboxis set. #52486 (Also in 42, 43)v41.10.3: electron v41.10.3Compare Source
Release Notes for v41.10.3
Fixes
app.disableHardwareAcceleration()not fully disabling GPU hardware usage on Windows starting from Electron 38. #52368 (Also in 42, 43, 44)Other Changes
v41.10.2: electron v41.10.2Compare Source
Release Notes for v41.10.2
Fixes
WebAssembly.compileStreaming()orWebAssembly.instantiateStreaming()withnodeIntegrationenabled. #52240 (Also in 42, 43)Other Changes
v41.10.1: electron v41.10.1Compare Source
Release Notes for v41.10.1
Fixes
v41.10.0: electron v41.10.0Compare Source
Release Notes for v41.10.0
Other Changes
v41.9.2: electron v41.9.2Compare Source
Release Notes for v41.9.2
Fixes
v41.9.1: electron v41.9.1Compare Source
Release Notes for v41.9.1
Fixes
ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52134 (Also in 40, 42, 43)BaseWindow. #52118 (Also in 42, 43)Other Changes
v41.9.0: electron v41.9.0Compare Source
Release Notes for v41.9.0
Fixes
NativeWindowViews::MoveBehindTaskBarIfNeeded(). #52023 (Also in 42, 43)Other Changes
v41.8.0: electron v41.8.0Compare Source
Release Notes for v41.8.0
Fixes
webContents.reload()or navigating synchronously from therender-process-goneevent; the event is now emitted after the renderer's teardown notification has completed. #51917 (Also in 42, 43)Other Changes
Documentation
v41.7.2: electron v41.7.2Compare Source
Release Notes for v41.7.2
Fixes
win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows. #51919 (Also in 42, 43)Other Changes
Buffer/TextEncoderAPIs and a crash infs.writeFileSyncwith non-ASCII strings on Apple Silicon. #51851 (Also in 42, 43)v41.7.1: electron v41.7.1Compare Source
Release Notes for v41.7.1
Fixes
webContents.print(). #51728 (Also in 42)webContents.print()did not prefill the print dialog on macOS. #51682 (Also in 40, 42)v41.7.0: electron v41.7.0Compare Source
Release Notes for v41.7.0
Features
--experimental-inspector-network-resourceNode.js flag to be passed through Electron. #51377 (Also in 42)Fixes
Other Changes
v41.6.1: electron v41.6.1Compare Source
Release Notes for v41.6.1
Other Changes
v41.6.0: electron v41.6.0Compare Source
Release Notes for v41.6.0
Fixes
touchID.promptReasontoapp.configureWebAuthn()to customize the prompt text. #51604 (Also in 42, 43)v41.5.2: electron v41.5.2Compare Source
Release Notes for v41.5.2
Fixes
v41.5.1: electron v41.5.1Compare Source
Release Notes for v41.5.1
Fixes
app.getLoginItemSettings()returningundefinedforexecutableWillLaunchAtLoginon macOS; the property is now always a boolean. #51508 (Also in 40, 42)desktopNameis not provided inpackage.json. #51480 (Also in 42)v41.5.0: electron v41.5.0Compare Source
Release Notes for v41.5.0
Features
app.configureWebAuthn()to enable the Touch ID platform authenticator for WebAuthn on macOS, and aselect-webauthn-accountsession event for choosing between multiple discoverable credentials. #51412 (Also in 42)Fixes
setResizable. #51427 (Also in 42)UnhookWindowsHookExfailure insetIgnoreMouseEvents(true, { forward: true })teardown could cause duplicate low-level mouse hooks to be installed on the next activation. #51419 (Also in 42)--remote-debugging-portnot working when inspecting from Chrome'schrome://inspectpage. The DevTools page would appear empty due to the frontend URL pointing to a CDN that returned 404 for Electron's Chromium builds. #51413v41.4.0: electron v41.4.0Compare Source
Release Notes for v41.4.0
Features
contentTracing.enableHeapProfiling(). #51178 (Also in 42)Fixes
fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51270 (Also in 39, 40, 42)webRequest.onBeforeSendHeaders()callback. #51365 (Also in 40, 42)webPreference.offscreen.deviceScaleFactorto allow user specify a value, instead of using user's primary display's value. #50375 (Also in 40)<geolocation>HTML element. #51373 (Also in 42)contentTracingAPIs beforeapp.whenReady()would crash the application. #51352 (Also in 42)contenteditableelements. #51343 (Also in 40, 42)Other Changes
4955347. #512644927361,4926688,4934134,4933194,4941583,4962818. #51259v41.3.0: electron v41.3.0Compare Source
Release Notes for v41.3.0
Fixes
webContents.printToPDFrejecting on all subsequent calls after a prior call was rejected with an invalidpageRangesvalue. #51221 (Also in 40, 42)app-region: draginside a hiddenWebContentsViewwould still drag the parent window on Windows. #51246 (Also in 40, 42)enable_pdfdisabled. #51248 (Also in 42)setResizable(false)followed bysetResizable(true). #51217 (Also in 42)Other Changes
v41.2.2: electron v41.2.2Compare Source
Release Notes for v41.2.2
Fixes
nodeIntegrationInWorkerdidn't always work in AudioWorklet. #51006 (Also in 42)always-on-top-changedeven to fire with incorrect values. #51135 (Also in 40, 42)Other Changes
gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51165 (Also in 39, 40, 42)v41.2.1: electron v41.2.1Compare Source
Release Notes for v41.2.1
Fixes
metadatafields tocontentTracingtraces. #51021 (Also in 42)kResizeThresholdto trigger the resize on corners. #51002 (Also in 42)fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50876 (Also in 40, 42)setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50985 (Also in 40, 42)app.setPath('sessionData')was called with a non-existent directory. #50958 (Also in 42)frame: false, matching the behavior for windows with frames. #50863 (Also in 42)Other Changes
v41.2.0: electron v41.2.0Compare Source
Release Notes for v41.2.0
Features
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50529 (Also in 40, 42)Fixes
Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50694 (Also in 40, 42)show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50715 (Also in 40, 42)getFileHandlerequests on the same path could stall indefinitely. #50670 (Also in 40, 42)webContents.print()callback may not fire correctly in some cases. #50604 (Also in 42)Other Changes
v41.1.1: electron v41.1.1Compare Source
Release Notes for v41.1.1
Fixes
contentTracing.getTraceBufferUsage()while a trace session is active. #50594 (Also in 39, 40, 42)Other Changes
v41.1.0: electron v41.1.0Compare Source
Release Notes for v41.1.0
Features
urgencyoption in Notifications on Windows. #50382 (Also in 42)Fixes
clipboard.readImage()when the clipboard contains malformed image data. #50492 (Also in 39, 40, 42)release()after the texture object was garbage collected. #50501 (Also in 39, 40, 42)Other Changes
v41.0.4: electron v41.0.4Compare Source
Release Notes for v41.0.4
Fixes
Other Changes
v41.0.3: electron v41.0.3Compare Source
Release Notes for v41.0.3
Fixes
fscopy methods. #50286 (Also in 39, 40, 42)Other Changes
Documentation
v41.0.2: electron v41.0.2Compare Source
Release Notes for v41.0.2
Other Changes
v41.0.1: electron v41.0.1Compare Source
Release Notes for v41.0.1
Fixes
autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50217 (Also in 39, 40)trafficLightPositionfrom minimization on macOS. #50209 (Also in 39, 40)Other Changes
v41.0.0: electron v41.0.0Compare Source
Release Notes for v41.0.0
Stack Upgrades
146.0.7680.65v24.14.014.6Breaking Changes
For breaking changes inherited via Chromium, see blog post
Features
Additions
webContents.getOrCreateDevToolsTargetId(). #50176disclaimoption to the UtilityProcess API to allow for TCC disclaiming on macOS. #49693 (Also in 39, 40)reasonproperty to the Notification 'closed' event on Windows to allow developers to know the reason the Notification was dismissed. #50029 (Also in 40)usePrinterDefaultPageSizeoption towebContents.print()to allow using the printer's default page size. #49812loginevent onwebContents. #48512 (Also in 39, 40)--experimental-transform-types. #49882 (Also in 39, 40)long-animation-framescript attribution (via--enable-features=AlwaysLogLOAFURL). #49773 (Also in 39, 40)webPreferences.focusOnNavigation. #49511 (Also in 40)WasmTrapHandlersfuse. #49839hasShadow: falsein the window constructor. #49885Improvements
nativeImage.createFromNamedImageto support SF Symbol names. #48203 (Also in 39, 40)Removed/Deprecated
Fixes
shellfunctionality may not work on Linux if the target window is already open. #49594resizableisfalse. Windows no longer shrink below the requested max size or grow taller when resizability is disabled. #49971globalShortcutAPI. #50051Also in earlier versions...
CoreAudio Tap APIfor audio capture used in electron'sdesktopCapturer(🍏 macOS). #49739 (Also in 39, 40)globalShortcutnot working on Wayland withGlobalShortcutsPortalfeature enabled. #49871 (Also in 40)setRepresentedFilename()not settingAXDocumentaccessibility attribute on macOS. #49346 (Also in 39, 40)chrome://accessibility. #49561 (Also in 39, 40)app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #50006 (Also in 39, 40)VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #50023 (Also in 39, 40)additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50154 (Also in 38, 39, 40)menu-did-closewas not emitted properly for some application menus. #49075 (Also in 38, 39, 40)nodeIntegrationInWorkeroverrides insetWindowOpenHandlerwere not honored for child windows sharing a renderer process with their opener. #50134 (Also in 38)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50105 (Also in 39, 40)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49503 (Also in 39, 40)setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #50085 (Also in 39, 40)toastXmlcould cause a Notification crash. #49953 (Also in 40)nullfor their accelerator property. #49668 (Also in 39, 40)zoomFactorinsetWindowOpenHandler'soverrideBrowserWindowOptionshad no effect on windows opened viawindow.open(). #49911 (Also in 39, 40)menu.popupwould fire when any arbitrary submenu of the given menu closed, and not the menu itself. #49017 (Also in 38, 39, 40)win.setFullScreen(false)when not in fullscreen on Linux. #49996 (Also in 39, 40)menu-will-closeevent when closed after any submenu has been open. #49964 (Also in 40)netare now capable of having their headers modified to use reserved headers viawebRequest. #49226 (Also in 39, 40)Other Changes
4835695. #49789Documentation
Notices
End of Support for 38.x.y
Electron 38.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.
v40.10.6: electron v40.10.6Compare Source
Release Notes for v40.10.6
Fixes
ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52135 (Also in 41, 42, 43)Other Changes
v40.10.5: electron v40.10.5Compare Source
Release Notes for v40.10.5
Other Changes
v40.10.4: electron v40.10.4Compare Source
Release Notes for v40.10.4
Other Changes
Documentation
v40.10.3: electron v40.10.3Compare Source
Release Notes for v40.10.3
Other Changes
v40.10.2: electron v40.10.2Compare Source
Release Notes for v40.10.2
Fixes
webContents.print()did not prefill the print dialog on macOS. #51692 (Also in 41, 42)v40.10.1: electron v40.10.1Compare Source
Release Notes for v40.10.1
Other Changes
v40.10.0: electron v40.10.0Compare Source
Release Notes for v40.10.0
Fixes
app.getLoginItemSettings()returningundefinedforexecutableWillLaunchAtLoginon macOS; the property is now always a boolean. #51509 (Also in 41, 42)Other Changes
v40.9.3: electron v40.9.3Compare Source
Release Notes for v40.9.3
Fixes
fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51271 (Also in 39, 41, 42)webContents.printToPDFrejecting on all subsequent calls after a prior call was rejected with an invalidpageRangesvalue. #51220 (Also in 41, 42)webRequest.onBeforeSendHeaders()callback. #51364 (Also in 41, 42)app-region: draginside a hiddenWebContentsViewwould still drag the parent window on Windows. #51247 (Also in 41, 42)contenteditableelements. #51345 (Also in 41, 42)Other Changes
4933194,4941583,4932347,4927361,4934134,4926688,4962818. #51258v40.9.2: electron v40.9.2Compare Source
Release Notes for v40.9.2
Fixes
nodeIntegrationInWorkerdidn't always work in AudioWorklet. #51004 (Also in 41, 42)always-on-top-changedeven to fire with incorrect values. #51134 (Also in 41, 42)Other Changes
gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51164 (Also in 39, 41, 42)v40.9.1: electron v40.9.1Compare Source
Release Notes for v40.9.1
Features
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50588 (Also in 41, 42)Fixes
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50875 (Also in 41, 42)Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42)show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50713 (Also in 41, 42)setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50986 (Also in 42)getFileHandlerequests on the same path could stall indefinitely. #50672 (Also in 41, 42)Other Changes
4897116. #506234939526. #50619v40.8.5: electron v40.8.5Compare Source
Release Notes for v40.8.5
Fixes
clipboard.readImage()when the clipboard contains malformed image data. #50491 (Also in 39, 41, 42)release()after the texture object was garbage collected. #50500 (Also in 39, 41, 42)Other Changes
v40.8.4: electron v40.8.4Compare Source
Release Notes for v40.8.4
Fixes
nodeIntegrationInWorkeroverrides insetWindowOpenHandlerwere not honored for child windows sharing a renderer process with their opener. #50467 (Also in 38, 39, 41)Other Changes
4859353. #504414893813. #504494847510,4871177. #50460v40.8.3: electron v40.8.3Compare Source
Release Notes for v40.8.3
Fixes
fscopy methods. #50287 (Also in 39, 41, 42)v40.8.2: electron v40.8.2Compare Source
Release Notes for v40.8.2
Other Changes
v40.8.1: electron v40.8.1Compare Source
Release Notes for v40.8.1
Fixes
autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50216 (Also in 39, 41)additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50162 (Also in 38, 39, 41)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50104 (Also in 39, 41)setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #50084 (Also in 39, 41)trafficLightPositionfrom minimization on macOS. #50207 (Also in 39, 41)Other Changes
v40.8.0: electron v40.8.0Compare Source
Release Notes for v40.8.0
Features
reasonproperty to the Notification 'closed' event on Windows to allow developers to know the reason the Notification was dismissed. #50030 (Also in 41)Fixes
Other Changes
v40.7.0: electron v40.7.0Compare Source
Release Notes for v40.7.0
Features
--experimental-transform-types. #49883 (Also in 39, 41)Fixes
safeStoragefailing to clean up legacy keychain entries when migrating to suffixed account names on macOS, and fixed first launch creating entries with the wrong (unsuffixed) account name. #49817app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #50005 (Also in 39, 41)VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #50022 (Also in 39, 41)toastXmlcould cause a Notification crash. #49952 (Also in 41)win.setFullScreen(false)when not in fullscreen on Linux. #49994 (Also in 41)menu-will-closeevent when closed after any submenu has been open. #49963 (Also in 41)Other Changes
v40.6.1: electron v40.6.1Compare Source
Release Notes for v40.6.1
Fixes
globalShortcutnot working on Wayland withGlobalShortcutsPortalfeature enabled. #49870 (Also in 41)zoomFactorinsetWindowOpenHandler'soverrideBrowserWindowOptionshad no effect on windows opened viawindow.open(). #49909 (Also in 41)Other Changes
v40.6.0: electron v40.6.0Compare Source
Release Notes for v40.6.0
Features
webPreferences.focusOnNavigation. #49512 (Also in 41)Fixes
v40.5.0: electron v40.5.0Compare Source
Release Notes for v40.5.0
Features
long-animation-framescript attribution (via--enable-features=AlwaysLogLOAFURL). #49772 (Also in 41)Fixes
CoreAudio Tap APIfor audio capture used in electron'sdesktopCapturer(🍏 macOS). #49741 (Also in 39, 41)Other Changes
v40.4.1: electron v40.4.1Compare Source
Release Notes for v40.4.1
Other Changes
4835695. #49790v40.4.0: electron v40.4.0Compare Source
Release Notes for v40.4.0
Features
v40.3.0: electron v40.3.0Compare Source
Release Notes for v40.3.0
Fixes
nullfor their accelerator property. #49669 (Also in 39, 41)Other Changes
4797260. #49699v40.2.1: electron v40.2.1Compare Source
Release Notes for v40.2.1
Other Changes
v40.1.0: electron v40.1.0Compare Source
Release Notes for v40.1.0
Features
Fixes
setRepresentedFilename()not settingAXDocumentaccessibility attribute on macOS. #49417 (Also in 39)chrome://accessibility. #49560 (Also in 39, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49501 (Also in 39, 41)Other Changes
4738514. #49487Unknown
v40.0.0: electron v40.0.0Compare Source
Release Notes for v40.0.0
Stack Upgrades
144.0.7559.60v24.11.114.4Breaking Changes
Features
Additions
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48265 (Also in 39)app.isHardwareAccelerationEnabled(). #47614 (Also in 37, 38, 39)loginevent onwebContents. #49064 (Also in 39)systemPreferences.getAccentColor. #48027 (Also in 39)Improvements
window.setAccentColor(null). #48274 (Also in 38, 39)nativeImage.createFromNamedImageto support SF Symbol names. #48772 (Also in 39)Fixes
--no-stdio-initto be used when nul device is disabled on windows. #47870Also in earlier versions...
GetPackageJSON. #48293 (Also in 37, 38, 39)XDG_SESSION_TYPEenvironment variable. #48301 (Also in 38, 39)dialog.showMessageBoxdefault button handling. #48216 (Also in 36, 37, 38, 39)dialog.showOpenDialogon Windows with an empty extension filter array. #48640 (Also in 37, 38, 39)menu-did-closewas not emitted properly for some application menus. #49092 (Also in 38, 39)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48502 (Also in 38, 39)systemPreferences.getAccentColorinverted the color. #48511 (Also in 37, 38, 39)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48538 (Also in 37, 38, 39)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48568 (Also in 37, 38, 39)webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48600 (Also in 38, 39)menu.popupwould fire when any arbitrary submenu of the given menu closed, and not the menu itself. #49046 (Also in 38, 39)webContents.sessionorwebContents.debugger. #48318 (Also in 39)--enable-features=Feature:ParamA/Value. #48411 (Also in 39)<input>tag on macOS 26. #48379 (Also in 36, 37, 38, 39)netare now capable of having their headers modified to use reserved headers viawebRequest. #49241 (Also in 39)Other Changes
4453807. #48335 (Also in 36, 37, 38, 39)4667866. #49286Documentation
Notices
End of Support for 37.x.y
Electron 37.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.
v39.8.10: electron v39.8.10Compare Source
Release Notes for v39.8.10
Fixes
fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51272 (Also in 40, 41, 42)Other Changes
4933194,4941583,4932347,4927361,4934134,4926688,4962818. #51257v39.8.9: electron v39.8.9Compare Source
Release Notes for v39.8.9
Other Changes
gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51163 (Also in 40, 41, 42)v39.8.8: electron v39.8.8Compare Source
Release Notes for v39.8.8
Fixes
Other Changes
v39.8.7: electron v39.8.7Compare Source
Release Notes for v39.8.7
Other Changes
4897116. #506244939526. #50620v39.8.6: electron v39.8.6Compare Source
Release Notes for v39.8.6
Fixes
contentTracing.getTraceBufferUsage()while a trace session is active. #50595 (Also in 40, 41, 42)v39.8.5: electron v39.8.5Compare Source
Release Notes for v39.8.5
Fixes
clipboard.readImage()when the clipboard contains malformed image data. #50493 (Also in 40, 41, 42)release()after the texture object was garbage collected. #50499 (Also in 40, 41, 42)v39.8.4: electron v39.8.4Compare Source
Release Notes for v39.8.4
Fixes
nodeIntegrationInWorkeroverrides insetWindowOpenHandlerwere not honored for child windows sharing a renderer process with their opener. #50468 (Also in 38, 40, 41)Other Changes
4859353. #504404893813. #504434847510,4871177. #50461v39.8.3: electron v39.8.3Compare Source
Release Notes for v39.8.3
Fixes
fscopy methods. #50284 (Also in 40, 41, 42)v39.8.2: electron v39.8.2Compare Source
Release Notes for v39.8.2
Other Changes
v39.8.1: electron v39.8.1Compare Source
Release Notes for v39.8.1
Fixes
autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50215 (Also in 40, 41)additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50174 (Also in 38, 40, 41)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50106 (Also in 40, 41)setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #50086 (Also in 40, 41)trafficLightPositionfrom minimization on macOS. #50208 (Also in 40, 41)win.setFullScreen(false)when not in fullscreen on Linux. #49995 (Also in 40, 41)Other Changes
v39.8.0: electron v39.8.0Compare Source
Release Notes for v39.8.0
Features
--experimental-transform-types. #49881 (Also in 40, 41)Fixes
app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #50004 (Also in 40, 41)VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #50021 (Also in 40, 41)zoomFactorinsetWindowOpenHandler'soverrideBrowserWindowOptionshad no effect on windows opened viawindow.open(). #49910 (Also in 40, 41)v39.7.0: electron v39.7.0Compare Source
Release Notes for v39.7.0
Features
long-animation-framescript attribution (via--enable-features=AlwaysLogLOAFURL). #49771 (Also in 40, 41)Fixes
v39.6.1: electron v39.6.1Compare Source
Release Notes for v39.6.1
Fixes
v39.6.0: electron v39.6.0Compare Source
Release Notes for v39.6.0
Features
Fixes
CoreAudio Tap APIfor audio capture used in electron'sdesktopCapturer(🍏 macOS). #49740 (Also in 41)Other Changes
4835695. #49791v39.5.2: electron v39.5.2Compare Source
Release Notes for v39.5.2
Fixes
nullfor their accelerator property. #49670 (Also in 40, 41)Other Changes
Unknown
v39.5.1: electron v39.5.1Compare Source
Release Notes for v39.5.1
Fixes
v39.5.0: electron v39.5.0Compare Source
Release Notes for v39.5.0
Features
Fixes
v39.4.0: electron v39.4.0Compare Source
Release Notes for v39.4.0
Fixes
chrome://accessibility. #49559 (Also in 40, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49502 (Also in 40, 41)Other Changes
Unknown
v39.3.0: electron v39.3.0Compare Source
Release Notes for v39.3.0
Features
loginevent onwebContents. #49065 (Also in 40)Fixes
setRepresentedFilename()not settingAXDocumentaccessibility attribute on macOS. #49418 (Also in 40)netare now capable of having their headers modified to use reserved headers viawebRequest. #49242 (Also in 40)Other Changes
4667866. #49287v39.2.7: electron v39.2.7Compare Source
Release Notes for v39.2.7
Other Changes
v39.2.6: electron v39.2.6Compare Source
Release Notes for v39.2.6
Fixes
Other Changes
v39.2.5: electron v39.2.5Compare Source
Release Notes for v39.2.5
Fixes
menu-did-closewas not emitted properly for some application menus. #49093 (Also in 38, 40)Other Changes
v39.2.4: electron v39.2.4Compare Source
Release Notes for v39.2.4
Fixes
menu.popupwould fire when any arbitrary submenu of the given menu closed, and not the menu itself. #49045 (Also in 38, 40)Other Changes
v39.2.3: electron v39.2.3Compare Source
Release Notes for v39.2.3
v39.2.2: electron v39.2.2Compare Source
Release Notes for v39.2.2
Fixes
v39.2.1: electron v39.2.1Compare Source
Release Notes for v39.2.1
Fixes
v39.2.0: electron v39.2.0Compare Source
Release Notes for v39.2.0
Features
app.isHardwareAccelerationEnabled(). #48680 (Also in 37, 38)window.setAccentColor(null). #48852 (Also in 38)nativeImage.createFromNamedImageto support SF Symbol names. #48773 (Also in 40)Fixes
Other Changes
v39.1.2: electron v39.1.2Compare Source
Release Notes for v39.1.2
Fixes
Other Changes
Documentation
Unknown
v39.1.1: electron v39.1.1Compare Source
Release Notes for v39.1.1
Fixes
v39.1.0: electron v39.1.0Compare Source
Release Notes for v39.1.0
Fixes
Other Changes
v39.0.0: electron v39.0.0Compare Source
Release Notes for v39.0.0
Stack Upgrades
142.0.7444.5222.20.014.2Breaking Changes
colorSpaceto offscreen shared texture info ofwebContents.on('paint')event.OffscreenSharedTextureto provide a unifiedhandlethat holds the native handle. #47315window.openwhere it should always create a resizable popup window but did not. #47540For breaking changes inherited via Chromium, see blog post
Features
Additions
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48504fileBackedandpurgeablefields toprocess.getSystemMemoryInfo()for macOS. #47628 (Also in 37, 38)guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #47838 (Also in 36, 37, 38)webFrameMain.fromFrameToken(processId, frameToken)to get aWebFrameMaininstance from its frame token. #47850 (Also in 38)app.getRecentDocuments()on Windows and macOS. #45839 (Also in 36, 37, 38)USBDevice.configurations. #47459systemPreferences.getAccentColor. #48628{get|set}AccentColor. #47741 (Also in 36, 37, 38)DIR_ASSETSinstead ofDIR_MODULE/DIR_EXEto locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath. #47439 (Also in 37, 38)Fixes
systemPreferences.getAccentColorinverted the color. #48624webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48623webContents.session. #48344--enable-features=Feature:ParamA/Value. #48442Also in earlier versions...
GetPackageJSON. #48425 (Also in 37, 38)XDG_SESSION_TYPEenvironment variable. #48310 (Also in 38)dialog.showMessageBoxdefault button handling. #48521 (Also in 36, 37, 38)appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47825 (Also in 36, 37, 38)Refererheader was not being set correctly when usingwebContents.downloadURL(). #47625 (Also in 36, 37, 38)webContents.loadURL()from a failedwebContents.loadURL()call's catch handler. #48004 (Also in 36, 37, 38)-electron-corner-smoothingCSS rule to a stylesheet with no associated document. #47759 (Also in 37, 38)desktopCapturer.getSourceswith an empty thumbnail size. #47641 (Also in 36, 37, 38)webContentsfunctions afterwindow.close(). #47933 (Also in 36, 37, 38)dialog.showOpenDialogon Windows with an empty extension filter array. #48658 (Also in 37, 38)setContentProtectiondidn't work as expected. #47856 (Also in 36, 37, 38)app.accessibilitySupportEnableddidn't work as expected. #48041 (Also in 37, 38)dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48181 (Also in 38)net.isOnline()always returnedtruein utilityProcesses. #48111 (Also in 36, 37, 38)require('node:sqlite')didn't work. #47706 (Also in 36, 37, 38)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48518 (Also in 38)shell.openPathwas not non-blocking as expected. #48079 (Also in 36, 37, 38)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48621 (Also in 38)accentColorwould result in a white accent color. #47660 (Also in 37, 38)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48597 (Also in 37, 38)roundedCornersset tofalse. #47664 (Also in 36, 37, 38)contextmenuevent was emitted. #48199 (Also in 36, 37, 38)electron/utilityin an ESM file threw an error at runtime. #47998 (Also in 36, 37, 38)electron/utilitythrew aERR_MODULE_NOT_FOUNDerror at runtime. #47968 (Also in 36, 37, 38)window.openwould never be offscreen. #47868 (Also in 37, 38)<input>tag on macOS 26. #48393 (Also in 36, 37, 38)app.getLoginItemSettingson macOS. #48090 (Also in 36, 37, 38)Other Changes
abi_versionfile to the npm package. #47598Electron.Eventobject backing class is now managed by v8. #48161appmodule backing C++ object is now managed by v8. #48118sessionmodule backing C++ object is now managed by v8. #48141Documentation
Notices
End of Support for 36.x.y
Electron 36.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.
v38.8.6: electron v38.8.6Compare Source
Release Notes for v38.8.6
Fixes
additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50177 (Also in 39, 40, 41)v38.8.4: electron v38.8.4Compare Source
Release Notes for v38.8.4
Fixes
v38.8.2: electron v38.8.2Compare Source
Release Notes for v38.8.2
Other Changes
4835695. #49792v38.8.1: electron v38.8.1Compare Source
Release Notes for v38.8.1
Fixes
v38.8.0: electron v38.8.0Compare Source
Release Notes for v38.8.0
Fixes
menu-did-closewas not emitted properly for some application menus. #49094 (Also in 39, 40)systemPreferences.getAccentColorinverted the color. #49066 (Also in 37, 39)Other Changes
Unknown
v38.7.2: electron v38.7.2Compare Source
Release Notes for v38.7.2
Fixes
menu.popupwould fire when any arbitrary submenu of the given menu closed, and not the menu itself. #49047 (Also in 39, 40)v38.7.1: electron v38.7.1Compare Source
Release Notes for v38.7.1
Other Changes
4503289. #490094573510. #48984v38.7.0: electron v38.7.0Compare Source
Release Notes for v38.7.0
Features
app.isHardwareAccelerationEnabled(). #48681 (Also in 37, 39)window.setAccentColor(null). #48853 (Also in 39)Fixes
webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48926 (Also in 39)Other Changes
4600173. #48950Unknown
v38.6.0: electron v38.6.0Compare Source
Release Notes for v38.6.0
Fixes
Other Changes
v38.5.0: electron v38.5.0Compare Source
Release Notes for v38.5.0
Features
Fixes
dialog.showOpenDialogon Windows with an empty extension filter array. #48660 (Also in 37, 39)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48620 (Also in 37, 39)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48595 (Also in 37, 39)Other Changes
Documentation
v38.4.0: electron v38.4.0Compare Source
Release Notes for v38.4.0
Features
Fixes
v38.3.0: electron v38.3.0Compare Source
Release Notes for v38.3.0
Fixes
dialog.showMessageBoxdefault button handling. #48519 (Also in 36, 37, 39)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48517 (Also in 39)Other Changes
v38.2.2: electron v38.2.2Compare Source
Release Notes for v38.2.2
Fixes
GetPackageJSON. #48424 (Also in 37, 39)v38.2.1: electron v38.2.1Compare Source
Release Notes for v38.2.1
Fixes
v38.2.0: electron v38.2.0Compare Source
Release Notes for v38.2.0
Features
Fixes
XDG_SESSION_TYPEenvironment variable. #48309<input>tag on macOS 26. #48394 (Also in 37, 39)v38.1.2: electron v38.1.2Compare Source
Release Notes for v38.1.2
Other Changes
v38.1.1: electron v38.1.1Compare Source
Release Notes for v38.1.1
Other Changes
v38.1.0: electron v38.1.0Compare Source
Release Notes for v38.1.0
Other Changes
v38.0.0: electron v38.0.0Compare Source
Release Notes for v38.0.0
Stack Upgrades
140.0.7339.4122.18.014.0Breaking Changes
Features
Additions
before-mouse-eventto allow intercepting and preventing mouse events in WebContents. #47280 (Also in 36, 37)fileBackedandpurgeablefields toprocess.getSystemMemoryInfo()for macOS. #48146 (Also in 37)innerWidthandinnerHeightoptions for window.open. #46749 (Also in 35, 36, 37)guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #48077 (Also in 36, 37)webFrameMain.fromFrameToken(processId, frameToken)to get aWebFrameMaininstance from its frame token. #47942app.getRecentDocuments()on Windows and macOS. #47924 (Also in 36, 37)--no-experimental-global-navigatorflag. #47370 (Also in 35, 36, 37)HIDDevice.collections. #47391 (Also in 36, 37)screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #46211 (Also in 35, 36, 37)paletteandheaderon macOS. #45538 (Also in 37)--experimental-network-inspection. #46690 (Also in 35, 36, 37){get|set}AccentColor. #47939 (Also in 36, 37)Improvements
win.isContentProtected()to allow developers to check window protection status. #47242 (Also in 36, 37)DIR_ASSETSinstead ofDIR_MODULE/DIR_EXEto locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath. #47950 (Also in 37)Fixes
dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48215chrome://accessibilitypage. #47497Also in earlier versions...
addChildView()crashes when adding a closed WebContentsView. #47099 (Also in 35, 36, 37)appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47841 (Also in 36, 37)Refererheader was not being set correctly when usingwebContents.downloadURL(). #47867 (Also in 36, 37)webContents.loadURL()from a failedwebContents.loadURL()call's catch handler. #48043 (Also in 36, 37)-electron-corner-smoothingCSS rule to a stylesheet with no associated document. #47785 (Also in 37)desktopCapturer.getSourceswith an empty thumbnail size. #47652 (Also in 36, 37)webContentsfunctions afterwindow.close(). #47952 (Also in 36, 37)session.clearDatain some circumstances. #47361 (Also in 35, 36, 37)electronfor the first time from an ESM module loaded by a CJS module in a packaged app. #46810 (Also in 35, 36, 37)setContentProtectiondidn't work as expected. #47886 (Also in 36, 37)app.accessibilitySupportEnableddidn't work as expected. #48060 (Also in 37)net.isOnline()always returnedtruein utilityProcesses. #48151 (Also in 36, 37)require('node:sqlite')didn't work. #47757 (Also in 36, 37)shell.openPathwas not non-blocking as expected. #48089 (Also in 36, 37)webContents.printdid not work as expected whenmediaSizewas not passed. #46937 (Also in 36, 37)accentColorwould result in a white accent color. #47684 (Also in 37)Fetch.continueResponsevia debugger withWebContentsViewcould cause a crash. #47434 (Also in 35, 36, 37)roundedCornersset tofalse. #47681 (Also in 36, 37)contextmenuevent was emitted. #48224 (Also in 36, 37)electron/utilityin an ESM file threw an error at runtime. #48019 (Also in 36, 37)electron/utilitythrew aERR_MODULE_NOT_FOUNDerror at runtime. #47989 (Also in 36, 37)webContents.print({ silent: true })would fail. #47378 (Also in 36, 37)window.openwould never be offscreen. #48026 (Also in 37)autoUpdateron macOS when zip extraction failed. #47271 (Also in 34, 35, 36, 37)treatPackageAsDirectoryis enabled on macOS. #47077 (Also in 35, 36, 37)app.getLoginItemSettingson macOS. #48094 (Also in 36, 37)webContents.print()where the callback would not be called. #47377 (Also in 35, 36, 37)win.setContentProtected()on Windows. #47020 (Also in 35, 36, 37)Documentation
Notices
End of Support for 35.x.y
Electron 35.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.
v37.10.3: electron v37.10.3Compare Source
Release Notes for v37.10.3
Fixes
systemPreferences.getAccentColorinverted the color. #49067 (Also in 39)v37.10.2: electron v37.10.2Compare Source
Release Notes for v37.10.2
Other Changes
4503289. #49015v37.10.1: electron v37.10.1Compare Source
Release Notes for v37.10.1
Fixes
v37.10.0: electron v37.10.0Compare Source
Release Notes for v37.10.0
Features
app.isHardwareAccelerationEnabled(). #48679 (Also in 38, 39)Fixes
Other Changes
4600173. #48949v37.9.0: electron v37.9.0Compare Source
Release Notes for v37.9.0
Fixes
Other Changes
v37.8.0: electron v37.8.0Compare Source
Release Notes for v37.8.0
Features
Fixes
dialog.showOpenDialogon Windows with an empty extension filter array. #48659 (Also in 38, 39)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48622 (Also in 38, 39)Documentation
v37.7.1: electron v37.7.1Compare Source
Release Notes for v37.7.1
Fixes
titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48596 (Also in 39)v37.7.0: electron v37.7.0Compare Source
Release Notes for v37.7.0
Fixes
dialog.showMessageBoxdefault button handling. #48520 (Also in 36, 38, 39)Other Changes
v37.6.1: electron v37.6.1Compare Source
Release Notes for v37.6.1
Fixes
GetPackageJSON. #48423 (Also in 38, 39)v37.6.0: electron v37.6.0Compare Source
Release Notes for v37.6.0
Features
Fixes
<input>tag on macOS 26. #48392 (Also in 39)v37.5.1: electron v37.5.1Compare Source
Release Notes for v37.5.1
Other Changes
v37.5.0: electron v37.5.0Compare Source
Release Notes for v37.5.0
Features
fileBackedandpurgeablefields toprocess.getSystemMemoryInfo()for macOS. #48143 (Also in 38)Fixes
dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48213 (Also in 36, 38)contextmenuevent was emitted. #48226 (Also in 36, 38)Other Changes
v37.4.0: electron v37.4.0Compare Source
Release Notes for v37.4.0
Features
guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #48076 (Also in 36, 38)Fixes
net.isOnline()always returnedtruein utilityProcesses. #48152 (Also in 36, 38)Other Changes
v37.3.1: electron v37.3.1Compare Source
Release Notes for v37.3.1
Fixes
shell.openPathwas not non-blocking as expected. #48088 (Also in 36, 38)window.openwould never be offscreen. #48070 (Also in 38)app.getLoginItemSettingson macOS. #48096 (Also in 36)Other Changes
v37.3.0: electron v37.3.0Compare Source
Release Notes for v37.3.0
Features
app.getRecentDocuments()on Windows and macOS. #47923 (Also in 36, 38){get|set}AccentColor. #48017 (Also in 36, 38)DIR_ASSETSinstead ofDIR_MODULE/DIR_EXEto locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath. #47951 (Also in 38)Fixes
webContents.loadURL()from a failedwebContents.loadURL()call's catch handler. #48045 (Also in 36, 38)app.accessibilitySupportEnableddidn't work as expected. #48061 (Also in 38)electron/utilityin an ESM file threw an error at runtime. #48021 (Also in 36, 38)electron/utilitythrew aERR_MODULE_NOT_FOUNDerror at runtime. #47988 (Also in 36, 38)Other Changes
v37.2.6: electron v37.2.6Compare Source
Release Notes for v37.2.6
Fixes
Refererheader was not being set correctly when usingwebContents.downloadURL(). #47865 (Also in 36, 38)webContentsfunctions afterwindow.close(). #47954 (Also in 36, 38)setContentProtectiondidn't work as expected. #47887 (Also in 36, 38)accentColorwould result in a white accent color. #47800 (Also in 38)Other Changes
v37.2.5: electron v37.2.5Compare Source
Release Notes for v37.2.5
Other Changes
v37.2.4: electron v37.2.4Compare Source
Release Notes for v37.2.4
Fixes
appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47839 (Also in 36, 38)Other Changes
v37.2.3: electron v37.2.3Compare Source
Release Notes for v37.2.3
Fixes
-electron-corner-smoothingCSS rule to a stylesheet with no associated document. #47792require('node:sqlite')didn't work. #47756 (Also in 36, 38)v37.2.2: electron v37.2.2Compare Source
Release Notes for v37.2.2
Other Changes
v37.2.1: electron v37.2.1Compare Source
Release Notes for v37.2.1
Fixes
desktopCapturer.getSourceswith an empty thumbnail size. #47653 (Also in 36, 38)roundedCornersset tofalse. #47682 (Also in 36, 38)v37.2.0: electron v37.2.0Compare Source
Release Notes for v37.2.0
Other Changes
v37.1.0: electron v37.1.0Compare Source
Release Notes for v37.1.0
Features
Fixes
v37.0.0: electron v37.0.0Compare Source
Release Notes for v37.0.0
Stack Upgrades
138.0.7204.3522.16.013.8Breaking Changes
ProtocolResponse.session's property tonull. #46264Features
Additions
BrowserWindow.isSnapped()to indicate whether a given window has been arranged via Snap. #46079 (Also in 36)before-mouse-eventto allow intercepting and preventing mouse events in WebContents. #47364 (Also in 36)ffmpeg.dllto delay load configuration. #46151 (Also in 34, 35, 36)innerWidthandinnerHeightoptions for window.open. #47039 (Also in 35, 36)nativeTheme.shouldUseDarkColorsForSystemIntegratedUIto distinguish system and app theme. #46438 (Also in 35, 36)scriptURLproperty toServiceWorkerMain. #45863frameoption inmenu.popup. #45138 (Also in 36)HIDDevice.collections. #47483 (Also in 36)--no-experimental-global-navigatorflag. #47418 (Also in 35, 36)screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #46895 (Also in 35, 36)system-context-menuon Linux. #45848 (Also in 35, 36)paletteandheaderon macOS. #47245--experimental-network-inspection. #47031 (Also in 35, 36)win.isContentProtected()to allow developers to check window protection status. #47310 (Also in 36)Improvements
Removed/Deprecated
NativeImage.getBitmap()and fixed incorrect documentation. #46696 (Also in 36)Fixes
webContents.print({ silent: true })would fail. #47397Also in earlier versions...
addChildView()crashes when adding a closed WebContentsView. #47338 (Also in 35, 36)electron.shell.openExternalandelectron.shell.openPathto honor user-defined system defaults on Linux. #45310 (Also in 33, 34, 35, 36)getNativeWindowHandle()crash that affected 36 betas on macOS. #46733 (Also in 36)webContents.print(). #46087 (Also in 35, 36)shell.readShortcutLink. #46294 (Also in 35, 36)navigator.bluetooth.requestDeviceand theselect-bluetooth-deviceevent. #46745 (Also in 34, 35, 36)parentPort. #46437 (Also in 34, 35, 36)utilityProcess.postMessagewhen calling with an invalid transferable. #46639 (Also in 35, 36)session.clearDatain some circumstances. #47412 (Also in 35, 36)window.emit('close')after toggling fullscreen mode. #46605 (Also in 35, 36)electronfor the first time from an ESM module loaded by a CJS module in a packaged app. #47342 (Also in 35, 36)context-menuevent weren't emitted as expected on Windows in draggable regions. #45851 (Also in 34, 35, 36)navigationHistory.restore()failed to restore theuserAgentif it was overridden. #46260 (Also in 34, 35, 36)system-context-menuincorrectly fired for all regions in frameless windows. #45893 (Also in 33, 34, 35, 36)webContents.printToPDF()didn't work as expected with cross-process subframes. #46218 (Also in 34, 35, 36)webContents.printdid not work as expected whenmediaSizewas not passed. #46971 (Also in 36)app.commandLinefunctions. #46004 (Also in 35, 36)Fetch.continueResponsevia debugger withWebContentsViewcould cause a crash. #47444 (Also in 35, 36)UtilityProcess.forkprior to the app ready event would cause a crash. #46380 (Also in 34, 35, 36)backgroundMaterialfeature did not work in a frameless window on initial window creation. #46657 (Also in 35, 36)--inspect-brkfailing in packaged apps. #46560 (Also in 35, 36)assertNode.js module in the renderer process. #46528 (Also in 35, 36)pushNotifications.registerForAPNSNotifications(). #46101 (Also in 34, 35, 36)enable_electron_extensions=false. #46812 (Also in 34, 35, 36)*filter was included. #46660 (Also in 34, 35, 36)autoUpdateron macOS when zip extraction failed. #47302 (Also in 34, 35, 36)app.getGPUInfopromise. #46434 (Also in 34, 35, 36)treatPackageAsDirectoryis enabled on macOS. #47108 (Also in 35, 36)webContents.print()where the callback would not be called. #47398 (Also in 35, 36)win.setContentProtected()on Windows. #47033 (Also in 35, 36)enabled = false), it is now greyed out. #46307 (Also in 34, 35, 36)Other Changes
4010597. #459364010597. #459414090597. #473584206375. #47356Documentation
Notices
End of Support for 34.x.y
Electron 34.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.
v36.9.5: electron v36.9.5Compare Source
Release Notes for v36.9.5
Fixes
dialog.showMessageBoxdefault button handling. #48522 (Also in 37, 38, 39)v36.9.4: electron v36.9.4Compare Source
Release Notes for v36.9.4
Other Changes
v36.9.3: electron v36.9.3Compare Source
Release Notes for v36.9.3
Fixes
<input>tag on macOS 26. #48419 (Also in 37, 38, 39)v36.9.2: electron v36.9.2Compare Source
Release Notes for v36.9.2
Fixes
v36.9.1: electron v36.9.1Compare Source
Release Notes for v36.9.1
Other Changes
v36.9.0: electron v36.9.0Compare Source
Release Notes for v36.9.0
Features
guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #48078 (Also in 37, 38)Fixes
dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48214 (Also in 37, 38)net.isOnline()always returnedtruein utilityProcesses. #48153 (Also in 37, 38)contextmenuevent was emitted. #48225 (Also in 37, 38)Other Changes
v36.8.1: electron v36.8.1Compare Source
Release Notes for v36.8.1
Fixes
shell.openPathwas not non-blocking as expected. #48087 (Also in 37, 38)app.getLoginItemSettingson macOS. #48095 (Also in 37)v36.8.0: electron v36.8.0Compare Source
Release Notes for v36.8.0
Features
app.getRecentDocuments()on Windows and macOS. #47925 (Also in 37, 38){get|set}AccentColor. #48018 (Also in 37, 38)Fixes
webContents.loadURL()from a failedwebContents.loadURL()call's catch handler. #48044 (Also in 37, 38)electron/utilityin an ESM file threw an error at runtime. #48020 (Also in 37, 38)electron/utilitythrew aERR_MODULE_NOT_FOUNDerror at runtime. #47987 (Also in 37, 38)Other Changes
v36.7.4: electron v36.7.4Compare Source
Release Notes for v36.7.4
Fixes
Refererheader was not being set correctly when usingwebContents.downloadURL(). #47866 (Also in 37, 38)webContentsfunctions afterwindow.close(). #47953 (Also in 37, 38)setContentProtectiondidn't work as expected. #47888 (Also in 37, 38)accentColorwould result in a white accent color. #47921 (Also in 37, 38)v36.7.3: electron v36.7.3Compare Source
Release Notes for v36.7.3
Fixes
appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47840 (Also in 37, 38)require('node:sqlite')didn't work. #47755 (Also in 37, 38)Other Changes
v36.7.1: electron v36.7.1Compare Source
Release Notes for v36.7.1
Fixes
desktopCapturer.getSourceswith an empty thumbnail size. #47651 (Also in 37, 38)roundedCornersset tofalse. #47683 (Also in 37, 38)webContents.print({ silent: true })would fail. #47624 (Also in 37)v36.7.0: electron v36.7.0Compare Source
Release Notes for v36.7.0
Other Changes
v36.6.0: electron v36.6.0Compare Source
Release Notes for v36.6.0
Features
--no-experimental-global-navigatorflag. #47417 (Also in 35, 37)HIDDevice.collections. #47484 (Also in 37)Fixes
Other Changes
v36.5.0: electron v36.5.0Compare Source
Release Notes for v36.5.0
Features
before-mouse-eventto allow intercepting and preventing mouse events in WebContents. #47365 (Also in 37)win.isContentProtected()to allow developers to check window protection status. #47311 (Also in 37)Fixes
addChildView()crashes when adding a closed WebContentsView. #47340 (Also in 35, 37)session.clearDatain some circumstances. #47411 (Also in 35, 37)electronfor the first time from an ESM module loaded by a CJS module in a packaged app. #47343 (Also in 35, 37)Fetch.continueResponsevia debugger withWebContentsViewcould cause a crash. #47442 (Also in 35, 37)webContents.print()where the callback would not be called. #47400 (Also in 35, 37)Other Changes
4206375. #47368v36.4.0: electron v36.4.0Compare Source
Release Notes for v36.4.0
Fixes
autoUpdateron macOS when zip extraction failed. #47300 (Also in 34, 35, 37)Other Changes
Documentation
v36.3.2: electron v36.3.2Compare Source
Release Notes for v36.3.2
Fixes
Other Changes
v36.3.1: electron v36.3.1Compare Source
Release Notes for v36.3.1
Other Changes
4172564. #47233v36.3.0: electron v36.3.0Compare Source
Release Notes for v36.3.0
Features
innerWidthandinnerHeightoptions for window.open. #47038 (Also in 35, 37)screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #47125 (Also in 35, 37)--experimental-network-inspection. #47030 (Also in 35, 37)Fixes
treatPackageAsDirectoryis enabled on macOS. #47109 (Also in 35, 37)Other Changes
v36.2.1: electron v36.2.1Compare Source
Release Notes for v36.2.1
Fixes
win.setContentProtected()on Windows. #47032 (Also in 35, 37)Other Changes
v36.2.0: electron v36.2.0Compare Source
Release Notes for v36.2.0
Fixes
webContents.printdid not work as expected whenmediaSizewas not passed. #46972 (Also in 37)Other Changes
v36.1.0: electron v36.1.0Compare Source
Release Notes for v36.1.0
Fixes
Other Changes
--js-flags=--perf-profon macOS. #46876 (Also in 35)v36.0.1: electron v36.0.1Compare Source
Release Notes for v36.0.1
Fixes
visibleOnAllWorkspacesproperty on Linux. #46850 (Also in 35)v36.0.0: electron v36.0.0Compare Source
Release Notes for v36.0.0
Stack Upgrades
136.0.7103.4822.14.013.6Breaking Changes
NativeImage.getBitmap()and fixed incorrect documentation. #46736Sessionextension APIs toSession.extensions. #45597systemPreferences.isAeroGlassEnabled()API has been removed. #45563ses.clearDataStorage({ quota: 'syncable' })in c180524 #45923Features
Additions
BrowserWindow.isSnapped()to indicate whether a given window has been arranged via Snap. #46226ServiceWorkerMainclass to interact with service workers in the main process.fromVersionIDonServiceWorkersto get an instance ofServiceWorkerMain.running-status-changedevent onServiceWorkersto indicate when a service worker's running status has changed.startWorkerForScopeonServiceWorkersto start a worker that may have been previously stopped. #45232 (Also in 35)WebContents.focusedFrameto get the focused frame.WebContents.openerto specify potentialnulltype. #45667contextBridge.executeInMainWorldto safely execute code across world boundaries. #45229 (Also in 35)ffmpeg.dllto delay load configuration. #46173 (Also in 34, 35)nativeTheme.shouldUseDarkColorsForSystemIntegratedUIto distinguish system and app theme. #46598 (Also in 35)view.getVisible(). #44999 (Also in 34, 35)webContents.navigationHistory.restore(index, entries)API that allows restoration of navigation history. #45433 (Also in 34, 35)urlsproperty. #44692 (Also in 35)document.executeCommand("paste"). #45377 (Also in 33, 34, 35)frameoption inmenu.popup. #46350roundedCornersBrowserWindow constructor option on Windows. #45594 (Also in 34, 35)system-context-menuon Linux. #46399registerPreloadScript,unregisterPreloadScript,getPreloadScriptsonSession.getPreloadsandsetPreloadsonSession. #45230 (Also in 35)Improvements
Removed/Deprecated
systemPreferences.isAeroGlassEnabled()API has been deprecated and will be removed without replacement. #45434 (Also in 35)Fixes
getNativeWindowHandle()crash that affected 36 betas on macOS. #46750shell.readShortcutLink. #46324Also in earlier versions...
electron.shell.openExternalandelectron.shell.openPathto honor user-defined system defaults on Linux. #46788 (Also in 33, 34, 35)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. #45606 (Also in 33, 34, 35)webContents.print()after switch to OOP printing on macOS and Linux. #45266 (Also in 35)webContents.print(). #46146 (Also in 35)shell.readShortcutLinkcaused byPKEY_AppUserModel_ToastActivatorCLSIDsometimes being represented by a string uuid. #45195 (Also in 33, 34, 35)navigator.bluetooth.requestDeviceand theselect-bluetooth-deviceevent. #46782 (Also in 34, 35)chrome.tabs.update(). #45276 (Also in 33, 34, 35)parentPort. #46496 (Also in 34, 35)utilityProcess.postMessagewhen calling with an invalid transferable. #46667 (Also in 35)getUserMediawith an invalidchromeMediaSourceId. #45733 (Also in 34, 35)window.emit('close')after toggling fullscreen mode. #46621 (Also in 35)context-menuevent weren't emitted as expected on Windows in draggable regions. #46032 (Also in 34, 35)contextmenuevents wouldn't be correctly dispatched in draggable regions on Linux. #45813 (Also in 34, 35)navigationHistory.restore()failed to restore theuserAgentif it was overridden. #46299 (Also in 34, 35)setContentProtection(true)was reverted when a given window was hidden. #45868 (Also in 34, 35)system-context-menuincorrectly fired for all regions in frameless windows. #46002 (Also in 33, 34, 35)webContents.printToPDF()didn't work as expected with cross-process subframes. #46259 (Also in 34, 35)UtilityProcess.forkprior to the app ready event would cause a crash. #46404 (Also in 34, 35)getAsFileSystemHandleto never resolve. #45234 (Also in 33, 34, 35)dialogmodule didn't work on Linux. #45373 (Also in 34, 35)about:blankin subframes. #45694 (Also in 35)backgroundMateriallost effect on maximization. #45456 (Also in 34, 35)--inspect-brkfailing in packaged apps. #46584 (Also in 35)assertNode.js module in the renderer process. #46561 (Also in 35)pushNotifications.registerForAPNSNotifications(). #46149 (Also in 34, 35)window.print()on macOS/Linux. #45214 (Also in 35)enable_electron_extensions=false. #46842 (Also in 34, 35)*filter was included. #46722 (Also in 34, 35)app.getGPUInfopromise. #46471 (Also in 34, 35)BaseWindow.showInactive. #45427 (Also in 35)Window.autoHideMenuBaras supported on Linux and Windows. #46830 (Also in 34, 35)win.closeFilePreviewtwice on macOS. #45319 (Also in 32, 33, 34, 35)webFrame.getZoomLevelandwebFrame.getZoomFactorAPIs. #45499 (Also in 35)enabled = false), it is now greyed out. #46342 (Also in 34, 35)Other Changes
NSPrefersDisplaySafeAreaCompatibilityMode=falseto Info.plist to remove "Scale to fit below built-in camera." from app options. #45318 (Also in 33, 34, 35)3872580,383070811. #454954010597. #459374010597. #45942Documentation
Notices
End of Support for 33.x.y
Electron 33.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.
v35.7.5: electron v35.7.5Compare Source
Release Notes for v35.7.5
Fixes
shell.openPathwas not non-blocking as expected. #48079 (Also in 36, 37, 38)v35.7.4: electron v35.7.4Compare Source
Release Notes for v35.7.4
v35.7.2: electron v35.7.2Compare Source
Release Notes for v35.7.2
Fixes
webContents.print({ silent: true })would fail. #47645 (Also in 36, 37)v35.7.0: electron v35.7.0Compare Source
Release Notes for v35.7.0
Other Changes
v35.6.0: electron v35.6.0Compare Source
Release Notes for v35.6.0
Features
--no-experimental-global-navigatorflag. #47416 (Also in 36, 37)Fixes
session.clearDatain some circumstances. #47410 (Also in 36, 37)electronfor the first time from an ESM module loaded by a CJS module in a packaged app. #47344 (Also in 36, 37)Fetch.continueResponsevia debugger withWebContentsViewcould cause a crash. #47443 (Also in 36, 37)webContents.print()where the callback would not be called. #47399 (Also in 36, 37)Other Changes
4206375. #47369v35.5.1: electron v35.5.1Compare Source
Release Notes for v35.5.1
Fixes
addChildView()crashes when adding a closed WebContentsView. #47339autoUpdateron macOS when zip extraction failed. #47299 (Also in 34, 36, 37)Other Changes
v35.5.0: electron v35.5.0Compare Source
Release Notes for v35.5.0
Features
screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #47124 (Also in 36, 37)--experimental-network-inspection. #47029 (Also in 36, 37)Fixes
shell.readShortcutLink. #47226 (Also in 36)backgroundMaterialfeature did not work in a frameless window on initial window creation. #47236 (Also in 36)treatPackageAsDirectoryis enabled on macOS. #47110 (Also in 36, 37)Other Changes
4033643. #47069v35.4.0: electron v35.4.0Compare Source
Release Notes for v35.4.0
Features
system-context-menuon Linux. #46977 (Also in 36)Fixes
win.setContentProtected()on Windows. #47034 (Also in 36, 37)Other Changes
v35.3.0: electron v35.3.0Compare Source
Release Notes for v35.3.0
Fixes
Other Changes
--js-flags=--perf-profon macOS. #46877 (Also in 36)v35.2.2: electron v35.2.2Compare Source
Release Notes for v35.2.2
Fixes
electron.shell.openExternalandelectron.shell.openPathto honor user-defined system defaults on Linux. #46789 (Also in 33, 34, 36)navigator.bluetooth.requestDeviceand theselect-bluetooth-deviceevent. #46784 (Also in 34, 36)enable_electron_extensions=false. #46840 (Also in 34, 36)Window.autoHideMenuBaras supported on Linux and Windows. #46829 (Also in 34, 36)visibleOnAllWorkspacesproperty on Linux. #46861v35.2.1: electron v35.2.1Compare Source
Release Notes for v35.2.1
Fixes
utilityProcess.postMessagewhen calling with an invalid transferable. #46666 (Also in 36)*filter was included. #46721 (Also in 34, 36)v35.2.0: electron v35.2.0Compare Source
Release Notes for v35.2.0
Features
nativeTheme.shouldUseDarkColorsForSystemIntegratedUIto distinguish system and app theme. #46599 (Also in 36)Fixes
window.emit('close')after toggling fullscreen mode. #46620 (Also in 36)app.commandLinefunctions. #46631 (Also in 36)--inspect-brkfailing in packaged apps. #46583 (Also in 36)assertNode.js module in the renderer process. #46632 (Also in 36)Other Changes
v35.1.5: electron v35.1.5Compare Source
Release Notes for v35.1.5
Fixes
parentPort. #46495 (Also in 34, 36)Unknown
v35.1.4: electron v35.1.4Compare Source
Release Notes for v35.1.4
Fixes
app.getGPUInfopromise. #46470 (Also in 34, 36)v35.1.3: electron v35.1.3Compare Source
Release Notes for v35.1.3
Fixes
context-menuevent weren't emitted as expected on Windows in draggable regions. #46334 (Also in 34, 36)UtilityProcess.forkprior to the app ready event would cause a crash. #46403 (Also in 34, 36)enabled = false), it is now greyed out. #46341 (Also in 34, 36)Other Changes
v35.1.2: electron v35.1.2Compare Source
Release Notes for v35.1.2
Fixes
navigationHistory.restore()failed to restore theuserAgentif it was overridden. #46300 (Also in 34, 36)Other Changes
v35.1.1: electron v35.1.1Compare Source
Release Notes for v35.1.1
Fixes
v35.1.0: electron v35.1.0Compare Source
Release Notes for v35.1.0
Features
ffmpeg.dllto delay load configuration. #46172 (Also in 34, 36)Fixes
webContents.print(). #46147 (Also in 36)system-context-menuincorrectly fired for all regions in frameless windows. #46178 (Also in 33, 34, 36)webContents.printToPDF()didn't work as expected with cross-process subframes. #46257 (Also in 34, 36)pushNotifications.registerForAPNSNotifications(). #46148 (Also in 34, 36)Other Changes
v35.0.3: electron v35.0.3Compare Source
Release Notes for v35.0.3
Fixes
Documentation
v35.0.2: electron v35.0.2Compare Source
Release Notes for v35.0.2
Fixes
Other Changes
v35.0.1: electron v35.0.1Compare Source
Release Notes for v35.0.1
Fixes
setContentProtection(true)was reverted when a given window was hidden. #45889 (Also in 34)Other Changes
4010597. #459384010597. #45943v35.0.0: electron v35.0.0Compare Source
Release Notes for v35.0.0
Stack Upgrades
134.0.6998.4422.14.013.4Breaking Changes
fromVersionIDonServiceWorkersto get an instance ofServiceWorkerMain. #45341getPreloadsandsetPreloadsonSession. #45329systemPreferences.isAeroGlassEnabled()API has been deprecated and will be removed without replacement. #45554Features
Additions
session.getSharedDictionaryUsageInfo(),session.getSharedDictionaryInfo(options),session.clearSharedDictionaryCache(), andsession.clearSharedDictionaryCacheForIsolationKey(options). #44750 (Also in 33, 34)NSPrefersDisplaySafeAreaCompatibilityMode=falseto Info.plist to remove "Scale to fit below built-in camera." from app options. #45357 (Also in 33, 34)ServiceWorkerMainclass to interact with service workers in the main process. #45341running-status-changedevent onServiceWorkersto indicate when a service worker's running status has changed.startWorkerForScopeonServiceWorkersto start a worker that may have been previously stopped.WebFrameMain.collectJavaScriptCallStack()for accessing the JavaScript call stack of unresponsive renderers. #44204 (Also in 33, 34)contextBridge.executeInMainWorldto safely execute code across world boundaries. #45330frameto 'console-message' event. #43617query-session-endevent and improvedsession-endevents on Windows. #44598view.getVisible(). #45409 (Also in 34)webContents.navigationHistory.restore(index, entries)API that allows restoration of navigation history. #45583 (Also in 34)document.executeCommand("paste"). #45471 (Also in 33, 34)roundedCornersBrowserWindow constructor option on Windows. #45740 (Also in 34)Improvements
registerPreloadScript,unregisterPreloadScript,getPreloadScriptsonSession.#45329Removed/Deprecated
Fixes
webContents.print()after switch to OOP printing on macOS and Linux. #45285window.print()on macOS/Linux. #45259webFrame.getZoomLevelandwebFrame.getZoomFactorAPIs. #45557Also in earlier versions...
chrome.i18nextension API being unavailable in service workers. #45031 (Also in 31, 32, 33, 34)trace-startupnot working on macOS. #44257 (Also in 32, 33, 34)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)shell.readShortcutLinkon Windows. #44784 (Also in 33, 34)shell.readShortcutLinkcaused byPKEY_AppUserModel_ToastActivatorCLSIDsometimes being represented by a string uuid. #45348 (Also in 33, 34)chrome.tabs.update(). #45302 (Also in 33, 34)getUserMediawith an invalidchromeMediaSourceId. #45755 (Also in 34)EventSourcewasundefinedin both renderer and worker processes when Node.js integration was enabled. #44475 (Also in 32, 33, 34)WebContentsViews were being improperly removed. #44656 (Also in 31, 32, 33, 34)contextmenuevents wouldn't be correctly dispatched in draggable regions on Linux. #45841 (Also in 34)resizewasn't being emitted for single-pixel resizes on Windows. #44700 (Also in 32, 33, 34)utilityProcesspid would not beundefinedafter exit. #44677 (Also in 32, 33, 34)getAsFileSystemHandleto never resolve. #45256 (Also in 33, 34)dialogmodule didn't work on Linux. #45394 (Also in 34)exitevent could be emitted twice from theutilityProcess. #44243 (Also in 31, 32, 33, 34)context-menuevent was not emitted when using-webkit-app-region: drag. #44761 (Also in 32, 33, 34)backgroundMateriallost effect on maximization. #45525 (Also in 34)context-menuevent. #44940 (Also in 32, 33, 34)win.closeFilePreviewtwice on macOS. #45664 (Also in 32, 33, 34)webContents.canGoToOffset. #44989 (Also in 32, 33, 34)libgdk_pixbuf. #44423 (Also in 32, 33, 34)avoidClosingConnectionsoption forsession.clearDatanow properly defaults tofalsewhen thedataTypesoption is not set. #45187 (Also in 33, 34)Other Changes
3872580,383070811. #45496-Wunsafe-buffer-usageClang warnings and enabled the compiler warning in new builds. #44056Documentation
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.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
e441eb6c8c4523fa845c4523fa845cee27c442afee27c442afcc96b8970dcc96b8970dcd5a920892View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.