chore(deps): update dependency electron to v39 #854
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:
^38.4.0->^39.0.0Release Notes
electron/electron (electron)
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.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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.This PR has been generated by MintMaker (powered by Renovate Bot).