Electron Releases

1.7.5 1.6.11 1.6.10 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.2 1.6.1 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.15 1.3.14 1.3.13 1.3.12 1.3.10 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.2 1.0.1 1.0.0 0.37.8 0.37.7 0.37.6 0.37.5 0.37.4 0.37.3 0.37.2 0.37.1 0.37.0 0.36.12 0.36.11 0.36.10 0.36.9 0.36.8 0.36.7 0.36.6 0.36.5 0.36.4 0.36.3 0.36.2 0.36.1 0.36.0 0.35.6 0.35.5 0.35.4 0.35.3 0.35.2 0.35.1 0.35.0 0.34.5 0.34.4

All Releases

Tip: Use Electron from the command line

Installing the electron module as a development dependency in your project will let you use Electron from the command line at specific versions. More information on the module's repository.

$ npm install --save-dev electron
# Launch from inside your project's directory:
$ ./node_modules/.bin/electron .

1.7.5 July 17, 2017

Bug Fixes

  • [SECURITY] Fixed an issue where windows using nativeWindowOpen could lose their configured webContents options when navigating URLs. #9972
  • Fixed an issue where the dev tools did not open when using mixed sandbox mode. #9983
  • Fixed an issue where the native dialogs did not allow any file to be selected from <input> elements using accept attributes. #9745
  • Fixed an issue where dev tool extension content scripts were not ignoring the fragment when matching against the page URL. #9953
  • Fixed an issue where calling show() on a modal window would cause the parent window to not be re-enabled when the modal was closed. #9962

macOS

  • Fixed an issue where the IME did not properly input certain characters. #9709
  • Fixed an issue where alwaysOnTop windows would not reappear correctly after being restored from a miniaturized position. #9695

Linux

  • Fixed Tray objects not properly dispatching a click event when the first subitem was selected. #9967

API Changes

  • Added a app.disableDomainBlockingFor3DAPIs() API to disable the Chrome behavior of disabling 3D APIs for domains where the GPU process crashes too frequently. #10003
  • The new-window event now supports configuring the webPreferences of the window being opened from a window using the sandbox or nativeWindowOpen options. #9972

macOS

  • A subtitle option is now supported when creating notifications. #9903
  • Added a fullscreenWindowTitle option to the BrowserWindow constructor to show the window title when in fullscreen for windows using a custom titleBarStyle. #9788

1.6.11 May 25, 2017

Bug Fixes

  • [SECURITY] Backported an upstream Node.js fix where StartCom and WoSign certificates are now rejected when making HTTPS requests. #9499
  • Fixed an issue where sandboxed renderer process would throw remote errors when reloaded. #9505
  • The built-in PDF viewer plugin is now disabled if the plugins setting is disabled on the BrowserWindow. #9564
  • Backported an upstream Chrome fix where media requests would not be cached properly. #9586
  • Backported an upstream Chrome fix where the backspace character did not delete the last character in certain keyboard layouts. #9586

1.6.10 May 16, 2017

Bug Fixes

  • Fixed several issues with the electron.d.ts TypeScript definition file. https://github.com/electron/electron/pull/9484

1.6.9 May 10, 2017

Bug Fixes

  • Fixed an issue where beforeunload would not correctly fire after reloading. #9292

API Changes

  • Added a app.getAppMemoryInfo() API with memory details for each process associated with the app. #9214
  • Added process.getCPUUsage() and process.getIOCounters() APIs. #9373
  • process.getProcessMemoryInfo() and process.getSystemMemoryInfo() are now callable from sandboxed renderer processes. #9333
  • A Typescript definition file, electron.d.ts, is now provided with each release. #7857

macOS

  • Added support for changing the tracking mode of TouchBarSegmentedControl items via a new mode property. #9315

Windows

  • Added support for the dialog.showCertificateTrustDialog() API. #9242

1.6.8 May 01, 2017

Bug Fixes

  • [SECURITY] Fixed an issue where the default app could render incorrectly depending on the path Electron was installed into. #9249
  • [SECURITY] Fixed an issue where certain built-in window APIs like alert, confirm, open, history.go, and postMessage would throw errors in the main process instead of the renderer processes when the arguments were invalid. #9252
  • [SECURITY] Fixed an issue where chrome-devtools: URLs would incorrectly override certain window options. #9278
  • [SECURITY] Fixed an issue where certain valid frame names passed to window.open would throw errors in the main process. #9287
  • Fixed a memory leak in windows that have the sandbox option enabled. #9314
  • Fixed a crash when closing a window from within the callback to certain emitted events. #9113
  • [SECURITY] Fixed an issue when using postMessage across windows where the targetOrigin parameter was not correctly compared against the source origin. #9301
  • Fixed a debugger crash that would occur parsing certain protocol messages. #9322
  • [SECURITY] Fixed an issue where specifying webPreferences in the features parameter to window.open would throw an error in the main process. #9289

macOS

  • Fixed an issue where the Error emitted on autoUpdater error events would be missing the message and stack properties when serialized to JSON or sent over IPC. #9255

API Changes

  • The module search path used by require is now set to the application root for non-file: URLs such as about:blank. #9095
  • [SECURITY] The javascript option is now disabled in windows opened from a window that already has it disabled, similar to the nodeIntegration option. #9250

macOS

  • sheet-begin and sheet-end events are now emitted by BrowserWindow instances when dialog sheets are presented/dismissed. #9108

Windows

  • A session-end event is now emitted by BrowserWindow instances when the OS session is ending. #9254

1.6.7 April 18, 2017

Bug Fixes

  • Fixed an issue where app.exit() did not close all open windows. #9133

macOS

  • Fixed an issue where setting scrollBounce to true did not enable it. #9134
  • Fixed a missing warning icon when calling dialog.showMessageBox. #9187

Windows

  • Fixed an issue where frameless windows would overflow the screen boundaries when maximized. #9167
  • Fixed a crash after performing text selections using touch gestures. #9204
  • Removed the unused xinput1_3.dll from the distribution. #9157
  • Back-ported an upstream Chrome fix for non-client area scaling when the screen DPI changes on Windows 10. #9219

API Changes

  • Added an experimental BrowserView class that is an alternative to the <webview> tag. #9166
  • Added a flushStore(callback) API to the Cookies module that writes any unwritten cookie data to disk. #9194

macOS

  • Added an iconPosition property to TouchBarButton items to change the icon position. #9208

Windows

  • Added support for notifications on Windows 7. #9168
  • Enabled per-monitor DPI awareness in the app manifest. #8786

1.6.6 April 07, 2017

Bug Fixes

  • Fixed a remote module issue where errors thrown in the main process while setting remote properties would not be re-thrown in the renderer process. #9097
  • Fixed a remote module issue where certain remote objects could not be set as remote properties. #9101
  • Back-ported an upstream Node.js bug fix where processes forked with the --eval argument would not receive messages. #9132

macOS

  • Fixed an issue where popover touch bar items would not update correctly. #9028

Windows

  • Fixed an issue where print jobs would stay in the spooling state indefinitely and selected page ranges would not print correctly. #9111

API Changes

Linux

  • kioclient will now be used on KDE when shell.moveItemToTrash is called. #8528

macOS

  • Added a dialog.showCertificateTrustDialog API that prompts the user to accept a self-signed or untrusted certificate. #9099
  • Added support for replacing the esc button on the touch bar with a custom item. #9023

1.6.5 March 31, 2017

Bug Fixes

  • Fixed an issue where Electron could not use the version of ffmpeg that does not include proprietary codecs. #9057
  • Fixed an issue where drag and drop events did not work properly across <webview> tags. #9037
  • Fixed an issue where the geolocation API could hang the UI thread and crash the renderer process. #8923
  • Fixed an uncaught error when making a request via the net module and the response’s content encoding was not supported. #9001
  • Fixed a crash that would occur on certain page navigations. #9043
  • Fixed an issue where net module requests did not support non-string header values. #9062

Windows

  • Fixed an issue where escaped & characters could not be used in top-level menu item labels. #8984

API Changes

  • The crashReporter module is now available in sandboxed renderer processes. #8956
  • Added support for controlling how redirects are handled in the net module. #9007
  • Added editMenu and windowMenu menu item roles that include the standard OS submenu items. #8880
  • Added support for a tabbingIdentifier option to the BrowserWindow constructor that enables groupable native tabs on macOS 10.12+. #9052

Windows

  • The uploadToServer option to crashReporter.start is now supported. #9053

1.6.2 March 01, 2017

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

1.6.1 February 21, 2017

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

1.4.16 April 05, 2017

Bug Fixes

Windows

  • Fixed an issue where printing selected pages did not work. #9044

1.4.15 January 19, 2017

Bug Fixes

  • Fixed a crash when calling preventDefault() on a new-window event for a sandboxed window. #8377
  • Fixed the dev tools not opening when a debugger was already attached. #8390
  • Pulled in an upstream Chrome patch to fix an issue where certain webm videos would not play. #8428

Windows

  • Fixed incorrect window borders being rendered when the OS zoom level was greater than 100%. #8404
  • Fixed a regression where transparent windows wouldn’t be transparent when the window was fullscreen. #8438

macOS

  • Fixed the window leaving fullscreen mode incorrectly when kiosk mode was disabled. #8399

New APIs

  • [SECURITY] Added a contextIsolation option to BrowserWindow and <webview> tags that loads the preload script and Electron APIs into a separate JavaScript context that is isolated from the main page’s JavaScript context. #8348
  • The <webview> element now emits the context-menu event from the underlying webContents object.

1.4.14 January 10, 2017

Bug Fixes

  • Fixed a crash when closing a window from within a will-navigate event listener. #8254
  • Offscreen windows are now always created as frameless so the viewport size is as expected. #8250
  • The backgroundThrottling option is now correctly persisted across window reloads. #8298
  • The Cookie header is now settable on requests made using Electron’s net module. #8258
  • Fixed a stack overflow error when creating a window with cycles in the specified options object. #8340
  • Fixed an issue where the session.enableNetworkEmulation API would lead to high CPU usage. #8371

macOS

  • Fixed a crash when the OS reported no monitors were available. #8249

Linux

  • Fixed a crash when closing a window from within a dialog callback. #8252

Windows

  • Fixed an issue where the window would be incorrectly placed behind the task bar when maximized. #7765

API Changes

  • The defaultFontFamily option in the BrowserWindow constructor now supports setting the default cursive and fantasy fonts. #8295
  • Added a normalizeAccessKeys option to the dialog.showMessageBox API that normalizes keyboard accelerator keys used for buttons across platforms. #8308
  • window.alert and window.confirm are now supported in <iframe> tags and sandboxed windows. #8341

1.4.13 December 20, 2016

Bug Fixes

  • Printing now works when the sandbox is enabled. #8165
  • Fixed an issue where the salt used to generate media devices ids did not persist across sessions. #8137
  • Fixed an issue where an error would be thrown when the optional window argument to dialog APIs was undefined. #8189
  • JavaScript run via an ipcRenderer event listener or setImmediate call is now recorded correctly in the Dev Tools timeline. #8159

macOS

  • Fixed an issue where the corners of modal windows were incorrectly rounded. #8167

API Changes

  • protocol.interceptHttpProtocol now supports a custom session. #8085
  • webContents now emits a before-input-event event that can be used to intercept keyboard events before they are handled by the page. Calling event.preventDefault() will cause the event to not be delivered to the page. #8143.
  • The certificate specified to the select-client-certificate event callback is now optional. #8134
  • Buttons are now optional when calling dialog.showMessageBox. #8187
  • nativeImage.createFromBuffer can now be called with bitmap buffers. #8175
  • You can now register schemes as secure by calling protocol.registerStandardSchemes with {secure: true} as the second argument. #7947

1.4.12 December 10, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where certain certificates would be incorrectly rejected when making HTTPS requests. This was an upstream Chrome fix that is time-sensitive where affected certificates will be rejected starting 10 weeks after the time of the Electron release. Electron versions 1.4.0 - 1.4.11 are affected. Read this blog post for more details. #8176

New APIs

  • Added session.createInterruptedDownload to enable resuming a previously interrupted download. #8061
  • Added session.clearAuthCache to enable clearing a session’s HTTP authentication cache. #8107

1.4.11 December 07, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where window.alert, window.close, and window.confirm did not behave as expected. #8120
  • Fixed an issue where accessing remote objects and functions would fail after reloading. #8110
  • Fixed an issue where the KeyboardEvent.key value would be incorrect when Control was pressed on Linux using certain keyboard layouts. #8147
  • Fixed an issue where removing a folder from the workspace in the dev tools failed. #8086
  • The dialog APIs no longer write values back into the specified options object parameter. #8123
  • Fixed an issue where BrowserWindow.fromDevToolsWebContents would throw an error. #8144

New APIs

macOS

  • Added BrowserWindow.setAutohideCursor to change the setting dynamically. #8092
  • Added BrowserWindow.closeFilePreview to close the Quick Look preview previously opened with BrowserWindow.previewFile. #8038
  • Added systemPreferences.setUserDefault to be able to change the user preference defaults. #8084
  • Added crashReporter.get/setUploadToServer to dynamically configure the setting. Also Renamed the autoSubmit option to uploadToServer in crashReporter.start. The old option name is still available for backwards-compatibility but will be removed in Electron 2.0. #7952

Windows

  • Added BrowserWindow.setAppDetails to configure the properties of the window’s taskbar button. #7952

1.4.10 November 28, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where the window.opener API did not behave as expected.

1.4.8 November 22, 2016

Bug Fixes

  • The error thrown when a missing remote object is accessed now includes the id of the object and the name of the property being accessed or method being called. #8003

Windows

  • Fixed an issue where the window would restore to the incorrect size when minWidth was used. #8047

macOS

  • Fixed an issue where systemPreferences.getUserDefault would crash when requesting a value as an array or dictionary. #7993

API Changes

  • The implementation of chrome.runtime.onMessage used by dev tools extensions now supports a response callback parameter. #7974
  • toggledevtools and reload are now supported menu item roles. #7981
  • Added a setLayoutZoomLevelLimits method to webFrame, webContents, and <webview> that can be used to set the layout-based zoom level limits of a page. The setZoomLevelLimits API has been deprecated and renamed to setVisualZoomLeveLimits to control the pinch-to-zoom level. setZoomLevelLimits will be completely removed in Electron 2.0. #8041

macOS

  • shell.openExternal is now asynchronous if the final specified argument is a callback function. #7612
  • A zoomToPageWidth option was added to the BrowserWindow constructor that controls how the window resizes when running the Window > Zoom menu item or when option-clicking the green stoplight toolbar button. #7776

1.4.7 November 16, 2016

Dependency Upgrades

  • Squirrel.Mac, Electron’s bundled macOS auto updater library, was upgraded to 0.3.0 which includes several bug fixes. The new version enables App Transport Security (ATS) on all requests it makes to the update server. This can be disabled, if needed, by adding NSAllowsArbitraryLoads to the app’s plist file. #7933

New APIs

  • You can now enable the macOS vibrancy effect on a BrowserWindow by calling setVibrancy(vibrancyType) or by including a vibrancy value in the constructor options. #7898
  • You can now specify POST data when calling BrowserWindow.loadURL via the postData option. Also <form> tags configured with method=post will now make POST requests with their data when submitted. #7540
  • The certificate specified to the session.setCertificateVerifyProc callback now includes the entire certificate chain. #7917
  • The <webview> tag now supports a disableguestresize attribute that will disable automatic resizing of the guest webContents when the <webview> element resizes. You can now call setSize directly on the guest webContents to manually control the size. #7658
  • The chrome.storage.remove and chrome.storage.clear APIs are now available to DevTools extensions. #7923

Bug Fixes

  • The about: protocol is now correctly supported by default. #7908
  • Menu item keyboard accelerators are now properly disabled when the menu item is disabled. #7962
  • The check for disabling ASAR support via the ELECTRON_NO_ASAR environment variable is now cached for better performance. #7978
  • Fixed a crash when calling app.setAboutPanelOptions(options) with a credits value. #7979
  • Fixed an issue where an error would be thrown in certain cases when accessing remote objects or functions. #7980
  • [SECURITY] Fixed an issue where the window.opener API did not behave as expected.

1.4.6 November 09, 2016

Dependency Upgrades

  • Upgraded to Chrome 53.0.2785.143 from 53.0.2785.113. #7906

API Changes

  • webContents.executeJavaScript now returns a Promise that resolves to the value returned by the specified code block. Previously this method did not return a value. The callback option is still supported. #7533

Bug Fixes

  • Fixed an issue where <webview> tags would be cleared or refreshed incorrectly when toggling the visibility or attaching/detaching. #7852

Infrastructure Changes

  • Electron’s V8 headers can now be downloaded from https://atom.io/download/electron instead of https://atom.io/download/atom-shell. This URL is used as the disturl option to NPM when compiling native modules to be used in Electron. #7881
  • The Windows symbol server for Electron is now available at https://electron-symbols.githubapp.com instead of http://54.249.141.255:8086/atom-shell/symbols. #7895

1.4.5 November 01, 2016

Bug Fixes

  • Fixed a crash when loading a URL using a persistent session. #7628
  • Fixed a crash when using setCertificateVerifyProc on a session. #7651
  • Fixed a crash when creating notifications on a session that is using a permission request handler. #7788

Windows

  • Fixed an issue where the web contents would lose focus when clicking the menu bar causing certain role-based menu items to not work. #7707
  • Fixed an issue where maximized windows would be restored/un-maximized to the wrong location. #7766

New APIs

  • Added a new net module that exposes Chrome’s native network APIs, available via require('electron').net in the main process. #7577
  • Added support for setting additional options to webFrame.registerURLSchemeAsPrivileged. #7665
  • Added support for a webpreferences attribute to <webview> tags that can be used to set additional options similar to the webPreferences option on the BrowserWindowconstructor. #7631

macOS

  • Added support to the clipboard module for reading from and writing to the find pasteboard, available as clipboard.readFindText/writeFindText. #7719
  • Added BrowserWindow.previewFile that opens a file in the native Quick Look view. #7592

1.4.4 October 20, 2016

Changelog:

  • Add ELECTRON_NO_ASAR environment variable. #7479
  • Fix broken window.open. #7520
  • Fix crash reports not saved under the temp directory configured by user. #7500
  • Fix webContents.openDevTools([options]) ignoring docks state. brightray#254
  • Fix Tab not working as keyCode in webContents.sendInputEvent(event) API. #7500
  • Fix custom properties not set in the constructor of MenuItem. #7498

Windows

  • Add isInvertedColorScheme() method and inverted-color-scheme-changed event to the systemPreferences module. #7518
  • Add getColor(name) method and color-changed event to the systemPreferences module. #7561
  • Fix output not printed to console under Node mode. #7578
  • Fix accessibility always enabled on touch screen. #7611

Linux

  • Fix audio streams being named as Chromium. #7524

macOS

  • Add app.setAboutPanelOptions(options) API. #7549
  • Fix crash caused by long app name when app is sandboxed with non-MAS build. #7566

1.4.3 October 06, 2016

Changelog:

  • Add additionalFeatures parameter for new-window event. #7291
  • Add event.newGuest property for the event object of new-window event. #7407
  • Add crop, resize, getAspectRatio methods to NativeImage. #7488
  • Fix crash when closing windows that use window.open. #7432
  • Fix memory bug when passing Buffer from native land to JavaScript. #7452

Windows

  • Enable LargeAddressAware for 32bit build. brightray#253
  • Use default error mode by default in the main process. #7335
  • Fix clicking menu not moving focus to the window. #7282
  • Fix certain emoji not showing with default font. #7334

1.4.2 September 30, 2016

Changelog:

  • Add experimental sandbox option in webPreferences which allows sandboxing for renderers. #6919
  • Add level parameter for win.setAlwaysOnTop(flag[, level]) API. #7296
  • Add changed event for cookies module. #7398
  • Fix crash when using storage in custom schemes. #7298
  • Fix crash when accessing certain HTTPS websites. brightray#250
  • Fix menubar buttons not showing hover/press states. #7397
  • Fix saving CPU profile not working in devtools. #7413

macOS

  • Hide Show Tab Bar menu item on macOS Sierra. #7415
  • Fix offscreen rendering not working with software output. #7327

Windows

  • Fix wrong draggable region calculation under high DPI. #7362

Linux

  • Fix tray icon not showing on Elementary OS. #7319

1.4.1 September 22, 2016

Changelog:

  • Add guestinstance attribute to <webview> tag which allows moving WebContents betweens <webview>s. #7157
  • Add ses.getBlobData(identifier, callback) API to read uploaded data in protocol. #6941
  • Add contents.invalidate() API. #7062
  • Add killed parameter for crashed and gpu-process-crashed events. #7241
  • Add GOOGLE_API_KEY environment variable to specify custom Google API key. #7276
  • Fix exception when accessing remote functions. #7209
  • Fix wrong filename when downloading from URL with trailing slash. #7169
  • Fix beginFrameSubscription not working correctly for HiDPI screens. #7163
  • Fix offscreen renderer not resizing. #7062
  • Fix net::ERR_INSECURE_RESPONSE error when visiting some websites. #7221

Linux

  • Add support for kioclient, kioclient5 and trash-cli in shell.moveItemToTrash(path) API. #7178

macOS

  • Add scroll-touch-edge event for BrowserWindow and fix regressions of scroll-touch-begin/end events. #7239

Windows

  • Use Ctrl+Y as the default accelerator of redo menu role. #7236
  • Add getAccentColor method and accent-color-changed event to systemPreferences module. #7173

1.4.0 September 15, 2016

Changelog:

  • Upgrade to Chrome 53. #7104
  • Upgrade to Node 6.5.0. #7104

1.3.15 April 20, 2017

  • Backported remote module bug fixes from 1.4.x release line. #9240

1.3.14 March 14, 2017

  • Fixed an issue where custom v8 snapshots did not load on Windows. #8922

1.3.13 December 06, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where window.alert, window.close, and window.confirm did not behave as expected. #8120
  • Fixed an issue where accessing remote objects and functions would fail after reloading. #8110
  • Fixed an issue where the KeyboardEvent.key value would be incorrect when Control was pressed on Linux using certain keyboard layouts. #8147

1.3.12 November 28, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where the window.opener API did not behave as expected.

1.3.10 November 22, 2016

New APIs

  • Added a setLayoutZoomLevelLimits method to webFrame, webContents, and <webview> that can be used to set the layout-based zoom level limits of a page. The setZoomLevelLimits API has been deprecated and renamed to setVisualZoomLeveLimits to control the pinch-to-zoom level. setZoomLevelLimits will be completely removed in Electron 2.0. #8041

1.3.9 November 16, 2016

Bug Fixes

  • [SECURITY] Fixed an issue where the window.opener API did not behave as expected.

1.3.8 October 20, 2016

Changelog:

Windows

  • Fix accessibility always enabled on touch screen. #7611

1.3.7 September 27, 2016

Changelog:

  • Upgrade to Node 6.5.0.

1.3.6 September 14, 2016

Changelog:

  • Add devtools option to webPreferences. #7096
  • Add return values for shell.showItemInFolder and shell.openItem. #7182
  • Fix context menu not working for pepper flash. #7110
  • Fix asar archives not working after execSync throws. #7116
  • Fix exception when accessing process.stdin in renderer process. #7130
  • Fix <webview> loading host URL when src is empty. #7146
  • Fix videos unable to be loaded in asar archives. #7123
  • Fix wrong judge on in-page navigation when history.replaceState is used. #7175

macOS

  • Add userInfo parameter to ready event of app. #7053
  • Add support for titleBarStyle: 'hidden-inset' on OS X 10.9. #7077
  • Fix hanging when showing a dialog when a modal window is being closed. #7130

1.3.5 September 02, 2016

Changelog:

  • Allow accessing remote function properties. #6867
  • Improve performance when sending Buffer with remote module. #6963
  • Fix crash when sending native objects through IPC. #6998
  • Fix crash when calling inspectElement after openDevTools. #6940
  • Fix webkitRequestFileSystem not working in custom protocols. #6952
  • Fix the same objects sent in one IPC message becoming null. #6977
  • Fix downloadItem.setSavePath not working when server returns 404 status. #6983
  • Fix --debug-brk not stopping on first line. #7001
  • Fix process.exit() not accepting empty arguments. #7028
  • Fix beginFrameSubscription not working for the WebContents of <webview>. libchromiumcontent#227

Linux

  • The prebuilt binaries for ARM now use armv7l as filename suffix. #6986
  • Fix win.setFullScreen(false) not working. #6961

Windows

  • Add app.getJumpListSettings() and app.setJumpList(categories) APIs. #6826
  • Fix CJK fonts not showing in flash plugin. #7018

1.3.4 August 23, 2016

Changelog:

  • Use String instead of Buffer to represent certificate data. #6814, #6881
  • Add isMainFrame parameter to the did-navigate-in-page event. #6810
  • Fix privileged schemes not able to send CORS requests. #6816
  • Fix hasImageContents parameter of context-menu event being wrong. #6817
  • Fix crash on garbage collection in renderer process. #6832
  • Fix memory leak when render view is deleted. #6857
  • Fix relative URLs not working when changing win.location for objects returned by window.open. #6861
  • Fix webRequest.onBeforeSendHeaders API drops headers with “.” in the name. #6856
  • Fix crash when using fetch in renderer process. #6926
  • Fix ses.enableNetworkEmulation not working with default options. #6935

macOS

  • Add support for titleBarStyle: 'hidden' on OS X 10.9. #6848
  • Fix window size being changed when calling setClosable, setMaximizable and setMinimizable APIs. #6850
  • Fix “Hide extension” checkbox showing for open dialog. #6872

Windows

  • Add path and args parameters to app.setAsDefaultProtocolClient API. #6858
  • Fix menu item roles not working correctly when having hidden windows. #6851
  • Fix thumbar buttons disappeared after calling win.setSkipTaskbar(skip). #6829

1.3.3 August 10, 2016

Changelog:

  • Remove the view-painted event which was introduced in v1.3.1 and didn’t work. #6705
  • Add support for offscreen rendering. #6691, #6713, #6723, #6721, #6737, #6741
  • Add win.setContentBounds(options[, animate]) and win.getContentBounds() APIs. #6654
  • Add image.getBitmap() API. #6733
  • Add zoomin, zoomout, resetzoom to MenuItem’s roles. #6777
  • Fix the remote devtools page not loading in Electron. #6707
  • Fix cookies API not working for custom protocols. #6708
  • Fix properties of DOM objects not being able to be sent via ipc module. #6776

macOS

  • Add systemPreferences.isSwipeTrackingFromScrollEventsEnabled() API. #6686
  • Add systemPreferences.postNotification(event, userInfo) and systemPreferences.postLocalNotification(event, userInfo) APIs. #6752
  • Add more details to error message of autoUpdater. #6743
  • Add startspeaking and stopspeaking to MenuItem’s roles. #6765
  • Fix resizable: false option disabling the fullscreen button. #6664
  • Fix scroll-touch-begin and scroll-touch-end events being emitted when scrolling page. #6754

Windows

  • Add return value for app.setUserTasks(tasks) API. #6766
  • Add win.setThumbnailToolTip(toolTip) API. #6762
  • Fix calling autoUpdate.checkForUpdates() for twice making quitAndInstall() throw errors. #6780
  • Fix win.setThumbnailClip(region) API not recognizing high-DPI displays. #6782

1.3.2 August 02, 2016

Changelog:

  • Upload the checksums of releases. #6629
  • Improve performance when creating native classes. #6688
  • Add downloadItem.getSavePath() API. #6629
  • Add image.toBitmap() API. #6661
  • Add size, hotspot parameters to the cursor-changed event of WebContents. #6661
  • Add setZoomFactor, getZoomFactor, setZoomLevel, getZoomLevel, setZoomLevelLimits methods to WebContents. #6685
  • Fix LICENSES.chromium.html being empty. libchromiumcontent#225
  • Fix failing to register custom protocol due to Session being garbage collected. #6674
  • Fix unicode characters not working with contents.sendInputEvent(event) API. #6661

Windows

  • Add shell.writeShortcutLink(shortcutPath[, operation], options) and shell.readShortcutLink(shortcutPath) APIs. #6623
  • Fix window size being changed after restoring from minimized state. #6667

macOS

  • Add app.dock.isVisible() API. #6683
  • Fix crash with keyboard events under fullscreen. #6637
  • Fix crash when using webview. #6644

Linux

  • Fix components not showing correctly on displays with 2.0 DPI. #6646

1.3.1 July 27, 2016

Changelog:

  • Add view-painted event to WebContent. #6524
  • Add proxyBypassRules option to ses.setProxy(config, callback) API. #6558
  • Add support for passing typed arrays in remote module. #6572, #6590
  • Add contents.copyImageAt(x, y) API. #6619
  • Fix file dialog not working with <input> tag on DevPanel. brightray#238
  • Fix fs.access/accessSync not working with asar archives. #6598
  • Fix LCD-text-antialiasing not working. #6606
  • Fix crash when adding project workspace in devtools. #6613

Windows

  • Fix window position not restoring after restoring from minimized state. #6596
  • Fix crash when calling crashReporter.start(options) for multiple times. #6618
  • Fix invalid AppUserModelID when executable name contains spaces. #6602

macOS

  • Add option to always highlight the tray icon. #6620

1.3.0 July 25, 2016

Changelog:

  • Upgrade to Chrome 52. #6342
  • Update to Node.js 6.3.0. #6559

1.2.8 July 21, 2016

Changelog:

  • Add options parameter for the session.fromPartition(''[, options]) API. #6470
  • Add more attributes for certificate object of certificate-error event. #6474
  • Add autoUpdater.getFeedURL() API. #6486
  • Add getAllWebContents() and getFocusedWebContents() APIs to webContents module. #6489

macOS

  • Add drop-text event to Tray. #6490
  • Fix exception when calling console.log after relaunch. #6527

Windows

  • Add win.setThumbnailClip(region) API. #6497

1.2.7 July 13, 2016

Changelog:

  • Do not show default accelerators in menus other than application menu and window menu. #6385
  • Add capturePage method to WebContents class and <webview> tag. #6355
  • Add showHiddenFiles to dialog.showOpenDialog(options)’s properties. #6431
  • Add app.getLoginItemSettings() and app.setLoginItemSettings(settings) APIs. #6375, #6444
  • Add accessibility-support-changed event and isAccessibilitySupportEnabled() method to app module. #6446
  • Fix session not saved on exit. #6411
  • Fix passing remote objects without constructor. #6369
  • Fix showing context menu and synchronous dialogs emitting unresponsive event. #6432
  • Fix value becoming null when passing the same Array for multiple times in remote module. #6442
  • Fix setting maximum/minimum size overriding minimum/maximum size. #6455
  • Fix edit menu in context menu of devtools not showing. #6459

macOS

  • Fix single key accelerator not working. #6370
  • Fix win.setBounds(bounds) API ignore maximum/minimum sizes. #6363
  • Fix the fullscreen button showing in frameless window on OS X 10.9. #6433
  • Fix transparent window having border on OS X 10.9. #6449
  • Fix crash when destroying tray icon from its context menu. #6448

Linux

  • Fix exception when calling console.log after relaunch. #6412
  • Fix menubar not hiding after entering fullscreen. #6429
  • Fix crash on startup. #6466

Windows

  • Add thickFrame option for BrowserWindow. #6412
  • Add toolbar to BrowserWindow’s type. #6428
  • Fix transparent window not working when in maximized or fullscreen state. #6417
  • Fix shell.openExternal(url) not working with non-ASCII characters. #6436

1.2.6 July 06, 2016

Changelog:

  • Update to Chrome 51.0.2704.106. #6322
  • Improve performance for looking up paths in require. #6213
  • Add webContents.startDrag(item) API. #6333
  • Add clipboard.readBookmark() and clipboard.writeBookmark(title, url) APIs. #6233
  • Add onlyDirty pararmeter to webContents.beginFrameSubscription([onlyDirty ,]callback) API. #6164
  • Add app.setBadgeCount(count) and app.getBadgeCount() APIs. #6243 #6309
  • Fix did-fail-load event emitting for canceled requests. #6201
  • Fix passing the same callback to main process for multiple times will make the callback stop working after the remote callback gets GCed in main process. #6218
  • Fix Promise not resolved in native handlers of the main process. #6220
  • Fix exception when package.json includes BOM. #6354

Windows

  • Include PDB files in releases. #6225
  • Fix crash when loading non-exist ICO files. #6220
  • Fix tray.popUpContextMenu(menu) not popUpping menu when menu is not passed. #6280

Linux

  • Add app.isUnityRunning() API. #6243
  • Fix dialog.showOpenDialog() replacing extensions of filenames ending with .*.gz. #6305
  • Fix icon property of BrowserWindow not working. #6323

1.2.5 June 23, 2016

Changelog:

  • accelerator and label are now optional when role is specified for MenuItem. #6190
  • Add event parameter for click handler of MenuItem. #6170
  • Add session.setUserAgent(userAgent[, acceptLanguages]) API. #6172
  • Add win.setContentProtection(enable) API. #6175
  • Fix members of protocol module not being set. #6195

macOS

  • Update Squirrel.Mac to 0.2.1. #6183
  • Fix crash when using frameless window on OS X 10.9. #6197
  • Fix maximize event being emitted before window is maximized. #6171

Linux


1.2.4 June 22, 2016

Changelog:

  • Update to Chrome 51.0.2704.103. #6134
  • Add support for child windows. #6140
  • Add tray.getBounds() API. #6159
  • Add quit, togglefullscreen roles to MenuItem. #6154 #6166
  • Fix members of protocol module not being set. #6095
  • Fix devtools extensions not showing up on first load. #6115
  • Fix output in renderer process not being redirected to the main process. #6130
  • Fix <webview> tag having wrong size when transform style is applied. #6128
  • Fix crash when releasing contexts in renderer process. #6144
  • Fix rejection of remote Promise being treated as unhandled rejection in the main process. #6151
  • Fix color of menu bar not being updated when system theme changes. #6161
  • Fix wrong role when menu.insert(item) is used. #6169

macOS

  • Add systemPreferences.subscribeLocalNotification(event, callback) and systemPreferences.unsubscribeLocalNotification(id) APIs. #6150
  • Fix frameless window not showing in Window menu. #6089, #6097
  • Fix crash when calling win.setProgressBar after app.dock.setIcon. #6091
  • Fix context menu always choosing first item by default. #6110
  • Fix Delete not working as accelerator. #6168

Linux

  • Fix app indicators using random IDs. #6145
  • Fix message boxes and file dialogs not being modal. #6160

Windows

  • Fix bounds of Tray not respecting scale factor.

1.2.3 June 16, 2016

Changelog:

  • Use app’s name as default window title. #5945
  • Add ready-to-show event to BrowserWindow. #6026
  • Add --abi command line switch to default app. #5911
  • Add showDefinitionForSelection() method to WebContents and <webview> tag. #5921
  • Add pepperFlashSystemPlugin to the paths of app.getPath(name) API. #5943
  • Add protocol property to Session to allow custom protocol for partition. #5904
  • Add isPaused, canResume, getState APIs to DownloadItem. #5959
  • Add support for a few more chrome.* APIs for devtools extensions. #5924
  • Add BrowserWindow.getDevToolsExtensions() API. #5965
  • Add focusable option to BrowserWindow. #6023
  • Add web-contents-created event to app. #6029
  • Fix devtools extension not working for <webview> tag. #5913
  • Fix devtools extension not working for sessions with partition. #5904
  • Fix random crash when using custom protocol. #5904
  • Fix window.opener being null in window opened by <webview> tag. #5953
  • Fix crash when closing window with devtools opened. brightray#226

OS X

  • Add requestHeaders parameter for autoUpdater.setFeedURL(url[, requestHeaders]) API. #5879
  • Fix maximizable: false not working for frameless window. #5944

Windows

  • Add win.setFocusable(focusable) API. #6013 #6023
  • Fix autoUpdater not waiting for current app to quit before launching newly installed app. #6037

1.2.2 June 08, 2016

Changelog:

  • Update to Chrome 51.0.2704.84. #5929
  • Implement click-through window for Windows and Linux. #5910
  • Add app.relaunch([options]) API. #5837
  • Add support for array and dictionary types in systemPreferences.getUserDefault(key, type) API. #5833
  • Add pasteandmatchstyle and delete roles to MenuItem. #5870
  • Add app.disableHardwareAcceleration() API. #5889
  • Add update-target-url event to WebContents and <webview> tag. #5903
  • Add disableBlinkFeatures option to webPreferences of BrowserWindow. #5923
  • Add disableBlinkFeatures attribute to <webview> tag. #5923
  • Fix crash when using fetch in custom protocols. #5932

OS X

  • Fix title of frameless window showing as empty under fullscreen. #5905

Linux

  • Fix BrowserWindow.focus() not moving focus to the window. #5888

1.2.1 June 01, 2016

Changelog:

  • Set default mime type if mimeType is not defined in the handler of protocol.registerBufferJob API. #5711
  • Add app.releaseSingleInstance() API. #5720
  • Add select-bluetooth-device event to WebContents. #5781
  • Fix support for DevTools Extensions. #5711
  • Fix node integration and preload script not working when webSecurity: false is set. #5768
  • Fix protocol.registerHttpProtocol not working when the target URL redirects. #5753
  • Fix objects without prototype can not be passed in remote module. #5736
  • Fix print() method not available for the window returned by window.open. #5737
  • Fix WebBluetooth not working. #5781

Windows

  • Fix node processes unable to print output to console. #5776
  • Fix fullscreen: false option also setting fullscreenable: false in BrowserWindow. #5718
  • Fix using wrong icon size for Windows taskbar. #5763
  • Fix window icon reverting to default after hiding and showing the window. #5782

OS X

  • Fix menu appearing on wrong monitor. #5726
  • Fix crash caused by calling BrowserWindow.setAspectRatio(0) #5734

1.2.0 May 26, 2016

Changelog:

  • Update to Chrome 51. #5648
  • Returning a non-void value in beforeunload handler nows prevents the page to unload. #5648
  • Improve the “Error opening app” dialog. #5610
  • Improve how Promise is detected in remote module. #5689
  • Add webpageURL parameter to app.setUserActivity(type, userInfo[, webpageURL]) API. #5658
  • Fix document.visibilityState and visibilitychange event not working in <webview> tag. #5684
  • Fix unexpected behavior when calling app.quit() while there are BrowserWindows with closable set to false. #5701

Migration Notice:

  • Due to a change of Chrome 51, returning non-empty strings or true in beforeunload handler now prevents the page to unload. #5648
  • The private ATOM_SHELL_INTERNAL_RUN_AS_NODE environment variable has been removed, the code relies on it should use the public ELECTRON_RUN_AS_NODE environment variable instead. #5682
  • The internal ATOM_SHELL_ environment variables have been renamed, if you are maintaining your own Electron fork, you might be affected. #5683

1.1.3 May 25, 2016

Changelog:

Windows

  • Fix crash caused by linking with VC++ statically. #5658

1.1.2 May 24, 2016

Changelog:

  • Add BrowserWindow.setIcon(icon) API. #5624
  • Add Session.allowNTLMCredentialsForDomains(domains) API, and mark app.allowNTLMCredentialsForDomains(domains) as deprecated. #5638
  • Fix error description of did-fail-load event being empty. #5634
  • Fix require('electron') being able to be overridden by npm modules. #5662
  • Fix remote module not handling rejection of Promise in the main process. #5666

Windows

  • Improve icon resolution when using ICO icons. #5624
  • Fix crashReporter not working. #5646

OS X

  • Add offsetX parameter to BrowserWindow.setSheetOffset(offsetY[, offsetX]) API. #5603
  • Fix the usages of private APIs in MAS build. electron/libchromiumcontent#212
  • Fix BrowserWindow.setAspectRatio(ratio) not correctly implemented. #5644

Linux

  • Fix the binary of ffmpeg not stripped. #5668

1.1.1 May 20, 2016

Changelog:

  • Disable <webview> tag when nodeIntegration is off in host window. #5559
  • Add --disable-http2 command line switch. electron/brightray#222
  • Add webFrame.getResourceUsage() and webFrame.clearCache() APIs. #5413
  • Add buttonLabel option to dialog.showOpenDialog(options) and dialog.showSaveDialog(options). #5509
  • Fix Invalid package error when there is asar path in the command passed to child_process.exec. #5571
  • Fix <webview> tag not inheriting host window’s zoom level. #5616

OS X

  • Enable Mac App Store sandboxing without using temporary-exception. #5584, #5601
  • The callback of systemPreferences.subscribeNotification(event, callback) now accepts event and userInfo parameters. #5582
  • Fix context menu not showing all items when opened near the lower bound of display. #5518
  • Fix using titleBarStyle option makes the top of window draggable. #5557

Windows

  • Link statically with Visual C++ libraries. #5538, #5602

Linux


1.1.0 May 13, 2016

Changelog:

  • Upgrade to Chrome 50.0.2661.102.
  • Upgrade to Node.js 6.1.0.

Windows

  • Use Visual Studio 2015 for building.

1.0.2 May 13, 2016

Changelog:

  • Allow protocol module to be imported before the ready event of app module. #5406
  • Add context-menu event to WebContents. #5379
  • Add process.defaultApp property. #5421
  • Fix protocol.registerStandardSchemes(schemes) not working. #5406
  • Fix file system indexing not working in devtools. #5431
  • Fix crash when replying to the same synchronous message more than once. #5430
  • Fix expirationDate not showing for persistent cookies in session.cookies.get API. #5444
  • Fix protocol.registerStandardSchemes(schemes) not working. #5406
  • Fix exception after creating large numbers of renderer processes. #5491
  • Fix devtools extension repeatedly loaded when changing dock state. electron/brightray#219

OS X

  • Disable the scroll bounce (rubber banding) effect by default. #5412
  • Add scrollBounce option to webPreferences. #5412
  • Add app.setUserActivity(type, userInfo), app.getCurrentActivityType() APIs and continue-activity event for Handoff feature of OS X. #5352
  • Add app.dock.downloadFinished(filePath) API. #5477
  • Fix high CPU usage when using pty.js Node module. #5378
  • Fix app.removeAsDefaultProtocolClient(protocol) API not working. #5440

Linux

  • Resize the icon of dialog.showMessageBox() to a suitable size. #5496

1.0.1 May 11, 2016

Changelog:

  • Fix devtools extension not loading.

1.0.0 May 09, 2016

Changelog:

  • Bump version number to 1.0.0.
  • Remove deprecated APIs. #5373

Migration notice:

  • Please update your app to v0.37.8 first to check whether there are deprecated APIs usages.
  • Following deprecated events of BrowserWindow have been removed but there were no deprecation warnings in previous versions, you should use the corresponding events in webContents instead:
    • crash
    • devtools-focused
    • devtools-opened
    • devtools-closed
  • NativeImage.toDataUrl has been removed but there were no deprecation warnings in previous versions, you should use toDataURL instead.

0.37.8 April 29, 2016

Changelog:

  • Disable node integration in webview when it is disabled in host page. #5244
  • Make sure the userData directory is created during the ready event of app module. #5340
  • Throw error when autoUpdater.quitAndInstall() is called while there is no update. #5287
  • Add systemPreferences module. #5282
  • Add app.isDefaultProtocolClient(protocol) API. #5302
  • Fix occasional crash when doing GC. #5293
  • Fix app.makeSingleInstance(callback) wrongly returning true on first launch. #5311
  • Fix will-download event not emitted for HTML pages. #5315
  • Fix crash when navigating to a new location after downloading failed. #5315
  • Fix webContents.executeJavaScript not working after being called immediately after loadURL. #5319
  • Fix desktopCapturer.getSources not responding when there is subsequent calls with different arguments. #5320

OS X

  • Fix the Command Plus accelerator appearing as Shift Command = in menu. #5298

Windows

  • Fix display-removed event not working. #5334

0.37.7 April 22, 2016

Changelog:

  • Add mode option to webContents.openDevTools(options) API.
  • Add openExternal type of permission parameter to Session.setPermissionRequestHandler(handler) API.
  • Add process.windowsStore property to determine whether the app is an Windows Store app.
  • Fix random crash when accessing devToolsWebContents.hostWebContents.
  • Fix session.enableNetworkEmulation(options) API not working.
  • Fix WebContents.executeJavaScript(code) not working when called during a resource load after page is loaded.
  • Fix after using app.setPath to change the location of userData directory, a folder is still created at the default location.
  • Fix occasional exception when removing a reference to a remote object.

Windows

  • Avoid spawning new Squirrel processes when there is already one running.

Linux

  • Use the append hint when showing notifications.
  • Add app.importCertificate(options, callback) API.

OS X

  • Update the docs on how to submit latest versions of Electron to Mac App Store.
  • Add BrowserWindow.setSheetOffset(offset) for changing the offset when showing sheet.
  • Fix crash when app’s name is long while using app.makeSingleInstance with Mac App Store build.

0.37.6 April 15, 2016

Changelog:

  • Don’t emit will-quit when app.exit() is called.
  • Add isMainFrame parameter to did-fail-load event of WebContents.
  • Add statusLine property to webRequest.OnHeadersReceived API’s responseHeaders object.
  • Add backgroundThrottling option to webPreferences of BrowserWindow.
  • Add resourceType parameter to did-get-response-details event of WebContents.
  • Fix <webview> and preload script not working when there is no script tag in page.
  • Fix webRequest.onHeadersReceived API modifying original headers’ status line.
  • Fix breakpoints not working after reloading in the devtools view.
  • Fix idle GC not working in the main process.
  • Fix the race condition between did-fail-load and did-finish-load events.
  • Fix wrong default transparent background for frameless window.
  • Fix SSL certificate information not showing in the Security tab of devtools.

Windows

  • Fix printing not working.
  • Fix support with NVDA/JAWS screen readers.
  • Fix crash when closing a window in its blur event handler.
  • Fix notification not showing when Application User Model ID is set.

OS X

  • Fix template image not working as tray icon on some machines.
  • Fix backgroundColor of BrowserWindow not displaying correctly.

Linux

  • Do not wait for xdg-open to exit when calling shell.openExternal.
  • Add support for the tag property of HTML5 Notification API.
  • Fix notifications not showing on Ubuntu 16.04.

0.37.5 April 07, 2016

Changelog:

  • Fix wrongly using Node v6.0.0-pre, use Node v5.10.0 instead.
  • Fix crash when creating Buffer with large size.

0.37.4 April 03, 2016

Changelog:

  • Upgrade to Node v5.10.0.
  • Remove the white flash when loading pages.
  • The default app is now packaged as asar archive.
  • The atom.asar in the resources directory is renamed to electron.asar.
  • Disable node integration in child windows opened with window.open when node integration is disabled in parent window.
  • Add app.setAsDefaultProtocolClient(protocol) and app.removeAsDefaultProtocolClient(protocol) APIs.
  • Fix crash when sending IPC messages.
  • Fix wrong disposition parameter of new-window event for certain types of background types.
  • Fix exception when calling remote method while not storing its remote object.

OS X

  • Add swipe event to BrowserWindow.
  • Fix backgroundColor option of BrowserWindow not working.

0.37.3 March 27, 2016

Changelog:

  • <webview>’s background is now transparent by default.
  • Add NativeImage.getNativeHandle() API.
  • Add -i/--interactive flag to default app that starts a repl for the main process.
  • Fix occasional exception when using remote module.
  • Fix devtools workspace not working.
  • Fix exception when accelerator is undefined when calling Menu.buildFromTemplate.

Windows

  • Automatically set Application User Model ID when Squirrel.Windows is used.
  • Fix crash when showing notifications while notifications are disabled.

0.37.2 March 14, 2016

Changelog:

  • Add activeMatchOrdinal property in the result object of found-in-page event.
  • Fix notifications not showing.
  • Fix the main process hanging on exit.

0.37.1 March 13, 2016

Changelog:

OS X

  • Fix libffmpeg.dylib image not found error on startup.

Windows

  • Fix unable to start on Windows 7.

0.37.0 March 12, 2016

Changelog:

  • Upgrade to Chrome 49.

0.36.12 March 27, 2016

Changelog:

  • Fix occasional exception when using remote module.

Windows

  • Fix crash when showing notifications while notifications are disabled.

0.36.11 March 11, 2016

Changelog:

  • Add show and hide events to BrowserWindow.
  • Do not block when calling document.hidden.
  • Fix visibilitychange event not working.
  • Fix passing certificate to select-client-certificate event’s callback.
  • Fix PrintScreen not working as accelerator.
  • Fix style issues with <webview> inside flexbox.
  • Fix unable to read image when there is .. in file path.

Linux

  • Fix resizable option not working.

Windows

  • Make fullscreenable option work.

OS X

  • Add platform-theme-changed event to app module.
  • Add app.isDarkMode() API.
  • Fix Cmd+~ cycling windows in wrong direction.
  • Fix BrowserWindow.isMaximized() returning wrong result when window is not resizable.

0.36.10 March 05, 2016

Changelog:

  • WebContents.beginFrameSubscription becomes faster and gets better image quality.
  • Add callback parameter for webContents.executeJavaScript and <webview>.executeJavaScript.
  • Fix media devices having empty labels.
  • Fix the methods of remote objects being unwritable and unconfigurable.

0.36.9 February 26, 2016

Changelog:

  • Cache the remote objects returned by remote module.
  • Add webContents.hostWebContents property.
  • Add <webview>.getWebContents() API.
  • Fix ES6 classes not working with remote module.
  • Fix remote objects of renderer processes being wrongly freed when page is reloaded.
  • Fix crash in protocol module for certain kind of URLs.

Linux

  • Fix crash when freetype 2.6.3 is used in system.
  • Fix the application menu bar disappearing after hiding and showing the window.

0.36.8 February 19, 2016

Changelog:

  • Link with ffmpeg dynamically.
  • Provide prebuilt binaries of ffmpeg which do not include proprietary codecs.
  • Improve error message when there is invalid parameter passed to Electron API.
  • Emit did-fail-load event when invalid URL is passed to BrowserWindow.loadURL.
  • Launch URL or HTML file directly in default app.
  • Add cursor-changed event to WebContents.
  • Add Session.setPermissionRequestHandler(handler) API.
  • Add Session.clearHostResolverCache(callback) API.
  • Add readRtf and writeRtf methods to clipboard module.
  • Fix crash when calling methods of downloadItem in will-download handler when event.preventDefault is called.
  • Fix crash when calling WebContents.endFrameSubscription() while there are pending frames.
  • Fix the exit event of process object not reliable in renderer process.
  • Fix BrowserWindow.getNativeWindowHandle() returning corrupted buffer.

Windows

  • Fix methods of autoUpdater not accessible in remote module.

OS X

  • Add app.show and app.hide APIs.
  • Fix icon not working in dialog.showMessageBox(options).
  • Fix Command + ~ not switching windows sometimes.

Linux

  • Don’t drop capabilities in renderer process.

0.36.7 January 30, 2016

Changelog:

  • Fix the occasional Object has been destroyed exception in the main process.

Windows

  • Fix crash on exit.

0.36.6 January 29, 2016

Changelog:

  • Restarts renderer process for server redirect.
  • Add setMovable, isMovable, setMinimizable, isMinimizable, setMaximizable, isMaximizable, setFullScreenable, isFullScreenable, setClosable, isClosable, setHasShadow, hasShadow methods to BrowserWindow.
  • Add scroll-touch-begin and scroll-touch-end events to BrowserWindow.
  • Add webContents.debugger API.
  • Add app.dock.setIcon API.
  • Add uploadData to details of session.webRequest.onBeforeRequest.
  • Support alpha channel in backgroundColor option of BrowserWindow.
  • Fix exception when writing to stdout/stderr in renderer process under certain circumstances.

OS X

  • Add positioningItem parameter for Menu.popup.

Windows

  • Fix using autoUpdater throws exception.
  • Fix possible crash when closing asar archive.

0.36.5 January 22, 2016

Changelog:

  • Fix crash when switching between submenus of window menubar.
  • Add support for the silent property of Notification.
  • Add defaultFontFamily, defaultFontSize, defaultMonospaceFontSize, minimumFontSize, defaultEncoding options to webPreferences of BrowserWindow.
  • Add <webview>.loadURL.
  • Add blinkfeatures attribute for <webview>.

OS X

  • Add animate parameter for setBounds, setSize, setContentSize, setPosition methods of BrowserWindow.
  • Add movable option for BrowserWindow.
  • Make the backgroundColor option of BrowserWindow work.

Windows

  • Add app.isAeroGlassEnabled() API.

0.36.4 January 15, 2016

Changelog:

  • session.setProxy(config) API now accepts an Object instead of String.
  • BrowserWindow.getFocusedWindow() API now returns null instead of undefined when there is no focused window.
  • Add session.flushStorageData() API.
  • Add session.getCacheSize(callback) API.
  • Add BrowserWindow.getNativeWindowHandle() API.
  • Add defaultId option for dialog.showMessageBox(options) API.
  • Add insertText and executeJavaScript methods to webFrame module.
  • Add insertText method to webContents and <webview>.
  • Fix wrong aspect ratio in Netflix videos.
  • Fix source code highlighting not working in devtools.
  • Fix <webview>.src not working before onload event.

Linux

  • Fix --touch-devices command line switch not working.

Windows

  • Fix DRM not working in Adobe Flash Player plugin.

0.36.3 January 08, 2016

Changelog:

  • Add support for Widevine CDM plugin.
  • Add isDevToolsFocused method to WebContents and <webview>.
  • Add did-navigate and did-navigate-in-page events to WebContents and <webview>.
  • Add will-navigate, devtools-opened, devtools-closed, devtools-focused events to <webview>.
  • Add blinkFeatures option to webPreferences.
  • Remove overlayScrollbars, sharedWorker, pageVisibility options from webPreferences.
  • Localize the default string resources in HTML elements.
  • Allow using fetch for URLs registered as privilege.
  • Fix memory leak in remote module.
  • Fix distorted image when calling capturePage with no rect.
  • Fix crash when using protocol.registerHttpProtocol without internet connection.

OS X

  • Fix drop-files not firing when dragging from the dock.
  • Fix app.clearRecentDocuments not working.
  • Fix crash when calling dialog.showSaveDialog with filters with no extensions.
  • Fix crash when creating Window menu with no submenu items.
  • Fix Tray.setPressedImage not working after turning off highlight mode.
  • Fix unable to hide fullscreen button on EL Capitan.

Windows

  • Fix recursive loop when calling mkdirp inside an asar archive.
  • Fix the window menu bar not behaving correctly.
  • Fix dialog.openSaveDialog adding extension to filename when it shouldn’t.
  • Fix bad typing performance.

0.36.2 December 25, 2015

Changelog:

  • Add did-change-theme-color event to WebContents and <webview>.
  • Add media-started-playing and media-paused events to WebContents and <webview>.
  • Add findInPage method to WebContents and <webview>.
  • Fix form redirect not working.
  • Fix credentials: 'include' being added to service worker’s headers.
  • Fix in page navigations in sub-frames causing full page refresh.
  • Fix wrong document.hidden and document.visibilityState values when window is minimized.
  • Fix crash when using webRequest API.
  • Fix webRequest.onBeforeSendHeaders not removing existing headers.

OS X

  • Remove the notification from notification center when is clicked or cancelled.
  • Fix app menu not showing after calling app.dock.show().
  • Fix fullscreen mode for BrowserWindow with hidden-inset of titleBarStyle.
  • Fix shell.openExternal not working with URLs containing valid URL special characters.

Linux

  • Load libnotify dynamically instead of linking with the library.
  • Fix pressing Alt not toggling window menu bar.

Windows

  • Fix shell.moveItemToTrash not working on Windows 7.
  • Fix showing notification when icon is inside asar archive or the icon’s URL is not file:// scheme.

0.36.1 December 18, 2015

Changelog:

  • Add session.webRequest API.
  • Add A5 to webContents.printToPDF’s pageSize.
  • crashReporter.start now requires passing submitURL and companyName.
  • Make window.opener a BrowserWindowProxy.
  • Don’t pump message loop when sending synchronous message in renderer process.
  • Fix crash in V8 when doing garbage collection.
  • Fix crash when garbage collecting Buffers.
  • Fix crash when passing empty path to app.addRecentDocument.
  • Fix crash when changing page’s location while using service worker.
  • Fix x and y options not working in BrowserWindow.capturePage.

OS X

  • Remove usages of private xpc_ APIs in MAS build.
  • Fix shell.openExternal not able to open URLs with unescaped characters.

0.36.0 December 11, 2015

Changelog:

  • Upgrade to Chrome 47.
  • Upgrade to Node 5.1.1.
  • Add desktopCapturer module.
  • Add protocol.registerServiceWorkerSchemes API.
  • Add uploadDate property for request object in protocol module.
  • Don’t touch the argument when calling Menu.buildFromTemplate.
  • Don’t emit will-quit event when calling process.exit or app.exit.
  • Fix wrong appData and userData dir values.
  • Fix HTTP/2 not working.
  • Fix the exit event of process object not including exit code.
  • Fix event.source not matching the object returned by window.open in message event handler.
  • Fix wrong origin string in window.postMessage.

OS X

  • Add BrowserWindow.setIgnoreMouseEvents API.
  • Remove the automatically appended Enter Full Screen menu item.

0.35.6 December 25, 2015

Changeling:

  • Fix wrong appData and userData dir values.

0.35.5 December 25, 2015

Changelog:

Windows

  • Fix shell.moveItemToTrash not working on Windows 7.

0.35.4 December 04, 2015

Changelog:

  • Fix typo: isDestroy => isDestroyed.

0.35.3 December 04, 2015

Changelog:

  • Add menu parameter for Tray.popUpContextMenu API.
  • Add downloadURL method for WebContents and <webview>.
  • Allow toggling asar support in Node’s built-in modules with process.noAsar.
  • Disable CORS for custom protocols.
  • Fix crash when calling loadURL in the did-fail-load event.
  • Fix crash when closing window in the page-title-updated event.
  • Fix recursive call when using downloadItem.hasUserGesture.
  • Fix crash caused by race condition on exit when using protocol module.
  • Fix window.open not respecting the features string.

Windows

  • Fix crash on exit when there are heavy Node tasks.
  • Fix child_process.execFile not working for files in asar archive.

OS X

  • Build with OS X 10.10 SDK.

0.35.2 November 27, 2015

Changelog:

  • Add --proxy-bypass-list command line switch.
  • Add ELECTRON_RUN_AS_NODE environment variable.
  • Don’t block renderer process when calling asynchronous methods of <webview>.
  • Fix child_process.execFile unable to execute files in asar archive.
  • Fix crash when handling HTTP responses without content in protocol module.
  • Fix a few places using deprecated API inside Electron.
  • Fix callbacks passed to dialog module with remote module not working.
  • Fix wrong deprecation wrappers of BrowserWindow.

Windows

  • Fix crash when Notification is used while there is no Application User Model ID.

OS X

  • Fix crash when closing a window in fullscreen state.
  • Fix crash when LSUIElement is added to main bundle’s Info.plist.

0.35.1 November 20, 2015

Changelog:

  • Add session module for full multi-session support.
  • Add support for some special keys in webContents.sendInputEvent.
  • Add certificate-error event to webContents and app.
  • Add session.setCertificateVerifyProc API.
  • Fix webContents.reloadIgnoringCache not working.

Windows

  • Fix crash when sending notifications with images.
  • Fix showing notifications on Windows 8 when app name is not the same with app user model ID.

OS X

  • Add downloads for dSYM symbols.
  • Support showing the window as desktop.
  • Fix the size of Tray icon not updated when the image is changed.

Linux

  • Fix blurry rendering on some High-DPI machines.

0.35.0 November 16, 2015

Changelog:

  • Show warnings for deprecated APIs, can be turned off with process.noDeprecation.
  • Add electron module which includes all public APIs.
  • The ipc module is deprecated, should use ipcRenderer in renderer process, and ipcMain in main process.
  • The ipcRenderer module adds an event object when emitting events, to match the style of ipcMain module.
  • Remove the - in BrowserWindow’s option names.
  • clicked events in Tray are renamed to click.
  • The Url in API names is replaced with URL.
  • Add documents, downloads, music, pictures, videos keys to app.getPath.
  • Fix memory leak of webContents.beginFrameSubscription.

Windows

  • Add support for toast notifications on Windows >= 8.

OS X

  • Add drag-enter, drag-leave, drag-end and drop events to Tray module.
  • Fix images not showing in notifications on OS X 10.9.

0.34.5 November 20, 2015

Changelog:

OS X

  • Fix crash when closing a window in fullscreen state.

0.34.4 November 20, 2015

Changelog:

Linux

  • Fix blurry rendering on some High-DPI machines.