[deps] Platform: Update electron to v39 #17301
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
37.7.0->39.2.0Release Notes
electron/electron (electron)
v39.2.0: electron v39.2.0Compare Source
Release Notes for v39.2.0
Features
app.isHardwareAccelerationEnabled(). #48680 (Also in 37, 38)window.setAccentColor(null). #48852 (Also in 38)nativeImage.createFromNamedImageto support SF Symbol names. #48773 (Also in 40)Fixes
Other Changes
v39.1.2: electron v39.1.2Compare Source
Release Notes for v39.1.2
Fixes
Other Changes
Documentation
Unknown
v39.1.1: electron v39.1.1Compare Source
Release Notes for v39.1.1
Fixes
v39.1.0: electron v39.1.0Compare Source
Release Notes for v39.1.0
Fixes
Other Changes
v39.0.0: electron v39.0.0Compare Source
Release Notes for v39.0.0
Stack Upgrades
142.0.7444.5222.20.014.2Breaking Changes
colorSpaceto offscreen shared texture info ofwebContents.on('paint')event.OffscreenSharedTextureto provide a unifiedhandlethat holds the native handle. #47315window.openwhere it should always create a resizable popup window but did not. #47540For breaking changes inherited via Chromium, see blog post
Features
Additions
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48504fileBackedandpurgeablefields toprocess.getSystemMemoryInfo()for macOS. #47628 (Also in 37, 38)guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #47838 (Also in 36, 37, 38)webFrameMain.fromFrameToken(processId, frameToken)to get aWebFrameMaininstance from its frame token. #47850 (Also in 38)app.getRecentDocuments()on Windows and macOS. #45839 (Also in 36, 37, 38)USBDevice.configurations. #47459systemPreferences.getAccentColor. #48628{get|set}AccentColor. #47741 (Also in 36, 37, 38)DIR_ASSETSinstead ofDIR_MODULE/DIR_EXEto locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath. #47439 (Also in 37, 38)Fixes
systemPreferences.getAccentColorinverted the color. #48624webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48623webContents.session. #48344--enable-features=Feature:ParamA/Value. #48442Also in earlier versions...
GetPackageJSON. #48425 (Also in 37, 38)XDG_SESSION_TYPEenvironment variable. #48310 (Also in 38)dialog.showMessageBoxdefault button handling. #48521 (Also in 36, 37, 38)appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47825 (Also in 36, 37, 38)Refererheader was not being set correctly when usingwebContents.downloadURL(). #47625 (Also in 36, 37, 38)webContents.loadURL()from a failedwebContents.loadURL()call's catch handler. #48004 (Also in 36, 37, 38)-electron-corner-smoothingCSS rule to a stylesheet with no associated document. #47759 (Also in 37, 38)desktopCapturer.getSourceswith an empty thumbnail size. #47641 (Also in 36, 37, 38)webContentsfunctions afterwindow.close(). #47933 (Also in 36, 37, 38)dialog.showOpenDialogon Windows with an empty extension filter array. #48658 (Also in 37, 38)setContentProtectiondidn't work as expected. #47856 (Also in 36, 37, 38)app.accessibilitySupportEnableddidn't work as expected. #48041 (Also in 37, 38)dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48181 (Also in 38)net.isOnline()always returnedtruein utilityProcesses. #48111 (Also in 36, 37, 38)require('node:sqlite')didn't work. #47706 (Also in 36, 37, 38)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48518 (Also in 38)shell.openPathwas not non-blocking as expected. #48079 (Also in 36, 37, 38)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48621 (Also in 38)accentColorwould result in a white accent color. #47660 (Also in 37, 38)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48597 (Also in 37, 38)roundedCornersset tofalse. #47664 (Also in 36, 37, 38)contextmenuevent was emitted. #48199 (Also in 36, 37, 38)electron/utilityin an ESM file threw an error at runtime. #47998 (Also in 36, 37, 38)electron/utilitythrew aERR_MODULE_NOT_FOUNDerror at runtime. #47968 (Also in 36, 37, 38)window.openwould never be offscreen. #47868 (Also in 37, 38)<input>tag on macOS 26. #48393 (Also in 36, 37, 38)app.getLoginItemSettingson macOS. #48090 (Also in 36, 37, 38)Other Changes
abi_versionfile to the npm package. #47598Electron.Eventobject backing class is now managed by v8. #48161appmodule backing C++ object is now managed by v8. #48118sessionmodule backing C++ object is now managed by v8. #48141Documentation
Notices
End of Support for 36.x.y
Electron 36.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.
v38.7.1Compare Source
v38.7.0: electron v38.7.0Compare Source
Release Notes for v38.7.0
Features
app.isHardwareAccelerationEnabled(). #48681 (Also in 37, 39)window.setAccentColor(null). #48853 (Also in 39)Fixes
webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48926 (Also in 39)Other Changes
4600173. #48950Unknown
v38.6.0: electron v38.6.0Compare Source
Release Notes for v38.6.0
Fixes
Other Changes
v38.5.0: electron v38.5.0Compare Source
Release Notes for v38.5.0
Features
Fixes
dialog.showOpenDialogon Windows with an empty extension filter array. #48660 (Also in 37, 39)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48620 (Also in 37, 39)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48595 (Also in 37, 39)Other Changes
Documentation
v38.4.0: electron v38.4.0Compare Source
Release Notes for v38.4.0
Features
Fixes
v38.3.0: electron v38.3.0Compare Source
Release Notes for v38.3.0
Fixes
dialog.showMessageBoxdefault button handling. #48519 (Also in 36, 37, 39)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48517 (Also in 39)Other Changes
v38.2.2: electron v38.2.2Compare Source
Release Notes for v38.2.2
Fixes
GetPackageJSON. #48424 (Also in 37, 39)v38.2.1: electron v38.2.1Compare Source
Release Notes for v38.2.1
Fixes
v38.2.0: electron v38.2.0Compare Source
Release Notes for v38.2.0
Features
Fixes
XDG_SESSION_TYPEenvironment variable. #48309<input>tag on macOS 26. #48394 (Also in 37, 39)v38.1.2: electron v38.1.2Compare Source
Release Notes for v38.1.2
Other Changes
v38.1.1: electron v38.1.1Compare Source
Release Notes for v38.1.1
Other Changes
v38.1.0: electron v38.1.0Compare Source
Release Notes for v38.1.0
Other Changes
v38.0.0: electron v38.0.0Compare Source
Release Notes for v38.0.0
Stack Upgrades
140.0.7339.4122.18.014.0Breaking Changes
Features
Additions
before-mouse-eventto allow intercepting and preventing mouse events in WebContents. #47280 (Also in 36, 37)fileBackedandpurgeablefields toprocess.getSystemMemoryInfo()for macOS. #48146 (Also in 37)innerWidthandinnerHeightoptions for window.open. #46749 (Also in 35, 36, 37)guidTrayconstructor option on macOS to allow tray icons to maintain position across launches. #48077 (Also in 36, 37)webFrameMain.fromFrameToken(processId, frameToken)to get aWebFrameMaininstance from its frame token. #47942app.getRecentDocuments()on Windows and macOS. #47924 (Also in 36, 37)--no-experimental-global-navigatorflag. #47370 (Also in 35, 36, 37)HIDDevice.collections. #47391 (Also in 36, 37)screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #46211 (Also in 35, 36, 37)paletteandheaderon macOS. #45538 (Also in 37)--experimental-network-inspection. #46690 (Also in 35, 36, 37){get|set}AccentColor. #47939 (Also in 36, 37)Improvements
win.isContentProtected()to allow developers to check window protection status. #47242 (Also in 36, 37)DIR_ASSETSinstead ofDIR_MODULE/DIR_EXEto locate assets and resources, and added "assets" as a key that can be queried viaapp.getPath. #47950 (Also in 37)Fixes
dialog.showMessageDialogshowed a window incorrectly centered to monitor instead of parent window when passed. #48215chrome://accessibilitypage. #47497Also in earlier versions...
addChildView()crashes when adding a closed WebContentsView. #47099 (Also in 35, 36, 37)appextensions filters didn't allow for selecting app bundles in macOS file dialogs. #47841 (Also in 36, 37)Refererheader was not being set correctly when usingwebContents.downloadURL(). #47867 (Also in 36, 37)