Electron v40.7.0

Latest Stable
npm
npm install --save-dev electron@40.7.0
yarn
yarn add --dev electron@40.7.0
Google ChromeChromium
144.0.7559.225
Node.jsNode.js
24.14.0
V8V8
14.4.258.28

Release Notes

Features

  • Added support for --experimental-transform-types. #49883 (Also in 39, 41)

Fixes

  • Allow dynamically updating menu item labels, sublabels, and icons. #49973 (Also in 41)

  • Fixed safeStorage failing to clean up legacy keychain entries when migrating to suffixed account names on macOS, and fixed first launch creating entries with the wrong (unsuffixed) account name. #49817

  • Fixed a bug that cause offscreen rendering doesn't have valid screen info and unable to get valid result of related media queries.

    • Added webPreference.offscreen.deviceScaleFactor to allow user specify a value, instead of using user's primary display's value. #49681

  • Fixed a macOS crash when creating a new tab from the tab overview. #49934 (Also in 41)

  • Fixed an issue on macOS where Universal Links were not delivered to app.on('continue-activity') on cold launch when NSUserActivity.userInfo was nil. #50005 (Also in 39, 41)

  • Fixed an issue where VideoFrame objects returned through contextBridge had an incorrect prototype. #50022 (Also in 39, 41)

  • Fixed an issue where malformed custom toastXml could cause a Notification crash. #49952 (Also in 41)

  • Fixed menu bar hiding after a call to win.setFullScreen(false) when not in fullscreen on Linux. #49994 (Also in 41)

  • Fixed menus to correctly emit menu-will-close event when closed after any submenu has been open. #49963 (Also in 41)

Other Changes

  • Updated Chromium to 144.0.7559.225. #49928

  • Updated Node.js to v24.14.0. #49939