npm electron 35.0.0-beta.1
electron v35.0.0-beta.1

19 hours ago

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

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

Release Notes for v35.0.0-beta.1

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)

Don't miss a new electron release

NewReleases is sending notifications on new releases.