fix(deps): update dependency electron to v37 #1900
Open
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:
^31.7.7
->^37.1.0
Release 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.35
22.16.0
13.8
Breaking 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-event
to allow intercepting and preventing mouse events in WebContents. #47364 (Also in 36)ffmpeg.dll
to delay load configuration. #46151 (Also in 34, 35, 36)innerWidth
andinnerHeight
options for window.open. #47039 (Also in 35, 36)nativeTheme.shouldUseDarkColorsForSystemIntegratedUI
to distinguish system and app theme. #46438 (Also in 35, 36)scriptURL
property toServiceWorkerMain
. #45863frame
option inmenu.popup
. #45138 (Also in 36)HIDDevice.collections
. #47483 (Also in 36)--no-experimental-global-navigator
flag. #47418 (Also in 35, 36)screen.dipToScreenPoint(point)
andscreen.screenToDipPoint(point)
on Linux X11. #46895 (Also in 35, 36)system-context-menu
on Linux. #45848 (Also in 35, 36)palette
andheader
on 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.openExternal
andelectron.shell.openPath
to 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.requestDevice
and theselect-bluetooth-device
event. #46745 (Also in 34, 35, 36)parentPort
. #46437 (Also in 34, 35, 36)utilityProcess.postMessage
when calling with an invalid transferable. #46639 (Also in 35, 36)session.clearData
in some circumstances. #47412 (Also in 35, 36)window.emit('close')
after toggling fullscreen mode. #46605 (Also in 35, 36)electron
for the first time from an ESM module loaded by a CJS module in a packaged app. #47342 (Also in 35, 36)context-menu
event weren't emitted as expected on Windows in draggable regions. #45851 (Also in 34, 35, 36)navigationHistory.restore()
failed to restore theuserAgent
if it was overridden. #46260 (Also in 34, 35, 36)system-context-menu
incorrectly 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.print
did not work as expected whenmediaSize
was not passed. #46971 (Also in 36)app.commandLine
functions. #46004 (Also in 35, 36)Fetch.continueResponse
via debugger withWebContentsView
could cause a crash. #47444 (Also in 35, 36)UtilityProcess.fork
prior to the app ready event would cause a crash. #46380 (Also in 34, 35, 36)backgroundMaterial
feature did not work in a frameless window on initial window creation. #46657 (Also in 35, 36)--inspect-brk
failing in packaged apps. #46560 (Also in 35, 36)assert
Node.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)autoUpdater
on macOS when zip extraction failed. #47302 (Also in 34, 35, 36)app.getGPUInfo
promise. #46434 (Also in 34, 35, 36)treatPackageAsDirectory
is 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.
v36.6.0
: electron v36.6.0Compare Source
Release Notes for v36.6.0
Features
--no-experimental-global-navigator
flag. #47417 (Also in 35, 37)HIDDevice.collections
. #47484 (Also in 37)Fixes
Other Changes
v36.5.0
: electron v36.5.0Compare Source
Release Notes for v36.5.0
Features
before-mouse-event
to allow intercepting and preventing mouse events in WebContents. #47365 (Also in 37)win.isContentProtected()
to allow developers to check window protection status. #47311 (Also in 37)Fixes
addChildView()
crashes when adding a closed WebContentsView. #47340 (Also in 35, 37)session.clearData
in some circumstances. #47411 (Also in 35, 37)electron
for the first time from an ESM module loaded by a CJS module in a packaged app. #47343 (Also in 35, 37)Fetch.continueResponse
via debugger withWebContentsView
could cause a crash. #47442 (Also in 35, 37)webContents.print()
where the callback would not be called. #47400 (Also in 35, 37)Other Changes
4206375
. #47368v36.4.0
: electron v36.4.0Compare Source
Release Notes for v36.4.0
Fixes
autoUpdater
on macOS when zip extraction failed. #47300 (Also in 34, 35, 37)Other Changes
Documentation
v36.3.2
: electron v36.3.2Compare Source
Release Notes for v36.3.2
Fixes
Other Changes
v36.3.1
: electron v36.3.1Compare Source
Release Notes for v36.3.1
Other Changes
4172564
. #47233v36.3.0
: electron v36.3.0Compare Source
Release Notes for v36.3.0
Features
innerWidth
andinnerHeight
options for window.open. #47038 (Also in 35, 37)screen.dipToScreenPoint(point)
andscreen.screenToDipPoint(point)
on Linux X11. #47125 (Also in 35, 37)--experimental-network-inspection
. #47030 (Also in 35, 37)Fixes
treatPackageAsDirectory
is enabled on macOS. #47109 (Also in 35, 37)Other Changes
v36.2.1
: electron v36.2.1Compare Source
Release Notes for v36.2.1
Fixes
win.setContentProtected()
on Windows. #47032 (Also in 35, 37)Other Changes
v36.2.0
: electron v36.2.0Compare Source
Release Notes for v36.2.0
Fixes
webContents.print
did not work as expected whenmediaSize
was not passed. #46972 (Also in 37)Other Changes
v36.1.0
: electron v36.1.0Compare Source
Release Notes for v36.1.0
Fixes
Other Changes
--js-flags=--perf-prof
on macOS. #46876 (Also in 35)v36.0.1
: electron v36.0.1Compare Source
Release Notes for v36.0.1
Fixes
visibleOnAllWorkspaces
property on Linux. #46850 (Also in 35)v36.0.0
: electron v36.0.0Compare Source
Release Notes for v36.0.0
Stack Upgrades
136.0.7103.48
22.14.0
13.6
Breaking Changes
NativeImage.getBitmap()
and fixed incorrect documentation. #46736Session
extension APIs toSession.extensions
. #45597systemPreferences.isAeroGlassEnabled()
API has been removed. #45563ses.clearDataStorage({ quota: 'syncable' })
in c180524 #45923Features
Additions
BrowserWindow.isSnapped()
to indicate whether a given window has been arranged via Snap. #46226ServiceWorkerMain
class to interact with service workers in the main process.fromVersionID
onServiceWorkers
to get an instance ofServiceWorkerMain
.running-status-changed
event onServiceWorkers
to indicate when a service worker's running status has changed.startWorkerForScope
onServiceWorkers
to start a worker that may have been previously stopped. #45232 (Also in 35)WebContents.focusedFrame
to get the focused frame.WebContents.opener
to specify potentialnull
type. #45667contextBridge.executeInMainWorld
to safely execute code across world boundaries. #45229 (Also in 35)ffmpeg.dll
to delay load configuration. #46173 (Also in 34, 35)nativeTheme.shouldUseDarkColorsForSystemIntegratedUI
to distinguish system and app theme. #46598 (Also in 35)view.getVisible()
. #44999 (Also in 34, 35)webContents.navigationHistory.restore(index, entries)
API that allows restoration of navigation history. #45433 (Also in 34, 35)urls
property. #44692 (Also in 35)document.executeCommand("paste")
. #45377 (Also in 33, 34, 35)frame
option inmenu.popup
. #46350roundedCorners
BrowserWindow constructor option on Windows. #45594 (Also in 34, 35)system-context-menu
on Linux. #46399registerPreloadScript
, `unregis