Electron Releases - v33.0.0-alpha.1

npm install electron@v33.0.0-alpha.1
yarn add electron@v33.0.0-alpha.1
Note: This is an alpha release, this means it may be shipping with an unreleased version of Chromium.
Please file new issues for any bugs you find in it.

Release Notes

Breaking Changes

  • Deprecated usage of textured BrowserWindow type option on macOS. #43133

Features

  • Added DownloadItem.getCurrentBytesPerSecond(), DownloadItem.getPercentComplete(), DownloadItem.getEndTime(). #42805 (Also in 30, 31, 32)
  • Added View.setBorderRadius(radius) for customizing the border radius of views—with compatibility for WebContentsView. #42320
  • Added a new property prefersReducedTransparency to nativeTheme, which indicates whether the user has chosen to reduce OS-level transparency via system accessibility settings. #42862 (Also in 30, 31, 32)
  • Added support for responding to auth requests initiated from utility process via app#login event. #42631 (Also in 32)
  • Added the event client-certificate-request-password to app. It is dispatched when a PIN is needed to unlock a cryptographic device. #41205
  • Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #42561 (Also in 30, 31, 32)
  • Enabled the Windows Control Overlay API on Linux. #41769 (Also in 30, 31, 32)
  • Enabled zstd compression in net http requests. #43150 (Also in 31, 32)
  • Expose systemPreferences to utilityProcess. #42203 (Also in 30, 31, 32)
  • Extended navigationHistory API with 2 new functions for better history management. #42014

Fixes

  • Fixed a crash that could occur in some DevTools extensions containing draggable regions. #43179 (Also in 31, 32)
  • Fixed a focus issue when calling BrowserWindow.setTopBrowserView. #42653 (Also in 30, 31, 32)
  • Fixed a potential crash when using off screen rendering. #42920 (Also in 30, 31, 32)
  • Fixed a potential error when calling webContents.close() on a BrowserView. #42633 (Also in 31, 32)
  • Fixed an error where a minimized or hidden window would thrown an unresponsive error in the main process. #43034 (Also in 32)
  • Fixed an issue where Chromium could crash on a dangling unretained pointer in one of several webRequest functions. #42647 (Also in 31, 32)
  • Fixed an issue where High Contrast Mode didn't apply to webContents on Windows. #42853 (Also in 31, 32)
  • Fixed an issue where MessagePorts could close unexpectedly with non-cloneable objects sent via postMessage. #42535 (Also in 30, 31, 32)
  • Fixed an issue where fetch-dependent interfaces could be missing in Web Workers with nodeIntegrationInWorker enabled. #42579 (Also in 30, 31, 32)
  • Fixed an issue where navigator.mediaDevices.enumerateDevices could return broken results in some cases after calling session.setPermissionCheckHandler. #42775 (Also in 30, 31, 32)
  • Fixed an issue where navigator.mediaDevices.getUserMedia and navigator.getUserMedia should reject with a NotAllowedError if microphone or camera permissions have been denied at the system level on macOS. #42899 (Also in 30, 31, 32)
  • Fixed an issue where navigator.serial.getPorts() incorrectly returned an empty array in some cases. #43101 (Also in 30, 31, 32)
  • Fixed an issue where system-context-menu was not triggered as expected on Windows when using a frameless BrowserWindow. #43243 (Also in 30, 31, 32)
  • Fixed an issue where calling BrowserWindow.setBackgroundColor with some level of transparency could cause a crash. #42824 (Also in 31, 32)
  • Fixed an issue where calling desktopCapturer.getSources on macOS running 14.4 or later would make non-resizable windows resizable. #43013 (Also in 31, 32)
  • Fixed an issue where calling window.print(), webContents.print() or printToPDF from an existing PDF document resulted in a blank page. #43309 (Also in 31, 32)
  • Fixed an issue where calling window.showInactive on macOS did not actually show the window. #43079 (Also in 31, 32)
  • Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux. #42652 (Also in 29, 30, 31, 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #42781 (Also in 31, 32)
  • Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #42883 (Also in 31, 32)
  • Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #42850 (Also in 30, 31, 32)
  • Fixed an issue where the user-specified default path did not work in some circumstances when using Linux dialogs. #42655 (Also in 30, 31, 32)
  • Fixed an issue where users would be incorrectly notified of print failure upon intentional cancellation. #43337
  • Fixed behavior when entering/exiting fullscreen fails on macOS. #43112 (Also in 29, 30, 31, 32)
  • Fixed crash when resolving proxy with session.resolveProxy api. #42878 (Also in 30, 31, 32)
  • Fixed issues with the vibrancy view on macOS. #43078 (Also in 31, 32)
  • Fixed several view hierarchy issues related to web contents view on MacOS. #43033 (Also in 31, 32)
  • Fixed the resource leak when using Node.js readable streams as the response body for a custom protocol handler. #43056 (Also in 30, 31, 32)
  • Resolved an issue where desktopCapturer.getSources never fulfilled its promise in some cases. #43080 (Also in 29, 30, 31, 32)

Other Changes

  • Fix: fixed the npm run lint not working on Windows. #42281 (Also in 31, 32)
  • Fixed a potential crash when removing notifications on Windows. #43040 (Also in 30, 31, 32)
  • Fixed an issue where opening multiple file pickers on Windows via the input tag could cause a crash. #42758 (Also in 30, 31, 32)
  • Fixed crash in gpu process when software compositing is enabled on linux with x11 platform. #42559 (Also in 29, 30, 31, 32)
  • Fixed ffmpeg release on x64 macOS. #43093 (Also in 29, 30, 31, 32)
  • Updated Chromium to 129.0.6668.0. #43368
  • Updated Node.js to v20.16.0. #43029

Unknown

  • Just updating the documentation, thanks!. #42691