Skip to content

Releases: electron/electron

electron v6.0.3

20 Aug 02:04
Compare
Choose a tag to compare

Release Notes for v6.0.3

Fixes

  • Correctly internationalize i18n in GTK-based Linux dialogs. #19760
  • Fixed a bug where you couldn't navigate the menu bar with the keyboard if you used the mouse to focus it. #19764
  • Fixed bug where inputs would lose focus when opening the menu bar, preventing many menu items (Edit/Copy/Paste/etc.) to be unusable on Windows and Linux. #19708
  • Fixed occasional crashes while selecting text. #19808
  • Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow. #19723
  • Removed the possibility of a preload script being executed twice for the same process in quickly succeeding navigations in the same frame. #19826

Other Changes

  • No-notes. #19383
  • Updated Chromium to 76.0.3809.126. #19791

Documentation

  • Documentation changes: #19798

electron v5.0.10

20 Aug 00:36
Compare
Choose a tag to compare

Release Notes for v5.0.10

Fixes

  • Correctly internationalize i18n in GTK-based Linux dialogs. #19801
  • Fixed BrowserWindow's will-resize event returning wrong bounds on macOS. #19705
  • Fixed a bug where you couldn't navigate the menu bar with the keyboard if you used the mouse to focus it. #19763
  • Fixed a crash in window.print(). #19678
  • Fixed bug where inputs would lose focus when opening the menu bar, preventing many menu items (Edit/Copy/Paste/etc.) to be unusable on Windows and Linux. #19707
  • Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow. #19724
  • Removed the possibility of a preload script being executed twice for the same process in quickly succeeding navigations in the same frame. #19828
  • Uint8Array and Uint16Array can now be sent correctly in Chrome Extension MessagePort instances. #19654

Documentation

  • Documentation changes: #19796

electron v7.0.0-beta.3

15 Aug 04: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@7.0.0-beta.3.

Release Notes for v7.0.0-beta.3

Features

  • Added new nativeTheme API to read and respond to changes in the OS's theme and color scheme. #19758

Fixes

  • Fixed BrowserWindow's will-resize event returning wrong bounds on macOS. #19680
  • Fixed a crash in window.print(). #19728
  • Fixed async Node APIs not working after received IPC message. #19722
  • Fixed bug where inputs would lose focus when opening the menu bar, preventing many menu items (Edit/Copy/Paste/etc.) to be unusable on Windows and Linux. #19706
  • Normalized out-of-bound value behavior for the setOpacity() API in BrowserWindow. #19673
  • Updated Node.js to v12.8.0. #19726

electron v6.0.2

12 Aug 23:44
Compare
Choose a tag to compare

Release Notes for v6.0.2

Fixes

  • Fixed BrowserWindow's will-resize event returning wrong bounds on macOS. #19704
  • Fixed a crash in window.print(). #19677
  • Fixed async Node APIs not working after received IPC message. #19719

Other Changes

  • Updated Chromium to 76.0.3809.110. #19684

electron v7.0.0-beta.2

07 Aug 22:28
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@7.0.0-beta.2.

Release Notes for v7.0.0-beta.2

Fixes

  • Exposed setMenuBarVisibility on BrowserWindow again. #19579
  • Fixed a crash in window.print(). #19623
  • Fixed a crash on manual print cancellation as well as an issue with deviceName not working. #19668
  • Fixed bug where app would crash if app.showAboutPanel() was called before setting any About panel options on Linux. #19625
  • Fixed case where sending IPC to a child window (opened with window.open) could cause a crash. #19632
  • Fixed crashes when using the application menu. #19558
  • Fixed the clearRecentDocuments MenuItem role on Windows. #19638

electron v6.0.1

07 Aug 00:27
Compare
Choose a tag to compare

Release Notes for v6.0.1

Fixes

  • Fixed 'swipe' event emission on macOS. #19354
  • Fixed process.uptime() returning the wrong time. #19567
  • Fixed tray.displayBalloon() not working with custom icon on Windows. #19528
  • Fixed case where sending IPC to a child window (opened with window.open) could cause a crash. #19633
  • Fixed crashes when using the application menu on Linux. #19560
  • Fixed default dock bounce type on macOS. #19546
  • Fixed handling of invalid webRequest url pattern filtering in onBeforeRequest. #19570
  • Ensured that the alwaysOnTop status returned when always-on-top-changed was emitted was correct. #19534
  • Fixed setting the backgroundColor property on TouchBarButton to default by assigning null after the item is constructed. #19471
  • Fixed the clearRecentDocuments MenuItem role on Windows. #19637
  • Standardized the about panel icon size on Linux. #19572
  • getPath('logs') now throws better error when it fails to find the logs path. #19545

Other Changes

  • Updated Chromium to 76.0.3809.102. #19649

electron v5.0.9

06 Aug 23:40
Compare
Choose a tag to compare

Release Notes for v5.0.9

Fixes

  • Fixed process.uptime() returning the wrong time. #19566
  • Fixed tray.displayBalloon() not working with custom icon on Windows. #19530
  • Fixed an issue where tray.destroy was not working properly on some linux distros. #19619
  • Fixed an issue where windows symbol files were changed in a way that was incompatible with some symbolication tools. #19503
  • Fixed crashes when using the application menu on Linux. #19561
  • Fixed error throwing on invalid webRequest url pattern filtering in onBeforeRequest. #19580
  • Fixed inverted alwaysOnTop status returned when always-on-top-changed was emitted. #19506
  • Fixed setting the backgroundColor property on TouchBarButton to default by assigning null after the item is constructed. #19473
  • Fixed the clearRecentDocuments MenuItem role on Windows. #19640
  • Fixed the callback of beginFrameSubscription passing Buffer instead of NativeImage. #19647
  • Standardized the about panel icon size on Linux. #19581

electron v4.2.9

06 Aug 00:17
Compare
Choose a tag to compare

Release Notes for v4.2.9

Fixes

  • Fixed 'swipe' event emission on macoS>. #19352
  • Fixed tray.displayBalloon() not working with custom icon on Windows. #19529
  • Fixed an issue where windows symbol files were changed in a way that was incompatible with some symbolication tools. #19502
  • Fixed setting the backgroundColor property on TouchBarButton to default by assigning null after the item is constructed. #19472

electron v7.0.0-beta.1

01 Aug 07:56
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@7.0.0-beta.1.

Release Notes for v7.0.0-beta.1

Breaking Changes

  • Removed deprecated APIs: powerMonitor.querySystemIdleState(), powerMonitor.querySystemIdleTime(), webFrame.setIsolatedWorldContentSecurityPolicy(), webFrame.setIsolatedWorldHumanReadableName(), webFrame.setIsolatedWorldSecurityOrigin(), app.getApplicationMenu() and app.setApplicationMenu(). #18159
  • Session.clearAuthCache no longer allows filtering the cleared cache entries. #17970
  • Removed deprecated Tray.setHighlightMode method (macOS). #18981
  • Native interfaces on macOS (menus, dialogs, etc.) now automatically match the dark mode setting on the users machine. #19226
  • Updated the electron npm module to use @electron/get. The minimum supported node version is now Node 8. #18413
  • Removed deprecated app.enableMixedSandbox() API. #17894
  • Removed deprecated callback versions of asynchronous functions to force use of promises. #17907

Notable Changes

  • Switched to a new Typescript Definitions generator. This means that some interface names may have changed, if your Typescript build is failing this is the cause. #18103
  • The electron.asar file no longer exists, if you have packaging scripts that depend on it's existence you should update them. #18577
  • Deprecated netLog.currentlyLoggingPath. #18289

Features

  • Added always-on-top-changed event emission for macOS. #19462
  • Added captureMode and maxFileSize options to the netLog API. #19215
  • Added creationTime / sandboxed / integrityLevel to app.getAppMetrics() output. #18718
  • Added getBounds() method for BrowserView. #19370
  • Added gpu-info-update event to app, which is emitted whenever there is a GPU info update. #18250
  • Added ipcRenderer.invoke() and ipcMain.handle() for asynchronous request/response-style IPC. #18449
  • Added memory to app.getAppMetrics(). #18831
  • Added process.getBlinkMemoryInfo(). #17762
  • Added removeInsertedCSS() to webFrame / webContents / <webview>. #16579
  • Added zoom-changed event to webContents, which is emitted when the user is trying to zoom in / out using the mouse wheel on Windows, even if the focus is inside an (x-origin) iframe. #17747
  • Added a method app.resignCurrentActivity() to allows marking inactive the current Handoff user activity without invalidating it. #18659
  • Added a property to set tooltips for MenuItems on macOS. #19099
  • Added a selection of new printing customization options. #18984
  • Added an optional conflict handling callback to app.moveToApplicationsFolder. #18916
  • Added security warning for remote module with remote content. #18822
  • Added support for CSS origin in webFrame.insertCSS(). #19268
  • Added support for NSVisualEffectMaterials vibrancy types added in macOS Mojave. #19073
  • Added support for mouse-move event of Tray API on Windows. #19265
  • Added support for systemPreferences.isDarkMode() API on Windows. #19217
  • Added support for systemPreferences.isHighContrastColorScheme() API on macOS. #19331
  • Added support for rotation multi-touch gestures on BrowserWindow for macOS. #19294
  • Added the ability to set authors in the Linux implementation of the About panel. #18964
  • All async webContents / <webview> methods now return a Promise. #18792
  • Calling contentTracing.stopTracing() with no arguments is now permitted and has the same behaviour as calling it with an empty string (tracing data will be written to a temporary file). #18411
  • Converted webContents primitive getters and setters to bespoke properties. #18998
  • Enabled the W3C Reporting API. #18255
  • Exposed the value of NSNotification.object to subscribers of notifications in systemPreferences. #19110
  • Implemented BrowserWindow.setFocusable on macOS. #19033
  • Improved webContents.print() callback value to distinguish between success, failure, and cancellation. #19000
  • Renderer processes hosting cross-origin frames are now sandboxed unless the parent BrowserWindow enables nodeIntegrationInSubFrames. #18650
  • You can now set the ELECTRON_SKIP_BINARY_DOWNLOAD=1 environment variable to skip electron binary download during installation of the npm package. #17627
  • netLog.startLogging() now returns a promise which resolves when the net log has started recording.

Fixes

  • Added missing support for ELECTRON_DEFAULT_ERROR_MODE in the GPU process. #17728
  • "Node integration with remote content" and "loading insecure content" warning messages are suppressed for localhost connections. #18814
  • Converted badgeCount to an actual property on the app module. #17363
  • Ensured that the node env is not bootstrapped before running inspector. cf2103d
  • Ensured we wait for the inspect to disconnect. 2132fdf
  • Fixed process.uptime() returning the wrong time. #19436
  • Fixed triggeredByAccelerator Event property behavior for MenuItems. #18865
  • Fixed a crash on tray popup being called multiple times in a row. #18999
  • Fixed an issue where the Tray icon context menu on macOS blocked the main process while open. #18880
  • Fixed bug where the close event would not emit upon closing modal window on macOS. #19014
  • Fixed crashReporter addExtraParameter / removeExtraParameter methods undefined in macOS node child processes. #15790
  • Fixed error throwing on invalid webRequest url pattern filtering in onBeforeRequest. #19337
  • Fixed incorrect passing of dialog MessageBox type. #19349
  • Fixed inverted alwaysOnTop status returned when always-on-top-changed was emitted on Linux and Windows. #19463
  • Fixed issues that will halt the runtime on modern Python. #18395
  • Fixed linting after shell rename. 5693033
  • Fixed setting src on <webview> being too slow. #18990
  • Fixed silent printing across platforms. #18979
  • Fixed support for the webkitdirectory attribute on input[type=file] elements. #18343
  • Fixed windows debug logging. #18199
  • Node.JS globals (process, Buffer, etc.) are no longer removed from the global scope if you have contextIsolation enabled as it is safe for those variables to still exist in their isolated world. #18967
  • Non-absolute session preload script paths are now ignored for sandboxed renderers. #19066
  • Standardized the about panel icon size on Linux. #18957
  • getPath('logs') now throws better error when it fails to find the logs path. #19514
  • web-contents-created and browser-window-created no longer emit an empty object in place of Event. #19465
  • Fixed an issue whereby requiring some modules before the app ready event had side effects. #17496
  • Fixed an issue where netLog.startLogging() would silently fail when called immediately during app.on('ready').

Other Changes

  • Converted appLevelAppearance to be a property on systemPreferences. #18477
  • Converted autoHideMenuBar to a property on BrowserWindow instances. #18555
  • Converted savePath accessor to a property on DownloadItem instances. #18677
  • Converted resizable, maximizable, minimizable, fullscreenable, movable and closable getters / setters on the BrowserWindow class to properties. #18618
  • Converted name to be a property on the app module. #17701
  • Converted nativeImage.templateImage to be a property on the nativeImage prototype. #18124

Documentation

electron v3.1.13

31 Jul 17:47
Compare
Choose a tag to compare

Bug Fixes/Changes

  • docs: fix bad link in notifications tut. #19395