Added DownloadItem.getCurrentBytesPerSecond(), DownloadItem.getPercentComplete(), DownloadItem.getEndTime(). #42915 (Also in 30, 32)
Aligned failure pathway in File System Access API with upstream when attempting to open a file or directory in a blocked path. #42994 (Also in 32)
Fixes
Fixed a potential crash when using off screen rendering. #42941 (Also in 30, 32)
Fixed an issue where navigator.mediaDevices.getUserMedia and navigator.getUserMedia should reject with a NotAllowedError if microphone or camera permissions have been denied at the system level on macOS. #42937 (Also in 30, 32)
Fixed an issue where calling BrowserWindow.setBackgroundColor with some level of transparency could cause a crash. #42928 (Also in 32)
Other Changes
Fix: fixed the npm run lint not working on Windows. #42906 (Also in 32)
Fixed a potential error when calling webContents.close() on a BrowserView. #42810 (Also in 32)
Fixed an issue where High Contrast Mode didn't apply to webContents on Windows. #42859 (Also in 32)
Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #42861 (Also in 32)
Fixed an issue where sources returned by the desktopCapturer API and screen.getAllDisplays() no longer matched on Windows. #42890 (Also in 32)
Fixed an issue where the File System Access API did not remember the user's last picked directory as expected. #42893 (Also in 32)
Fixed crash when resolving proxy with session.resolveProxy api. #42897 (Also in 32)
electron v31.2.0
Release Notes for v31.2.0
Features
Enabled the Windows Control Overlay API on Linux. #42682 (Also in 30, 32)
Fixes
Fixed a focus issue when calling BrowserWindow.setTopBrowserView. #42734 (Also in 30, 32)
Fixed an issue where Chromium could crash on a dangling unretained pointer in one of several webRequest functions. #42751 (Also in 32)
Fixed an issue where navigator.mediaDevices.enumerateDevices could return broken results in some cases after calling session.setPermissionCheckHandler. #42809 (Also in 30, 32)
Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux. #42678 (Also in 29, 30, 32)
Fixed an issue where the user-specified default path did not work in some circumstances when using Linux dialogs. #42685 (Also in 30, 32)
Other Changes
Fixed an issue where opening multiple file pickers on Windows via the input tag could cause a crash. #42825 (Also in 32)
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| electron | [>= 12.0.a, < 12.1] |
| electron | [>= 15.0.a, < 15.1] |
| electron | [>= 16.0.a, < 16.1] |
| electron | [>= 17.0.a, < 17.1] |
| electron | [>= 23.0.a, < 23.1] |
| electron | [>= 30.0.a, < 30.1] |
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 28.2.3 to 31.3.0.
Release notes
Sourced from electron's releases.
... (truncated)
Commits
9e14f8d
feat: emit an event when accessing restricted path in File System Access API ...f797f92
docs: note macOS fullscreen events in fullscreen query (#43016)7f6eab8
docs: improve desktop capture example (#43005)b288f3e
refactor: remove WindowListObserver::OnWindowAdded() (#42984)b833c3f
chore: remove unused BaseWindow::GetWeakPtr() (#42988)d53f1d8
chore: remove unused WrappableBase::AfterInit() (#42986)e259dd5
chore: remove unused typedef CreateDownloadPathCallback (#42968)daf8d22
refactor: remove unused web contents preferences methods (#42969)6249f59
chore: bump chromium to 126.0.6478.183 (31-x-y) (#42942)6c1409a
chore: remove unused fieldElectronBrowserClient::browser_main_parts_
(#42965)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | electron | [>= 12.0.a, < 12.1] | | electron | [>= 15.0.a, < 15.1] | | electron | [>= 16.0.a, < 16.1] | | electron | [>= 17.0.a, < 17.1] | | electron | [>= 23.0.a, < 23.1] | | electron | [>= 30.0.a, < 30.1] |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 show