Electron Releases

Filter by channel Filter by major release

Release Notes for v3.0.0-beta.2

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@3.0.0-beta.2.

Bug Fixes/Updates

  • Documentation update: fixed links to webview.md. #13370
  • Documentation update: add native_mate to source code directory structure doc. #13457
  • Fixed issue with fs.statSyncNoException throwing exceptions. #13397
  • Fixed crash when loading site with jquery. #13476, #13452
  • Deprecated properties in app.getAppMetrics(). #13453
  • Fixed devtools issues. #13571

macOS

  • Fixed incorrect usage of private APIs in MAS build. #13530
  • Fixed tray.setContextMenu crash. #13517
  • Fixed fallback to FullSizeContentView for frameless window on mac. #13600

Windows

  • Fixed build to work with Visual Studio 2017 15.7.4 #13593

Release Notes for v3.0.0-beta.1

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@3.0.0-beta.1.

Upgrades

  • Upgraded from Chrome 61.0.3163.10 to 66.0.3359.181. #12477
  • Upgraded from Node 8.9.3 to 10.2.0. #12477
  • Upgraded from v8 6.1.534.41 to 6.6.346.32. #12477

Breaking API changes

  • Changed menu item order control. #12362
  • Aliased arm builds are no longer published. #12991
  • Removed documented deprecated APIs. #13050
  • Removed did-get-response-details and did-get-redirect-request events.  #12477
  • Default to disabling navigating on drag/drop. #12655
  • Node 4.x or greater is required. #12993
  • Refactored NativeWindow (Part 1): Remove WebContentsObserver methods. #12008
  • Refactored NativeWindow (Part 2): NativeWindow is no longer WebContentsObserver. #12140
  • Refactored NativeWindow (Part 3): Remove is_offscreen_dummy from NativeWindow. #12503
  • Refactored NativeWindow (Part 4): Move AutofillPopup from NativeWindow to WebContents #12514
  • Refactored NativeWindow (Part 5): Add NativeWindow::SetContentView. #12584
  • Refactored NativeWindow (Part 6): Move NativeWindow bindings to api::TopLevelWindow. #12596
  • Refactored NativeWindow (Part 7): Expose TopLevelWindow in JavaScript. #12637
  • Refactored NativeWindow (Part 8): Prepare work for using views::Widget on macOS. #12660
  • Refactored NativeWindow (Part 9): Use views::Widget on macOS. #12696
  • Refactored NativeWindow (Part 10): Share more code between NativeWindow implementations. #12716
  • Refactored NativeWindow (Part 11): NativeWindowViews should not be a View #12750
  • Refactored NativeWindow (Part 12): Do not use custom content view on macOS. #12787
  • Refactored NativeWindow (Part 13): Add View and WebContentsView APIs. #12858
  • Refactored menu.popup. #11968 https://github.com/electron/electron/pull/11968
  • Changed to no longer use JSON to send the result of ipcRenderer.sendSync. #8953
  • Changed to default to ignore command line arguments following a URL. #13039
  • Renamed api::Window to api::BrowserWindow. #12004
  • Changed to turn off visual zoom by default. #12679
  • 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 https://electronjs.org/docs/api/app#appgetpathname for more details.

Windows

  • Renamed app-command media-play_pause to media-play-pause. #12408

Other Changes

  • Added the ability to build with GN. #12837, #12884, #12948, #13286, #13005, #12885, #12647, #12882, #12950, #12952, #13124, #13285, #12953 , #12949, #13284, #12957, #12951, 12738
  • Documentation fixes and updates. #12084, #13259, #12595, #12674, #12577, #12103, #12767, #12373, #12202, #12504, #12617, #13281, #12123, #12627, #13293, #13142, #13064, #12986, #12276, #13084, #13233, #12804, #13099, #13013, #13187, #13270, #13229, #12274, #12736, #11966, #12155, #12400, #11328, #12900, #12389, #12387, #12232, #12922, #12968, #12422, #12149, #12794, #12822, #13089, #12113, #12067, #13103, #12902, #12797, #12786, #12058, #12204, #13294, #12542, #12781, #12682, #12040, #12847, #12852, #12452, #12665, #12756, #12000, #12428, #12315, #12072, #12912, #12967, #12105, #13063
  • Fixed to correctly detect insecure resources. #12309
  • Added app.whenReady(). #12652
  • Added enable_desktop_capturer build flag. #13133
  • Added a display_id parameter to the desktopCapturer API. #12417
  • Added app.isPackaged. #12656
  • Added clang-format script and precommit hook. #12651
  • Added converters for base::BindOnce and base::BindRepeating. #12646
  • Added did-frame-navigate event to WebContents. #12723
  • Added layout support for View API. #13044
  • Test fixes and updates. #12257, #13227, #13266, #13267, #13268, #13269, #13271, #13272, #13273, #12241, #13241, #13291, #13155, #13237, #13238, #13239, #13263, #12122, #12817, #12749, #12153, #12015, #12403, #12757, #12186, #12189, #13122, #12886, #12917, #12139, #12263, #13066
  • Added win.moveTop() to move window z-oder to top. #12485
  • Added before-quit-for-update event to autoUpdater. #12619
  • Added optional verbose switch -v to build script. #12118
  • Added process.getHeapStatistics(). #13183
  • Fixed support for typed arrays in remote/rpc-server. #13055
  • Added sccache option to bootstrap. #12582
  • Fixed tls check to no longer rely on an external service. #13338
  • Changed c++ std from gnu++14 to c++14. #13248
  • Fixed issue with BrowserWindow.getFocusedWindow(). #12526
  • Fixed issue with menu.popup. #12325
  • Added support for generating compilation db. #12104
  • Fixed native crash in url_request_context.cc. #12305
  • Added the capability to clear cache storage data. #12546
  • Fixed the default of allowRunningInsecureContent as per docs. #12556
  • Added documentation on automated testing with a custom driver. #12446
  • Improved removeRemoteListenersAndLogWarning. #12975, #12998
  • Fixed issue starting Electron with Node options. #13323
  • Fixed issue where cookies and credentials were being captured in netlog. #13065
  • Fixed invisible menu items no longer triggering. #12825
  • Added support for rebuild of native modules for unreleased electron. #12217
  • Enabled plznavigate for browser side navigation. #12535
  • Enabled WebFrame method forwarding in sandboxed renderers. #12538
  • Fixed issue where preload script was executing twice. #12190
  • Fixed issue exiting HTML fullscreen when window leaves fullscreen. #13090
  • Added events (EventEmitter) to sandboxed renderer. #12828
  • Fixed isOffScreen method to always be available. #12530
  • Added WebFrame routingId. #12614
  • Added process.env to sandbox renderer. #12166
  • Added deprecate.property(). #13101
  • Added TextField and Button APIs. #13110
  • Added netLog API for dynamic logging control. #13068
  • Added new makeSingleInstance API. #12782
  • Changed to queue spell check request asynchronously. #12112
  • Added powerMonitor.querySystemIdleState and powerMonitor.querySystemIdleTime. #11807
  • Fixed autofill popup position when the popup is spawned from a webview. #13184
  • Fixed context menu for sandbox devtools. #11933
  • Fixed crash when releasing a script context that never had node injected. #12741
  • Fixed crash when using getWebPreferences api with devtools webContents. #12254
  • Fixed crashes and added tests for View API. #12995
  • Fixed deprecated API in tools/dump-version-info.js. #12003
  • Fixed dev tools window interfering with mouse forward. #12132
  • Fixed dockMenu not being referenced in JavaScript. #12062
  • Fixed empty description when only one extension is given. #12954
  • Fixed menubar toggle alt key detection on focus. #12167
  • Fixed network delegate race condition. #12044
  • Fixed optimizeSimpleObject for arrays of objects. #12815 https://github.com/electron/electron/pull/12815
  • Fixed transparency in capturePage. #12561
  • Fixed vulnerabilities both top-level and in spec. #13029
  • Fixed can't load module error when app is packaged. #13283
  • Fixed to ensure that getLastCrashReport() is actually the last crash report. #12253
  • Fixed incorrect warnings in webviews. #12234
  • Fixed listeners out of limit warning. #12841
  • Fixed passing the boolean value of enableAutoSize in webContents.setSize(options). #13282
  • Added additional webFrame methods. #11607
  • Fixed error while using Spectron. #12511
  • Added remote exception handling. #12694
  • Added dialog (alert/confirm) blocking as a user switch after the first dialog. #11613
  • Fixed mime type deduction in URLRequestAsarJob. #12319
  • Fixed to use parent's visibility instead of inherited 'show' option. #12228
  • Added option to use to use a local build of Electron. #12426
  • Fixed preload not loading in sandboxed render if preload path contains special chars. #12037
  • Fixed propagating referrer to new windows. #12397
  • Fixed disabling accelerators. #12449
  • Refactored sandbox preload initialization. #12877
  • Fixed build_debug_libccargument on bootstrap. #11927
  • Fixed the race condition between new process creation and context release. #12342
  • Fixed issue with Menu.buildFromTemplate if passed template is an Array. #12699
  • Fixed to set appropriate defaults for webview options. #12271
  • Added support for navigator.languages. #12419
  • Fixed drag preventing clicks on overlapping BrowserView. #12348
  • Added macOS and Linux symbols to symbol server. #13058
  • Fixed popup menu position #12180
  • Fixed to use same delay-load settings in both debug and release. #12328
  • Fixed pinch-zoom disabling. #12488

Linux

  • Added support for CI testing on arm64 hardware. #12080
  • Added better GTK+ Menu color support. #12300
  • Fixed desktop-id notification edge case. #12216
  • Fixed Menu.setApplicationMenu(null) crash. #12983
  • Fixed issue with tray icons with multiple inherited ubuntu sessions. #12844
  • Fixed BrowserWindow.focus() for offscreen windows. #12507
  • Fixed using application name for notifications. #12192
  • Fixed to use the appname as the tray icon's default tooltip. #12388

macOS

  • Added workspace notifications support. #12093
  • Added tray.setIgnoreDoubleClickEvents(ignore) to ignore tray double click events. #12496
  • Fixed issue allowing bundles to be selected in <input file="type"> open file dialog. #13220
  • Added warning when addTabbedWindow is called on self. #12059
  • Added XCode debugging documentation. #12131
  • Fixed issue blocking main process when using async dialog. #12404
  • Fixed dark mode tray highlighting bug. #12395
  • Fixed context menu click callback. #12043
  • Fixed event leak on reuse of touchbar item. #12527
  • Fixed tray title crash. #12352
  • Fixed non-draggable regions. #12327
  • Fixed to prevent menu update while it's open. #12809
  • Fixed tray icon bounds not allowing negative values. #13162
  • Fixed tray title not inverting when highlighted. #13085
  • Fixed Mac build when enable_run_as_node==false. #12196
  • Improved inAppPurchase module. #12464
  • Fixed additional issues on frameless windows with vibrancy. #12157
  • Added mouse forward functionality on macOS. #12281
  • Added screen lock / unlock events. #12714
  • Fixed to set mac protocol to none after calling app.removeAsDefaultProtocolClient. #13326
  • Added show file filter name for accessory view of file dialog. #11959
  • Updated mac symbol dump. #12982

Windows

  • Fixed issue to allow frameless transparent windows to be sized smaller than 64x64. #12904
  • Updated to disable chromium's redraw locking on Windows when DWM is disabled. #12501
  • Added DIP to/from screen coordinate conversions. #12879
  • Fixed require on network share path. #12282
  • Fixed passing of exception to the system crash handler. #12198