Ir al contenido
verdict:

Electron 40.0.0

featured

note: la síntesis y las notas de la versión están en inglés

note: sin síntesis para esta release más antigua

Sintetizamos las releases recientes. Las notas de la versión originales de esta versión están aquí abajo.

release-notesgithub.com/electron/electron · 105 líneas
  1. # Release Notes for v40.0.0
  2. ## Stack Upgrades
  3. * Chromium `144.0.7559.60`
  4. * [New in 144](https://developer.chrome.com/blog/new-in-chrome-144/)
  5. * [New in 143](https://developer.chrome.com/blog/new-in-chrome-143/)
  6. * Node `v24.11.1`
  7. * [Node 24.11.1 blog post](https://nodejs.org/en/blog/release/v24.11.1/)
  8. * V8 `14.4`
  9. ## Breaking Changes
  10. * Deprecated clipboard API access from renderer processes [#48923](https://github.com/electron/electron/pull/48923)
  11. * Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression. [#48952](https://github.com/electron/electron/pull/48952)
  12. ## Features
  13. ### Additions
  14. * Added "memory-eviction" as a possible reason for a child process to exit. [#48362](https://github.com/electron/electron/pull/48362)
  15. * Added `RGBAF16` output format with scRGB HDR color space support to Offscreen Rendering. [#48265](https://github.com/electron/electron/pull/48265) <sup>(Also in [39](https://github.com/electron/electron/pull/48504))</sup>
  16. * Added `app.isHardwareAccelerationEnabled()`. [#47614](https://github.com/electron/electron/pull/47614) <sup>(Also in [37](https://github.com/electron/electron/pull/48679), [38](https://github.com/electron/electron/pull/48681), [39](https://github.com/electron/electron/pull/48680))</sup>
  17. * Added bypassCustomProtocolHandlers option to net.request. [#48883](https://github.com/electron/electron/pull/48883) <sup>(Also in [38](https://github.com/electron/electron/pull/48881), [39](https://github.com/electron/electron/pull/48882))</sup>
  18. * Added methods to enable more granular accessibility support management. [#48042](https://github.com/electron/electron/pull/48042) <sup>(Also in [37](https://github.com/electron/electron/pull/48627), [38](https://github.com/electron/electron/pull/48626), [39](https://github.com/electron/electron/pull/48625))</sup>
  19. * Added support for WebSocket authentication through the `login` event on `webContents`. [#49064](https://github.com/electron/electron/pull/49064) <sup>(Also in [39](https://github.com/electron/electron/pull/49065))</sup>
  20. * Added support to import external shared texture as VideoFrame. [#48831](https://github.com/electron/electron/pull/48831)
  21. * Added the ability to retrieve the system accent color on Linux using `systemPreferences.getAccentColor`. [#48027](https://github.com/electron/electron/pull/48027) <sup>(Also in [39](https://github.com/electron/electron/pull/48628))</sup>
  22. * Allowed for persisting File System API grant status within a given session. [#48170](https://github.com/electron/electron/pull/48170) <sup>(Also in [37](https://github.com/electron/electron/pull/48328), [38](https://github.com/electron/electron/pull/48327), [39](https://github.com/electron/electron/pull/48344))</sup>
  23. * Automatically focus DevTools when element is inspected or breakpoint is triggered. [#46386](https://github.com/electron/electron/pull/46386) <sup>(Also in [37](https://github.com/electron/electron/pull/48703), [38](https://github.com/electron/electron/pull/48701), [39](https://github.com/electron/electron/pull/48702))</sup>
  24. ### Improvements
  25. * Enables resetting accent color to follow system accent settings if a previous color has been set via `window.setAccentColor(null)`. [#48274](https://github.com/electron/electron/pull/48274) <sup>(Also in [38](https://github.com/electron/electron/pull/48853), [39](https://github.com/electron/electron/pull/48852))</sup>
  26. * Support dynamic ESM imports in non-context isolated preloads. [#48375](https://github.com/electron/electron/pull/48375) <sup>(Also in [37](https://github.com/electron/electron/pull/48487), [38](https://github.com/electron/electron/pull/48489), [39](https://github.com/electron/electron/pull/48488))</sup>
  27. * Updated `nativeImage.createFromNamedImage` to support SF Symbol names. [#48772](https://github.com/electron/electron/pull/48772) <sup>(Also in [39](https://github.com/electron/electron/pull/48773))</sup>
  28. ## Fixes
  29. * Added support for `--no-stdio-init` to be used when nul device is disabled on windows. [#47870](https://github.com/electron/electron/pull/47870)
  30. * Fixed an issue on Windows and Linux where no cookie encryption key provider was passed into the network service when cookie encryption was enabled. [#49375](https://github.com/electron/electron/pull/49375)
  31. * Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled. [#49350](https://github.com/electron/electron/pull/49350)
  32. * Fixed crash when attempting to resolve modules during process exit. [#49104](https://github.com/electron/electron/pull/49104)
  33. * Fixed drag regions in child windows. [#49312](https://github.com/electron/electron/pull/49312)
  34. * Fixed draw smoothing round corner issue. [#48782](https://github.com/electron/electron/pull/48782)
  35. * Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142. [#49384](https://github.com/electron/electron/pull/49384)
  36. * Fixed visual artifacts while resizing a window on Windows. [#49191](https://github.com/electron/electron/pull/49191)
  37. ### Also in earlier versions...
  38. * AccentColor set distinguishes the frame. [#48405](https://github.com/electron/electron/pull/48405) <sup>(Also in [37](https://github.com/electron/electron/pull/48449), [38](https://github.com/electron/electron/pull/48451), [39](https://github.com/electron/electron/pull/48450))</sup>
  39. * Corrected the appearance of tiled windows on GNOME (when frame: true), and removed resize handles from tiled edges. [#48835](https://github.com/electron/electron/pull/48835) <sup>(Also in [38](https://github.com/electron/electron/pull/48836), [39](https://github.com/electron/electron/pull/48834))</sup>
  40. * Fix: ESM-from-CJS import when CJK characters are in path. [#48862](https://github.com/electron/electron/pull/48862) <sup>(Also in [39](https://github.com/electron/electron/pull/48873))</sup>
  41. * Fix: runtime JS error that crashes `GetPackageJSON`. [#48293](https://github.com/electron/electron/pull/48293) <sup>(Also in [37](https://github.com/electron/electron/pull/48423), [38](https://github.com/electron/electron/pull/48424), [39](https://github.com/electron/electron/pull/48425))</sup>
  42. * Fixed Wayland configuration through the `XDG_SESSION_TYPE` environment variable. [#48301](https://github.com/electron/electron/pull/48301) <sup>(Also in [38](https://github.com/electron/electron/pull/48309), [39](https://github.com/electron/electron/pull/48310))</sup>
  43. * Fixed Windows `dialog.showMessageBox` default button handling. [#48216](https://github.com/electron/electron/pull/48216) <sup>(Also in [36](https://github.com/electron/electron/pull/48522), [37](https://github.com/electron/electron/pull/48520), [38](https://github.com/electron/electron/pull/48519), [39](https://github.com/electron/electron/pull/48521))</sup>
  44. * Fixed a Windows notification issue where clicking a native notification would result in an application hang on certain Windows environments. [#49129](https://github.com/electron/electron/pull/49129) <sup>(Also in [39](https://github.com/electron/electron/pull/49130))</sup>
  45. * Fixed a potential crash in `dialog.showOpenDialog` on Windows with an empty extension filter array. [#48640](https://github.com/electron/electron/pull/48640) <sup>(Also in [37](https://github.com/electron/electron/pull/48659), [38](https://github.com/electron/electron/pull/48660), [39](https://github.com/electron/electron/pull/48658))</sup>
  46. * Fixed an application crash when clicking or hovering over the native MacOS "Window" menu. Reverts #48598. [#48799](https://github.com/electron/electron/pull/48799) <sup>(Also in [37](https://github.com/electron/electron/pull/48803), [38](https://github.com/electron/electron/pull/48801), [39](https://github.com/electron/electron/pull/48800))</sup>
  47. * Fixed an error when checking environmental variables when using remote checksums when installing Electron via npm. [#48634](https://github.com/electron/electron/pull/48634) <sup>(Also in [37](https://github.com/electron/electron/pull/48671), [38](https://github.com/electron/electron/pull/48672), [39](https://github.com/electron/electron/pull/48673))</sup>
  48. * Fixed an issue that menu items on macOS could not be disabled under all circumstances. [#48598](https://github.com/electron/electron/pull/48598) <sup>(Also in [37](https://github.com/electron/electron/pull/48712), [38](https://github.com/electron/electron/pull/48710), [39](https://github.com/electron/electron/pull/48711))</sup>
  49. * Fixed an issue where `menu-did-close` was not emitted properly for some application menus. [#49092](https://github.com/electron/electron/pull/49092) <sup>(Also in [38](https://github.com/electron/electron/pull/49094), [39](https://github.com/electron/electron/pull/49093))</sup>
  50. * Fixed an issue where `shell.openExternal` caused an unexpected dialog to open when there was no app suitable to open the url. [#48502](https://github.com/electron/electron/pull/48502) <sup>(Also in [38](https://github.com/electron/electron/pull/48517), [39](https://github.com/electron/electron/pull/48518))</sup>
  51. * Fixed an issue where `systemPreferences.getAccentColor` inverted the color. [#48511](https://github.com/electron/electron/pull/48511) <sup>(Also in [37](https://github.com/electron/electron/pull/49067), [38](https://github.com/electron/electron/pull/49066), [39](https://github.com/electron/electron/pull/48624))</sup>
  52. * Fixed an issue where `trafficLightPosition` would not be correctly applied when using `titleBarStyle: 'customButtonsOnHover'` on macOS 26. [#48538](https://github.com/electron/electron/pull/48538) <sup>(Also in [37](https://github.com/electron/electron/pull/48622), [38](https://github.com/electron/electron/pull/48620), [39](https://github.com/electron/electron/pull/48621))</sup>
  53. * Fixed an issue where authentication via websockets can crash. [#48510](https://github.com/electron/electron/pull/48510) <sup>(Also in [37](https://github.com/electron/electron/pull/48540), [38](https://github.com/electron/electron/pull/48539), [39](https://github.com/electron/electron/pull/48541))</sup>
  54. * Fixed an issue where button background on mouse hover with `titleBarOverlay` wasn't always calculated to provide appropriate minimum contrast. [#48568](https://github.com/electron/electron/pull/48568) <sup>(Also in [37](https://github.com/electron/electron/pull/48596), [38](https://github.com/electron/electron/pull/48595), [39](https://github.com/electron/electron/pull/48597))</sup>
  55. * Fixed an issue where calling `webContents.openDevTools({ mode: 'detach' })` would cause a crash on Wayland. [#48600](https://github.com/electron/electron/pull/48600) <sup>(Also in [38](https://github.com/electron/electron/pull/48926), [39](https://github.com/electron/electron/pull/48623))</sup>
  56. * Fixed an issue where changing the resizable property on a window would break the styles of a transparent window. [#48378](https://github.com/electron/electron/pull/48378) <sup>(Also in [37](https://github.com/electron/electron/pull/48500), [38](https://github.com/electron/electron/pull/48499), [39](https://github.com/electron/electron/pull/48501))</sup>
  57. * Fixed an issue where icons didn't show up as expected on Windows Toast notifications. [#48543](https://github.com/electron/electron/pull/48543) <sup>(Also in [38](https://github.com/electron/electron/pull/48630), [39](https://github.com/electron/electron/pull/48629))</sup>
  58. * Fixed an issue where snapped windows aren't correctly snapped when minimized and then unminimized. [#48296](https://github.com/electron/electron/pull/48296) <sup>(Also in [37](https://github.com/electron/electron/pull/48439), [38](https://github.com/electron/electron/pull/48437), [39](https://github.com/electron/electron/pull/48438))</sup>
  59. * Fixed an issue where some apps would throw an exception on launch. [#48976](https://github.com/electron/electron/pull/48976) <sup>(Also in [39](https://github.com/electron/electron/pull/48975))</sup>
  60. * Fixed an issue where the close callback param for `menu.popup` would fire when any arbitrary submenu of the given menu closed, and not the menu itself. [#49046](https://github.com/electron/electron/pull/49046) <sup>(Also in [38](https://github.com/electron/electron/pull/49047), [39](https://github.com/electron/electron/pull/49045))</sup>
  61. * Fixed crash on windows when UTF-8 is in path. [#48942](https://github.com/electron/electron/pull/48942) <sup>(Also in [38](https://github.com/electron/electron/pull/48947), [39](https://github.com/electron/electron/pull/48944))</sup>
  62. * Fixed crash when accessing `webContents.session` or `webContents.debugger`. [#48318](https://github.com/electron/electron/pull/48318) <sup>(Also in [39](https://github.com/electron/electron/pull/48344))</sup>
  63. * Fixed crash when creating event object for ipc events. [#48991](https://github.com/electron/electron/pull/48991) <sup>(Also in [39](https://github.com/electron/electron/pull/48992))</sup>
  64. * Fixed crash when inspector agent attempts to evaluate on provisional frames. [#48503](https://github.com/electron/electron/pull/48503) <sup>(Also in [37](https://github.com/electron/electron/pull/48514), [38](https://github.com/electron/electron/pull/48513), [39](https://github.com/electron/electron/pull/48515))</sup>
  65. * Fixed crash when passing feature param from commandline `--enable-features=Feature:ParamA/Value`. [#48411](https://github.com/electron/electron/pull/48411) <sup>(Also in [39](https://github.com/electron/electron/pull/48442))</sup>
  66. * Fixed crash when reading system certificates via nodejs tls module. [#49041](https://github.com/electron/electron/pull/49041) <sup>(Also in [39](https://github.com/electron/electron/pull/49042))</sup>
  67. * Fixed download button does not work in PDF Viewer. [#48372](https://github.com/electron/electron/pull/48372) <sup>(Also in [38](https://github.com/electron/electron/pull/48409), [39](https://github.com/electron/electron/pull/48404))</sup>
  68. * Fixed excessive WindowServer GPU usage on macOS Tahoe 26. [#48376](https://github.com/electron/electron/pull/48376) <sup>(Also in [36](https://github.com/electron/electron/pull/48401), [37](https://github.com/electron/electron/pull/48400), [38](https://github.com/electron/electron/pull/48398), [39](https://github.com/electron/electron/pull/48399))</sup>
  69. * Fixed high CPU usage with `<input>` tag on macOS 26. [#48379](https://github.com/electron/electron/pull/48379) <sup>(Also in [36](https://github.com/electron/electron/pull/48419), [37](https://github.com/electron/electron/pull/48392), [38](https://github.com/electron/electron/pull/48394), [39](https://github.com/electron/electron/pull/48393))</sup>
  70. * Fixed incorrect signal variable reference in nan-spec-runner that could cause install failures to go undetected. [#48639](https://github.com/electron/electron/pull/48639) <sup>(Also in [38](https://github.com/electron/electron/pull/48708), [39](https://github.com/electron/electron/pull/48709))</sup>
  71. * Fixed oom crash when optimizing certain wasm functions involving large phi nodes. [#48816](https://github.com/electron/electron/pull/48816) <sup>(Also in [38](https://github.com/electron/electron/pull/48817), [39](https://github.com/electron/electron/pull/48815))</sup>
  72. * Fixed shader-f16 to work on Windows. [#48342](https://github.com/electron/electron/pull/48342) <sup>(Also in [37](https://github.com/electron/electron/pull/48556), [38](https://github.com/electron/electron/pull/48555), [39](https://github.com/electron/electron/pull/48557))</sup>
  73. * Fixed the issue where the parent window leave disabled after the modal window call show() multiple time. [#49021](https://github.com/electron/electron/pull/49021) <sup>(Also in [38](https://github.com/electron/electron/pull/49020), [39](https://github.com/electron/electron/pull/49019))</sup>
  74. * Fixed the issue where the parent window remained interactive after the modal window was opened. [#48864](https://github.com/electron/electron/pull/48864) <sup>(Also in [38](https://github.com/electron/electron/pull/48866), [39](https://github.com/electron/electron/pull/48865))</sup>
  75. * Fixed white flash on call to BrowserWindow.show. [#47151](https://github.com/electron/electron/pull/47151) <sup>(Also in [37](https://github.com/electron/electron/pull/48558), [38](https://github.com/electron/electron/pull/48560), [39](https://github.com/electron/electron/pull/48559))</sup>
  76. * Reenable V8 trap handlers for wasm in browser and utility process, improves runtime execution of wasm. [#48839](https://github.com/electron/electron/pull/48839) <sup>(Also in [39](https://github.com/electron/electron/pull/48837))</sup>
  77. * Requests sent via `net` are now capable of having their headers modified to use reserved headers via `webRequest`. [#49241](https://github.com/electron/electron/pull/49241) <sup>(Also in [39](https://github.com/electron/electron/pull/49242))</sup>
  78. * Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu. [#48490](https://github.com/electron/electron/pull/48490) <sup>(Also in [38](https://github.com/electron/electron/pull/48602), [39](https://github.com/electron/electron/pull/48603))</sup>
  79. * Windows: Calling window.setFocusable(true) will no longer cause a window to lose focus. [#48927](https://github.com/electron/electron/pull/48927) <sup>(Also in [39](https://github.com/electron/electron/pull/48928))</sup>
  80. ## Other Changes
  81. * Backported fix for 445380761. [#48335](https://github.com/electron/electron/pull/48335) <sup>(Also in [36](https://github.com/electron/electron/pull/48339), [37](https://github.com/electron/electron/pull/48338), [38](https://github.com/electron/electron/pull/48337), [39](https://github.com/electron/electron/pull/48336))</sup>
  82. * Backported fix for 466786677. [#49286](https://github.com/electron/electron/pull/49286)
  83. * Backported fix for chromium:466192044. [#49201](https://github.com/electron/electron/pull/49201)
  84. * Fixed a development issue where the metal toolchain could not be found when building on macOS 26. [#48467](https://github.com/electron/electron/pull/48467) <sup>(Also in [37](https://github.com/electron/electron/pull/48471), [38](https://github.com/electron/electron/pull/48473), [39](https://github.com/electron/electron/pull/48472))</sup>
  85. * Fixed devtools element panel flickering when with node inspection. [#49043](https://github.com/electron/electron/pull/49043) <sup>(Also in [39](https://github.com/electron/electron/pull/49044))</sup>
  86. ## Documentation
  87. * Documentation change
  88. * [#48665](https://github.com/electron/electron/pull/48665)
  89. * [#48841](https://github.com/electron/electron/pull/48841)
  90. ## Notices
  91. ### End of Support for 37.x.y
  92. Electron 37.x.y has reached end-of-support as per the project's [support policy](https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy). Developers and applications are encouraged to upgrade to a newer version of Electron.

ver en githubimported 2026-09-28 vía npm