Zum Inhalt springen
verdict:

Electron 39.0.0

featured

note: die Zusammenfassung und die Release Notes sind auf Englisch

note: keine Zusammenfassung für dieses ältere Release

Wir fassen die neueren Releases zusammen. Die originalen Release Notes dieser Version stehen hier unten.

release-notesgithub.com/electron/electron · 112 Zeilen
  1. # Release Notes for v39.0.0
  2. ## Stack Upgrades
  3. * Chromium `142.0.7444.52`
  4. * [New in 142](https://developer.chrome.com/blog/new-in-chrome-142/)
  5. * [New in 141](https://developer.chrome.com/blog/new-in-chrome-141/)
  6. * Node `22.20.0`
  7. * [Node 22.20.0 blog post](https://nodejs.org/en/blog/release/v22.20.0/)
  8. * V8 `14.2`
  9. ## Breaking Changes
  10. * Added `colorSpace` to offscreen shared texture info of `webContents.on('paint')` event.
  11. * Breaking Changed the signature of `OffscreenSharedTexture` to provide a unified `handle` that holds the native handle. [#47315](https://github.com/electron/electron/pull/47315)
  12. * Fixed a spec compliance issue with `window.open` where it should always create a resizable popup window but did not. [#47540](https://github.com/electron/electron/pull/47540)
  13. *For breaking changes inherited via Chromium, see [blog post](https://www.electronjs.org/blog/electron-39-0)*
  14. ## Features
  15. ### Additions
  16. * Added `RGBAF16` output format with scRGB HDR color space support to Offscreen Rendering. [#48504](https://github.com/electron/electron/pull/48504)
  17. * Added `fileBacked` and `purgeable` fields to `process.getSystemMemoryInfo()` for macOS. [#47628](https://github.com/electron/electron/pull/47628) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48143), [38](https://github.com/electron/electron/pull/48146))</span>
  18. * Added support for `guid` `Tray` constructor option on macOS to allow tray icons to maintain position across launches. [#47838](https://github.com/electron/electron/pull/47838) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48078), [37](https://github.com/electron/electron/pull/48076), [38](https://github.com/electron/electron/pull/48077))</span>
  19. * Added `webFrameMain.fromFrameToken(processId, frameToken)` to get a `WebFrameMain` instance from its frame token. [#47850](https://github.com/electron/electron/pull/47850) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/47942))</span>
  20. * Added methods to enable more granular accessibility support management. [#48625](https://github.com/electron/electron/pull/48625)
  21. * Added support for `app.getRecentDocuments()` on Windows and macOS. [#45839](https://github.com/electron/electron/pull/45839) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47925), [37](https://github.com/electron/electron/pull/47923), [38](https://github.com/electron/electron/pull/47924))</span>
  22. * Added support for `USBDevice.configurations`. [#47459](https://github.com/electron/electron/pull/47459)
  23. * Added the ability to retrieve the system accent color on Linux using `systemPreferences.getAccentColor`. [#48628](https://github.com/electron/electron/pull/48628)
  24. * Adds the ability to change window accent color on Windows after initial window initialization via `{get|set}AccentColor`. [#47741](https://github.com/electron/electron/pull/47741) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48018), [37](https://github.com/electron/electron/pull/48017), [38](https://github.com/electron/electron/pull/47939))</span>
  25. * Allowed for persisting File System API grant status within a given session. [#48326](https://github.com/electron/electron/pull/48326) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48328), [38](https://github.com/electron/electron/pull/48327))</span>
  26. * Internally switched to using `DIR_ASSETS` instead of `DIR_MODULE`/`DIR_EXE` to locate assets and resources, and added "assets" as a key that can be queried via `app.getPath`. [#47439](https://github.com/electron/electron/pull/47439) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47951), [38](https://github.com/electron/electron/pull/47950))</span>
  27. * Support dynamic ESM imports in non-context isolated preloads. [#48488](https://github.com/electron/electron/pull/48488) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48487), [38](https://github.com/electron/electron/pull/48489))</span>
  28. ## Fixes
  29. * Fixed an issue where `systemPreferences.getAccentColor` inverted the color. [#48624](https://github.com/electron/electron/pull/48624)
  30. * Fixed an issue where calling `webContents.openDevTools({ mode: 'detach' })` would cause a crash on Wayland. [#48623](https://github.com/electron/electron/pull/48623)
  31. * Fixed crash when accessing `webContents.session`. [#48344](https://github.com/electron/electron/pull/48344)
  32. * Fixed crash when inspector agent attempts to evaluate on provisional frames. [#48515](https://github.com/electron/electron/pull/48515)
  33. * Fixed crash when passing feature param from commandline `--enable-features=Feature:ParamA/Value`. [#48442](https://github.com/electron/electron/pull/48442)
  34. ### Also in earlier versions...
  35. * AccentColor set distinguishes the frame. [#48450](https://github.com/electron/electron/pull/48450) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48449), [38](https://github.com/electron/electron/pull/48451))</span>
  36. * Fix: runtime JS error that crashes `GetPackageJSON`. [#48425](https://github.com/electron/electron/pull/48425) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48423), [38](https://github.com/electron/electron/pull/48424))</span>
  37. * Fixed Wayland configuration through the `XDG_SESSION_TYPE` environment variable. [#48310](https://github.com/electron/electron/pull/48310) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48309))</span>
  38. * Fixed Windows `dialog.showMessageBox` default button handling. [#48521](https://github.com/electron/electron/pull/48521) <span style="font-size:small;">(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))</span>
  39. * Fixed a bug where `app` extensions filters didn't allow for selecting app bundles in macOS file dialogs. [#47825](https://github.com/electron/electron/pull/47825) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47840), [37](https://github.com/electron/electron/pull/47839), [38](https://github.com/electron/electron/pull/47841))</span>
  40. * Fixed a bug where the `Referer` header was not being set correctly when using `webContents.downloadURL()`. [#47625](https://github.com/electron/electron/pull/47625) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47866), [37](https://github.com/electron/electron/pull/47865), [38](https://github.com/electron/electron/pull/47867))</span>
  41. * Fixed a child process crash on macOS when the running application is replaced with one that has a newer implementation triggering the sandbox. [#47765](https://github.com/electron/electron/pull/47765) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47784), [38](https://github.com/electron/electron/pull/47783))</span>
  42. * Fixed a crash possible when calling `webContents.loadURL()` from a failed `webContents.loadURL()` call's catch handler. [#48004](https://github.com/electron/electron/pull/48004) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48044), [37](https://github.com/electron/electron/pull/48045), [38](https://github.com/electron/electron/pull/48043))</span>
  43. * Fixed a crash when adding the `-electron-corner-smoothing` CSS rule to a stylesheet with no associated document. [#47759](https://github.com/electron/electron/pull/47759) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47792), [38](https://github.com/electron/electron/pull/47785))</span>
  44. * Fixed a crash when calling `desktopCapturer.getSources` with an empty thumbnail size. [#47641](https://github.com/electron/electron/pull/47641) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47651), [37](https://github.com/electron/electron/pull/47653), [38](https://github.com/electron/electron/pull/47652))</span>
  45. * Fixed a crash when calling some `webContents` functions after `window.close()`. [#47933](https://github.com/electron/electron/pull/47933) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47953), [37](https://github.com/electron/electron/pull/47954), [38](https://github.com/electron/electron/pull/47952))</span>
  46. * Fixed a potential crash in `dialog.showOpenDialog` on Windows with an empty extension filter array. [#48658](https://github.com/electron/electron/pull/48658) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48659), [38](https://github.com/electron/electron/pull/48660))</span>
  47. * Fixed addBrowserView to prevent unnecessary removal and re-adding of the same BrowserView. [#48053](https://github.com/electron/electron/pull/48053) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48200), [38](https://github.com/electron/electron/pull/48201))</span>
  48. * Fixed an error when checking environmental variables when using remote checksums when installing Electron via npm. [#48673](https://github.com/electron/electron/pull/48673) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48671), [38](https://github.com/electron/electron/pull/48672))</span>
  49. * Fixed an issue on some older Windows versions where `setContentProtection` didn't work as expected. [#47856](https://github.com/electron/electron/pull/47856) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47888), [37](https://github.com/electron/electron/pull/47887), [38](https://github.com/electron/electron/pull/47886))</span>
  50. * Fixed an issue where `app.accessibilitySupportEnabled` didn't work as expected. [#48041](https://github.com/electron/electron/pull/48041) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48061), [38](https://github.com/electron/electron/pull/48060))</span>
  51. * Fixed an issue where `dialog.showMessageDialog` showed a window incorrectly centered to monitor instead of parent window when passed. [#48181](https://github.com/electron/electron/pull/48181) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48215))</span>
  52. * Fixed an issue where `net.isOnline()` always returned `true` in utilityProcesses. [#48111](https://github.com/electron/electron/pull/48111) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48153), [37](https://github.com/electron/electron/pull/48152), [38](https://github.com/electron/electron/pull/48151))</span>
  53. * Fixed an issue where `require('node:sqlite')` didn't work. [#47706](https://github.com/electron/electron/pull/47706) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47755), [37](https://github.com/electron/electron/pull/47756), [38](https://github.com/electron/electron/pull/47757))</span>
  54. * Fixed an issue where `shell.openExternal` caused an unexpected dialog to open when there was no app suitable to open the url. [#48518](https://github.com/electron/electron/pull/48518) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48517))</span>
  55. * Fixed an issue where `shell.openPath` was not non-blocking as expected. [#48079](https://github.com/electron/electron/pull/48079) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48087), [37](https://github.com/electron/electron/pull/48088), [38](https://github.com/electron/electron/pull/48089))</span>
  56. * Fixed an issue where `trafficLightPosition` would not be correctly applied when using `titleBarStyle: 'customButtonsOnHover'` on macOS 26. [#48621](https://github.com/electron/electron/pull/48621) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48620))</span>
  57. * Fixed an issue where a file-only picker incorrectly allowed some directories. [#48198](https://github.com/electron/electron/pull/48198) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48229), [37](https://github.com/electron/electron/pull/48230), [38](https://github.com/electron/electron/pull/48231))</span>
  58. * Fixed an issue where an invalid color passed as a string to `accentColor` would result in a white accent color. [#47660](https://github.com/electron/electron/pull/47660) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47800), [38](https://github.com/electron/electron/pull/47684))</span>
  59. * Fixed an issue where authentication via websockets can crash. [#48541](https://github.com/electron/electron/pull/48541) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48540), [38](https://github.com/electron/electron/pull/48539))</span>
  60. * Fixed an issue where button background on mouse hover with `titleBarOverlay` wasn't always calculated to provide appropriate minimum contrast. [#48597](https://github.com/electron/electron/pull/48597) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48596), [38](https://github.com/electron/electron/pull/48595))</span>
  61. * Fixed an issue where certain operations performed in a window close callback could trigger a crash. [#47751](https://github.com/electron/electron/pull/47751) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47811), [37](https://github.com/electron/electron/pull/47813), [38](https://github.com/electron/electron/pull/47812))</span>
  62. * Fixed an issue where changing the resizable property on a window would break the styles of a transparent window. [#48501](https://github.com/electron/electron/pull/48501) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48500), [38](https://github.com/electron/electron/pull/48499))</span>
  63. * Fixed an issue where child windows could crash if they were opened from a fullscreen parent and have `roundedCorners` set to `false`. [#47664](https://github.com/electron/electron/pull/47664) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47683), [37](https://github.com/electron/electron/pull/47682), [38](https://github.com/electron/electron/pull/47681))</span>
  64. * Fixed an issue where dragging sometimes didn't work after the `contextmenu` event was emitted. [#48199](https://github.com/electron/electron/pull/48199) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48225), [37](https://github.com/electron/electron/pull/48226), [38](https://github.com/electron/electron/pull/48224))</span>
  65. * Fixed an issue where icons didn't show up as expected on Windows Toast notifications. [#48629](https://github.com/electron/electron/pull/48629) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48630))</span>
  66. * Fixed an issue where importing from `electron/utility` in an ESM file threw an error at runtime. [#47998](https://github.com/electron/electron/pull/47998) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48020), [37](https://github.com/electron/electron/pull/48021), [38](https://github.com/electron/electron/pull/48019))</span>
  67. * Fixed an issue where importing from `electron/utility` threw a `ERR_MODULE_NOT_FOUND` error at runtime. [#47968](https://github.com/electron/electron/pull/47968) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47987), [37](https://github.com/electron/electron/pull/47988), [38](https://github.com/electron/electron/pull/47989))</span>
  68. * Fixed an issue where snapped corner state wasn't properly restored after minimizing and then restoring. [#48142](https://github.com/electron/electron/pull/48142) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48155), [37](https://github.com/electron/electron/pull/48156), [38](https://github.com/electron/electron/pull/48157))</span>
  69. * Fixed an issue where snapped windows aren't correctly snapped when minimized and then unminimized. [#48438](https://github.com/electron/electron/pull/48438) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48439), [38](https://github.com/electron/electron/pull/48437))</span>
  70. * Fixed an issue where the accent border was drawn on all windows regardless of the window's active focused status. [#47740](https://github.com/electron/electron/pull/47740) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48012), [37](https://github.com/electron/electron/pull/48011), [38](https://github.com/electron/electron/pull/47802))</span>
  71. * Fixed an issue where the accent color would be accidentally inverted when set to match the system color. [#48085](https://github.com/electron/electron/pull/48085) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48109), [37](https://github.com/electron/electron/pull/48107), [38](https://github.com/electron/electron/pull/48108))</span>
  72. * Fixed an issue where the window required restart in order to recognize system accent color setting change. [#47629](https://github.com/electron/electron/pull/47629) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47657), [37](https://github.com/electron/electron/pull/47656), [38](https://github.com/electron/electron/pull/47658))</span>
  73. * Fixed an issue where users on MacOS were unable to interact with a webpage loaded via loadURL. [#47560](https://github.com/electron/electron/pull/47560) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/47575))</span>
  74. * Fixed an issue where video scrubbing would not correctly hold the new position on playback. [#47703](https://github.com/electron/electron/pull/47703) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47971), [38](https://github.com/electron/electron/pull/47965))</span>
  75. * Fixed an issue where windows opened with `window.open` would never be offscreen. [#47868](https://github.com/electron/electron/pull/47868) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48070), [38](https://github.com/electron/electron/pull/48026))</span>
  76. * Fixed an issue where windows used dark theme on Linux all the time without reacting to system theme changes. [#47869](https://github.com/electron/electron/pull/47869) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47920), [38](https://github.com/electron/electron/pull/47919))</span>
  77. * Fixed applying background material correctly when creating windows on Windows, restored animations, and also fixed the issue where dynamically setting the background material had no effect. [#47386](https://github.com/electron/electron/pull/47386) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/47957), [37](https://github.com/electron/electron/pull/47956), [38](https://github.com/electron/electron/pull/47814))</span>
  78. * Fixed compilation error when disabling extensions and pdf_viewer. [#47964](https://github.com/electron/electron/pull/47964) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/47994), [38](https://github.com/electron/electron/pull/47993))</span>
  79. * Fixed download button does not work in PDF Viewer. [#48404](https://github.com/electron/electron/pull/48404) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48409))</span>
  80. * Fixed excessive WindowServer GPU usage on macOS Tahoe 26. [#48399](https://github.com/electron/electron/pull/48399) <span style="font-size:small;">(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))</span>
  81. * Fixed high CPU usage with `<input>` tag on macOS 26. [#48393](https://github.com/electron/electron/pull/48393) <span style="font-size:small;">(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))</span>
  82. * Fixed potential deadlock inside `app.getLoginItemSettings` on macOS. [#48090](https://github.com/electron/electron/pull/48090) <span style="font-size:small;">(Also in [36](https://github.com/electron/electron/pull/48095), [37](https://github.com/electron/electron/pull/48096), [38](https://github.com/electron/electron/pull/48094))</span>
  83. * Fixed shader-f16 to work on Windows. [#48557](https://github.com/electron/electron/pull/48557) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48556), [38](https://github.com/electron/electron/pull/48555))</span>
  84. * Fixed white flash on call to BrowserWindow.show. [#48559](https://github.com/electron/electron/pull/48559) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48558), [38](https://github.com/electron/electron/pull/48560))</span>
  85. * Titlebar buttons now appear on the correct side of windows on Wayland in Ubuntu. [#48603](https://github.com/electron/electron/pull/48603) <span style="font-size:small;">(Also in [38](https://github.com/electron/electron/pull/48602))</span>
  86. ## Other Changes
  87. * Added `abi_version` file to the npm package. [#47598](https://github.com/electron/electron/pull/47598)
  88. * Added platform-specific conditions to the source_set in chromium_src. [#47627](https://github.com/electron/electron/pull/47627)
  89. * Fixed a development issue where the metal toolchain could not be found when building on macOS 26. [#48472](https://github.com/electron/electron/pull/48472) <span style="font-size:small;">(Also in [37](https://github.com/electron/electron/pull/48471), [38](https://github.com/electron/electron/pull/48473))</span>
  90. * `Electron.Event` object backing class is now managed by v8. [#48161](https://github.com/electron/electron/pull/48161)
  91. * `app` module backing C++ object is now managed by v8. [#48118](https://github.com/electron/electron/pull/48118)
  92. * `session` module backing C++ object is now managed by v8. [#48141](https://github.com/electron/electron/pull/48141)
  93. ## Documentation
  94. * Documentation change
  95. * [#44947](https://github.com/electron/electron/pull/44947)
  96. * [#48002](https://github.com/electron/electron/pull/48002)
  97. * [#48434](https://github.com/electron/electron/pull/48434)
  98. * [#48685](https://github.com/electron/electron/pull/48685)
  99. ## Notices
  100. ### End of Support for 36.x.y
  101. Electron 36.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.

auf github ansehenimported 2026-09-28 über npm