Electron: v31.0.0-alpha.2 Release

Release date:
April 18, 2024
Previous version:
v31.0.0-alpha.1 (released April 17, 2024)
Magnitude:
42 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in v31.0.0-alpha.2

trop[bot]

Directory Browser for v31.0.0-alpha.2

All files are compared to previous version, v31.0.0-alpha.1. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

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 [email protected].

# Release Notes for v31.0.0-alpha.2

Features

  • Added a new instance property navigationHistory on webContents API with navigationHistory.getEntryAtIndex method, enabling applications to retrieve the URL and title of any navigation entry within the browsing history. #41577 <span style="font-size:small;">(Also in 29, 30)</span>
  • Added options parameter to Session.clearData API. #41355
  • Added proxy configuring support for requests made with net module from utility process. #41335 <span style="font-size:small;">(Also in 28, 29, 30)</span>
  • Added support for NODE_EXTRA_CA_CERTS. #41689
  • Extended webContents.setWindowOpenHandler to support manual creation of BrowserWindow. #41432
  • Implemented support for the File System API. #41419 <span style="font-size:small;">(Also in 30)</span>
  • clearData method added to Session. #40983

    Fixes

  • Added missing support for the recursive option in fs.{readdir|readdirSync} as well as fs.promises.{readdir|readdirSync}. #41582

  • Added support for withFileTypes when calling fs.{readdir|readdirSync} with the recursive in Asar archives. #41627

  • Ensured ScreenCaptureKit is used exclusively on macOS 14.4 and higher to avoid permission prompts. #41397 <span style="font-size:small;">(Also in 29, 30)</span>

  • Fixed ASAN build on macOS. #41587

  • Fixed chrome://process-internals failing to load. #41476 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed shell.showItemInFolder not opening Windows Explorer if the passed path contains forward slashes. #41642 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed a bug where a window with maximization disabled and WCO enabled would still show its maximization button. #41793

  • Fixed a potential crash in chrome.scripting on extension unload. #41686 <span style="font-size:small;">(Also in 29, 30)</span>

  • Fixed an issue on Windows where silent printing resulted in comically tiny renderer output. #41811 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed an issue where app.getLoginItemSettings didn't correctly throw errors. #41647 <span style="font-size:small;">(Also in 30)</span>

  • Fixed an issue where user-did-{resign|become}-active were not emitted properly on macOS. #41506 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed an issue where webContents.print(options) failed if options was not passed or undefined is passed. #41467 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed an issue where badge text set using the Badging API no longer appeared correctly on Windows. #41618 <span style="font-size:small;">(Also in 29, 30)</span>

  • Fixed an issue where child views in a BrowserWindow could sometimes be. #41256

  • Fixed an issue where emojis weren't properly handled on Windows. #41673 <span style="font-size:small;">(Also in 29, 30)</span>

  • Fixed an issue where showing or focusing a panel window would activate the app on Mac. #41750 <span style="font-size:small;">(Also in 30)</span>

  • Fixed an issue where the serial-port-added event improperly respected filters set by serial.requestPort(). #41621 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed crash in Notification::Close() under libnotify 0.8.x with portal environment. #41691 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Fixed missing <__assertion_handler> header when compiling with libc++. #41830 <span style="font-size:small;">(Also in 29, 30)</span>

  • Fixed usage of Storage.{get|set|clear}Cookies via the Chrome DevTools Protocol. #41718 <span style="font-size:small;">(Also in 28, 29, 30)</span>

  • Improved appearance of caption buttons on Windows 11 when using Windows Control Overlay. #41561 <span style="font-size:small;">(Also in 30)</span>

  • Made window.flashFrame(bool) flash continuously on macOS. #41391

    Other Changes

  • The inputFieldType property in the context-menu params has been removed. #41239 <span style="font-size:small;">(Also in 30)</span>

  • Updated Chromium to 125.0.6412.0. #41610

  • Updated Node.js to v20.12.2. #41710

    Documentation

Unknown

  • Added support for Bluetooth ports being requested by service class ID in navigator.serial. #41638 <span style="font-size:small;">(Also in 29, 30)</span>