Electron Releases

Filter by channel Filter by major release

Release Notes for v24.0.0-alpha.2

Note: This is an alpha release. Please file new issues for any bugs you find in it.

This release is published to npm under the alpha tag and can be installed via npm install electron@alpha, or npm install electron@24.0.0-alpha.2.

Features

  • Added label property to Display objects. #36855 (Also in 21, 22, 23)
  • Added a new devtools-open-url event to webContents to allow developers to open new windows with them. #36774
  • Added several standard page size options to webContents.print(). #37265 (Also in 22, 23)
  • Allow a application-specific username to be passed to inAppPurchase.purchaseProduct(). #35902
  • Exposed window.invalidateShadow() to clear residual visual artifacts on macOS. #32452
  • Whole-program optimization is enabled by default in electron node headers config file. #36937 (Also in 21, 22, 23)
  • SystemPreferences::CanPromptTouchID (macOS) now supports Apple Watch. #36935

Fixes

  • Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. #37122 (Also in 21, 22, 23)
  • Changed HTML5 Notifications created with the requireInteraction option to not timeout on Linux and Windows. #36477 (Also in 21, 22, 23)
  • ESM loads of CJS modules that have null exports no longer throw. #37009 (Also in 23)
  • Enabled support for WebAssembly.{compileStreaming|instantiateStreaming} in Node.js. #36420
  • Fixed a BrowserWindow maxWidth or maxHeight of 0 causing strange resizing behavior. #36487 (Also in 21, 22, 23)
  • Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. #36567 (Also in 22, 23)
  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #37268 (Also in 22, 23)
  • Fixed a potential crash in some types of Worklets. #37050 (Also in 23)
  • Fixed a printing crash caused by an uninitialized pref. #37052 (Also in 23)
  • Fixed an RTL issue that could happen in some locales when calling BrowserWindow.setTrafficLightPosition() on macOS. #36839 (Also in 21, 22, 23)
  • Fixed an error when fs.readdir gets null for options. #34764 (Also in 21, 22, 23)
  • Fixed an incorrect result returned when using secure as a cookies filter. #37246 (Also in 22)
  • Fixed an issue on macOS when trying to switch processes with Cmd+Tab after exiting Kiosk Mode. #36854 (Also in 21, 22, 23)
  • Fixed an issue where <datalist> elements were improperly positioned within the page. #36934 (Also in 23)
  • Fixed an issue where webViews could have an incorrect initial background color following reloads. #36920 (Also in 21, 22, 23)
  • Fixed an issue where some frameless windows with draggable regions were not resizable on Windows. #37016 (Also in 23)
  • Fixed an issue where the setPermissionRequestHandler callback would be invoked twice when using navigator.getUserMedia(...). #36787 (Also in 22, 23)
  • Fixed an issue with incorrect focus ring highlighting when using dialog.showMessageBox(). #36772 (Also in 21, 22, 23)
  • Fixed audio worklet scripts failing to run when nodeIntegrationInWorker: true. #37041 (Also in 22, 23)
  • Fixed binary stripping for branded release builds on Linux. #36641 (Also in 21, 22, 23)
  • Fixed missing headers in libcxx_headers bundle. #36863
  • Fixed net.request response headers missing Content-Type. #36666
  • Fixed tray icon not showing on desktop environments that have no support for app indicator. #36815 (Also in 22, 23)
  • Fixed warning about duplicate WebSwapCGLLayer symbols when Electron starts on macOS. #35961 (Also in 21, 22, 23)
  • Removed plugin helper checks on macOS gated behind enable_plugins buildflag. #36971 (Also in 22, 23)
  • Use the process cache to reduce the memory for asar file. #36600 (Also in 21, 22, 23)

Other Changes

Release Notes for v24.0.0-alpha.1

Note: This is an alpha release. Please file new issues for any bugs you find in it.

This release is published to npm under the alpha tag and can be installed via npm install electron@alpha, or npm install electron@24.0.0-alpha.1.

Features

  • Added label property to Display objects. #36855 (Also in 21, 22, 23)
  • Added a new devtools-open-url event to webContents to allow developers to open new windows with them. #36774
  • Allow a application-specific username to be passed to inAppPurchase.purchaseProduct(). #35902
  • Exposed window.invalidateShadow() to clear residual visual artifacts on macOS. #32452
  • Whole-program optimization is enabled by default in electron node headers config file. #36937 (Also in 21, 22, 23)
  • SystemPreferences::CanPromptTouchID (macOS) now supports Apple Watch. #36935

Fixes

  • Basic accessibility support is now enabled when macOS Voice Control is activated to allow for full voice control of Electron applications. #37122 (Also in 21, 22, 23)
  • Changed HTML5 Notifications created with the requireInteraction option to not timeout on Linux and Windows. #36477 (Also in 21, 22, 23)
  • ESM loads of CJS modules that have null exports no longer throw. #37009 (Also in 23)
  • Enabled support for WebAssembly.{compileStreaming|instantiateStreaming} in Node.js. #36420
  • Fixed a BrowserWindow maxWidth or maxHeight of 0 causing strange resizing behavior. #36487 (Also in 21, 22, 23)
  • Fixed a crash that could occur when running eval in inline scripts in unsandboxed renderer processes. #36567 (Also in 22, 23)
  • Fixed a potential crash in some types of Worklets. #37050
  • Fixed a printing crash caused by an uninitialized pref. #37052 (Also in 23)
  • Fixed an RTL issue that could happen in some locales when calling BrowserWindow.setTrafficLightPosition() on macOS. #36839 (Also in 21, 22, 23)
  • Fixed an error when fs.readdir gets null for options. #34764 (Also in 21, 22, 23)
  • Fixed an issue on macOS when trying to switch processes with Cmd+Tab after exiting Kiosk Mode. #36854 (Also in 21, 22, 23)
  • Fixed an issue where <datalist> elements were improperly positioned within the page. #36934 (Also in 23)
  • Fixed an issue where webViews could have an incorrect initial background color following reloads. #36920 (Also in 21, 22, 23)
  • Fixed an issue where some frameless windows with draggable regions were not resizable on Windows. #37016 (Also in 23)
  • Fixed an issue where the setPermissionRequestHandler callback would be invoked twice when using navigator.getUserMedia(...). #36787 (Also in 22, 23)
  • Fixed an issue with incorrect focus ring highlighting when using dialog.showMessageBox(). #36772 (Also in 21, 22, 23)
  • Fixed audio worklet scripts failing to run when nodeIntegrationInWorker: true. #37041 (Also in 22, 23)
  • Fixed binary stripping for branded release builds on Linux. #36641 (Also in 21, 22, 23)
  • Fixed missing headers in libcxx_headers bundle. #36863
  • Fixed net.request response headers missing Content-Type. #36666
  • Fixed tray icon not showing on desktop environments that have no support for app indicator. #36815 (Also in 22, 23)
  • Fixed warning about duplicate WebSwapCGLLayer symbols when Electron starts on macOS. #35961 (Also in 21, 22, 23)
  • Removed plugin helper checks on macOS gated behind enable_plugins buildflag. #36971 (Also in 22, 23)
  • Use the process cache to reduce the memory for asar file. #36600 (Also in 21, 22, 23)

Other Changes