Electron v35.0.0-beta.1

npm
npm install --save-dev electron@35.0.0-beta.1
yarn
yarn add --dev electron@35.0.0-beta.1
Google ChromeChromium
133.0.6920.0
Node.jsNode.js
22.9.0
V8V8
13.3.402

Release Notes

Features

  • Added ServiceWorkerMain class to interact with service workers in the main process.

    • Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.

    • Added running-status-changed event on ServiceWorkers to indicate when a service worker's running status has changed.

    • Added startWorkerForScope on ServiceWorkers to start a worker that may have been previously stopped. #45341

  • Added contextBridge.executeInMainWorld to safely execute code across world boundaries. #45330

  • Redesigned preload script APIs by introducing registerPreloadScript, unregisterPreloadScript, getPreloadScripts on Session.

    • Deprecated getPreloads and setPreloads on Session. #45329

Fixes

  • Fixed an issue where selection of multiple directories with the dialog module didn't work on Linux. #45394 (Also in 34)

  • Fixed crash in gin::wrappable::secondweakcallback. #45378 (Also in 33, 34)