Electron 12.0.4 2021-04-13T22:48:46Z ()
Other Changes
- Security: backported fix for chromium:1196683. #28638
postData
parameter missing from new-window
event. #28543 (Also in 13)setCertificateVerifyProc
with many concurrent verification requests. #28465 (Also in 11, 13)select-serial-port
callback crashes when called with an invalid serial port ID. #28618 (Also in 13)window.print()
did not work properly when printing a pdf from the pdf plugin. #28352 (Also in 13)contextBridge
could be displayed incorrectly. #28447 (Also in 13)win.hide()
on Windows. #28389 (Also in 10, 11, 13)wasm-eval
csp behind WebAssemblyCSP
flag. #28575 (Also in 11, 13)systemPreferences.getAccentColor()
, getSystemColor
and getColor
are now correctly converted into the devices color space. Previously the color would have been subtly incorrect. #28172 (Also in 11, 13)desktopCapturer.getSources()
promise result sometimes never resolving. #28281 (Also in 10, 11, 13)getBackgroundColor
on a transparent window with no assigned background color. #28188 (Also in 11, 13)shell.openExternal
on windows are now correctly URI encoded. This was already occurring on macOS and Linux. #28341 (Also in 10, 11, 13)BrowserView
s could have mismatched draggable regions to their bounds. #27988 (Also in 10, 11)win.capturePage()
never called back after calling hide()
for a hidden window on some platforms. #28075 (Also in 11, 13)worldSafeExecuteJavaScript
is disabled. #27969 (Also in 10, 11)crashReporter.start({ compress })
from false
to true
. #25288 contextIsolation
to true
. #27949 worldSafeExecuteJavaScript
to be true
. #27502 remote
module. It is replaced by @electron/remote
. [#25293]new-window
event of WebContents. It is replaced by webContents.setWindowOpenHandler()
. #24517 BrowserWindow.isTabletMode
API. #25209 displayFrequency
to the Display
object to allow getting information about the refresh rate on Windows. #26472 event.senderFrame
property returning the originating webFrameMain
of the IPC message. #27047 exitCode
to render-process-gone
details. #27677 frame
and webContents
properties to the details object in webRequest handlers. #27334 net.online
for detecting whether there is currently internet connection. #21004 osProcessId
/ name
properties to webFrameMain
. #26093 powerMonitor.onBatteryPower
. #26494 session.setSSLConfig()
to allow configuring SSL. #25461 webFrameMain.send()
/ webFrameMain.postMessage()
. #27366 webFrameMain
API for accessing sub-frames of a WebContents
instance from the main process. #25464 webPreferences.preferredSizeMode
to allow sizing views according to their document's minimum size. #25874 disabledCipherSuites
option to Session.setSSLConfig
. #25818 credentials
option for net.request()
. #25284 shell.trashItem()
API, replacing the synchronous shell.moveItemToTrash()
. #25114 display-capture
API for session.setPermissionRequestHandler
. #27696 webFrameMain.executeJavaScriptInIsolatedWorld()
. #27195 serviceName
to 'child-process-gone'
/ app.getAppMetrics()
. #25975 setWindowOpenHandler
API for renderer-created child windows, and deprecate new-window
event. #24517 direct
, auto_detect
or system
modes in session.setProxy()
. #24937 extension-loaded
, extension-unloaded
, and extension-ready
events to Session
. #25385 exposeInMainWorld
method to expose non-object APIs. #26834origin
header and sec-fetch-*
headers in net.request()
. #26135launchInfo
of app
event ready
is now populated with information from UNNotificationResponse
when the app is launched via a notification presented by UNUserNotificationCenter
(in a native node module). #25950allowFileAccess
option to loadExtension()
API. #27702 (Also in 11)win.setTopBrowserView()
so that BrowserView
s can be raised. #27713 (Also in 10, 11)chrome.management
APIs. #25098 (Also in 9, 10, 11)win.setAspectRatio()
work on Windows. #27202 (Also in 11)remote
module. It is replaced by @electron/remote
. #25293 vm
module in the renderer process. #26087 crashReporter
APIs. #26709 desktopCapturer.getMediaSourceIdForWebContents()
API. #25414 (Also in 11)CAMERA_PAN_TILT_ZOOM
permission will have the permission request handler called with a permission string of "media" instead of "font-access". #27422 BrowserWindow.fromWebContents()
now returns an accurate result for WebContents
in a BrowserView
or webview. #25408 BrowserWindow.fromBrowserView
throwing an error when there were multiple BrowserView
s in a window. #26493 ses.setCertificateVerifyProc
canceling requests in unrelated sessions. #26517 app.allowRendererProcessReuse
enabled. #27317 crypto.createDiffieHellman()
with certain parameters. #27700 WebContents
during the did-stop-loading
event. #26733 will-download
event when file is downloaded thourgh intercepted request. #25324 IsMaximized
would incorrectly return false for some windows on Windows. #26772 net.request
would continue downloading data even when the consuming stream was throttled. #25531 NativeImage.getBitmap()
could point to freed memory. #25782 titleBarStyle: hiddenInset
on macOS. #27462 WebContents.mainFrame
would sometimes return undefined
. #27663 navigator.setAppBadge
and navigator.clearAppBadge
in Electron. #27431 Content-Disposition
header. #25961 customButtonsOnHover
option not having rounded corner on macOS. #26960 chrome.runtime.getPlatformInfo
crashing the background process upon being invoked. #25357 ECDH.setPrivateKey()
not updating the key. #27856com.apple.security.cs.allow-unsigned-executable-memory
codesign entitlement on macOS. #26331 libGLESv2.dll
to symbol server. #26966 (Also in 9, 10, 11)info.plist
. #26769 (Also in 11)BrowserView
s will properly resize within windows. #25951 (Also in 9, 10, 11)unsafe-eval
detection with Trusted Types. #27471 (Also in 9, 10, 11)GdiTextPrinting
when used with silent printing. #25679 (Also in 9, 10, 11)<webview>
not working with Trusted Types. #27467 (Also in 9, 10, 11)LC_ALL
environment variable getting changed in Electron. #26507 (Also in 9, 10, 11)contentTracing.stopRecording()
not rejecting when there is no trace in progress. #26656 (Also in 11)protocol
methods not being accessible via remote.protocol
. #27043 (Also in 11)readdir
/readdirSync
(w/ withFileTypes
) failing on a deep directory within archive. #27011 (Also in 10, 11)screen
methods not being accessible via remote.screen
. #26661 (Also in 11)systemPreferences.effectiveAppearance
returning systemPreferences.getAppLevelAppearance()
. #26879 (Also in 9, 10, 11)webContents.fromId
with an unknown ID. #26651 (Also in 11)desktopCapturer.getSources
. #27058 (Also in 9, 10, 11)BrowserWindows
. #27641 (Also in 11)enableBlinkFeatures
warning shown webviews which enabled no Blink features. #27790 (Also in 10, 11)BrowserView
s couldn't be effectively reparented. #27187 (Also in 11)SIGINT
was improperly handled in Node.js processes. #26971 (Also in 10, 11)Save as PDF
from PDF Viewer Print dialog failed and sometimes crashed. #25959 (Also in 9, 10, 11)event.reply
could sometimes not deliver a reply to an IPC message when cross-site iframes were present. #26925 (Also in 9, 10, 11)BrowserView
s on Windows. #26775 (Also in 10, 11)BrowserWindow
causes BrowserView
to become draggable in non-correspondent places. #26755 (Also in 10, 11)BrowserView
s could have incorrectly calculated bounds. #27184 (Also in 10, 11)contextIsolation
enabled. #26912 (Also in 11)async_hooks
were not properly emitted after an error in the renderer process. #26990 (Also in 11)remote.screen
EventEmitter
methods are undefined in the renderer. #26988 (Also in 11)NativeViewHost::SetParentAccessible
. #26952 (Also in 9, 10, 11)BrowserView
s in close succession. #27658 (Also in 10, 11)remote
module not being released after all references are dropped. #26833 (Also in 11)browserWindow.close()
on Windows. #27359 (Also in 10, 11)WebContents
in the crashed
event. #27756 (Also in 10, 11)quitAndInstall()
would not restart the app upon update completion on macOS Big Sur. #25864 (Also in 11)window.open()
to not use windowName/frameName as title by default. #27552 (Also in 10, 11)webContents
with javascript disabled. #26869 (Also in 10, 11)chrome.webRequest
extensions API not intercepting any requests. #27098 (Also in 10, 11)nodeIntegrationInSubframes
is enabled. #27879 (Also in 10, 11)WebContents.sendInputEvent
. #27855 (Also in 10, 11)BrowserView
s. #27947 CTFontDescriptorIsSystemUIFont
in MAS build. #26548 (Also in 11)setPermissionRequestHandler
to correctly recognize permissions being requested. #26172 (Also in 11)WDA_EXCLUDEFROMCAPTURE
and will now exclude a window entirely from screen capture when setContentProtection
is enabled. Older Windows versions will continue to show a black window as before. #24274 Electron 9.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.
Key | Action | |
---|---|---|
/ | Focus the search bar | |
Esc | Focus the search bar and cleans it | |
↓ | Select the next search result | |
↑ | Select the previous search result | |
Enter | Open the selected search result | |
cmdEnter | Ctrl+Enter | Open the selected search result in a new tab |