[Snyk] Upgrade electron from 33.2.0 to 35.0.0 #76
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.
Snyk has created this PR to upgrade electron from 33.2.0 to 35.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 68 versions ahead of your current version.
The recommended version was released 23 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-ELECTRON-9056160
SNYK-JS-ELECTRON-8381013
SNYK-JS-ELECTRON-8642944
SNYK-JS-ELECTRON-8642946
SNYK-JS-ELECTRON-8642948
SNYK-JS-ELECTRON-8738830
SNYK-JS-ELECTRON-8738832
SNYK-JS-ELECTRON-8738834
SNYK-JS-ELECTRON-8738836
SNYK-JS-ELECTRON-8738839
Release notes
Package name: electron
Release Notes for v35.0.0
Stack Upgrades
134.0.6998.44
22.14.0
13.4
Breaking Changes
fromVersionID
onServiceWorkers
to get an instance ofServiceWorkerMain
. #45341getPreloads
andsetPreloads
onSession
. #45329systemPreferences.isAeroGlassEnabled()
API has been deprecated and will be removed without replacement. #45554Features
Additions
session.getSharedDictionaryUsageInfo()
,session.getSharedDictionaryInfo(options)
,session.clearSharedDictionaryCache()
, andsession.clearSharedDictionaryCacheForIsolationKey(options)
. #44750 (Also in 33, 34)NSPrefersDisplaySafeAreaCompatibilityMode
=false
to Info.plist to remove "Scale to fit below built-in camera." from app options. #45357 (Also in 33, 34)ServiceWorkerMain
class to interact with service workers in the main process. #45341running-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.WebFrameMain.collectJavaScriptCallStack()
for accessing the JavaScript call stack of unresponsive renderers. #44204 (Also in 33, 34)contextBridge.executeInMainWorld
to safely execute code across world boundaries. #45330frame
to 'console-message' event. #43617query-session-end
event and improvedsession-end
events on Windows. #44598view.getVisible()
. #45409 (Also in 34)webContents.navigationHistory.restore(index, entries)
API that allows restoration of navigation history. #45583 (Also in 34)document.executeCommand("paste")
. #45471 (Also in 33, 34)roundedCorners
BrowserWindow constructor option on Windows. #45740 (Also in 34)Improvements
registerPreloadScript
,unregisterPreloadScript
,getPreloadScripts
onSession
.#45329Removed/Deprecated
Fixes
webContents.print()
after switch to OOP printing on macOS and Linux. #45285window.print()
on macOS/Linux. #45259webFrame.getZoomLevel
andwebFrame.getZoomFactor
APIs. #45557Also in earlier versions...
chrome.i18n
extension API being unavailable in service workers. #45031 (Also in 31, 32, 33, 34)trace-startup
not working on macOS. #44257 (Also in 32, 33, 34)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. #45632 (Also in 33, 34)shell.readShortcutLink
on Windows. #44784 (Also in 33, 34)shell.readShortcutLink
caused byPKEY_AppUserModel_ToastActivatorCLSID
sometimes being represented by a string uuid. #45348 (Also in 33, 34)chrome.tabs.update()
. #45302 (Also in 33, 34)getUserMedia
with an invalidchromeMediaSourceId
. #45755 (Also in 34)EventSource
wasundefined
in both renderer and worker processes when Node.js integration was enabled. #44475 (Also in 32, 33, 34)WebContentsView
s were being improperly removed. #44656 (Also in 31, 32, 33, 34)contextmenu
events wouldn't be correctly dispatched in draggable regions on Linux. #45841 (Also in 34)resize
wasn't being emitted for single-pixel resizes on Windows. #44700 (Also in 32, 33, 34)utilityProcess
pid would not beundefined
after exit. #44677 (Also in 32, 33, 34)getAsFileSystemHandle
to never resolve. #45256 (Also in 33, 34)dialog
module didn't work on Linux. #45394 (Also in 34)exit
event could be emitted twice from theutilityProcess
. #44243 (Also in 31, 32, 33, 34)context-menu
event was not emitted when using-webkit-app-region: drag
. #44761 (Also in 32, 33, 34)backgroundMaterial
lost effect on maximization. #45525 (Also in 34)context-menu
event. #44940 (Also in 32, 33, 34)win.closeFilePreview
twice on macOS. #45664 (Also in 32, 33, 34)webContents.canGoToOffset
. #44989 (Also in 32, 33, 34)libgdk_pixbuf
. #44423 (Also in 32, 33, 34)avoidClosingConnections
option forsession.clearData
now properly defaults tofalse
when thedataTypes
option is not set. #45187 (Also in 33, 34)Other Changes
-Wunsafe-buffer-usage
Clang warnings and enabled the compiler warning in new builds. #44056Documentation
Notices
End of Support for 32.x.y
Electron 32.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.
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via
npm install electron@beta
, ornpm install electron@35.0.0-beta.13
.Release Notes for v35.0.0-beta.13
Other Changes
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via
npm install electron@beta
, ornpm install electron@35.0.0-beta.12
.Release Notes for v35.0.0-beta.12
Fixes
contextmenu
events wouldn't be correctly dispatched in draggable regions on Linux. #45841Other Changes
Release Notes for v33.4.3
Other Changes
uv.h
beforenode.h
don't compile as expected. #45872Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Upgrade Electron from version 33.2.0 to 35.0.0
Bug Fixes:
Enhancements: