This repository was archived by the owner on Jun 24, 2025. It is now read-only.
chore(deps): update dependency electron to v36 #1812
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:
35.3.0->36.2.0Release Notes
electron/electron (electron)
v36.2.0: electron v36.2.0Compare Source
Release Notes for v36.2.0
Fixes
webContents.printdid not work as expected whenmediaSizewas 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-profon macOS. #46876 (Also in 35)v36.0.1: electron v36.0.1Compare Source
Release Notes for v36.0.1
Fixes
visibleOnAllWorkspacesproperty 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.4822.14.013.6Breaking Changes
NativeImage.getBitmap()and fixed incorrect documentation. #46736Sessionextension 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. #46226ServiceWorkerMainclass to interact with service workers in the main process.fromVersionIDonServiceWorkersto get an instance ofServiceWorkerMain.running-status-changedevent onServiceWorkersto indicate when a service worker's running status has changed.startWorkerForScopeonServiceWorkersto start a worker that may have been previously stopped. #45232 (Also in 35)WebContents.focusedFrameto get the focused frame.WebContents.openerto specify potentialnulltype. #45667contextBridge.executeInMainWorldto safely execute code across world boundaries. #45229 (Also in 35)ffmpeg.dllto delay load configuration. #46173 (Also in 34, 35)nativeTheme.shouldUseDarkColorsForSystemIntegratedUIto 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)urlsproperty. #44692 (Also in 35)document.executeCommand("paste"). #45377 (Also in 33, 34, 35)frameoption inmenu.popup. #46350roundedCornersBrowserWindow constructor option on Windows. #45594 (Also in 34, 35)system-context-menuon Linux. #46399registerPreloadScript,unregisterPreloadScript,getPreloadScriptsonSession.getPreloadsandsetPreloadsonSession. #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.openExternalandelectron.shell.openPathto honor user-defined system defaults on Linux. #46788 (Also in 33, 34, 35)v8.setHeapSnapshotNearHeapLimitapi in main and utility process, along with support for--diagnostic-dirNode.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.readShortcutLinkcaused byPKEY_AppUserModel_ToastActivatorCLSIDsometimes being represented by a string uuid. #45195 (Also in 33, 34, 35)navigator.bluetooth.requestDeviceand theselect-bluetooth-deviceevent. #46782 (Also in 34, 35)chrome.tabs.update(). #45276 (Also in 33, 34, 35)parentPort. #46496 (Also in 34, 35)utilityProcess.postMessagewhen calling with an invalid transferable. #46667 (Also in 35)getUserMediawith an invalidchromeMediaSourceId. #45733 (Also in 34, 35)window.emit('close')after toggling fullscreen mode. #46621 (Also in 35)context-menuevent weren't emitted as expected on Windows in draggable regions. #46032 (Also in 34, 35)contextmenuevents wouldn't be correctly dispatched in draggable regions on Linux. #45813 (Also in 34, 35)navigationHistory.restore()failed to restore theuserAgentif 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-menuincorrectly 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.forkprior to the app ready event would cause a crash. #46404 (Also in 34, 35)getAsFileSystemHandleto never resolve. #45234 (Also in 33, 34, 35)dialogmodule didn't work on Linux. #45373 (Also in 34, 35)about:blankin subframes. #45694 (Also in 35)backgroundMateriallost effect on maximization. #45456 (Also in 34, 35)--inspect-brkfailing in packaged apps. #46584 (Also in 35)assertNode.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.getGPUInfopromise. #46471 (Also in 34, 35)BaseWindow.showInactive. #45427 (Also in 35)Window.autoHideMenuBaras supported on Linux and Windows. #46830 (Also in 34, 35)win.closeFilePreviewtwice on macOS. #45319 (Also in 32, 33, 34, 35)webFrame.getZoomLevelandwebFrame.getZoomFactorAPIs. #45499 (Also in 35)enabled = false), it is now greyed out. #46342 (Also in 34, 35)Other Changes
NSPrefersDisplaySafeAreaCompatibilityMode=falseto 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.
Configuration
📅 Schedule: Branch creation - "before 3am" (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.