Packages

electron

45.3.4 · 17 Nov 2026MIT12.9M / weekRepositoryHomepagenpmAtom feed

Upgrading electron From 44.11.5 to 45.0.0

1 release in betweenevery note read

Other targets from 44.11.5Latest45.3.4
  1. 44.11.5yours
  2. 45.0.0target
  3. 23 pre

Before you upgrade

Tick each one off as you go
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0
  • Breaking45.0.0

Release by release

  1. 45.0.0

    Migration needed21 Oct 202637 new · 198 fixes
    • Breaking

      Reduced sandboxed renderer startup work for preload scripts that do not use Buffer. #54048

    • Breaking

      With nodeIntegrationInWorker: true, a Worker created from an <iframe> in the same process as the main frame used to get Node.js integration even though the iframe itself had none. Workers now only get Node.js integration when the frame that creates them has it: the main frame, or any frame when nodeIntegrationInSubFrames is enabled.

    • Breaking

      A chrome-extension:// document used to receive the window's preload script (and session preload scripts) wherever it was embedded. It now only does so when it is a top-level frame or is hosted inside the DevTools front-end (a devtools_page or panel); an extension frame embedded in an ordinary page is treated like any other subframe and follows nodeIntegrationInSubFrames.

    • Breaking

      The legacy chromeMediaSource: 'desktop' constraint now only accepts screen and window source ids from desktopCapturer.getSources. Passing a WebContents source id there now fails with an "Invalid state" error. To capture a WebContents, use chromeMediaSource: 'tab' with an id from webContents.getMediaSourceId(), or use ses.setDisplayMediaRequestHandler.

6 other lines we could not sort, mostly version bumps
  • V8 15.6

    45.0.0
  • Backported fix from upstream V8. #53987

    45.0.0
  • Electron's internal JavaScript bundles are no longer listed in require('module').builtinModules or loadable through process.getBuiltinModule(). #53624

    45.0.0
  • Linux arm64, Windows arm64 and macOS x64 builds now start the main process from the embedded Node.js startup snapshot like the other platforms, improving startup time. #52874 (Also in 42, 43, 44)

    45.0.0
  • Refactored mouse forwarding on Windows to fix setIgnoreMouseEvents(true, { forward: true }) related issues. #54803 (Also in 44)

    45.0.0
  • The non-functional dummy libEGL.so and libGLESv2.so files are no longer included in the Linux distribution, now that ANGLE is statically linked. #52226 (Also in 44)

    45.0.0

7 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.