fix(deps): update dependency electron to v36 #884
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:
^33.4.8
->^36.2.1
Release Notes
electron/electron (electron)
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
,unregisterPreloadScript
,getPreloadScripts
onSession
.getPreloads
andsetPreloads
onSession
. #45230 (Also in 35)Improvements
Removed/Deprecated
systemPreferences.isAeroGlassEnabled()
API has been deprecated and will be removed without replacement. #45434 (Also in 35)Fixes
getNativeWindowHandle()
crash that affected 36 betas on macOS. #46750shell.readShortcutLink
. #46324Also in earlier versions...
electron.shell.openExternal
andelectron.shell.openPath
to honor user-defined system defaults on Linux. #46788 (Also in 33, 34, 35)v8.setHeapSnapshotNearHeapLimit
api in main and utility process, along with support for--diagnostic-dir
Node.js cli flag to specify the directory to save the heap snapshots. #45606 (Also in 33, 34, 35)webContents.print()
after switch to OOP printing on macOS and Linux. #45266 (Also in 35)webContents.print()
. #46146 (Also in 35)shell.readShortcutLink
caused byPKEY_AppUserModel_ToastActivatorCLSID
sometimes being represented by a string uuid. #45195 (Also in 33, 34, 35)navigator.bluetooth.requestDevice
and theselect-bluetooth-device
event. #46782 (Also in 34, 35)chrome.tabs.update()
. #45276 (Also in 33, 34, 35)parentPort
. #46496 (Also in 34, 35)utilityProcess.postMessage
when calling with an invalid transferable. #46667 (Also in 35)getUserMedia
with an invalidchromeMediaSourceId
. #45733 (Also in 34, 35)window.emit('close')
after toggling fullscreen mode. #46621 (Also in 35)context-menu
event weren't emitted as expected on Windows in draggable regions. #46032 (Also in 34, 35)contextmenu
events wouldn't be correctly dispatched in draggable regions on Linux. #45813 (Also in 34, 35)navigationHistory.restore()
failed to restore theuserAgent
if it was overridden. #46299 (Also in 34, 35)setContentProtection(true)
was reverted when a given window was hidden. #45868 (Also in 34, 35)system-context-menu
incorrectly fired for all regions in frameless windows. #46002 (Also in 33, 34, 35)webContents.printToPDF()
didn't work as expected with cross-process subframes. #46259 (Also in 34, 35)UtilityProcess.fork
prior to the app ready event would cause a crash. #46404 (Also in 34, 35)getAsFileSystemHandle
to never resolve. #45234 (Also in 33, 34, 35)dialog
module didn't work on Linux. #45373 (Also in 34, 35)about:blank
in subframes. #45694 (Also in 35)backgroundMaterial
lost effect on maximization. #45456 (Also in 34, 35)--inspect-brk
failing in packaged apps. #46584 (Also in 35)assert
Node.js module in the renderer process. #46561 (Also in 35)pushNotifications.registerForAPNSNotifications()
. #46149 (Also in 34, 35)window.print()
on macOS/Linux. #45214 (Also in 35)enable_electron_extensions=false
. #46842 (Also in 34, 35)*
filter was included. #46722 (Also in 34, 35)app.getGPUInfo
promise. #46471 (Also in 34, 35)BaseWindow.showInactive
. #45427 (Also in 35)Window.autoHideMenuBar
as supported on Linux and Windows. #46830 (Also in 34, 35)win.closeFilePreview
twice on macOS. #45319 (Also in 32, 33, 34, 35)webFrame.getZoomLevel
andwebFrame.getZoomFactor
APIs. #45499 (Also in 35)enabled = false
), it is now greyed out. #46342 (Also in 34, 35)Other Changes
NSPrefersDisplaySafeAreaCompatibilityMode
=false
to Info.plist to remove "Scale to fit below built-in camera." from app options. #45318 (Also in 33, 34, 35)3872580
,383070811. #454954010597
. #459374010597
. #45942Documentation
Notices
End of Support for 33.x.y
Electron 33.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.
v35.4.0
: electron v35.4.0Compare Source
Release Notes for v35.4.0
Features
system-context-menu
on Linux. #46977 (Also in 36)Fixes
win.setContentProtected()
on Windows. #47034 (Also in 36, 37)Other Changes
v35.3.0
: electron v35.3.0Compare Source
Release Notes for v35.3.0
Fixes
Other Changes
--js-flags=--perf-prof
on macOS. #46877 (Also in 36)v35.2.2
: electron v35.2.2Compare Source
Release Notes for v35.2.2
Fixes
electron.shell.openExternal
andelectron.shell.openPath
to honor user-defined system defaults on Linux. #46789 (Also in 33, 34, 36)navigator.bluetooth.requestDevice
and theselect-bluetooth-device
event. #46784 (Also in 34, 36)enable_electron_extensions=false
. #46840 (Also in 34, 36)Window.autoHideMenuBar
as supported on Linux and Windows. #46829 (Also in 34, 36)visibleOnAllWorkspaces
property on Linux. #46861v35.2.1
: electron v35.2.1Compare Source
Release Notes for v35.2.1
Fixes
utilityProcess.postMessage
when calling with an invalid transferable. #46666 (Also in 36)*
filter was included. #46721 (Also in 34, 36)v35.2.0
: electron v35.2.0Compare Source
Release Notes for v35.2.0
Features
nativeTheme.shouldUseDarkColorsForSystemIntegratedUI
to distinguish system and app theme. #46599 (Also in 36)Fixes
window.emit('close')
after toggling fullscreen mode. #46620 (Also in 36)app.commandLine
functions. #46631 (Also in 36)--inspect-brk
failing in packaged apps. #46583 (Also in 36)assert
Node.js module in the renderer process. #46632 (Also in 36)Other Changes
v35.1.5
: electron v35.1.5Compare Source
Release Notes for v35.1.5
Fixes
parentPort
. #46495 (Also in 34, 36)Unknown
v35.1.4
: electron v35.1.4Compare Source
Release Notes for v35.1.4
Fixes