Skip to content

Releases: electron/electron

electron v7.1.13

20 Feb 19:59
Compare
Choose a tag to compare

Release Notes for v7.1.13

Fixes

  • Fixed webRequest API not working with WebSockets. #22141
  • Fixed a crash in webContents.print() with custom print margins. #22187
  • Fixed a potential issue with active Menu garbage collection. #22151
  • Fixed an issue where undefined was printed from console.log on Window when no arguments were passed. #22173
  • Removed unneccessary breakpad_symbols directory from the dsym zip file. #22220

Other Changes

  • Fixed a potential crash on faulty deviceNames in webContents.print(). #22012

Documentation

  • Documentation changes: #22266

electron v9.0.0-beta.2

16 Feb 03:11
Compare
Choose a tag to compare
Pre-release

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

Release Notes for v9.0.0-beta.2

Features

  • Added session.listWordsFromSpellCheckerDictionary API to list custom words in the dictionary. #22128
  • Enable pdf viewer. 0e31826

Fixes

  • Fixed webRequest API not working with WebSockets. #22133
  • Fixed a crash in webContents.print() with custom print margins. #22185
  • Fixed an issue where undefined was printed from console.log on Window when no arguments were passed. #22171
  • Fixed bug that occurred when using trafficLightPosition API in RTL mode. #22163

electron v8.0.1

14 Feb 17:43
Compare
Choose a tag to compare

Release Notes for v8.0.1

Fixes

  • Fixed webRequest API not working with WebSockets. #22134
  • Fixed a crash in webContents.print() with custom print margins. #22186
  • Fixed a crash that could occur when visiting HTTPS sites with invalid certificates. #22124
  • Fixed an issue where undefined was printed from console.log on Window when no arguments were passed. #22172
  • Fixed bug that occurred when using trafficLightPosition API in RTL mode. #22162
  • Fixed flash plugin not working. #22110
  • Fixed issue where renderers could crash during GC when using the contextBridge module. #22114
  • Use system default printer if none is provided. #22011

Other Changes

electron v9.0.0-beta.1

10 Feb 18:41
Compare
Choose a tag to compare
Pre-release

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

Release Notes for v9.0.0-beta.1

Breaking Changes

  • IPC between main and renderer processes now uses the Structured Clone Algorithm. #20214
  • Removed the visibleOnFullscreen option in setVisibleOnAllWorkspaces.. #21706
  • Split shell.openItem(path) into synchronous and asynchronous methods. #20682

Features

  • Added BrowserWindow.moveAbove(mediaSourceId). #18926
  • Added GUID parameter to Tray API to avoid system tray icon demotion on Windows. #21891
  • Added --enable-api-filtering-logging command-line switch, which enables caller stack logging for desktopCapturer and remote APIs that can be blocked or filtered. #20335
  • Added app.getApplicationNameForProtocol() API. #20399
  • Added mouse-down and mouse-up events to the Tray on macOS. #21795
  • Added nativeTheme.themeSource to allow apps to override Chromium and the OS's theme choice. #19960
  • Added screen to systemPreferences.getMediaAccessStatus() for detecting the new macOS Catalina permissions. #20764
  • Added session.addWordToSpellCheckerDictionary API to support custom words in the. #21266
  • Added session.downloadURL() allowing to trigger downloads without a BrowserWindow. #19889
  • Added timeoutType property to allows users to set timeout type for Linux and Windows notifications. #20153
  • Added trafficLightPosition option in BrowserWindow API to allow custom positioning of traffic lights. #21781
  • Added tray.closeContextMenu() to allow programmatic closure of Tray menus. #21807
  • Added tray.focus(), which returns focus to the taskbar notification area. #19548
  • Added tray.removeBalloon(), which removes an already displayed balloon notification. #19547
  • Added validatedCertificate to the setCertificateVerifyProc callback to assist with certificate pinning implementations. #21890
  • Added win.accessibleTitle property to be able to augment the window title for the screen readers. #19698
  • Added win.getBackgroundColor() for BrowserWindow on macOS. #21448
  • Added a missing fiddle - migrates the 'Launching an app from URL...' fiddle from electron-api-demos. #20718
  • Added ability to inspect specific shared workers: contents.getAllSharedWorkers() / contents.inspectSharedWorkerById(workerId). #20389
  • Added about panel customization on Windows. #19420
  • Added an urgency property to allow customization of Linux-based notifications. #20152
  • Added new nativeTheme API to read and respond to changes in the OS's theme and color scheme. #19656
  • Added options to enable customization of print page headers and footers. #19688
  • Added property customization to save dialogs. #19672
  • Added support for HTTP preconnect resource hints. #18671
  • Added support for picture-in-picture mode for video elements. #17686
  • Added support for the built-in spellchecker. We will use the OS spellchecker on macOS and hunspell on all other platforms. #20692
  • Added the ability to prevent documents from being added to recent documents on Windows in open dialogs. #19669
  • Added the ability to set app activation policy on macOS. #21983
  • Added the ability to specify pageSize when printing with webContents.print(). #22014
  • Added the support of fitToPageEnabled and scaleFactor in WebContents.printToPDF(). #20436
  • Added tracing instrumentation to WebContents IPC methods, available with the contentTracing category "electron". #21404
  • Adds a fiddle to demo how to open external links and how to open all outbound links. #20763
  • Adds ability to disable / enable a TouchBarButton. #20945
  • Allowed some specific options to be passed via NODE_OPTIONS to packaged apps. #20857
  • Began issuing a deprecation warning when the 'remote' module is used when enableRemoteModule: true isn't explicitly specified. See https://github.com/electron/electron/issue/21408 for more details. #21546
  • Changed NODE_OPTIONs to allow --http-parser to be used in packaged apps. #21694
  • Deprecated <webview>.getWebContents() as it depends on the remote module. #20726
  • Enable macOS users to fallback to item removal when when shell.moveItemToTrash fails. #19700
  • Enabled V8 pointer compression. #21468
  • Explicitly allow product restoration to an app with. #21461
  • Exposed executeJavaScriptInIsolatedWorld on the webContents API. #21190
  • Exposed more customizable options for contents.printToPDF() and fixed a potential for native crash. #21906
  • Exposing methods required by capturing a hidden webContents。. #21679
  • Fixed Wunderlist app not loading. #17742
  • Implemented 'will-move' event on BrowserWindow on macOS. #19641
  • Implemented win.setAspectRatio() on Linux. #19516
  • Improved TouchBarButton and TouchBarLabel a11y with accessibilityLabel property. #20454
  • Improved the returned types and descriptions for the PrinterInfo API structure returned by webContents.getPrinters. #21081
  • New options added to tray.displayBalloon(): iconType, largeIcon, noSound and respectQuietTime. #19544
  • Objects not serializable using Structured Clone will now cause an error to be thrown when attempting to send them across IPC. #21560, #21560
  • Removed the deprecated 'setLayoutZoomLevelLimits' method. #21383
  • Switched to a native-backed implementation of Chrome Extensions. #21814

Fixes

  • Added name of module to context-aware deprecation warning (#18397). #21952
  • DOM storage quota enforcement re-enabled, but limit changed from 10MiB to 100MiB. #20899
  • Don't destroy active menus created as local objects in javascript. #19427
  • Exposed setMenuBarVisibility on BrowserWindow again. #19557
  • Fixed Linux console warning about gtk_disable_setlocale(). #19986
  • Fixed Linux desktop tray icon size regression introduced in the 8.0 betas. #21904
  • Fixed Node.js' worker_threads in ELECTRON_RUN_AS_NODE. #20416
  • Fixed POST-ing HTML forms with target=_blank. #21469
  • Fixed BrowserWindow.fromWebContents() to return null when no window is found for consistency with other APIs. #19983
  • Fixed Tray.setContextMenu not updating the menu on Linux. #21883
  • Fixed cookies.get not working when url is not specified in filter. #20471
  • Fixed cookies.set not working correctly when name or expirationDate is omitted. #21454
  • Fixed shell.openExternal() option workingDirectory not working with Unicode characters. #20879
  • Fixed a bug where an unresizable window would shrink when restored after being minimized on Windows. #19886
  • Fixed a bug where sometimes a ~10px white border would be added to fullscreen windows on Windows. #19883
  • Fixed a crash in Node.js initialization in renderer processes. #20684
  • Fixed a crash in webContents.print() caused by infinite recursion. #21889
  • Fixed a crash in window.print(). #19690
  • Fixed a crash on <input type="file"> dialog cancellation. #19897
  • Fixed a crash on manual print cancellation as well as an issue with deviceName not working. #19598
  • Fixed a crash that could occur when calling crashReporter.getUploadedReports. #20428
  • Fixed a crash that could occur when visiting HTTPS sites with invalid certificates. #21976
  • Fixed a label mismatch on open and save dialogs on GTK. #20861
  • Fixed a potential crash on faulty deviceNames in webContents.print(). #21946
  • Fixed a race condition that occurred when using protocol.registerStreamProtocol. #19811
  • Fixed a regression in the recentDocuments MenuItem role on macOS. #20398
  • Fixed an issue in the remote module which could cause the name of the Object constructor to be overwritten globally. #20637
  • Fixed an issue that prevented setuid binaries from being launched from the renderer process on Linux. #19953
  • Fixed an issue where app.getPath('logs') would throw an error if the logs path was not previously set. #19653
  • Fixed an issue where menu.closePopup() would have no effect if called too soon after menu.popup(). #20114
  • Fixed an issue where net requests with redirection mode 'error' could incorrectly follow a redirect. #20686
  • Fixed an issue where webContents.printToPDF failed to properly generate the PDF document. #21783
  • Fixed an issue where a call to child_process.fork() would set ELECTRON_RUN_AS_NODE in the main process. #19742
  • Fixed an issue where extension URLs were passing an incorrectly formatted startPage. #21711
  • Fixed an issue where microtasks could sometimes be scheduled too eagerly, causing crashes when invoking Electron APIs during promises in certain situations. #20303
  • Fixed an issue where sites using ShadowDOMV0, CustomElementsV0, or HTMLImports would not load properly. #21858
  • Fixed an issue where the open-url event was not properly being fired on macOS. #20518
  • Fixed an issue with Node.js context initialization in renderer processes. #20833
  • Fixed an issue with open and save dialogs selecting properties. #19781
  • Fixed async Node APIs not working after received IPC message. #19718
  • Fixed build issue where ChromeDriver would fail to start. #21961
  • Fixed case where unlock-screen and lock-screen events would fire erroneously on citrix and other multi-session systems. #21805
  • Fixed case where sending IPC to a child window (opened with window.open) could cause a crash. #19553
  • Fixed compilation error for native modules building with VS 2015. #21950
  • Fixed crash loading file based ServiceWorkers. #20132
  • Fixed crash when doing redirect navigation with webRequest listener. #21838
  • Fixed debug symbol files on linux not containing private symbols. #20530
  • Fixed desktopCapturer leak. #20156
  • Fixed devtools extensions not loading due to "Connect to unknown extension [object Object]" errors. #20791
  • Fixed disabling color correct rendering with `--...
Read more

electron v7.1.12

10 Feb 21:31
Compare
Choose a tag to compare

Release Notes for v7.1.12

Fixes

  • Fixed an issue where sending complex objects over IPC could in some cases cause the renderer process to be terminated. #21922
  • Fixed crash with Date.toLocaleString for invalid locale and locale of the format aa@BB. #21969
  • Fixed flash plugin not working. #22109
  • Fixed issue where renderers could crash during GC when using the contextBridge module. #22112
  • Fixed netLog.stopLogging returning undefined instead of the path to the log. #21988

electron v8.0.0

03 Feb 23:52
Compare
Choose a tag to compare

Generating release notes between origin/7-1-x and origin/8-x-y for version v8.0.0

Release Notes for v8.0.0

Breaking Changes

  • Upgraded to Chromium 80.0.3987.86 (New since Electron 7: Chromium 79, 80)
  • Upgraded to Node 12.13.0 (New since Electron 7: Node 12.9, 12.10, 12.11, 12.12, 12.13)
  • Upgraded to V8 8.0 (New since Electron 7: V8 7.9, 8.0)
  • IPC between main and renderer processes now uses the Structured Clone Algorithm. #20214

Features

  • Added --enable-api-filtering-logging command-line switch, which enables caller stack logging for desktopCapturer and remote APIs that can be blocked or filtered. #20335
  • Added app.getApplicationNameForProtocol(). #21117
  • Added app.setAboutPanelOptions() support for credits and iconPath on Windows. #19420
  • Added BrowserWindow.moveAbove(mediaSourceId). #18926
  • Added contents.getAllSharedWorkers() and contents.inspectSharedWorkerById(workerId) to allow inspection of specific shared workers. #20389
  • Added Notification() options' timeoutType property to allows users to set timeout type for Linux and Windows notifications. #20153
  • Added Notification() options' urgency property to allow customization of Linux-based notifications. #20152
  • Added session.addWordToSpellCheckerDictionary API to support custom words in the. #21297
  • Added session.downloadURL() to allow downloads to trigger without a BrowserWindow. #19889
  • Added systemPreferences.getMediaAccessStatus().screen for detecting the new macOS Catalina permissions. #21116
  • Added trafficLightPosition option in BrowserWindow API to allow custom positioning of traffic lights. #21990
  • Added tray.displayBalloon() options: iconType, largeIcon, noSound and respectQuietTime. #19544
  • Added tray.focus(), which returns focus to the taskbar notification area. #19548
  • Added tray.removeBalloon(), which removes an already displayed balloon notification. #19547
  • Added WebContents.printToPDF() support for fitToPageEnabled and scaleFactor. #20436
  • Added win.accessibleTitle property to augment the window title for screen readers. #19698
  • Added options to enable customization of print page headers and footers. #19688
  • Added support for picture-in-picture mode for video elements. #17686
  • Added support for the built-in spellchecker. We will use the OS spellchecker on macOS and hunspell on all other platforms. #20897
  • Added the ability to prevent documents from being added to recent documents on Windows in open dialogs. #19669
  • Enable macOS users to fallback to item removal when when shell.moveItemToTrash fails. #19700
  • Exposed webContents.executeJavaScriptInIsolatedWorld. #21267
  • Exposing methods required by capturing a hidden webContents. #21895
  • Added BrowserWindow.will-move event support on macOS. #19641
  • Improved TouchBarButton and TouchBarLabel a11y with the new accessibilityLabel property. #20454

Fixes

  • Added name of module to context-aware deprecation warning (#18397). #21958
  • Fixed Linux console warning about gtk_disable_setlocale(). #19986
  • Don't destroy active menus created as local objects in javascript. #19427
  • Fixed BrowserWindow.fromWebContents() to return null when no window is found for consistency with other APIs. #19983
  • Fixed a crash that could occur when calling crashReporter.getUploadedReports. #20428
  • Fixed a potential crash on faulty deviceNames in webContents.print(). #21982
  • Fixed an issue in the remote module which could cause the name of the Object constructor to be overwritten globally. #20637
  • Fixed an issue that prevented setuid binaries from being launched from the renderer process on Linux. #19953
  • Fixed an issue where menu.closePopup() would have no effect if called too soon after menu.popup(). #20114
  • Fixed an issue where net requests with redirection mode 'error' could incorrectly follow a redirect. #20686
  • Fixed an issue where microtasks could sometimes be scheduled too eagerly, causing crashes when invoking Electron APIs during promises in certain situations. #20303
  • Fixed an issue where sites using ShadowDOMV0, CustomElementsV0, or HTMLImports would not load properly. #21866
  • Fixed an issue with Node.js context initialization in renderer processes. #20836
  • Fixed async Node APIs not working after received IPC message. #19718
  • Fixed compilation error for native modules building with VS 2015. #21960
  • Fixed crash when doing redirect navigation with webRequest listener. #21841
  • Fixed debug symbol files on linux not containing private symbols. #20530
  • Fixed disabling color correct rendering with --disable-color-correct-rendering. #20356
  • Fixed issue with when playing videos or audio Electron would ask for accessibility access. #21998
  • Fixed memory leak when using protocol.registerSchemeAsPrivileged api. #20546
  • Fixed printing. #21059
  • Fixed setting content-type header with charset breaking protocol APIs. #20538
  • Fixed several deprecation warnings in Electron code. #20805
  • Fixed some systemPreferences.getColor() inconsistencies on macOS. #20611
  • Fixed white flash after restoring an app from the background. #19873
  • Prevented 'Reopen windows?' dialog from appearing on macOS after a crash. #19584
  • Re-enable DOM storage quota enforcement but change limit from 10MiB to 100MiB. #21380
  • Removed unnecessary chromium patch for browser compositor on mac. #20390
  • setLayoutZoomLevelLimits no longer works in Electron 8, so emit a warning message when using it. The function will be removed in Electron 9. #21360
  • Fixed a crash that could occur if a WebContents was destroyed during a navigation event. #20099
  • Fixed bug in 8.0.0 beta releases that prevented the dictionarySuggestions property from being populated correctly when the built-in spellchecker is enabled. #22015

Other Changes

  • Added Windows on Arm (64 bit) release. #20094
  • Added Windows on Arm node header files to checksum file. #20255
  • Deprecated the default value of app.allowRendererProcessReuse (See #18397). #21287
  • Deprecated <webview>.getWebContents() due to its dependency on the remote module. #21039
  • Fixed first beta version choosing logic. bf66fe51
  • Made strip_absolut...
Read more

electron v8.0.0-beta.9

30 Jan 04:55
Compare
Choose a tag to compare
Pre-release

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@8.0.0-beta.9.

Release Notes for v8.0.0-beta.9

Fixes

  • Added name of module to context-aware deprecation warning (#18397). #21958
  • Fixed build issue where ChromeDriver would fail to start. #21966
  • Fixed compilation error for native modules building with VS 2015. #21960

electron v7.1.11

30 Jan 08:43
Compare
Choose a tag to compare

Release Notes for v7.1.11

Fixes

  • Fixed an edge case in checkbox logic on Windows. #21860
  • Fixed an issue where window.print() only worked once on a single BrowserWindow. #21911
  • Fixed an issue where the credits set in About Panel credits were not dark mode aware on macOS. #21924
  • Fixed error thrown when importing powerMonitor on Linux before app's 'ready' event. #21941
  • Fixed fuzzy font rendering when hot-plugging displays on macOS Catalina. #21872

Documentation

  • Documentation changes: #21873

electron v8.0.0-beta.8

29 Jan 21:51
Compare
Choose a tag to compare
Pre-release

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@8.0.0-beta.8.

Release Notes for v8.0.0-beta.8

Fixes

  • Fixed Linux desktop tray icon size regression introduced in the 8.0 betas. #21936
  • Fixed BrowserWindow.setFocusable(true) not working on Windows. #21854
  • Fixed Tray.setContextMenu not updating the menu on Linux. #21902
  • Fixed a crash in webContents.print() caused by infinite recursion. #21905
  • Fixed an edge case in checkbox logic on Windows. #21861
  • Fixed an issue where window.print() only worked once on a single BrowserWindow. #21908
  • Fixed an issue where sites using ShadowDOMV0, CustomElementsV0, or HTMLImports would not load properly. #21866
  • Fixed an issue where the credits set in About Panel credits were not dark mode aware on macOS. #21926
  • Fixed crash when doing redirect navigation with webRequest listener. #21841
  • Fixed crash when restoring minimized hidden window on Windows. #21821
  • Fixed error thrown when importing powerMonitor on Linux before app's 'ready' event. #21942
  • Fixed native module size increase on windows, follow up fix to #20614. #21947

Other Changes

  • Fixed potential hang when sending synchronous IPC messages on process shutdown. #21948
  • Updated Chromium to 80.0.3987.75. #21932

Documentation

  • Documentation changes: #21874

electron v7.1.10

22 Jan 21:48
Compare
Choose a tag to compare

Release Notes for v7.1.10

Fixes

  • Fixed BrowserWindow.setFocusable(true) not working on Windows. #21855
  • Fixed set-cookie header not passed in net module. #21770
  • Fixed an issue where custom stream protocols would sometimes not complete responses when the data stream ended. #21758
  • Fixed crash when restoring minimized hidden window on Windows. #21820
  • Fixed issue where non-zero size pixels in CSS styles could be rounded down to zero size pixels. #21857
  • Fixed memory leak when using javascript generator functions. #21773

Other Changes

  • Fixed potential hang when sending synchronous IPC messages on process shutdown. #21776