The deprecated new-window event has been removed. #34526
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. #35266 (Also in 20, 21)
Added WebContents.opener to access window opener.
Added webContents.fromFrame(frame) to get the WebContents corresponding to a WebFrameMain instance. #35140 (Also in 21)
Added app.getSystemLocale() method. #35697 (Also in 21)
Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose an API to an isolatedWorld within a renderer from a preload script. #34974
Added webFrameMain.origin. #35438 (Also in 19, 20, 21)
Added an app.getPreferredSystemLanguages() API to return the user's system languages. #36291 (Also in 21)
Added new UtilityProcess API to launch chromium child process with node integration. #36089
Added new WebContents event content-bounds-updated. #35533
Added new WebContents.ipc and WebFrameMain.ipc APIs. #34959 (Also in 21)
Added support for Web Bluetooth pin pairing on Linux and Windows. #35416 (Also in 21)
Added support for navigator.mediaDevices.getDisplayMedia via a new session handler, ses.setDisplayMediaRequestHandler. #30702
Added support for serialPort.forget() as well as a new event serial-port-revoked emitted when a given origin is revoked. #36062
Fixes
Added support for Webauthn discoverable keys (aka resident keys), allowing users to authenticate without first having to select or type a username. #35374
Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux. #36483
Fixed click event and tooltip of Tray not working on Linux. #36472
Fixed an issue where frameless non-resizable windows showed a Windows 7 frame during startup. #36024
Fixed an issue with incomplete EventEmitter object in sandboxed renderer preload script. #35522
Fixed race condition during update on macOS that could result in TCC and Keychain errors. #36362
Removed unneeded --turbo-profiling-input argument from mksnapshot_args. #36463
Also in earlier versions...
Added a background to the WCO container to avoid rendering glitches. #35569 (Also in 19, 20, 21)
Added support for Windows drop-down dialog extensions. #35618 (Also in 18, 19, 20, 21)
Default margin has been added in the code. #36073 (Also in 21)
Enable WCO maximize button when window enters tablet mode and is not already maximized. #35617 (Also in 19, 20, 21)
Fixed uv_os_gethostname failing on Windows 7. #35702 (Also in 19, 20, 21)
... (truncated)
Commits
71941e7 chore: bump chromium to 108.0.5359.62 (22-x-y) (#36478)
8d9a964 fix: enable crashpad for ELECTRON_RUN_AS_NODE processes (#36483)
e879e2f build(deps): bump minimatch from 3.0.4 to 3.0.8 (#36468)
4989994 fix: reimplement Tray with StatusIconLinuxDbus on Linux (#36472)
ccc5a7a fix: remove unneeded --turbo-profiling-input arg from mksnapshot_args… (#36463)
6338350 chore: cherry-pick 7196a42b42ce from chromium (#36458)
1601265 docs: add missing event-emitter link to utility-process docs (#36433)
02eef17 chore: fix dangling promise in npm install (#36398)
17d712e build: force ninja binary to the right arch after src cache restore (#36404)
5085ac7 chore: bump chromium to 108.0.5359.48 (22-x-y) (#36388)
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bennymeg/nx-electron/network/alerts).
Bumps electron from 18.2.4 to 22.0.0.
Release notes
Sourced from electron's releases.
... (truncated)
Commits
71941e7
chore: bump chromium to 108.0.5359.62 (22-x-y) (#36478)8d9a964
fix: enable crashpad for ELECTRON_RUN_AS_NODE processes (#36483)e879e2f
build(deps): bump minimatch from 3.0.4 to 3.0.8 (#36468)4989994
fix: reimplement Tray with StatusIconLinuxDbus on Linux (#36472)ccc5a7a
fix: remove unneeded --turbo-profiling-input arg from mksnapshot_args… (#36463)6338350
chore: cherry-pick 7196a42b42ce from chromium (#36458)1601265
docs: add missing event-emitter link to utility-process docs (#36433)02eef17
chore: fix dangling promise in npm install (#36398)17d712e
build: force ninja binary to the right arch after src cache restore (#36404)5085ac7
chore: bump chromium to 108.0.5359.48 (22-x-y) (#36388)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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bennymeg/nx-electron/network/alerts).