Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@5.0.0-beta.3.
- Upgraded to Chromium 73.0.3683.27. #16975
- Added
win.removeMenu()
to remove application menus instead of using win.setMenu(null)
. #16657
- Added caps lock and numlock as keyboard accelerator modifiers. #16725
- Converted
debugger.sendCommand()
to return a Promise instead of taking a callback. #16931
- Updated
Menu.buildFromTemplate()
to allow it to accept MenuItem
s in addition to plain objects. #16783
- Added a patch to fix incorrect enumeration and instantiation of Node.js ciphers in the Crypto module. #16909
- Fixed Chromium sandbox v2 related crashes in MAS builds. #16969
- Fixed crash when calling setProgressBar on macOS. #16728
- Fixed issue whereby a user was not well informed when interacting with a menu submenu that did not have any visible
MenuItems
. #16848
- Fixed memory leak when using webFrame and spell checker. #16851
- Fixed submenus not responding to the
visible: false
MenuItem
property. #16846
- Fixed the
enable
property having no effect for top-level submenu MenuItems
. #16858
- Made getUserMedia APIs work again on C72+ (backport: 5-0-x). #16768
- Added
webFrame.setIsolatedWorldInfo
API and deprecated related APIs. #16932
- Deprecated
ServiceWorker
APIs on WebContents
in preparation for their removal. #16732
- No-notes. #16882, #16886
- Updated Chromium to 72.0.3626.102. #16829
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@5.0.0-beta.2.
Generating release notes between v5.0.0-beta.1 and v5.0.0-beta.2 for version v5.0.0-beta.2
- Added ELECTRON_DISABLE_SANDBOX environment variable to make it easier to disable sandboxing in Docker-based Linux CI environments. #16662
- Added Promise support for the Cookies API. #16702
- Converted
contentTracing.getCategories()
to return a promise instead taking a callback. #16624
- Converted
contentTracing.startRecording()
and contentTracing.stopRecording()
to return a promise instead taking a callback. #16642
- Electron no longer forwards IPC filtering events to
app
for dev-tools and extensions. #16613
- Fixed an issue where data streamed from registerStreamProtocol could be truncated before completion. #16553
- Fixed and re-enabled osr after it was turned off following updates to Chromium 71/72. #16616
- Fixed broken save dialog on macOS for
<a>
downloads. #16640
- Fixed defunct processes after quitting. #16672
- Fixed memory leak caused by webFrame.setSpellCheckProvider. #16525
- Fixed session preload scripts not being executed in sandboxed renderers. #16578
- Moved
webFrame
custom scheme APIs to browser process under protocol
. #16625
- Restored support for AES-CFB cipher, which was lost when switching from OpenSSL to BoringSSL. #16618
- Restored support for RIPEMD160 digest, which was lost when switching from OpenSSL to BoringSSL. #16572
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@5.0.0-beta.1.
- Upgraded to Chromium 70.0.3538.79. #15405
- Added
activate
option to webContents.openDevTools
. #13852
- Added
app.commandLine.hasSwitch()
/ app.commandLine.getSwitchValue()
. #16282
- Added
fileMenu
/ viewMenu
/ appMenu
roles. #16328
- Added
ipc-message
and ipc-message-sync
events to webContents
. #16468
- Added
preload-error
event to webContents
emitted when preload script fails (parse error, unhandled exception, etc.). #16411
- Added a way to query for system colors on MacOS via
systemPreferences.getSystemColor()
. #16248
- Added about panel customization on linux. #15658
- Added event and method to detect high contrast color schemes . #15493
- Added getMemoryFootprint API. #14847
- Added macOS support for
systemPreferences.getAccentColor()
. #16251
- Added macOS support to
systemPreferences.getColor()
. #16249
- Added methods to
DownloadItem
that enable customization of the save dialog options during will-download
events. #15497
- Added response header support to
protocol.registerFileProtocol
to match protocol.registerStreamProtocol
. #16098
- Added support for DesktopCapturerSource.appIcon. 1f55f163
- Added support for multiple browser views per
BrowserWindow
. #16148
- Added support for running preload scripts and nodeIntegration in iframes. #16425
- Allow for MacOS notifications to be immediately delivered. #16060
- Allow numpad keys to be used as accelerators. #15689
- Allow partial setting of window bounds with win.setBounds(). #15677
- Allow registering of multiple globalShortcuts. #15542
- Allowed filtering of
remote.getBuiltin()
, remote.getCurrentWindow()
, remote.getCurrentWebContents
and <webview>.getWebContents()
. #16293
- Converted
zoomLevel()
and zoomFactor()
for webContents
and <webview>
to return a promise instead taking a callback. #16410
- Deprecated modules internally using
remote.require
in sandboxed renderer context. #15145
- Exposes an API to allow apps to determine their status as a trusted accessibility client. #16119
- Feat: provide user system's region with
app.getLocaleCountryCode()
. #15035
- Mixed-sandbox mode is now enabled by default.
enableMixedSandbox
and the --enable-mixed-sandbox
command-line switch still exist for compatibility, but are deprecated and have no effect. #15894
- Mixed-sandbox mode works on Linux. #15870
- Promisifies
app.getFileIcon
. #15742
- Promisify
shell.openExternal()
by splitting it into a sync and async method. #16176
- Promisify win.capturePage(). #15743
- The
browser-backward
and browser-forward
app-command
events events available in BrowserWindow now work on Linux. #15441
- Unified behavior between the default app and packaged apps (application menu /
window-all-closed
handling). #16310
- Updated SpellCheck API to support asynchronous results. #14032
- Upgraded to Chromium 71.0.3578.98. #15966
- WebContents.loadURL and loadFile now return a promise. #15855
- 'win.setParentWindow(parent)' available also under Windows. #15775
- Fixed a crash on Linux when starting a sandboxed renderer. The
resourcesPath
property is no longer available on process
in sandboxed renderers. #15701
-
no-notes. #16260
- Added
--disable-color-correct-rendering
switch. #15898
- Allowed blocking of
desktopCapturer.getSources()
calls by handling the desktop-capturer-get-sources
event. #15964
- Be more lenient about whitespace in webview's "webpreferences" feature string. #15602
- Correct windowMenu MenuItem role on MacOS. #15930
- Disabled CORB checks when web security preference is disabled. #15737
- Fix: hiddenInset titleBar console spam. #15576
- Fix: make certain values on
process
read-only. #15628
- Fix: move NativeWindow tracking to OSR WCV. #15585
- Fixed
<webview>
not working with contextIsolation
+ sandbox
. #16469
- Fixed
<webview>
tag not working when using contextIsolation
. #16067
- Fixed
windowmenu
role not showing the window list on macOS. #16387
- Fixed a bug that made all cookies non persistent. . #15836
- Fixed a bug where
window.opener
of a window created with window.open from a sandboxed renderer was null. #15821
- Fixed a problem where the focus would move to the browser window after the user (SHIFT +) tabbed through all the elements in the page (#12919). #16042
- Fixed an issue where on Linux, the setuid sandbox was incorrectly enabled when passing
--enable-mixed-sandbox
. #15722
- Fixed an issue with promise methods not resolving correctly over ipc in the renderer process. #16433
- Fixed bug that caused menu accelerators to stop working on some linux. #15094
- Fixed child windows invisible if opened with window.open from BrowserView with nativeWindowOpen enabled. #12686
- Fixed crash on exit when using
BrowserView
. #15541
- Fixed default font fallback for non-latin scripts. #15486
- Fixed incorrect display of 'zoom in' accelerator on mac. #15502
- Fixed incorrect foreground color on GTK menubar. #15878
- Fixed missing remote object error when calling remote function created in preload script. #15444
- Fixed regression regarding
localStorage
quota not being bypassed. #15596
- Fixed returning headers with multiple values for stream protocols. #14887
- Fixed some accelerators having
Shift
appended to them twice . #15400
- Fixed support for precision trackpad/mouse scrolling on Windows. #15830
- Fixed typo by changing "masOS" to "macOS". #15861
- Implement proper Location object for BrowserWindowProxy. #15019
- Support async child process methods without callback in asar. #15927
- Removed potential double free when managing WebContents. #15280
- Switch to V2 sandbox on mac. #15647
- Improved tray icon context menu and menu bar accessibility. #15302
- Added legacy callback function tests to prevent regressions as the promisification initiative continues. #16436
- Don't expose NavigationController as an internal module. #15920
- Fixed version bump script for first beta. 29e5195c
- Merged code in
brightray
into atom
. #15240
- Missing
process.getCreationTime()
exposed in sandboxed renderers. #15824
- Removed hardcoded Google API key. #15478
- Removed support for deprecated construction of a TouchBar with an array of items, use an options object instead. #15650
- Restore kill_win.cc dcheck. #15630
- The default values of
nodeIntegration
and webviewTag
are now false
to improve security. #16235
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@4.0.0-beta.11.
- Fixed Electron not starting in development from the CLI. #16118
- Fixed
<webview>
tag not working when using contextIsolation
. #16069
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@4.0.0-beta.10.
- Added
--disable-color-correct-rendering
switch. #16020
- Fixed 4-0-x regression that broke original-fs. #16038
- Fixed
BrowserWindow.getNativeWindowHandle()
returning invalid handle. #16022
- Fixed cpu pegging on single-core windows. #16012
- Fixed crash with mouse wheel event monitor on app quit in macOS. #16063
- Fixed several bugs related to printing. #15976
- In Electron 5.0, the default for nodeIntegration will change from true to false. Electron 4 will log a warning in the renderer when nodeIntegration is enabled by default. #16004
- Upgraded sqlite from 3.24 to 3.26. #16073
- Warn if you try to use Electron APIs from a non-electron environment. #15977