note: la synthèse et les notes de version sont en anglais
note: pas de synthèse pour cette release plus ancienne
Nous synthétisons les releases récentes. Les notes de version originales de cette version sont ci-dessous.
release-notesgithub.com/electron/electron · 105 lignes
- # Release Notes for v40.0.0
- ## Stack Upgrades
- * Chromium `144.0.7559.60`
- * [New in 144](https://developer.chrome.com/blog/new-in-chrome-144/)
- * [New in 143](https://developer.chrome.com/blog/new-in-chrome-143/)
- * Node `v24.11.1`
- * [Node 24.11.1 blog post](https://nodejs.org/en/blog/release/v24.11.1/)
- * V8 `14.4`
- ## Breaking Changes
- * Deprecated clipboard API access from renderer processes [#48923](https://github.com/electron/electron/pull/48923)
- * Fixed an error on debug symbol upload by moving dsym.zip to use tar.xz compression. [#48952](https://github.com/electron/electron/pull/48952)
- ## Features
- ### Additions
- * Added "memory-eviction" as a possible reason for a child process to exit. [#48362](https://github.com/electron/electron/pull/48362)
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * Added support to import external shared texture as VideoFrame. [#48831](https://github.com/electron/electron/pull/48831)
- * 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>
- * 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>
- * 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>
- ### Improvements
- * 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>
- * 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>
- * 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>
- ## Fixes
- * Added support for `--no-stdio-init` to be used when nul device is disabled on windows. [#47870](https://github.com/electron/electron/pull/47870)
- * 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)
- * 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)
- * Fixed crash when attempting to resolve modules during process exit. [#49104](https://github.com/electron/electron/pull/49104)
- * Fixed drag regions in child windows. [#49312](https://github.com/electron/electron/pull/49312)
- * Fixed draw smoothing round corner issue. [#48782](https://github.com/electron/electron/pull/48782)
- * Fixed the cookie encryption logic to use the old os_crypt sync implementation present in M142. [#49384](https://github.com/electron/electron/pull/49384)
- * Fixed visual artifacts while resizing a window on Windows. [#49191](https://github.com/electron/electron/pull/49191)
- ### Also in earlier versions...
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- * 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>
- ## Other Changes
- * 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>
- * Backported fix for 466786677. [#49286](https://github.com/electron/electron/pull/49286)
- * Backported fix for chromium:466192044. [#49201](https://github.com/electron/electron/pull/49201)
- * 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>
- * 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>
- ## Documentation
- * Documentation change
- * [#48665](https://github.com/electron/electron/pull/48665)
- * [#48841](https://github.com/electron/electron/pull/48841)
- ## Notices
- ### End of Support for 37.x.y
- 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.