Electron v1.2.0
Release Notes
Changelog:
Update to Chrome 51. #5648
Returning a non-void value in
beforeunload
handler nows prevents the page to unload. #5648Improve the "Error opening app" dialog. #5610
Improve how
Promise
is detected inremote
module. #5689Add
webpageURL
parameter toapp.setUserActivity(type, userInfo[, webpageURL])
API. #5658Fix
document.visibilityState
andvisibilitychange
event not working in<webview>
tag. #5684Fix unexpected behavior when calling
app.quit()
while there areBrowserWindow
s withclosable
set tofalse
. #5701
Migration Notice:
Due to a change of Chrome 51, returning non-empty strings or
true
inbeforeunload
handler now prevents the page to unload. #5648The private
ATOM_SHELL_INTERNAL_RUN_AS_NODE
environment variable has been removed, the code relies on it should use the publicELECTRON_RUN_AS_NODE
environment variable instead. #5682The internal
ATOM_SHELL_
environment variables have been renamed, if you are maintaining your own Electron fork, you might be affected. #5683