electron v1.5.1 beta
https://github.com/electron/electron/releases/tag/v1.5.1Note: This is a beta release. This release run on recently upgraded versions of Chrome and Node and may have some instability and/or regressions.
Please file new issues for any bugs you find in it.
This release is published to npm (
https://www.npmjs.com/package/electron) under the beta tag and can be installed via npm install electron@beta.
API Changes
You can now launch the crash reporter in forked child processes using the
new process.crashReporter.start API. See the crashReporter module docs
for usage details. #8109 (
https://github.com/electron/electron/pull/8109)
A warning is logged instead of an error being thrown when a remote event
cannot be delivered to a destroyed renderer process. The event names are
included in the logged message and the listener is automatically unregistered.
#8357 (
https://github.com/electron/electron/pull/8357)
The before-input-event event on webContents now includes the code
property. #8561 (
https://github.com/electron/electron/pull/8561)
A forcereload menu item role has been added that maps to the focused
window's webContents.reloadIgnoringCache method. #8570 (
https://github.com/electron/electron/pull/8570)
Windows
The dialog.showOpenDialog API now accepts a promptToCreate property
that allow files that do not exist to be entered into the dialog and confirms
with the user that they would like the file to be created. #8566 (
https://github.com/electron/electron/pull/8566)
The app.setLoginItemSettings and app.getLoginItemSettings APIs now accept
optional path and args settings to better support apps using the
Squirrel installer/auto updater. #8515 (
https://github.com/electron/electron/pull/8515)
macOS
BrowserWindow.setAlwaysOnTop now accepts a relativeLevel parameter to
allow ordering windows relative to other constant levels. #8487 (
https://github.com/electron/electron/pull/8487)
Bugs Fixes
Fixed a crash when loading long URLs that exceeded the maximum character length. #8478 (
https://github.com/electron/electron/pull/8478)
Fixed a crash when calling toBitmap, getBitmap, or getNativeHandle
on an empty NativeImage. #8510 (
https://github.com/electron/electron/pull/8510)
Fixed uncaughtException events not being emitted in the main process
on the process global. #8507 (
https://github.com/electron/electron/pull/8507)
Fixed an issue where require-ed scripts could not define their own
const process or global variables because ones already had been
defined. #8539 (
https://github.com/electron/electron/pull/8539)
macOS
Fixed a crash when calling webContents.startDrag with an empty image. #8511 (
https://github.com/electron/electron/pull/8511)
Windows
Fixed an issue where the globalShortcut APIs would not function correctly
if the systemPreferences module was required at startup. #8568 (
https://github.com/electron/electron/pull/8568)