Electron Releases

Filter by channel Filter by major release

Release Notes for v1.6.2

Bug Fixes

  • Fixed an issue where the flash context menu would throw an error when opened when fullscreen. #8739
  • Fixed an issue where the Buffer global would be unavailable in modules required from preload scripts when node integration was disabled. #8758
  • Fixed a console warning message about a potential listener leak when more than 10 <webview> tags were in a page. #8742
  • Fixed an issue where no such module errors would be incorrectly thrown in the renderer process referencing browser process Electron modules. #8766

macOS

  • Fixed an issue where Quick Look would not work correctly when opened from a file dialog. #8745

API Changes

  • Added a new async option to the menu.popup API that causes the method to return immediately instead of after the menu is closed on all platforms and also no longer blocks rendering updates on macOS. #8702

macOS

  • The dialog.showMessageBox API now supports the cancelId property similar to other platforms. #8733

Release Notes for v1.6.1

Bug Fixes

  • [SECURITY] Node's Buffer class is no longer available on the window global when Node integration is disabled. #8605
  • Fixed an issue where certain modules, like coffee-script, threw errors when required. #8618
  • Fixed an issue where the focused window would lose focus when an invisible window was created. #8676
  • The minimumFontSize, defaultFontSize, and defaultMonospaceFontSize settings can now be configured via the webpreferences attribute of a <webview> tag. #8542
  • Fixed a crash where the browser context did not shutdown cleanly. #8654
  • Fixed a crash on file lock verification. #8679

macOS

  • Fixed an issue where a titleBarStyle value of hidden-inset did not work on certain OS versions. #8619
  • Fixed an issue where private OS APIs were being used in the Mac App Store build causing apps to be rejected. #8668
  • Fixed the scroll-touch-end event not firing. #8673
  • Fixed BrowserWindow.setVibrancy not working on certain OS versions. #8717

API Changes

  • Added a app.getFileIcon(path, callback) API to get the native icon for a file type. #7851
  • The callback specified to the session.setCertificateVerifyProc API is now provided the certificate verification result and can be rejected with any error code supported by Chrome. #7955
  • The dialog.showMessageBox API now supports showing a checkbox with a message in the dialog. The state of the checkbox will be provided to the callback. #8590
  • webContents now emits a will-attach-webview event that can be used to configure the settings of a<webview> tag before it is attached. Calling event.preventDefault() will destroy the <webview>. #8584
  • The zoom preferences on webContents are now persisted in a session on a per-origin basis. #8537
  • Added support for webContents.invalidate() on non-offscreen pages to schedule a paint of the entire view. #8628

macOS

  • dialog.showSaveDialog now supports message, nameFieldLabel, and showsTagField options. #8556
  • dialog.showOpenDialog now supports a message option. #8556
  • dialog.showOpenDialog now supports a noResolveAliases property to disable automatic alias (symlink) resolution. #8617
  • Added a crashReporter.setExtraParameter API to adjust the extra data sent on crashes. #8648