npm electron 25.0.0-alpha.1
electron v25.0.0-alpha.1

latest releases: 33.1.0, 34.0.0-alpha.7, 34.0.0-alpha.6...
19 months ago

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@25.0.0-alpha.1.

Release Notes for v25.0.0-alpha.1

Features

  • Added BrowserWindow.set/getWindowButtonPosition APIs. #37094
  • Added httpOnly to the cookie filter. #37255 (Also in 24)
  • Added logUsage to shell.openExternal() options, which allows passing the SEE_MASK_FLAG_LOG_USAGE flag to ShellExecuteEx on Windows. #37139 (Also in 24)
  • Added net.fetch(). #36733
  • Added protocol.handle, replacing and deprecating protocol.{register,intercept}{String,Buffer,Stream,Http,File}Protocol. #36674
  • Added types to webRequest filter. #30914 (Also in 24)
  • Added a will-frame-navigate event to webContents and the <webview> tag, which fires whenever any frame within the frame hierarchy attempts to navigate. #34418
  • Added initiator information to navigator events. #37085
  • Added several standard page size options to webContents.print(). #37159 (Also in 22, 23, 24)
  • Added the enableLocalEcho flag to the session handler ses.setDisplayMediaRequestHandler() callback for allowing remote audio input to be echoed in the local output stream when audio is a WebFrameMain. #37315 (Also in 23, 24)
  • Allows an absolute path to be passed to the session.fromPath() API. #37604
  • Changed net.fetch to support requests to file: URLs and custom protocols registered with protocol.register*Protocol. #36606
  • Exposes the audio-state-changed event on webContents. #37366
  • Feat: introduce session.resolveHost for resolving hostnames with Chromium's DNS resolver. #37690 (Also in 24)

Fixes

  • Corrects an issue with HTML fullscreen when BrowserWindow fullscreening is disabled. #37348 (Also in 23, 24)
  • Fixed WebUSB on ARM64 macs. #37441 (Also in 23, 24)
  • Fixed destroyed event not emitted on close for BrowserView.webContents. #37420 (Also in 23, 24)
  • Fixed a crash on capturing sources when using desktopCapturer API on Wayland. #37511 (Also in 23, 24)
  • Fixed a crash when BrowserViews are present and a user attempts to prevent beforeunload in the renderer process. #37205 (Also in 22, 23, 24)
  • Fixed an incorrect result returned when using secure as a cookies filter. #37203 (Also in 22, 23, 24)
  • Fixed an issue on macOS where entering fullscreen with the Fn+F system shortcut would fail or create strange window side effects. #37803 (Also in 23, 24)
  • Fixed an issue where BroadcastChannel did not work correctly when contextIsolation: false. #37421 (Also in 23, 24)
  • Fixed an issue where minWidth/minHeight and maxWidth/maxHeight would not be enforced if the user set an aspectRatio on macOS. #37306 (Also in 22, 23, 24)
  • Fixed an issue where calling port.postMessage in MessagePortMain with some invalid parameters could cause a crash. #37585 (Also in 22, 23, 24)
  • Fixed an issue where draggable regions incorrectly captured clicks in framed windows. #37594 (Also in 23, 24)
  • Fixed an issue where passing both hasReply and actions to a main process Notification on macOS resulted in the first action being obscured and unavailable. #37381 (Also in 22, 23, 24)
  • Fixed an issue where successfully loaded media documents emitted did-fail-load. #37824
  • Fixed an issue where unhandled rejections could cause duplicate logs in some cases. #37464 (Also in 22, 23, 24)
  • Fixed an issue with potential dock icon duplication on macOS. #37599 (Also in 22, 23, 24)
  • Fixed canceling of bluetooth requests when no devices are returned. #37601 (Also in 23, 24)
  • Fixed draggable regions not working in Mac App Store builds. #37466 (Also in 23, 24)
  • Fixed issue with BrowserWindow not updating after call to previewFile. #37530 (Also in 22, 23, 24)
  • Fixed potential private API usage for MAS builds on macOS. #37309 (Also in 23, 24)
  • Fixed right-click events not being delivered in frameless window draggable regions. #37386 (Also in 23, 24)
  • Fixed the active background color for top-level menu items on Windows. #37766 (Also in 23, 24)
  • Fixed window could not go back to maximized state when restored on Linux. #37346 (Also in 22, 23, 24)
  • Improved error messages on session.cookies.set failure. #37586 (Also in 22, 23, 24)
  • Security: Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623). #37756 (Also in 24)
  • Setting the about panel's options no longer crashes. #37373 (Also in 24)
  • app.showAboutPanel() no longer blocks the main thread on Windows or Linux, thus matching macOS. #37440 (Also in 24)

Other Changes

  • Improved error messages for contents.takeHeapSnapshot. #37434 (Also in 22, 23, 24)
  • Updated Chromium to 114.0.5694.0. #37820
  • Updated Node.js to v18.15.0. #37532
  • nativeImage.createThumbnailFromPath() now takes size instead of maxSize. #37362 (Also in 24)

Don't miss a new electron release

NewReleases is sending notifications on new releases.