Removed the old BrowserWindowProxy-based implementation of window.open. This also removes the nativeWindowOpen option from webPreferences. #29405
Features
Additions
Added 'focus' and 'blur' events to WebContents. #25873
Added BrowserWindow method to change the button color, symbol color, and height of a window with WCO enabled. #33440
Added nativeTheme.inForcedColorsMode API to allow detecting forced color mode. #33357 (Also in 15, 16, 17)
Added Substitutions menu roles on macOS: showSubstitutions, toggleSmartQuotes, toggleSmartDashes, toggleTextReplacement. #32024
Added first-instance-ack event to the app.requestSingleInstanceLock() flow, so that users can pass some data back from the second instance to the first instance. #31460
Added height option for Windows Control Overlay. #31222 (Also in 15, 16, 17)
Added ses.setCodeCachePath() API for setting code cache directory. #33286 (Also in 17)
Added support for more color formats in setBackgroundColor. #33364
Added warning that preload scripts will be sandboxed by default beginning in Electron 20. #33203
Support obsolete blowfish ciphers bf-{cbc,cfb,ecb} through the Node.js crypto API. #32356 (Also in 17)
Fixes
Fixed a V8 crash that could happen randomly in non-sandboxed renderer processes. #33260
Fixed a bug where BrowserWindow.fromWebContents would return undefined during the browser-window-created event. #33316
Fixed an issue where First Party Sets were not correctly loaded on app launch. #33345
Fixed an issue where new bounds set via setBounds was not correctly applied if the user was moving or resizing the window concurrently on Windows. #33375
Fixed an issue where pages would not properly print on macOS due to a rendering failure. #32813
Fix: initialize asar support in worker threads. #33396
Fixed the IncrementCapturerCount regression introduced by 13.0.0-beta.21. #33371
Also in earlier versions....
Allowed specifying x64 arch on Mac Rosetta via npm_config_arch. #32266 (Also in 15, 16, 17)
Assertion failure happening in the showSaveDialogSync() code path has been fixed. (Fixes #31997). #32049 (Also in 14, 15, 16, 17)
Bug fixed for registering protocol in windows which used to set invalid command if the execution path included space. #32220 (Also in 14, 15, 16, 17)
Fire 'show' event when a BrowserWindow is shown via maximize(). #33214 (Also in 16, 17)
Fixed BrowserWindow.showInactive restoring a maximized window to non-maximized on Windows. #33022 (Also in 16, 17)
Fixed VoiceOver not reading typed words correctly in MAS builds. #32543 (Also in 17)
Fixed maxWidth not working in BrowserWindow constructor options. #32628 (Also in 17)
Fixed window.open not overriding parent's webPreferences. #32057 (Also in 15, 16, 17)
Fixed a crash caused by app.getLocaleCountryCode(). #32256 (Also in 15, 16, 17)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps electron from 17.2.0 to 18.0.0.
Release notes
Sourced from electron's releases.
... (truncated)
Commits
da6996d
Bump v18.0.04cfa648
Revert "Bump v18.0.0" (#33493)86294aa
Revert "Bump v18.0.1"50d9fd2
Bump v18.0.106b3615
ci: fixup esbuild on macos (#33492)8680415
Bump v18.0.035bf159
chore: update node types version (#33477)f8c7408
chore: bump chromium to 100.0.4896.56 (18-x-y) (#33475)9b1e7a8
docs: simplify skipTaskbar breaking changes text (#33479) (#33482)765e102
feat: add WCO title bar style setters (#33440)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)