Update dependency electron to v44 - #2791
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
|
Tick the box to add this pull request to the merge queue (same as
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
43.2.0→44.0.0Release Notes
electron/electron (electron)
v44.0.0: electron v44.0.0Compare Source
Release Notes for v44.0.0
Stack Upgrades
152.0.7977.54v24.18.115.2Breaking Changes
select-client-certificateevent support fornet.requestandnet.fetch; requests to servers requesting a client certificate no longer fail withERR_SSL_CLIENT_AUTH_CERT_NEEDED, and applications can now select a certificate to present. #52397libEGL.(so|dylib|dll)andlibGLESv2.(so|dylib|dll)libraries are no longer shipped in the distribution. #52288net.requestnow rejects requests whereSec-Fetch-Destisdocument,frame,iframe, orfencedframeunlessSec-Fetch-Modeis also set tonavigate. #52216clipboardmodule is now aligned with the W3C Clipboard API and is no longer exposed to renderer processes. #52508openAsHiddenoption fromapp.setLoginItemSettings()and theopenAsHidden,wasOpenedAsHiddenandrestoreStatefields from the return value ofapp.getLoginItemSettings(). These only worked on macOS 12 and below, which are no longer supported. #52667See the Breaking Changes doc for more details about these changes.
Features
Notification.remove(),removeAll(), andremoveGroup()static methods for macOS. #51182 (Also in 42, 43)availabletoprocess.getSystemMemoryInfo()on Linux, exposingproc/meminfoMemAvailable. #52380 (Also in 42, 43)net.WebSocket, a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack. #51593 (Also in 42, 43)webContents.setZoomMode(mode),webContents.getZoomMode(), andwebContents.zoomModefor per-WebContents zoom control. #49962webFrameMain.printToPDF()to allow printing individual frames to PDF from the main process. #52625 (Also in 42, 43)badgeproperty toMenuItemon macOS 14+ for showing a count or custom text badge next to a menu item's label. #53046win.setOpacity(opacity)on Linux. #51455webContents.caretBrowsingEnabledfor toggling caret browsing in a WebContents. #53035roundedCorners: falseon the window. #51459 (Also in 43)app.setBadgeCountandwin.setProgressBarfor Linux. These APIs now support any dock or taskbar which implements the LauncherEntry D-Bus API, and they no longer requirelibunity. #52895Fixes
nativeImagewas passed an image with a color profile, its pixel values will now be normalized to SRGB. This ensures that two visually identical images after color space application will receive similar pixel values when converted to anativeImage. #48178 (Also in 43)webContents.debuggeris attached. #51959 (Also in 42, 43)webContents.setDevToolsWebContents(). #52434 (Also in 42, 43)NativeWindowViews::MoveBehindTaskBarIfNeeded(). #52000 (Also in 41, 42, 43)BrowserWindow.unmaximize()andrestore()having no effect on Wayland when the window was maximized immediately after creation. #53124 (Also in 42)BrowserWindowsize corruption on Windows when created with explicitx/yon a secondary monitor whose DPI differs from the primary. #52499 (Also in 42, 43)Dirent.parentPathbeingundefinedforfs.readdir,fs.readdirSync,fs.glob, andfs.globSyncwithwithFileTypes: trueinside asar archives. #52507 (Also in 42, 43)ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52113 (Also in 40, 41, 42, 43)Uncaught illegal accesserrors and possible renderer crashes after closing a same-process child window or removing an iframe withnodeIntegrationInSubFramesenabled. #53040 (Also in 42)app.disableHardwareAcceleration()not fully disabling GPU hardware usage on Windows starting from Electron 38. #52370 (Also in 41, 42, 43)dialog.showOpenDialoganddialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52402 (Also in 42, 43)registerFileProtocolandregisterHttpProtocolreturning readable responses to cross-originno-corsfetches; they now return opaque responses likeprotocol.handle. #52852 (Also in 41, 42, 43)select-hid-devicepresenting HID devices that could not be granted, which causednavigator.hid.requestDevice()to resolve with no device. #52497protocol.registerStreamProtocolwhen an error is emitted during a read. #52515 (Also in 41, 42, 43)setBackgroundThrottling(false)was called while the window was hidden. #52863 (Also in 42, 43)webContents.reload()or navigating synchronously from therender-process-goneevent; the event is now emitted after the renderer's teardown notification has completed. #51900 (Also in 41, 42, 43)ValidateIntegrityOrDie) and spurious preloadENOENTerrors when an app'sapp.asaris replaced on disk (e.g., by an updater or MDM software) while the app is running. #52292 (Also in 42, 43)systemPreferences.promptTouchID(reason)when an invalid reason value is passed. #52781 (Also in 42, 43)touchID.promptReasontoapp.configureWebAuthn()to customize the prompt text. #51592 (Also in 41, 42, 43)app.setLoginItemSettingsif a non-UTF8 service name is used. #52801 (Also in 42, 43)SIGABRT) during process exit when the process had loadedtls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52871 (Also in 42, 43)contentTracing.stopRecording()when the trace file could not be written to the requested path. #52794 (Also in 42, 43)SpeechRecognition.available()orSpeechRecognition.install()withprocessLocally. #53021 (Also in 42, 43)WebAssembly.compileStreaming()orWebAssembly.instantiateStreaming()withnodeIntegrationenabled. #51953 (Also in 41, 42, 43)npm installfailure with no recovery path when the OS blocked the native zip extractor from loading (for example, Windows Smart App Control). #52846 (Also in 43)win.center(). Additionally, fixed an issue where frameless windows would appear slightly off-center on Windows. #51732 (Also in 41, 42, 43)app.quit()while ashell.openExternal()orshell.openPath()call was still waiting on a system "Open with" dialog. #52898 (Also in 41, 43)processand other Node globals were undefined in ESM preload scripts whencontextIsolationwas disabled. #51693 (Also in 42, 43)requestSingleInstanceLockcould result in a crash. #52470 (Also in 42, 43)close()on a notification within acloseevent on macOS. #51597 (Also in 41, 42, 43)sharedTexturemodule when GPU context becomes unavailable. #52926 (Also in 42, 43)electron-mksnapshot, and theloadBrowserProcessSpecificV8Snapshotfuse) having no effect in the main process on macOS arm64, Linux x64 and Windows x64. #52878 (Also in 42, 43)desktopCapturerthumbnail generation and premature portal timeout on Linux with Wayland. #51674 (Also in 43)tsximport transpilation. #51947 (Also in 41, 42, 43)systemPreferences.getAccentColor()returning an empty string on some launches). #52574persist:prefix). #52834 (Also in 42, 43)additionalDatatoapp.requestSingleInstanceLock(). #52950rgba(0,0,0,0)failing back to default frame color. #51017 (Also in 41, 42, 43)webContents.print()returning "Invalid printer settings" when print options are provided. #52382 (Also in 43)browserWindow.setTitle(). #52968 (Also in 42, 43)allow-popups-to-escape-sandboxis set. #52133 (Also in 41, 42, 43)getDisplayMedia({ audio: { restrictOwnAudio: true } })was ignored insetDisplayMediaRequestHandler, causing loopback audio to include local app playback. #52534 (Also in 43)<webview>andwindow.opennow inheritnodeIntegrationInWorkerfrom the embedder, consistent with the other Node and sandbox preferences. #52832 (Also in 41, 42, 43)app.getLoginItemSettings()on macOS. #52667Trayicons not appearing (and their menus not opening) on Linux desktops that address the StatusNotifierItem by its unique D-Bus name or via theorg.freedesktop.StatusNotifierIteminterface, such as GNOME with the AppIndicator extension, Cinnamon and XFCE. #52951Buffer/TextEncoderAPIs and a crash infs.writeFileSyncwith non-ASCII strings on Apple Silicon. #51848 (Also in 41, 42, 43)Performance Improvements
webRequestheader conversions and several other gin converter hot paths. #51599 (Also in 42, 43)utilityProcess.fork(),child_process.fork()/ELECTRON_RUN_AS_NODEchild processes and Node.js-enabled renderers. #53134 (Also in 42, 43)DidClearWindowObject) by ~35% by deserializing a build-time V8 code cache for Electron's framework bundles instead of parsing and compiling them from source on every launch. #51697 (Also in 42, 43)showHiddenFilessupport from thedialogAPI on Linux. #51704 (Also in 43)--enable-features=SpareRendererForSitePerProcess. #53144libEGL.soandlibGLESv2.sofiles are no longer included in the Linux distribution, now that ANGLE is statically linked. #52227Other Changes
Documentation
v43.4.1: electron v43.4.1Compare Source
Release Notes for v43.4.1
Fixes
webContents.setDevToolsWebContents(). #52937 (Also in 44)registerFileProtocolandregisterHttpProtocolreturning readable responses to cross-originno-corsfetches; they now return opaque responses likeprotocol.handle. #52853 (Also in 41, 42, 44)WebContentsViewstaying blank after its window is shown whensetBackgroundThrottling(false)was called while the window was hidden. #52864 (Also in 42, 44)systemPreferences.promptTouchID(reason)when an invalid reason value is passed. #52782 (Also in 42, 44)app.setLoginItemSettingsif a non-UTF8 service name is used. #52944 (Also in 44)tls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52870 (Also in 44)contentTracing.stopRecording()when the trace file could not be written to the requested path. #52795 (Also in 42, 44)npm installfailure with no recovery path when the OS blocked the native zip extractor from loading (for example, Windows Smart App Control). #52845 (Also in 44)app.quit()while ashell.openExternal()orshell.openPath()call was still waiting on a system "Open with" dialog. #52897 (Also in 41, 44)electron-mksnapshot, and theloadBrowserProcessSpecificV8Snapshotfuse) having no effect in the main process on macOS arm64, Linux x64 and Windows x64. #52877 (Also in 42, 44)persist:prefix). #52835 (Also in 44)<webview>andwindow.opennow inheritnodeIntegrationInWorkerfrom the embedder, consistent with the other Node and sandbox preferences. #52830 (Also in 41, 42, 44)Other Changes
5246282. #528685422242,5420251. #52842Trayicons not appearing (and their menus not opening) on Linux desktops that address the StatusNotifierItem by its unique D-Bus name or via theorg.freedesktop.StatusNotifierIteminterface, such as GNOME with the AppIndicator extension, Cinnamon and XFCE. #52952speechSynthesiscould block the main process for several hundred milliseconds. #52814v43.4.0: electron v43.4.0Compare Source
Release Notes for v43.4.0
Features
webFrameMain.printToPDF()to allow printing individual frames to PDF from the main process. #52627 (Also in 42, 44)getDisplayMedia({ audio: { restrictOwnAudio: true } })was ignored insetDisplayMediaRequestHandler, causing loopback audio to include local app playback. #52533 (Also in 44)Fixes
systemPreferences.getAccentColor()returning an empty string on some launches). #52575Other Changes
v43.3.0: electron v43.3.0Compare Source
Release Notes for v43.3.0
Features
availabletoprocess.getSystemMemoryInfo()on Linux, exposingproc/meminfoMemAvailable. #52379 (Also in 42, 44)Fixes
BrowserWindowsize corruption on Windows when created with explicitx/yon a secondary monitor whose DPI differs from the primary. #52501 (Also in 42, 44)Dirent.parentPathbeingundefinedforfs.readdir,fs.readdirSync,fs.glob, andfs.globSyncwithwithFileTypes: trueinside asar archives. #52505 (Also in 42, 44)dialog.showOpenDialog/dialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52401 (Also in 44)protocol.registerStreamProtocolwhen an error is emitted during a read. #52514 (Also in 41, 42, 44)Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.