Update electron in / from 2.0.9 to 3.0.0 #417
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies.io has updated
electron
(a npm dependency in/
) from "2.0.9" to "3.0.0".3.0.0
v3.0.0
would not have been possible without our App Feedback Program partners, who provided early testing and feedback during the beta cycle. Thanks to Atlassian, Atom, Microsoft Teams, Oculus, OpenFin, Slack, Symphony, VS Code, and other program members for their work. If you'd like to participate in future betas, please mail us at info@electronjs.org.Changes / New Features
Major bumps to several important parts of Electron's toolchain, including Chrome
v66.0.3359.181
, Nodev10.2.0
, and V8v6.6.346.23.
app.isPackaged
app.whenReady()
process.getHeapStatistics()
win.moveTop()
to move window z-order to topwebview
in sandbox rendererfs.readSync
now works with massive filesfs
wrappers to makefs.realpathSync.native
andfs.realpath.native
availableBreaking API changes
did-get-response-details
anddid-get-redirect-request
eventsv4.x
or greater is required use theelectron
npm moduleNativeWindow
menu.popup()
ipcRenderer.sendSync
api::Window
toapi::BrowserWindow
media-play_pause
tomedia-play-pause
macOS
tray.setIgnoreDoubleClickEvents(ignore)
to ignore tray double click events.Windows
Nota Bene: Switching to an older version of Electron after running this version will require you to clear out your user data directory to avoid older versions crashing. You can get the user data directory by running
console.log(app.getPath("userData"))
or see docs for more details.Bug Fixes
fs.statSyncNoException
throwing exceptionsnet::ClientSocketHandle
destructorMacOS
<input file="type">
open file dialogenable_run_as_node==false
app.removeAsDefaultProtocolClient
tray.setContextMenu
crashdefaultId
is setLinux
BrowserWindow.focus()
for offscreen windowsOther Notes
TextField
andButton
APIs are experimental and are therefore off by defaultenable_view_api
build flag