electron v1.4.14

@electron-bot electron-bot released this Jan 10, 2017 · 85 commits to master since this release

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

Downloads

electron v1.4.13

@electron-bot electron-bot released this Dec 20, 2016 · 226 commits to master since this release

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

Downloads

electron v1.4.12

@electron-bot electron-bot released this Dec 10, 2016 · 309 commits to master since this release

Bug Fixes

  • 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

Downloads

electron v1.4.11

@electron-bot electron-bot released this Dec 7, 2016 · 331 commits to master since this release

Bug Fixes

  • 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

Downloads

electron v1.3.13

@electron-bot electron-bot released this Dec 6, 2016

Bug Fixes

  • 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

Downloads

electron v1.4.8

@zcbenz zcbenz released this Nov 22, 2016 · 456 commits to master since this release

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

Downloads