Niklas Wenzel
7e0499d55d
feat: support heap profiling in contentTracing ( #51178 )
...
* feat: support heap profiling in `contentTracing`
* chore: backport crrev.com/c/7603976 to fix DCHECK failure
* fix: heap profiling test flakes (#51224 )
2026-04-29 11:29:46 -07:00
trop[bot]
9867bbbde8
docs: add further disposition description ( #51369 )
...
* docs: add further disposition description
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
* add option descriptions
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
* fix linter
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
2026-04-28 11:14:58 -05:00
reito
93cc936a94
fix: offscreen rendering with correct screen info. ( #50375 )
...
* fix: osr use correct screen info.
Co-authored-by: reito <reito@chromium.org >
* chore: e patches all (trivial only)
* 更新 breaking-changes.md
* chore: fixup .patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2026-04-24 12:36:54 -04:00
trop[bot]
fe2e7d0073
fix: restrict window.open features to allowlisted BrowserWindow options ( #50948 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Attard <sattard@anthropic.com >
2026-04-11 19:04:40 -07:00
trop[bot]
0bb55bb6f2
fix: move Electron help menu links to default app only ( #50859 )
...
fix: move Electron help menu links to default app only (#50629 )
* fix: remove Electron links from default help menu
* fix: remove help menu entirely from default menu
* fix: move Electron help menu links to default app
* docs: update default menu items list in menu.md
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Zeenat Lawal <zeenatlawal82@gmail.com >
2026-04-09 15:13:32 -07:00
trop[bot]
fb150b2f17
docs: link menu type references ( #50752 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: lilianakatrina684-a11y <lilianakatrina684@gmail.com >
2026-04-06 17:27:35 -04:00
trop[bot]
476a864388
feat: make Chrome extensions work on custom protocols ( #50529 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2026-04-02 20:09:56 -07:00
trop[bot]
f49f6b1a29
docs: clarify allowed characters in protocol names ( #50538 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2026-03-27 09:58:46 -04:00
trop[bot]
6a8d187105
feat: add accessibilityDisplayShouldDifferentiateWithoutColor on macOS ( #50408 )
...
feat: add nativeTheme.shouldDifferentiateWithoutColor on macOS
Adds nativeTheme.shouldDifferentiateWithoutColor on macOS that maps to
NSWorkspace.accessibilityDisplayShouldDifferentiateWithoutColor. If true,
the user has indicated that they prefer UI that differentiates items with
something other than color alone. This is useful for users with color
vision deficiency.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Robert Böhnke <robb@robb.is >
2026-03-25 15:53:31 -04:00
trop[bot]
29622930a0
feat: support notification priority on Windows ( #50382 )
...
* feat: support notification priority on Windows
Add Windows notifications support urgency/priority levels.
This maps the existing `urgency` option (previously Linux-only) to
Windows toast notification priorities:
- 'critical' maps to ToastNotificationPriority_High, which sorts the
notification above default-priority items in Action Center.
- 'normal' and 'low' both map to ToastNotificationPriority_Default.
Note that on Windows, 'critical' priority does not prevent the toast
from being auto-dismissed. Users should additionally set `timeoutType`
to 'never' for that behavior.
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: make linter happy
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-03-25 15:49:00 -04:00
trop[bot]
105c5591d0
docs: update the example of webContents.setWindowOpenHandler to cla… ( #50293 )
...
docs: reorganize the comments for clarifying `webContents.setWindowOpenHandler` example
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: z0gSh1u <zx.cs@qq.com >
2026-03-16 12:53:05 -04:00
trop[bot]
3678edfa37
feat: WebContents.getOrCreateDevToolsTargetId() ( #50176 )
...
* Feat: support getDevToolsId() on WebContents
* Rename to `getOrCreateDevToolsTargetId`
* build: use spawn instead of spawnSync for build (#49774 )
* Fix build
* formatting
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kyle Cutler <67761731+kycutler@users.noreply.github.com >
2026-03-10 12:22:32 -04:00
trop[bot]
26fb36b7fb
fix: screen.getCursorScreenPoint() crash on Wayland ( #50105 )
...
* docs: document that getCursorScreenPoint() needs a Window on Wayland
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* feat: add IsWayland() helper
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* fix: Wayland crash in GetCursorScreenPoint()
fix: support Screen::GetCursorScreenPoint() on X11
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-03-08 19:20:34 +01:00
trop[bot]
c5978261a4
docs: cleanup desktop-capturer doc after chromium audio capture additions ( #50114 )
...
* docs: cleanup desktop-capturer doc after chromium audio capture additions
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
* Apply suggestions from code review
Co-authored-by: Erick Zhao <erick@hotmail.ca >
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com >
* disable linter for list in note
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Michaela Laurencin <mlaurencin@electronjs.org >
Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com >
2026-03-06 16:05:26 -05:00
trop[bot]
1bd08111e7
docs: add more api history (C-D) ( #50083 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2026-03-05 17:14:17 +01:00
trop[bot]
ac54002bac
feat: show toast dismissal reason on Windows ( #50029 )
...
* feat: show toast dismissal reason on Windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* Update docs/api/notification.md
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-03-05 11:29:27 +01:00
trop[bot]
e4040abb94
fix: update label/sublabel/icon in MenuItems on open ( #49972 )
...
fix: update label/sublabel/icon in macOS item on open
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-03-02 12:50:39 +01:00
trop[bot]
6dcbf464f4
feat: add support for --experimental-transform-types ( #49882 )
...
* feat: add support for `--experimental-transform-types`
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* chore: add tests
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* docs: add `--experimental-transform-types` to docs
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2026-02-25 12:56:35 -05:00
trop[bot]
e600ad9dac
docs: mark "Show hidden files" file dialog setting as deprecated on Linux ( #49948 )
...
* fix: don't overwrite "Show hidden files" setting on Linux/GTK
Co-authored-by: zonescape <44441590+zonescape@users.noreply.github.com >
* docs: deprecate showHiddenFiles property in dialogs on Linux
Co-authored-by: zonescape <44441590+zonescape@users.noreply.github.com >
* docs: mark Electron 42 as the removal date for this feature
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: zonescape <44441590+zonescape@users.noreply.github.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-02-25 11:40:50 -05:00
trop[bot]
ed26c173b1
docs: fix some string enum typings ( #49930 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-24 11:20:01 -05:00
trop[bot]
27594e03d7
fix: rgbaf16 shared texture remove keyed mutex. ( #49876 )
...
* fix: rgbaf16 shared texture remove keyed mutex.
Co-authored-by: reito <reito@chromium.org >
* fix: rgbaf16 patch.
Co-authored-by: reito <reito@chromium.org >
* 更新 shared-texture-handle.md
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
Co-authored-by: reito <reito@chromium.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: reito <reito@chromium.org >
2026-02-19 20:22:10 +01:00
Shelley Vohr
e6a25dc66d
feat: allow defaulting to printer default page size ( #49812 )
...
Co-authored-by: Edvan de Matos <edvan.santos@querodelivery.com >
2026-02-19 14:24:30 +01:00
trop[bot]
5666e2308e
chore: use relative links from docs/ to files outside of docs/ ( #49866 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-19 14:23:37 +01:00
trop[bot]
62a60064a0
docs: note required windows in 'new-window-for-tab' event ( #49859 )
...
docs: note required windows in new-window-for-tab
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-18 20:36:46 -08:00
trop[bot]
c6a9972d45
feat: add support for long-animation-frame script attribution ( #49773 )
...
* feat: add support for `long-animation-frame` script attribution
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* docs: document `AlwaysLogLOAFURL`
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* chore: add test
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* docs: adjust docs as per PR comment
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* fix: test failures
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* chore: simplify test
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* fix: tests on Windows and Linux
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
* chore: update patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
2026-02-18 15:00:07 -05:00
trop[bot]
0853587510
feat: improve Windows Toast actions support ( #49787 )
...
* feat: improve Windows Toast actions support
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* fix: ensure MSIX compatibility
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* test: add bad clsid format test
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-18 13:23:53 -05:00
trop[bot]
933308863e
feat: add support for disclaiming utility processes ( #49693 )
...
* feat: add support for disclaiming utility processes
Co-authored-by: Samuel Attard <sattard@anthropic.com >
* chore: update patches
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@anthropic.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2026-02-11 13:52:14 -08:00
trop[bot]
e3f6f96a25
docs: fix typos across documentation ( #49757 )
...
Fix 40 typos across 25 documentation files including misspellings,
missing words, doubled words, wrong words, and grammatical errors.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: ron <ronald_eddy@yahoo.com >
2026-02-11 16:50:06 +01:00
trop[bot]
78c7dc3d84
fix: address upstream Chromium shift to enable CoreAudio Tap API for audio capture used in electron's desktopCapturer ( 🍏 macOS). ( #49739 )
...
* fix: Enable CoreAudio Tap API for Audio Capture (🍏 macOS)
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
* fix: addressed markdown issue which caused pre-commit hook failure
🧑🔧 : Ref : https://github.com/electron/electron/pull/49717#issuecomment-3874660013
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
* fix: updated docs to cover `desktopCapturer` nuances with macOS
📝 : PR https://github.com/electron/electron/pull/49717
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
2026-02-11 12:50:08 +01:00
trop[bot]
e22252c689
docs: fix framerate limit when osr with shared texture ( #49728 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: reito <reito@chromium.org >
2026-02-09 15:36:55 +01:00
trop[bot]
7863318e51
fix: default accelerator for role-based menu items ( #49668 )
...
fix: apply default accelerator for role-based menu items
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-05 10:58:19 -05:00
trop[bot]
2dbdf223b7
feat: add focusOnNavigation flag to WebPreferences ( #49511 )
...
* feat: add focusOnNavigation webPreference
Co-authored-by: Kyle Cutler <kycutler@microsoft.com >
* WebContentsView tests
Co-authored-by: Kyle Cutler <kycutler@microsoft.com >
* fix
Co-authored-by: Kyle Cutler <kycutler@microsoft.com >
* fix
Co-authored-by: Kyle Cutler <kycutler@microsoft.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kyle Cutler <kycutler@microsoft.com >
2026-02-04 15:44:03 -05:00
trop[bot]
efc8595b25
docs: add Wayland note to win.getPosition() and win.getBounds() ( #49659 )
...
docs: add Wayland note to win.getPosition()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-04 11:51:11 -05:00
trop[bot]
3d5986e29a
fix: wrong cause and removed flag in cookie change listener ( #49631 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: mrchaofan <lcfme@icloud.com >
2026-02-03 14:00:30 -05:00
trop[bot]
26079bd762
feat: msix auto-updater ( #49586 )
2026-02-02 14:21:40 +01:00
trop[bot]
ee3afeb27b
docs: app.getGPUInfo() may reject ( #49618 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org >
2026-02-02 11:18:13 +01:00
trop[bot]
c3f6a15467
docs: correct type for process.noDeprecation ( #49546 )
...
* docs: correct type for process.noDeprecation
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* docs: mark `noDeprecation` as optional instead
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-01-27 11:34:36 +01:00
trop[bot]
1b16b6a315
docs: add type reference links in Menu and MenuItem API documentation ( #49526 )
...
* docs: add type reference links in Menu and MenuItem API documentation
Co-authored-by: Sourav Bera <sbera987654321@gmail.com >
* docs: revert type links in Menu return types to fix parser
Co-authored-by: Sourav Bera <sbera987654321@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sourav Bera <sbera987654321@gmail.com >
2026-01-26 14:27:53 +01:00
trop[bot]
95417f9e46
docs: document that shell.trashItem requires backslashes ( #49481 )
...
docs: Update shell.md: Document that shell.trashItem requires backslashes
In Windows many functions relating to files (e.g. shell.openItem, the Node fs functions, as well as native Win32 APIs) will accept either type of slash / or \ as a folder separator.
shell.trashItem does not work with / as folder separator in Windows. This documentation change explains that.
See also:
https://github.com/electron/electron/issues/28831
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: sam marshall <s.marshall@open.ac.uk >
2026-01-21 14:51:12 -05:00
trop[bot]
5976fa394b
docs: add a few API history fragments ( #49478 )
...
* docs: add a few API history fragments
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* manual fixes
Co-authored-by: Erick Zhao <erick@hotmail.ca >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2026-01-21 13:12:06 -05:00
Niklas Wenzel
7851a34c2d
docs: fix webContents.hostWebContents types ( #49424 )
2026-01-19 10:45:23 +01:00
Erick Zhao
dae76c2885
docs: remove stale example and standardize DevTools capitalization ( #49321 )
...
* docs: remove stale example and standardize `DevTools` capitalization
* Update docs/api/web-contents.md
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
---------
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
2026-01-14 10:35:53 +01:00
Erick Zhao
5901d8a6d8
docs: document ELECTRON_SKIP_BINARY_DOWNLOAD ( #49320 )
2026-01-07 14:54:22 -08:00
Niklas Wenzel
44fa30695f
docs: update roundedCorners documentation ( #49195 )
2026-01-05 16:27:46 -05:00
Luke Horwell
fdb7fc7794
docs: Clarify that menus use non-native styles ( #45033 )
...
* docs: Clarify menus use non-native styles
Addresses #42262
* empty commit to kick ci
* fix: make linter happy
* Strip trailing space for lint
---------
Co-authored-by: George Xu <george.xu@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2025-11-25 18:27:46 +01:00
Teo Yu Qi
05233b4962
docs: explain how to create transparent window using BaseWindow ( #48921 )
...
docs: clarify how to create transparent BaseWindow
2025-11-23 21:40:42 +01:00
reito
2200a70e8d
feat: import shared texture supports nv12. ( #48922 )
2025-11-21 10:32:29 -05:00
Shelley Vohr
13e84e6868
fix: abort more descriptively for beforeunload ( #48960 )
2025-11-18 12:16:08 -05:00
Niklas Wenzel
05b9a5bfc7
docs: fix docs for app.isHardwareAccelerationEnabled() ( #48925 )
2025-11-13 14:39:59 -05:00
Niklas Wenzel
511809ef63
docs: explain how to load SF Symbols with nativeImage ( #48908 )
...
* docs: explain how to load SF Symbols with `nativeImage`
* fix: use single quotes
* fix: use single quotes
2025-11-13 10:41:00 -05:00