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.7.
Fixes
- Added missing buffer size check in
nativeImage.createFromBuffer
/ nativeImage.addRepresentation
. Data URLs only parsed according to the MIME type as PNG or JPEG. #17568
- Fixed an issue where
Notification
objects constructed in the main process would randomly not be shown to the user. #17484
- Fixed an issue whereby foreground visibility of a window was not correctly taken into account for
win.isVisible()
on macOS. #17491
- Fixed crash when passing callbacks which return
undefined
to some APIs. #17481
- Fixed crash when showing a tray menu while one is already shown. #17509
- The
safeDialogs
webPreferences option now actually works on file://
URLs. #17579
Other Changes
- Updated Chromium to 73.0.3683.88. #17500
- Updated Chromium to 73.0.3683.94. #17554
Documentation
- Documentation changes: #17493
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.6.
Features
- Enabled
NodeIntegrationInSubFrames
option usage for webview
tags. #17398
- Enabled the setuid sandbox on Linux, allowing Electron to launch sandboxed processes in environments that disable CLONE_NEWUSER for unprivileged users. #17343
Fixes
- Added a check for invalid menu index to prevent out-of-range crashes on insertion. #17435
- Backported a fix for crashing color picker dialogs on MacOS. #17254
- Fixed a crash when calling ECDH.setPrivateKey(). #17296
- Fixed an assertion when calling
ECDH.getPrivateKey()
, diffieHellman.generateKeys()
or diffieHellman.get*()
. #17255
- Fixed app freeze when using custom stream protocol. #17264
- Fixed crash when
nativeImage.createFromBuffer()
is called with invalid buffer
. #17374
- Fixed some MAS rejection errors by removing usages of private APIs. #17293
- Improved the contrast/visibility of the "focused" menu item in menus on Windows. #17360
- Launching the node inspector through
--inspect
now listens on the correct port when one is provided. #17439
- TouchBarSegmentedControl instances now correctly update when you update the
segments
array and remove label
or image
dynamically. #17334
- Fixed issue where preload scripts running in subframes where not context isolated when contextIsolation was enabled #17275
Other Changes
- Updated Chromium to 73.0.3683.65. #17233
- Updated Chromium to 73.0.3683.68. #17261
- Updated Chromium to 73.0.3683.75. #17295
- Updated Chromium to 73.0.3683.78. #17367
- Updated Chromium to 73.0.3683.79. #17383
- Updated Chromium to 73.0.3683.84. #17452