Electron v1.2.0
Release Notes
Changelog:
Update to Chrome 51. #5648
Returning a non-void value in
beforeunloadhandler nows prevents the page to unload. #5648Improve the "Error opening app" dialog. #5610
Improve how
Promiseis detected inremotemodule. #5689Add
webpageURLparameter toapp.setUserActivity(type, userInfo[, webpageURL])API. #5658Fix
document.visibilityStateandvisibilitychangeevent not working in<webview>tag. #5684Fix unexpected behavior when calling
app.quit()while there areBrowserWindows withclosableset tofalse. #5701
Migration Notice:
Due to a change of Chrome 51, returning non-empty strings or
trueinbeforeunloadhandler now prevents the page to unload. #5648The private
ATOM_SHELL_INTERNAL_RUN_AS_NODEenvironment variable has been removed, the code relies on it should use the publicELECTRON_RUN_AS_NODEenvironment variable instead. #5682The internal
ATOM_SHELL_environment variables have been renamed, if you are maintaining your own Electron fork, you might be affected. #5683