-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dependency(deps): update dependency electron to v24 π #26416
Conversation
c33c698
to
8089056
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. β Warning: custom changes will be lost. |
We will be updating to electron 25 w/ node 18 as there were issues with mksnapshot that were not backpatched, meaning we need to update to 25. This update also required a webpack 5 upgrade from 4, which is now done in develop. The code where this is functioning is https://github.com/cypress-io/cypress/compare/electron_upgrade_wip?expand=1 |
It would be helpful to have the Electron update in the Roadmap overview as this is an important migration, including the Node.js bump to
|
@MikeMcC399 good idea to share on the App Priorities board. I have added a ticket there - #27595 |
This PR contains the following updates:
21.0.0
->24.0.0
Release Notes
electron/electron
v24.0.0
: electron v24.0.0Compare Source
Release Notes for v24.0.0
Stack Upgrades
Breaking Changes
nativeImage.createThumbnailFromPath()
now takessize
instead ofmaxSize
. #β37796Features
httpOnly
to the cookie filter. #β37365logUsage
toshell.openExternal()
options, which allows passing theSEE_MASK_FLAG_LOG_USAGE
flag toShellExecuteEx
on Windows. #β37291types
towebRequest
filter. #β37427webContents.print()
. #β37265 (Also in 22, 23)enableLocalEcho
flag to the session handlerses.setDisplayMediaRequestHandler()
callback for allowing remote audio input to be echoed in the local output stream whenaudio
is aWebFrameMain
. #β37528 (Also in 23)Fixes
BrowserWindow
fullscreening is disabled. #β37368 (Also in 23)destroyed
event not emitted onclose
forBrowserView.webContents
. #β37450 (Also in 23)BrowserView
s are present and a user attempts to preventbeforeunload
in the renderer process. #β37268 (Also in 22, 23)BroadcastChannel
did not work correctly whencontextIsolation: false
. #β37443 (Also in 23)minWidth
/minHeight
andmaxWidth
/maxHeight
would not be enforced if the user set anaspectRatio
on macOS. #β37456 (Also in 22, 23)port.postMessage
inMessagePortMain
with some invalid parameters could cause a crash. #β37726 (Also in 22, 23)hasReply
andactions
to a main process Notification on macOS resulted in the first action being obscured and unavailable. #β37449 (Also in 22, 23)session.cookies.set
failure. #β37597 (Also in 22, 23)app.showAboutPanel()
no longer blocks the main thread on Windows or Linux, thus matching macOS. #β37508Other Changes
contents.takeHeapSnapshot
. #β37461 (Also in 22, 23)Documentation
v23.2.2
: electron v23.2.2Compare Source
Release Notes for v23.2.2
Fixes
v23.2.1
: electron v23.2.1Compare Source
Release Notes for v23.2.1
Fixes
port.postMessage
inMessagePortMain
with some invalid parameters could cause a crash. #β37724 (Also in 22, 24)Other Changes
v23.2.0
: electron v23.2.0Compare Source
Release Notes for v23.2.0
Features
enableLocalEcho
flag to the session handlerses.setDisplayMediaRequestHandler()
callback for allowing remote audio input to be echoed in the local output stream whenaudio
is aWebFrameMain
. #β37529 (Also in 24)Fixes
BroadcastChannel
did not work correctly whencontextIsolation: false
. #β37444 (Also in 24)session.cookies.set
failure. #β37596 (Also in 22, 24)v23.1.4
: electron v23.1.4Compare Source
Release Notes for v23.1.4
Fixes
Other Changes
v23.1.3
: electron v23.1.3Compare Source
Release Notes for v23.1.3
Fixes
Other Changes
v23.1.2
: electron v23.1.2Compare Source
Release Notes for v23.1.2
Fixes
destroyed
event not emitted onclose
forBrowserView.webContents
. #β37451 (Also in 24)minWidth
/minHeight
andmaxWidth
/maxHeight
would not be enforced if the user set anaspectRatio
on macOS. #β37457 (Also in 22, 24)hasReply
andactions
to a main process Notification on macOS resulted in the first action being obscured and unavailable. #β37448 (Also in 22, 24)Other Changes
contents.takeHeapSnapshot
. #β37460 (Also in 22, 24)v23.1.1
: electron v23.1.1Compare Source
Release Notes for v23.1.1
Fixes
BrowserWindow
fullscreening is disabled. #β37367 (Also in 24)Other Changes
Documentation
v23.1.0
: electron v23.1.0Compare Source
Release Notes for v23.1.0
Features
webContents.print()
. #β37264 (Also in 22, 24)Fixes
requireInteraction
option to not timeout on Linux and Windows. #β36502 (Also in 21, 22)BrowserView
s are present and a user attempts to preventbeforeunload
in the renderer process. #β37267 (Also in 22, 24)Other Changes
Documentation
v23.0.0
: electron v23.0.0Compare Source
Release Notes for v23.0.0
Stack Upgrades
Breaking Changes
Features
label
property toDisplay
objects. #β36933 (Also in 21, 22)app.getPreferredSystemLanguages()
API to return the user's system languages. #β36035 (Also in 21, 22)serialPort.forget()
as well as a new eventserial-port-revoked
emitted when a given origin is revoked. #β35310 (Also in 22)setHiddenInMissionControl
API to allow developers to opt out of mission control on macOS. #β36092 (Also in 22)Fixes
require('electron/*')
where*
is not one ofmain
,common
orrenderer
no longer resolves with the built-inelectron
module. #β35915click
event and tooltip ofTray
not working on Linux. #β36333 (Also in 22)webContents.printToPDF()
. #β36046 (Also in 21, 22)BrowserWindow.setTrafficLightPosition()
on macOS. #β36850 (Also in 21, 22)Cmd+Tab
after exiting Kiosk Mode. #β36917 (Also in 21, 22)<datalist>
elements were improperly positioned within the page. #β36959webView
s could have an incorrect initial background color following reloads. #β36938 (Also in 21, 22)app.dock.setIcon(/path/t/icon)
would crash when called before theready
event onapp
. #β36279 (Also in 20, 21, 22)webContents.printToPDF()
. #β35975 (Also in 21, 22)setPermissionRequestHandler
callback would be invoked twice when usingnavigator.getUserMedia(...)
. #β36874 (Also in 22)dialog.showMessageBox()
. #β36803 (Also in 21, 22)webContents.loadURL
when navigating to a hash. #β36129 (Also in 20, 21, 22)WebSwapCGLLayer
symbols when Electron starts on macOS. #β36799 (Also in 21, 22)nodeIntegrationInWorker
in Service Workers and Shared Workers owing to sandboxing policies. #β35919 (Also in 21, 22)--turbo-profiling-input
argument from mksnapshot_args. #β36378 (Also in 22)import('electron')
andimport 'electron'
now work natively. #β35930 (Also in 20, 21, 22)Other Changes
incrementCapturerCount()
/decrementCapturerCount()
methods have been removed. #β37148webContents.printToPDF().
. #β36051 (Also in 22)Documentation
Notices
Sunsetting Windows 7/8/8.1
Electron has ended support for Windows 7/8/8.1 in version 23.x.y following Chromium's plan to end support. Older versions of Electron will continue to work, but no further updates will be made for these operating systems.
End of Support for 20.x.y
Electron 20.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.
v22.3.5
: electron v22.3.5Compare Source
Release Notes for v22.3.5
Fixes
port.postMessage
inMessagePortMain
with some invalid parameters could cause a crash. #β37725 (Also in 23, 24)Other Changes
1412991
. #β376591418734
. #β37661v22.3.4
: electron v22.3.4Compare Source
Release Notes for v22.3.4
Fixes
session.cookies.set
failure. #β37595 (Also in 23, 24)Other Changes
1415249
. #β376711416916
. #β376571417585
. #β37663v22.3.3
: electron v22.3.3Compare Source
Release Notes for v22.3.3
Fixes
Other Changes
1414224
. #β37483v22.3.2
: electron v22.3.2Compare Source
Release Notes for v22.3.2
Fixes
minWidth
/minHeight
andmaxWidth
/maxHeight
would not be enforced if the user set anaspectRatio
on macOS. #β37458 (Also in 23, 24)hasReply
andactions
to a main process Notification on macOS resulted in the first action being obscured and unavailable. #β37447 (Also in 23, 24)Other Changes
contents.takeHeapSnapshot
. #β37459 (Also in 23, 24)v22.3.1
: electron v22.3.1Compare Source
Release Notes for v22.3.1
Other Changes
Documentation
v22.3.0
: electron v22.3.0Compare Source
Release Notes for v22.3.0
Features
webContents.print()
. #β37263 (Also in 23, 24)Fixes
BrowserView
s are present and a user attempts to preventbeforeunload
in the renderer process. #β37266 (Also in 23, 24)Other Changes
v22.2.1
: electron v22.2.1Compare Source
Release Notes for v22.2.1
Features
Fixes
nodeIntegrationInWorker: true
. #β37102 (Also in 23)Documentation
v22.2.0
: electron v22.2.0Compare Source
Release Notes for v22.0.0
Stack Upgrades
Breaking Changes
input-event
event.scroll-touch-*
events. #β35531new-window
event has been removed. #β34526Features
LoadBrowserProcessSpecificV8Snapshot
as a new fuse that will let the main/browser process load its v8 snapshot from a file atbrowser_v8_context_snapshot.bin
. Any other process will use the same path as is used today. #β35266 (Also in 20, 21)WebContents.opener
to access window opener.webContents.fromFrame(frame)
to get the WebContents corresponding to a WebFrameMain instance. #β35140 (Also in 21)app.getSystemLocale()
method. #β35697 (Also in 21)contextBridge.exposeInIsolatedWorld(worldId, key, api)
to expose an API to anisolatedWorld
within a renderer from a preload script. #β34974webContents.close()
method. #β35509webFrameMain.origin
. #β35438 (Also in 19, 20, 21)app.getPreferredSystemLanguages()
API to return the user's system languages. #β36291 (Also in 21)content-bounds-updated
. #β35533WebContents.ipc
andWebFrameMain.ipc
APIs. #β34959 (Also in 21)navigator.mediaDevices.getDisplayMedia
via a new session handler,ses.setDisplayMediaRequestHandler
. #β30702serialPort.forget()
as well as a new eventserial-port-revoked
emitted when a given origin is revoked. #β36062Fixes
click
event and tooltip ofTray
not working on Linux. #β36472Also in earlier versions...
uv_os_gethostname
failing on Windows 7. #β35702 (Also in 19, 20, 21)atob
in the renderer process could fail under some circumstances. #β35415 (Also in 19, 20, 21)webContents.printToPDF()
. #β36065 (Also in 21)app.isInApplicationsFolder()
which would return false incorrectly in some cases. #β35636 (Also in 19, 20, 21)screen.getCursorScreenPoint()
crashed on Wayland when it was called before aBrowserWindow
had been created. #β35503 (Also in 21)serialPort.open()
failed withNetworkError: Failed to open serial port.
. #β35306 (Also in 21)app.dock.setIcon(/path/t/icon)
would crash when called before theready
event onapp
. #β36293 (Also in 20, 21)roundedCorners: false
couldn't enter fullscreen without crashing. #β35421 (Also in 19, 20, 21)setBounds
on some windows. #β34713 (Also in 19, 20, 21)webContents.printToPDF()
. #β35993 (Also in 21)webContents.loadURL
when navigating to a hash. #β36151 (Also in 20, 21)