The webContents.getPrinters API has been deprecated. #39459
The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance APIs have been deprecated, as well as the alternate-selected-control-text value for systemPreferences.getColor. #39492
Features
Additions
Added safeStorage.setUsePlainTextEncryption and safeStorage.getSelectedStorageBackend api. #39107 (Also in 25)
Added safeStorage.setUsePlainTextEncryption and safeStorage.getSelectedStorageBackend api. #39155 (Also in 25)
Added senderIsMainFrame to messages sent via ipcRenderer.sendTo(). #39206 (Also in 24, 25)
Added net.resolveHost that resolves hosts using defaultSession object. #37853 (Also in 24, 25)
Added new 'did-resign-active' event on app. #37933 (Also in 25)
Added partial support for chrome.tabs.query. #39431 (Also in 25)
Added setUSBProtectedClassesHandler to allow access to protected USB classes with WebUSB. #38263 (Also in 24, 25)
Added several new cursor values to the cursor-changed event. #38210 (Also in 24, 25)
Added support for Mica and Acrylic background effects on Windows. #38163 (Also in 24, 25)
Added support for flagging a Menu as being keyboard initiated. #38954
Added support for several more Node.js cli flags in the main process. #39373 (Also in 24, 25)
Added the ability to send HTTP headers with session.downloadURL(). #38871 (Also in 25)
Added thermal management information to powerMonitor. #37935 (Also in 24, 25)
Expose webContents methods to center text selection, scroll to the page bottom and top, as well as adjust selected text. #37978 (Also in 25)
Support Chrome Extensions minimum_chrome_version manifest key. #39357
Surface the context-menu event from extensions. #38029 (Also in 25)
node: prefixed requires are now supported in sandboxed renderer preloads for events, timers and url. #38728 (Also in 24, 25)
Improvements
Improved error message when contentTracing.stopRecording() fails because no trace was in progress. #38488 (Also in 23, 24, 25)
Removed/Deprecated
The enable_desktop_capturer build flag has been removed. #38412
Fixes
Fixed clipboard.readImage() getting blocked when there is no PNG image in the clipboard. #39487
Fixed a crash calling nativeImage.resize() before the app ready event. #38861
Fixed a crash in clipboard.readImage() when reading images copied via context menu on macOS. #39101
Fixed a crash while screen sharing on Wayland with PipeWire. #39264
Fixed a potential crash when calling tray.popUpContextMenu on macOS. #39313
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 25.2.0 to 26.0.0.
Release notes
Sourced from electron's releases.
... (truncated)
Commits
ad385bf
chore: document deprecated systemPreferences APIs (#39492)0a478f9
chore: bump chromium to 116.0.5845.82 (26-x-y) (#39458)92c4697
fix: avoid package.json check on built-in modules (#39422)ceb5230
fix: use nested run loop in clipboard.readImage (#39487)c09ebea
chore: document deprecatedwebContents.getPrinters
API (#39459)5f1ada4
feat: supportminimum_chrome_version
manifest key (#39357)ca899eb
feat: add support forchrome.tabs.query
(#39431)c709e04
chore: update_api_features
manifest requirements (#39436)f9e35e4
feat: allow more Node.js cli flags in main process (#39373)d2ca670
fix: macOS tray button selection with VoiceOver (#39439)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