chore(deps): update electron to v37 #2072
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
36.6.0->37.1.0Release Notes
electron/electron (electron)
v37.1.0: electron v37.1.0Compare Source
Release Notes for v37.1.0
Features
Fixes
v37.0.0: electron v37.0.0Compare Source
Release Notes for v37.0.0
Stack Upgrades
138.0.7204.3522.16.013.8Breaking Changes
ProtocolResponse.session's property tonull. #46264Features
Additions
BrowserWindow.isSnapped()to indicate whether a given window has been arranged via Snap. #46079 (Also in 36)before-mouse-eventto allow intercepting and preventing mouse events in WebContents. #47364 (Also in 36)ffmpeg.dllto delay load configuration. #46151 (Also in 34, 35, 36)innerWidthandinnerHeightoptions for window.open. #47039 (Also in 35, 36)nativeTheme.shouldUseDarkColorsForSystemIntegratedUIto distinguish system and app theme. #46438 (Also in 35, 36)scriptURLproperty toServiceWorkerMain. #45863frameoption inmenu.popup. #45138 (Also in 36)HIDDevice.collections. #47483 (Also in 36)--no-experimental-global-navigatorflag. #47418 (Also in 35, 36)screen.dipToScreenPoint(point)andscreen.screenToDipPoint(point)on Linux X11. #46895 (Also in 35, 36)system-context-menuon Linux. #45848 (Also in 35, 36)paletteandheaderon macOS. #47245--experimental-network-inspection. #47031 (Also in 35, 36)win.isContentProtected()to allow developers to check window protection status. #47310 (Also in 36)Improvements
Removed/Deprecated
NativeImage.getBitmap()and fixed incorrect documentation. #46696 (Also in 36)Fixes
webContents.print({ silent: true })would fail. #47397Also in earlier versions...
addChildView()crashes when adding a closed WebContentsView. #47338 (Also in 35, 36)electron.shell.openExternalandelectron.shell.openPathto honor user-defined system defaults on Linux. #45310 (Also in 33, 34, 35, 36)getNativeWindowHandle()crash that affected 36 betas on macOS. #46733 (Also in 36)webContents.print(). #46087 (Also in 35, 36)shell.readShortcutLink. #46294 (Also in 35, 36)navigator.bluetooth.requestDeviceand theselect-bluetooth-deviceevent. #46745 (Also in 34, 35, 36)parentPort. #46437 (Also in 34, 35, 36)utilityProcess.postMessagewhen calling with an invalid transferable. #46639 (Also in 35, 36)session.clearDatain some circumstances. #47412 (Also in 35, 36)window.emit('close')after toggling fullscreen mode. #46605 (Also in 35, 36)electronfor the first time from an ESM module loaded by a CJS module in a packaged app. #47342 (Also in 35, 36)context-menuevent weren't emitted as expected on Windows in draggable regions. #45851 (Also in 34, 35, 36)navigationHistory.restore()failed to restore theuserAgentif it was overridden. #46260 (Also in 34, 35, 36)system-context-menuincorrectly fired for all regions in frameless windows. #45893 (Also in 33, 34, 35, 36)webContents.printToPDF()didn't work as expected with cross-process subframes. #46218 (Also in 34, 35, 36)webContents.printdid not work as expected whenmediaSizewas not passed. #46971 (Also in 36)app.commandLinefunctions. #46004 (Also in 35, 36)Fetch.continueResponsevia debugger withWebContentsViewcould cause a crash. #47444 (Also in 35, 36)UtilityProcess.forkprior to the app ready event would cause a crash. #46380 (Also in 34, 35, 36)backgroundMaterialfeature did not work in a frameless window on initial window creation. #46657 (Also in 35, 36)--inspect-brkfailing in packaged apps. #46560 (Also in 35, 36)assertNode.js module in the renderer process. #46528 (Also in 35, 36)pushNotifications.registerForAPNSNotifications(). #46101 (Also in 34, 35, 36)enable_electron_extensions=false. #46812 (Also in 34, 35, 36)*filter was included. #46660 (Also in 34, 35, 36)autoUpdateron macOS when zip extraction failed. #47302 (Also in 34, 35, 36)app.getGPUInfopromise. #46434 (Also in 34, 35, 36)treatPackageAsDirectoryis enabled on macOS. #47108 (Also in 35, 36)webContents.print()where the callback would not be called. #47398 (Also in 35, 36)win.setContentProtected()on Windows. #47033 (Also in 35, 36)enabled = false), it is now greyed out. #46307 (Also in 34, 35, 36)Other Changes
4010597. #459364010597. #459414090597. #473584206375. #47356Documentation
Notices
End of Support for 34.x.y
Electron 34.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.