Update dependency electron to v28 - autoclosed #99
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:
^24.1.2
->^28.0.0
Release Notes
electron/electron (electron)
v28.0.0
: electron v28.0.0Compare Source
Release Notes for 28.0.0
Stack Upgrades
120.0.6099.56
18.18.2
12.0
Breaking Changes
BrowserWindow.getTrafficLightPosition()
andBrowserWindow.setTrafficLightPosition()
methods have been removed. #39479app.runningUnderRosettaTranslation()
method has been removed. #39956ipcRenderer.sendTo()
method has been removed. #39087scroll-touch-{begin,end,edge}
events have been removed. #39814backgroundThrottling
to false will disable frames throttling in theBrowserWindow
for allWebContents
displayed by it. #38924Features
Additions
UtilityProcess
API now supports ESM entrypoints. #40047display
object includingdetected
,maximumCursorSize
, andnativeOrigin
. #40554ELECTRON_OZONE_PLATFORM_HINT
environment variable on Linux. #39792In addition to enabling ESM support in Electron itself, Electron Forge also supports using ESM to package, build and develop Electron applications. You can find this support in Forge v7.0.0 or higher: https://github.com/electron/forge/releases/tag/v7.0.0
getWebRTCUDPPortRange
andsetWebRTCUDPPortRange
APIs to specify UDP port range for WebRTC. #39046keyboardLock
toses.setPermissionRequestHandler(handler)
. #40460 (Also in 26, 27)mouse-enter
andmouse-leave
Tray events for Windows. #40072generateTaggedPDF
option towebContents.printToPDF()
to allow generating tagged (accessible) PDFs. #39563tabbingIdentifier
property toBrowserWindow
. #39980 (Also in 26, 27)display
object includingdetected
,maximumCursorSize
, andnativeOrigin
. #40554ELECTRON_OZONE_PLATFORM_HINT
environment variable on Linux. #39792chrome.scripting
extension APIs. #39395 (Also in 25, 26, 27)host_permissions
,author
, andshort_name
. #39599 (Also in 26, 27)webContents.downloadURL()
. #39455 (Also in 25, 26, 27)systemPreferences.getColor(name)
to return an RGBA hex value (#RRGGBBAA
) instead of a plain RGB (#RRGGBB
) value. #38960module.exports
. #39484Improvements
fork()
andexecve()
performance forchild_process
API on Linux. #39253Removed/Deprecated
app.runningUnderRosettaTranslation
property has been deprecated. #39897 (Also in 25, 26, 27)gpu-process-crashed
event onapp
has been deprecated. #40195renderer-process-crashed
event onapp
andcrashed
event onWebContents
and<webview>
have been deprecated. #40089Fixes
MessagePorts
from being garbage collected when not referenced. #40201shell.showItemInFolder
not being escaped in Linux. #40562node_modules
. Support thethrowIfNoEntry
option infs.statSync
/fs.lstatSync
in asar files. #40224activateIgnoringOtherApps
for focusing non-panels on macOS. #40621Also in earlier versions...
BrowserView.setBounds()
calls not painting view in new bounds in some cases. #39994 (Also in 25, 26, 27)app.runningUnderARM64Translation()
always returning true on ARM64. #39920 (Also in 25, 26, 27)will-navigate
not being emitted when pressing links inchrome:
pages. #40525 (Also in 27)webContents.capturePage()
issue that caused an empty image to be returned for fully-occluded windows on Linux and Windows. #40185 (Also in 25, 26, 27)async_hook
corruption in some error contexts. #40594 (Also in 26, 27)dialog.showOpenDialog
on macOS. #40346 (Also in 27)chrome.tabs
events would throw incorrectly. #39729 (Also in 25, 26, 27)frame: false
androundedCorners: false
when going fullscreen. #39747 (Also in 25, 26, 27)notification.close()
if they'd previously been dismissed. #40243 (Also in 26, 27)BrowserViews
that had their bounds set prior to being added to aBrowserWindow
could have unexpected incorrect offsets. #39605 (Also in 25, 26, 27)chrome://gpu
failed to load. #39556 (Also in 25, 26, 27)navigator.keyboard.lock()
did not work per latest expected behavior. #40389 (Also in 26, 27)webContents.print
could fail whenoptions
is a frozen object. #39985 (Also in 25, 26, 27)webContents.sendInputEvent()
. #39776 (Also in 25, 26, 27)loadURL
during somewebContents
url loading events could crash. #40143 (Also in 24, 25, 26, 27)show()
on a childBrowserWindow
would show all other children attached to the same parent on macOS. #40062 (Also in 24, 25, 26, 27)chrome.tabs
Tab objects were not properly considered privileged. #39595 (Also in 25, 26, 27)assert
module did not work in the renderer process. #39540 (Also in 24, 25, 26, 27)webcrypto.subtle.importKey()
could error and fail ifSharedArrayBuffers
are not defined. #40070 (Also in 27)gpu-process-crashed
/renderer-process-crashed
events being emitted twice and with incorrect arguments. #40090 (Also in 22, 24, 25, 26, 27)child_process.spawn()
on windows affected by launching store applications. #40101 (Also in 25, 26, 27)Electron.TitleBarOverlay
. #39799 (Also in 26, 27)BrowserWindow.setResizable()
. #40582 (Also in 26, 27)contextBridge
are now called with the expected receiver (this
). #40263 (Also in 27)enable_electron_extensions=false
. #40032 (Also in 25, 26, 27)Notices
End of Support for 25.x.y
Electron 25.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.
v27.1.3
: electron v27.1.3Compare Source
Release Notes for v27.1.3
Fixes
async_hook
corruption in some error contexts. #40593 (Also in 26, 28)shell.showItemInFolder
not being escaped in Linux. #40561 (Also in 28)Other Changes
1491210
.v27.1.2
: electron v27.1.2Compare Source
Release Notes for v27.1.2
Fixes
v27.1.0
: electron v27.1.0Compare Source
Release Notes for v27.1.0
Features
keyboardLock
toses.setPermissionRequestHandler(handler)
. #40459 (Also in 26, 28)Fixes
chrome:
pages. #40524 (Also in 28)Other Changes
v27.0.4
: electron v27.0.4Compare Source
Release Notes for v27.0.4
Fixes
Other Changes
v27.0.3
: electron v27.0.3Compare Source
Release Notes for v27.0.3
Fixes
dialog.showOpenDialog
on macOS. #40347 (Also in 28)navigator.keyboard.lock()
did not work per latest expected behavior. #40388 (Also in 26, 28)Other Changes
v27.0.2
: electron v27.0.2Compare Source
Release Notes for v27.0.2
Fixes
contextBridge
are now called with the expected receiver (this
). #40262 (Also in 28)Other Changes
1473422
. #40280v27.0.1
: electron v27.0.1Compare Source
Release Notes for v27.0.1
Fixes
notification.close()
if they'd previously been dismissed. #40244 (Also in 26, 28)loadURL
during somewebContents
url loading events could crash. #40162 (Also in 24, 25, 26)webContents.capturePage()
on Windows and Linux. #40188 (Also in 25, 26, 28)Other Changes
v27.0.0
: electron v27.0.0Compare Source
Release Notes for v27.0.0
Stack Upgrades
118.0.5993.32
18.17.1
11.8
Breaking Changes
ipcRenderer.sendTo()
API has been deprecated in favor of sharing aMessageChannel
between two renderers. #39091senderId
andsenderIsMainFrame
properties ofIpcRendererEvent
have been deprecated. #39381systemPreferences.getAppLevelAppearance
andsystemPreferences.setAppLevelAppearance
APIs have been deprecated, as well as thealternate-selected-control-text
value forsystemPreferences.getColor
. #39343 (Also in 26)systemPreferences.getAppLevelAppearance
,systemPreferences.setAppLevelAppearance
andsystemPreferences.appLevelAppearance
APIs have been removed, as well as thealternate-selected-control-text
value forsystemPreferences.getColor
. #39804webContents.getPrinters
API has been deprecated. #39356 (Also in 26)webContents.getPrinters()
API has been removed. #39735Features
Additions
safeStorage.setUsePlainTextEncryption
andsafeStorage.getSelectedStorageBackend
api. #38873 (Also in 25, 26)senderIsMainFrame
to messages sent viaipcRenderer.sendTo()
. #38868 (Also in 24, 25, 26)tabbingIdentifier
property toBrowserWindow
. #40082title
parameter towebContents.openDevTools()
to specify the DevTools window title. #39047chrome.tabs.query
. #39330 (Also in 25, 26)chrome.scripting
extension APIs. #39675 (Also in 25, 26)host_permissions
,author
, andshort_name
. #39672 (Also in 26)session.downloadURL()
. #38785 (Also in 25, 26)webContents.downloadURL()
. #39560 (Also in 25, 26)minimum_chrome_version
manifest key. #39256 (Also in 26)node:
prefixed requires are now supported in sandboxed renderer preloads forevents
,timers
andurl
. #38567 (Also in 24, 25, 26)Removed/Deprecated
app.runningUnderRosettaTranslation
property has been deprecated. #39984 (Also in 25, 26)enable_osr
build flag has been removed. #38703enable_picture_in_picture
build flag has been removed. #38620enable_run_as_node
build flag has been removed in favor of therunAsNode
fuse. #38413Fixes
window.open
can interfere with various aspects of Node.js functionality. #38754webcrypto.subtle.importKey()
could error and fail ifSharedArrayBuffers
are not defined. #40100Also in earlier versions...
app.runningUnderARM64Translation()
always returning true on ARM64. #39931 (Also in 25, 26)clipboard.readImage()
getting blocked when there is no PNG image in the clipboard. #39466 (Also in 26)desktopCapturer
thumbnail generation after screen sharing is cancelled on Wayland. #39194 (Also in 25, 26)preload
script may not run in some child windows opened bywindow.open
. #38910 (Also in 23, 24, 25, 26)webContents.printToPDF
preferCSSPageSize
type error. #38761 (Also in 24, 25, 26)nativeImage.resize()
before the appready
event. #38836 (Also in 26)nativeTheme
source during mara context menu close. #38824 (Also in 25, 26)BrowserWindow.removeBrowserView()
with a destroyedwebContents
. #38842 (Also in 24, 25, 26)BrowserWindow.moveTop()
on modal child windows. #39499 (Also in 24, 25, 26)tray.popUpContextMenu
on macOS. #39231 (Also in 26)desktopCapturer.getSources()
on Wayland. #39111 (Also in 26)VoiceOver
couldn't trigger the tray action when selected to emit the click event. #39352 (Also in 26)chrome.tabs
events would throw incorrectly. #39771 (Also in 25, 26)webContents.print
parameter validation by adding missing options required to set printer printable area. #38614 (Also in 25, 26)frame: false
androundedCorners: false
when going fullscreen. #39796 (Also in 25, 26)<datalist>
popups are positions incorrectly inBrowserView
s. #38489 (Also in 23, 24, 25, 26)BrowserViews
that had their bounds set prior to being added to aBrowserWindow
could have unexpected incorrect offsets. #39627 (Also in 25, 26)BrowserWindow.moveAbove()
andBrowserWindow.moveTop()
did not work for child windows on macOS. #39034 (Also in 24, 25, 26)browserView.removeBrowserView
could cause a crash in some cases. #39387 (Also in 24, 25, 26)chrome.i18n
did not work properly with Chrome Extensions Manifest V3. #39291 (Also in 24, 25, 26)chrome.tabs.update
did not return atab
object that properly reflected potential properties that were changed. #39365 (Also in 25, 26)chrome://gpu
failed to load. #39583 (Also in 25, 26)protocol.handle()
never called its callback with the'file'
scheme. #39048 (Also in 25, 26)webContents.print()
stopped triggering its callback when the user cancelled the print dialog. #38709 (Also in 25, 26)webContents.print
could fail whenoptions
is a frozen object. #40030 (Also in 25, 26)webContents.sendInputEvent()
. #39822 (Also in 25, 26)show()
on a childBrowserWindow
would show all other children attached to the same parent on macOS. #40105 (Also in 25, 26)chrome.tabs
Tab objects were not properly considered privileged. #39608 (Also in 25, 26)openFile
was not passed as a dialog property. #38557 (Also in 24, 25, 26)Show
button visible. #38997 (Also in 24, 25, 26)webContents.print(null)
could incorrectly trigger an error. #38612 (Also in 24, 25, 26)BrowserViews
can behave inconsistently across platforms. #38981 (Also in 25, [26](https://togithub.com/electron/electron/pull/39004