chore(deps): update electron to v40 #2541
Merged
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:
39.2.7→40.0.0Release Notes
electron/electron (electron)
v40.0.0: electron v40.0.0Compare Source
Release Notes for v40.0.0
Stack Upgrades
144.0.7559.60v24.11.114.4Breaking Changes
Features
Additions
RGBAF16output format with scRGB HDR color space support to Offscreen Rendering. #48265 (Also in 39)app.isHardwareAccelerationEnabled(). #47614 (Also in 37, 38, 39)loginevent onwebContents. #49064 (Also in 39)systemPreferences.getAccentColor. #48027 (Also in 39)Improvements
window.setAccentColor(null). #48274 (Also in 38, 39)nativeImage.createFromNamedImageto support SF Symbol names. #48772 (Also in 39)Fixes
--no-stdio-initto be used when nul device is disabled on windows. #47870Also in earlier versions...
GetPackageJSON. #48293 (Also in 37, 38, 39)XDG_SESSION_TYPEenvironment variable. #48301 (Also in 38, 39)dialog.showMessageBoxdefault button handling. #48216 (Also in 36, 37, 38, 39)dialog.showOpenDialogon Windows with an empty extension filter array. #48640 (Also in 37, 38, 39)menu-did-closewas not emitted properly for some application menus. #49092 (Also in 38, 39)shell.openExternalcaused an unexpected dialog to open when there was no app suitable to open the url. #48502 (Also in 38, 39)systemPreferences.getAccentColorinverted the color. #48511 (Also in 37, 38, 39)trafficLightPositionwould not be correctly applied when usingtitleBarStyle: 'customButtonsOnHover'on macOS 26. #48538 (Also in 37, 38, 39)titleBarOverlaywasn't always calculated to provide appropriate minimum contrast. #48568 (Also in 37, 38, 39)webContents.openDevTools({ mode: 'detach' })would cause a crash on Wayland. #48600 (Also in 38, 39)menu.popupwould fire when any arbitrary submenu of the given menu closed, and not the menu itself. #49046 (Also in 38, 39)webContents.sessionorwebContents.debugger. #48318 (Also in 39)--enable-features=Feature:ParamA/Value. #48411 (Also in 39)<input>tag on macOS 26. #48379 (Also in 36, 37, 38, 39)netare now capable of having their headers modified to use reserved headers viawebRequest. #49241 (Also in 39)Other Changes
4453807. #48335 (Also in 36, 37, 38, 39)4667866. #49286Documentation
Notices
End of Support for 37.x.y
Electron 37.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.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.