Skip to content

chore: bump up electron version to v37 #12918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2025

This PR contains the following updates:

Package Change Age Confidence
electron ^35.0.0 -> ^37.0.0 age confidence

Release Notes

electron/electron (electron)

v37.2.6: electron v37.2.6

Compare Source

Release Notes for v37.2.6

Fixes

  • Fixed a bug where the Referer header was not being set correctly when using webContents.downloadURL(). #​47865 (Also in 36, 38)
  • Fixed a crash when calling some webContents functions after window.close(). #​47954 (Also in 36, 38)
  • Fixed an issue on some older Windows versions where setContentProtection didn't work as expected. #​47887 (Also in 36, 38)
  • Fixed an issue where an invalid color passed as a string to accentColor would result in a white accent color. #​47800 (Also in 38)
  • Fixed an issue where video scrubbing would not correctly hold the new position on playback. #​47971 (Also in 38)
  • Fixed an issue where windows used dark theme on Linux all the time without reacting to system theme changes. #​47920 (Also in 38)
  • 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. #​47956 (Also in 36, 38)

Other Changes

  • Updated Chromium to 138.0.7204.185. #​47909

v37.2.5: electron v37.2.5

Compare Source

Release Notes for v37.2.5

Other Changes

  • Updated Chromium to 138.0.7204.168. #​47861

v37.2.4: electron v37.2.4

Compare Source

Release Notes for v37.2.4

Fixes

  • Fixed a bug where app extensions filters didn't allow for selecting app bundles in macOS file dialogs. #​47839 (Also in 36, 38)
  • Fixed an issue where certain operations performed in a window close callback could trigger a crash. #​47813 (Also in 36, 38)

Other Changes

v37.2.3: electron v37.2.3

Compare Source

Release Notes for v37.2.3

Fixes

  • Fixed a child process crash on macOS when the running application is replaced with one that has a newer implementation triggering the sandbox. #​47784 (Also in 38)
  • Fixed a crash when adding the -electron-corner-smoothing CSS rule to a stylesheet with no associated document. #​47792
  • Fixed an issue where require('node:sqlite') didn't work. #​47756 (Also in 36, 38)

v37.2.2: electron v37.2.2

Compare Source

Release Notes for v37.2.2

Other Changes

  • Updated Chromium to 138.0.7204.100. #​47701

v37.2.1: electron v37.2.1

Compare Source

Release Notes for v37.2.1

Fixes

  • Fixed a crash when calling desktopCapturer.getSources with an empty thumbnail size. #​47653 (Also in 36, 38)
  • Fixed an issue where child windows could crash if they were opened from a fullscreen parent and have roundedCorners set to false. #​47682 (Also in 36, 38)
  • Fixed an issue where the window required restart in order to recognize system accent color setting change. #​47656 (Also in 36, 38)

v37.2.0: electron v37.2.0

Compare Source

Release Notes for v37.2.0

Other Changes

v37.1.0: electron v37.1.0

Compare Source

Release Notes for v37.1.0

Features

  • Added support for customizing system accent color and highlighting of active window border. #​47537 (Also in 35, 36)

Fixes

  • Fixed an issue where utility processes could leak file handles. #​47543 (Also in 35, 36)

v37.0.0: electron v37.0.0

Compare Source

Release Notes for v37.0.0

Stack Upgrades

Breaking Changes

  • Added support for Web Serial & WebUSB blocklists. #​46600
  • Fixed an issue where utility processes crashed on unhandled rejections. #​45921
  • Fixed utilityProcess running user script after process.exit is called. #​47492
  • Removed deprecated feature of creating a new random session by setting ProtocolResponse.session's property to null. #​46264

Features

Additions
  • Added BrowserWindow.isSnapped() to indicate whether a given window has been arranged via Snap. #​46079 (Also in 36)
  • Added before-mouse-event to allow intercepting and preventing mouse events in WebContents. #​47364 (Also in 36)
  • Added ffmpeg.dll to delay load configuration. #​46151 (Also in 34, 35, 36)
  • Added innerWidth and innerHeight options for window.open. #​47039 (Also in 35, 36)
  • Added nativeTheme.shouldUseDarkColorsForSystemIntegratedUI to distinguish system and app theme. #​46438 (Also in 35, 36)
  • Added scriptURL property to ServiceWorkerMain. #​45863
  • Added a CSS rule for smooth corners. #​45185
  • Added sublabel functionality for menus on macOS >= 14.4. #​47042 (Also in 35, 36)
  • Added support for Autofill, Writing Tools and Services macOS level menu items in context menus via the new frame option in menu.popup. #​45138 (Also in 36)
  • Added support for HIDDevice.collections. #​47483 (Also in 36)
  • Added support for --no-experimental-global-navigator flag. #​47418 (Also in 35, 36)
  • Added support for screen.dipToScreenPoint(point) and screen.screenToDipPoint(point) on Linux X11. #​46895 (Also in 35, 36)
  • Added support for system-context-menu on Linux. #​45848 (Also in 35, 36)
  • Added support for menu item role palette and header on macOS. #​47245
  • Added support for node option --experimental-network-inspection. #​47031 (Also in 35, 36)
  • Added the priority and priorityIncremental options to net.request(). #​47321 (Also in 36)
  • Exposed win.isContentProtected() to allow developers to check window protection status. #​47310 (Also in 36)
Improvements
  • Improved ASAR integrity checks on Windows. #​46509 (Also in 36)
  • Improved performance of desktopCapturer.getSources when not requesting thumbnails on macOS. #​46138 (Also in 34, 35, 36)
Removed/Deprecated
  • Deprecated NativeImage.getBitmap() and fixed incorrect documentation. #​46696 (Also in 36)

Fixes

  • Fixed an issue on application close on Windows, where not all processes are quit on close. #​47485
  • Fixed an issue where printing PDFs with webContents.print({ silent: true }) would fail. #​47397
Also in earlier versions...
  • Fix: don't copy 'package.json's out of ASAR file. #​46390 (Also in 35, 36)
  • Fix: osr stutter fix backport for electron. #​46650 (Also in 36)
  • Fixed ElectronAccessibilityUI bug. #​46562 (Also in 33, 34, 35, 36)
  • Fixed Minimize menu button to follow set window minimizability on Windows. #​46279 (Also in 34, 35, 36)
  • Fixed NODE_OPTIONS parsing for child processes on macOS. #​46209 (Also in 34, 35, 36)
  • Fixed addChildView() crashes when adding a closed WebContentsView. #​47338 (Also in 35, 36)
  • Fixed electron.shell.openExternal and electron.shell.openPath to honor user-defined system defaults on Linux. #​45310 (Also in 33, 34, 35, 36)
  • Fixed getNativeWindowHandle() crash that affected 36 betas on macOS. #​46733 (Also in 36)
  • Fixed a bug that could cause some maximized windows on Linux to report an incorrect window state. #​46450 (Also in 34, 35, 36)
  • Fixed a crash seen on Linux when calling webContents.print(). #​46087 (Also in 35, 36)
  • Fixed a crash that could occur when dragging and dropping files into the browser. #​46253 (Also in 35, 36)
  • Fixed a crash that could occur when opening some dialogs as windows are closing on macOS. #​46952 (Also in 35, 36)
  • Fixed a possible BrowserWindow crash caused by closing a parent window with focus or blur events. #​46559 (Also in 34, 35, 36)
  • Fixed a possible crash in shell.readShortcutLink. #​46294 (Also in 35, 36)
  • Fixed a possible crash using Node.js on some arm32 devices. #​46435 (Also in 35, 36)
  • Fixed a possible crash using the WebView tag and calling focus. #​47036 (Also in 35, 36)
  • Fixed a possible crash when using navigator.bluetooth.requestDevice and the select-bluetooth-device event. #​46745 (Also in 34, 35, 36)
  • Fixed a potential crash in parentPort. #​46437 (Also in 34, 35, 36)
  • Fixed a potential crash in utilityProcess.postMessage when calling with an invalid transferable. #​46639 (Also in 35, 36)
  • Fixed a potential crash using session.clearData in some circumstances. #​47412 (Also in 35, 36)
  • Fixed a potential crash when closing a window with child windows. #​46758 (Also in 34, 35, 36)
  • Fixed an error when calling window.emit('close') after toggling fullscreen mode. #​46605 (Also in 35, 36)
  • Fixed an error when importing electron for the first time from an ESM module loaded by a CJS module in a packaged app. #​47342 (Also in 35, 36)
  • Fixed an inverted conditional in the above PR that caused broken window borders in some circumstances on Wayland. #​46624 (Also in 33, 34, 35, 36)
  • Fixed an issue where Node.js OOM errors terminate the process directly without raising an OOM exception. #​45895 (Also in 35, 36)
  • Fixed an issue where Web Workers crashed on unhandled rejections. #​45992 (Also in 34, 35, 36)
  • Fixed an issue where context-menu event weren't emitted as expected on Windows in draggable regions. #​45851 (Also in 34, 35, 36)
  • Fixed an issue where navigationHistory.restore() failed to restore the userAgent if it was overridden. #​46260 (Also in 34, 35, 36)
  • Fixed an issue where system-context-menu incorrectly fired for all regions in frameless windows. #​45893 (Also in 33, 34, 35, 36)
  • Fixed an issue where webContents.printToPDF() didn't work as expected with cross-process subframes. #​46218 (Also in 34, 35, 36)
  • Fixed an issue where webContents.print did not work as expected when mediaSize was not passed. #​46971 (Also in 36)
  • Fixed an issue where badly formatted switches could cause crashes in app.commandLine functions. #​46004 (Also in 35, 36)
  • Fixed an issue where calling Fetch.continueResponse via debugger with WebContentsView could cause a crash. #​47444 (Also in 35, 36)
  • Fixed an issue where calling UtilityProcess.fork prior to the app ready event would cause a crash. #​46380 (Also in 34, 35, 36)
  • Fixed an issue where context menu actions such as copy/paste did not correctly fire when a frame was not passed in. #​46595 (Also in 36)
  • Fixed an issue where filters wouldn't apply in the specific case only one was passed. #​46946 (Also in 36)
  • Fixed an issue where packages could be mistakenly not found in asar. #​45997 (Also in 35, 36)
  • Fixed an issue where printing from the renderer process crashes the main process when no printers are installed in the system or there's not a default printer. #​46587 (Also in 34, 35, 36)
  • Fixed an issue where protected transparent windows inappropriately showed a titlebar after visibility change. #​47266 (Also in 35, 36)
  • Fixed an issue where snapped windows in Windows may sometimes be improperly restored. #​46006 (Also in 33, 34, 35, 36)
  • Fixed an issue where the 'suspend' and 'resume' events could be emitted in duplicate. #​47188 (Also in 35, 36)
  • Fixed an issue where the backgroundMaterial feature did not work in a frameless window on initial window creation. #​46657 (Also in 35, 36)
  • Fixed an issue where the resizing border didn't work as expected on Wayland windows. #​46155 (Also in 33, 34, 35, 36)
  • Fixed an issue where the window flickers with either a light or dark color before loading the desired background color. #​47051 (Also in 35, 36)
  • Fixed an issue where transparent child windows on macOS were rendering a grey block as opposed to their correct contents. #​46891 (Also in 35, 36)
  • Fixed an issue with --inspect-brk failing in packaged apps. #​46560 (Also in 35, 36)
  • Fixed an issue with the assert Node.js module in the renderer process. #​46528 (Also in 35, 36)
  • Fixed an issue with token formatting for tokens received after calling pushNotifications.registerForAPNSNotifications(). #​46101 (Also in 34, 35, 36)
  • Fixed build error with enable_electron_extensions=false. #​46812 (Also in 34, 35, 36)
  • Fixed build failure when building with printing disabled. #​46283 (Also in 34, 35, 36)
  • Fixed case where file dialog filters would get mixed up, if a * filter was included. #​46660 (Also in 34, 35, 36)
  • Fixed crash in autoUpdater on macOS when zip extraction failed. #​47302 (Also in 34, 35, 36)
  • Fixed crash in xdg portal version detection on startup. #​47023 (Also in 35, 36)
  • Fixed crash on Linux when PipeWire screenshare source selection is cancelled. #​46112 (Also in 35, 36)
  • Fixed crash on application exit with pending app.getGPUInfo promise. #​46434 (Also in 34, 35, 36)
  • Fixed crash on reconversion with google IME and editcontext on macOS. #​46688 (Also in 34, 35, 36)
  • Fixed crash when renderer process crashes while webview is reloading. #​46735 (Also in 34, 35, 36)
  • Fixed crash with out-of-bounds string read when parsing NODE_OPTIONS. #​46210 (Also in 34, 35, 36)
  • Fixed flickering and ghosting artifacts in transparent windows on macOS. #​46353 (Also in 35, 36)
  • Fixed incorrect titlebar in file save dialogs. #​46067 (Also in 33, 34, 35, 36)
  • Fixed log files written to the current working directory on Windows. #​46910 (Also in 35, 36)
  • Fixed memory leak in AutofillPopupView. #​46384 (Also in 34, 35, 36)
  • Fixed opening package paths as directory when treatPackageAsDirectory is enabled on macOS. #​47108 (Also in 35, 36)
  • Fixed regression with directory selection in macOS dialogs. #​47277 (Also in 35, 36)
  • Fixed several paint and white flash issues on macOS. #​46615 (Also in 35, 36)
  • Fixed the border style of windows with vibrancy on macOS. #​46648 (Also in 35, 36)
  • Fixed the issue where maximizing and restoring the window does not respect the corner radius settings, and the corner radius is incorrect in fullscreen mode. #​46641 (Also in 35, 36)
  • Fixed the issue where rounded corners disappear momentarily when closing on Windows 11. #​46382 (Also in 35, 36)
  • Fixed title changes to not occur while navigating within a page. #​45981 (Also in 34, 35, 36)
  • Fixed xdg portal version detection for file dialogs on linux. #​46922 (Also in 35, 36)
  • Improved webContents loading time when resolving fonts for uncommon scripts. #​45905 (Also in 34, 35, 36)
  • Microtasks are no longer (incorrectly) run by serializing values, including when sending IPC. #​46668 (Also in 34, 35, 36)
  • Partially fixes an issue with printing a PDF via webContents.print() where the callback would not be called. #​47398 (Also in 35, 36)
  • Restored previous window-hiding behavior of win.setContentProtected() on Windows. #​47033 (Also in 35, 36)
  • When a menu item on macOS is disabled (enabled = false), it is now greyed out. #​46307 (Also in 34, 35, 36)

Other Changes

Documentation

Notices

End of Support for 34.x.y

Electron 34.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.

v36.7.4: electron v36.7.4

Compare Source

Release Notes for v36.7.4

Fixes

  • Fixed a bug where the Referer header was not being set correctly when using webContents.downloadURL(). #​47866 (Also in 37, 38)
  • Fixed a crash when calling some webContents functions after window.close(). #​47953 (Also in 37, 38)
  • Fixed an issue on some older Windows versions where setContentProtection didn't work as expected. #​47888 (Also in 37, 38)
  • Fixed an issue where an invalid color passed as a string to accentColor would result in a white accent color. #​47921 (Also in 37, 38)
  • 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. #​47957 (Also in 37, 38)

v36.7.3: electron v36.7.3

Compare Source

Release Notes for v36.7.3

Fixes

  • Fixed a bug where app extensions filters didn't allow for selecting app bundles in macOS file dialogs. #​47840 (Also in 37, 38)
  • Fixed an issue where require('node:sqlite') didn't work. #​47755 (Also in 37, 38)
  • Fixed an issue where certain operations performed in a window close callback could trigger a crash. #​47811 (Also in 37, 38)

Other Changes

v36.7.1: electron v36.7.1

Compare Source

Release Notes for v36.7.1

Fixes

  • Fixed a crash when calling desktopCapturer.getSources with an empty thumbnail size. #​47651 (Also in 37, 38)
  • Fixed an issue where child windows could crash if they were opened from a fullscreen parent and have roundedCorners set to false. #​47683 (Also in 37, 38)
  • Fixed an issue where printing PDFs with webContents.print({ silent: true }) would fail. #​47624 (Also in 37)
  • Fixed an issue where the window required restart in order to recognize system accent color setting change. #​47657 (Also in 37, 38)

v36.7.0: electron v36.7.0

Compare Source

Release Notes for v36.7.0

Other Changes

v36.6.0: electron v36.6.0

Compare Source

Release Notes for v36.6.0

Features

  • Added support for --no-experimental-global-navigator flag. #​47417 (Also in 35, 37)
  • Added support for HIDDevice.collections. #​47484 (Also in 37)
  • Added support for customizing system accent color and highlighting of active window border. #​47538 (Also in 35, 37)

Fixes

  • Fixed an issue where utility processes could leak file handles. #​47541 (Also in 35, 37)

Other Changes

  • Updated Chromium to 136.0.7103.177. #​47500

v36.5.0: electron v36.5.0

Compare Source

Release Notes for v36.5.0

Features

  • Added before-mouse-event to allow intercepting and preventing mouse events in WebContents. #​47365 (Also in 37)
  • Added the priority and priorityIncremental options to net.request(). #​47320 (Also in 37)
  • Exposed win.isContentProtected() to allow developers to check window protection status. #​47311 (Also in 37)

Fixes

  • Fixed addChildView() crashes when adding a closed WebContentsView. #​47340 (Also in 35, 37)
  • Fixed a potential crash using session.clearData in some circumstances. #​47411 (Also in 35, 37)
  • Fixed an error when importing electron for the first time from an ESM module loaded by a CJS module in a packaged app. #​47343 (Also in 35, 37)
  • Fixed an issue where calling Fetch.continueResponse via debugger with WebContentsView could cause a crash. #​47442 (Also in 35, 37)
  • Partially fixes an issue with printing a PDF via webContents.print() where the callback would not be called. #​47400 (Also in 35, 37)

Other Changes

v36.4.0: electron v36.4.0

Compare Source

Release Notes for v36.4.0

Fixes

  • Fixed crash in autoUpdater on macOS when zip extraction failed. #​47300 (Also in 34, 35, 37)

Other Changes

Documentation

v36.3.2: electron v36.3.2

Compare Source

Release Notes for v36.3.2

Fixes

  • Fixed an issue where protected transparent windows inappropriately showed a titlebar after visibility change. #​47264 (Also in 35, 37)
  • Fixed regression with directory selection in macOS dialogs. #​47278 (Also in 35, 37)

Other Changes

  • Updated Chromium to

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 24, 2025
@github-actions github-actions bot added the app:electron Related to electron app label Jun 24, 2025
Copy link
Contributor

coderabbitai bot commented Jun 24, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codecov bot commented Jun 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.82%. Comparing base (9677bdf) to head (bf57f1e).
⚠️ Report is 1 commits behind head on canary.

Additional details and impacted files
@@            Coverage Diff             @@
##           canary   #12918      +/-   ##
==========================================
- Coverage   57.34%   56.82%   -0.53%     
==========================================
  Files        2717     2717              
  Lines      134673   134676       +3     
  Branches    20818    20721      -97     
==========================================
- Hits        77229    76523     -706     
- Misses      55235    55943     +708     
- Partials     2209     2210       +1     
Flag Coverage Δ
server-test 78.09% <ø> (-1.19%) ⬇️
unittest 32.12% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/electron-37.x branch from 5a85f1f to 0aa9463 Compare July 23, 2025 21:43
@renovate renovate bot force-pushed the renovate/electron-37.x branch from 0aa9463 to 70aa5c6 Compare July 31, 2025 15:01
@renovate renovate bot force-pushed the renovate/electron-37.x branch from 70aa5c6 to bf57f1e Compare August 6, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:electron Related to electron app dependencies Pull requests that update a dependency file
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

0 participants