chore(deps): update dependency electron to v40 - abandoned#776
chore(deps): update dependency electron to v40 - abandoned#776renovate[bot] wants to merge 2 commits intomasterfrom
Conversation
2b42f01 to
28af2be
Compare
28af2be to
f7facbe
Compare
|
@claude The Renovate PR build failed (workflow run: 21467407050). Please analyze the CI failure and implement a fix if possible. Workflow run: https://github.com/olexs/pdf-assembler/actions/runs/21467407050 |
|
Claude finished @olexs's task in 6m 25s —— View job CI Failure Analysis and Fix
Root CauseThe app was crashing on startup because it used the deprecated In the failing tests, the Electron app launched but immediately closed without creating a window, causing all E2E tests to timeout waiting for selectors. This was because the deprecated IPC event listener caused the main process to fail during initialization. Fix AppliedUpdated Changes made:
Validation
CommitPushed fix in commit The CI should now pass with Electron 40. The modern IPC pattern using |
Replace deprecated webContents.on('ipc-message') pattern with modern
ipcMain.on() handlers for Electron 40 compatibility. The old pattern
was removed in Electron 40 and caused the app to crash on startup.
Changes:
- Import ipcMain from electron
- Move IPC handlers to app level (registered once globally)
- Add proper window reference tracking with mainWindow variable
- Add window cleanup on 'closed' event
This fixes the E2E test failures where the app window never opened.
Co-authored-by: Olex S. <olexs@users.noreply.github.com>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
39.3.0→40.1.0Release Notes
electron/electron (electron)
v40.1.0: electron v40.1.0Compare Source
Release Notes for v40.1.0
Features
Fixes
setRepresentedFilename()not settingAXDocumentaccessibility attribute on macOS. #49417 (Also in 39)chrome://accessibility. #49560 (Also in 39, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49501 (Also in 39, 41)Other Changes
4738514. #49487Unknown
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.
v39.4.0: electron v39.4.0Compare Source
Release Notes for v39.4.0
Fixes
chrome://accessibility. #49559 (Also in 40, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49502 (Also in 40, 41)Other Changes
Unknown
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.
This PR was generated by Mend Renovate. View the repository job log.