Refactored webContents.printToPDF to align with the Chrome Devtools implementation. #33654
Features
Added LoadBrowserProcessSpecificV8Snapshot as a new fuse that will let the main/browser process load its v8 snapshot from a file at browser_v8_context_snapshot.bin. Any other process will use the same path as is used today. #35695 (Also in 20)
Added webFrameMain.origin. #35534 (Also in 19, 20)
Added deprecation warning for the new-window event. #34528 (Also in 20)
Added immersive dark mode on Windows. #33624 (Also in 20)
Added new WebContents.ipc and WebFrameMain.ipc APIs. #35231
Added support for Web Bluetooth pin pairing on Linux and Windows. #35818
Added support for panel-like behavior. Window can float over full-screened apps. #34388 (Also in 20)
Added support for push notifications from APNs for macOS apps. #33574
Fixes
Enable missing HKDF support in Node.js crypto. #34767
Fixed a crash that occured when loading non-standard schemes from iframes. #35517
Fixed a crash when switching origins with emulation settings set. #35488
Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created. #35575
Fixed an issue where serialPort.open() failed with NetworkError: Failed to open serial port.. #35339
Fixed an issue where invalid pageSize values would cause a silent hang and eventual crash. #34893
Fixed an issue where some spellcheck functionality would incorrectly throw errors on macOS. #35679
Fixed the 'length' property in UploadFile objects being ignored. #34657
Also in earlier versions...
Added a background to the WCO container to avoid rendering glitches. #35612 (Also in 19, 20)
Added support for --ozone-platform-hint flag on Linux. #34937 (Also in 19, 20)
Adds a warning for building native modules with node-gyp and electron-rebuild, encouraging users to upgrade to >=8.4.0 for node-gyp and >=3.2.8 for electron-rebuild if using Electron 20 or higher.. #35159 (Also in 20)
Do not exit when logging initialization fails. #35138 (Also in 20)
Enable WCO maximize button when window enters tablet mode and is not already maximized. #35664 (Also in 19, 20)
Ensures that requestMediaKeySystemAccess eventually resolves / rejects. #34886 (Also in 19, 20)
Fixed 20.0.0-beta.8 X11 crash regression. #35075 (Also in 20)
Fixed WCO not responding to touch events on windows. #35117 (Also in 18, 19, 20)
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 20.0.1 to 21.0.0.
Release notes
Sourced from electron's releases.
... (truncated)
Commits
d3b678a
Bump v21.0.07bf3913
feat: add support for Web Bluetooth pin pairing (#35818)c979550
feat: add app.getSystemLocale() method (#35794)587abcc
build: fix major dependencies update workflow file (#35817)6e2d2d8
fix: potential exception when calling webFrameMainBinding.fromIdOrNull() (#35...f1e4cfa
build: remove unused GitHub app config file (#35814)9c3d32a
Revert "Bump v21.0.0-beta.9"015be48
Bump v21.0.0-beta.99631cee
feat: allow custom v8 snapshots to be used in the main process and the defaul...0a4b160
fix: allow docking DevTools with WCO (#35765)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)