370 Features Released with v15.0.0-alpha.1
Browse Other Releases
Top Contributors in v15.0.0-alpha.1
Directory Browser for v15.0.0-alpha.1
We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.
Release Notes Published
Note: This is an alpha release. Please file new issues for any bugs you find in it.
This release is published to npm under the alpha tag and can be installed via npm install electron@alpha, or npm install [email protected].
New Release Cadence
https://www.electronjs.org/blog/8-week-cadence
# Release Notes for v15.0.0-alpha.1
Features
- Added
BrowserWindow.isFocusable()to determine whether a window is focusable. #28642 - Added
WebFrameMain.visibilityStateinstance property. #28706 - Added
disposition,referrerandpostBodyto the details object passed to the window open handler registered withsetWindowOpenHandler. #28518 <span style="font-size:small;">(Also in 13)</span> - Added
locationandmodifiersto the event properties provided in the'before-input-event'WebContents event. #29850 - Added
process.contextIdused by@electron/remote. #28007 <span style="font-size:small;">(Also in 13)</span> - Added
signaloption todialog.showMessageBox. #26102 - Added experimental cookie encryption support behind an Electron Fuse. #27524 <span style="font-size:small;">(Also in 13, 14)</span>
- Added missing
resourceTypeconversions forwebRequestlistener details:font,ping,cspReport,media,webSocket. #29902 <span style="font-size:small;">(Also in 14)</span> - Added new
MenuItem.userAcceleratorproperty to read user-assigned macOS accelerator overrides. #26682 - Added new
app.runningUnderARM64Translationproperty to detect when running under Rosetta on Apple Silicon, or WOW on Windows for ARM. #29168 - Added new
imageAnimationPolicyweb preference to control how images are animated. #29095 - Added new
session.storagePathAPI to get the path on disk for session-specific data. #28665 <span style="font-size:small;">(Also in 13)</span> - Added resize
edgeinfo toBrowserWindow'swill-resizeevent. #29199 - Added support for Windows Control Overlay on macOS. #29253 <span style="font-size:small;">(Also in 14)</span>
- Added support for debug URLs such as
chrome://gpucrash. #29404 <span style="font-size:small;">(Also in 13, 14)</span> - Added support for directing Chromium logging to a file with
--log-file=.../path/to/file.log. Also, it's now possible to enable logging from JavaScript by appending command-line switches during the first JS tick. #25089 <span style="font-size:small;">(Also in 14)</span> - Added support for sending Blobs over the context bridge. #29247
- Added support for the des-ede3 cipher in node crypto. #27897 <span style="font-size:small;">(Also in 11, 12)</span>
- Adding
ContextBridgeMutabilityfeature that skips context bridgeDeepFreezeandSetReadOnlyNonConfigurablewhen exposing a value. #27348 - Child windows no longer inherit BrowserWindow construction options from their parents. #28550
- Extended
continue-activityevent API to supportwebpageURLproperty fromNSUserActivity. #30042 - Removed deprecated
additionalFeaturesproperty fromnew-windowanddid-create-windowWebContents events. #28548 - The
submitURLoption forcrashReporter.startis no longer a required argument whenuploadToServeris false. #28105 <span style="font-size:small;">(Also in 13)</span> nativeWindowOpen: trueis now the default. #28552Fixes
Allow Node.js to manage microtasks queue by using explicit microtasks policy before calling
uv_run(). #28957 <span style="font-size:small;">(Also in 11, 12, 13)</span>Allow loading source maps from custom protocols and asar bundles. #28573 <span style="font-size:small;">(Also in 12, 13)</span>
Child windows with specified background colors or transpency now work as intended. #28054 <span style="font-size:small;">(Also in 12, 13)</span>
Colors returned from
systemPreferences.getAccentColor(),getSystemColorandgetColorare now correctly converted into the devices color space. Previously the color would have been subtly incorrect. #28121 <span style="font-size:small;">(Also in 11, 12, 13)</span>Electron Fuses are now in a consistent order across platforms. #29599 <span style="font-size:small;">(Also in 13, 14)</span>
Fixd an issue where
fs.promises.readFilewould improperly error when passing aFileHandleto thepathargument. #29528 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed CORS preflight request always being cancelled when connecting via proxy requiring authentication for apps that had registered WebRequest listeners. #29266 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed
<webview>focus/blurevents not working withcontextIsolationenabled. #29004 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>Fixed
desktopCapturer.getSources()promise result sometimes never resolving. #28273 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>Fixed
postDataparameter missing fromnew-windowevent. #28513 <span style="font-size:small;">(Also in 12, 13)</span>Fixed
requestFullscreeninside webview does not make the element take fullscreen. #29952 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed
select-bluetooth-devicefiring on Windows. #29591 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed
webFramespell checker APIs crashing when called in sandboxed renderer. #29053 <span style="font-size:small;">(Also in 12, 13)</span>Fixed
will-resizeandwill-moveevents not scaling the emittednewBoundsrectangle to the appropriate Windows display scale factor. #29162 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed a bug where, when a JumpList task description exceeded 260 characters, the JumpList was empty, despite valid entries. #28485 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed a crash when calling
shell.trashItem()from the renderer process. #28748 <span style="font-size:small;">(Also in 12, 13)</span>Fixed a crash when calling the
webContents.on('login')callback synchronously. #30068 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed a hang when denying a
window.openusingsetWindowOpenHandlerwhennativeWindowOpen: false. #29851 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed a network process crash that could happen when using
setCertificateVerifyProcwith many concurrent verification requests. #28358 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed a potential crash when calling
app.quit()on macOS. #29941 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed a potential crash when setting vibrancy on macOS. #29677 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed an issue where BrowserWindows would not properly honor
transparency: trueor abackgroundColorbeing set in their constructor options. #30136 <span style="font-size:small;">(Also in 14)</span>Fixed an issue where Electron would sometimes not honor the user-defined Downloads directory. #29938 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed an issue where
GDK_BACKENDwas being propagated to subprocesses on Linux. #28898Fixed an issue where
beforeunloadandunloadweren't firing properly inBrowserViews. #28382Fixed an issue where
illegal access errorcould be thrown whennodeIntegrationInSubFramesis enabled. #29093 <span style="font-size:small;">(Also in 12, 13)</span>Fixed an issue where
select-serial-portcallback crashes when called with an invalid serial port ID. #28602 <span style="font-size:small;">(Also in 12, 13)</span>Fixed an issue where
self.module.pathswouldn't work in Workers. #29955 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed an issue where
win.capturePage()never called back after callinghide()for a hidden window on some platforms. #27883 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed an issue where
window.print()did not work properly when printing a pdf from the pdf plugin. #28328 <span style="font-size:small;">(Also in 12, 13)</span>Fixed an issue where custom traffic lights could be covered by BrowserViews on macOS. #29595 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed an issue where drag regions on macOS would be offset incorrectly when no drag regions were set,. #28984 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed an issue where draggable regions sometimes did not work properly when DevTools is open. #29696 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed an issue where dropdown menus did not work in DevTools when
contextIsolationwas enabled. #29841 <span style="font-size:small;">(Also in 13, 14)</span>Fixed an issue where errors thrown in functions passed over the
contextBridgecould be displayed incorrectly. #28346 <span style="font-size:small;">(Also in 12, 13)</span>Fixed an issue where extensions without a background page might not have file access. #29123 <span style="font-size:small;">(Also in 12, 13)</span>
Fixed an issue where multiple calls to
window.setFullScreencould cause problems. #25470 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed an issue where request headers were cleared if the optional "requestHeaders" parameter was not included in the webRequest.onBeforeSendHeaders callback response object. #29798 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed an issue where right-clicking in the devtools console throws an error. #29436 <span style="font-size:small;">(Also in 14)</span>
Fixed an issue where some Node.js modules would hang on page reload on Windows. #28175 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed an issue where some dialogs would stop working on macOS if
window.hide()was called while they were open. #28671 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed an issue where the
setAlwaysOnTopvalue would sometimes not be preserved for child windows on macOS. #29813 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed an issue where the drag regions in BrowserViews on macOS could be off in their y-axis. #28268 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>
Fixed an issue where the thumbar disappeared after
win.hide()on Windows. #28366 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>Fixed an issue where the traffic lights would get double-drawn when exiting fullscreen and adding a
BrowserViewon macOS. #30114 <span style="font-size:small;">(Also in 13, 14)</span>Fixed an issue where the user-data directory was incorrect in unpackaged apps. #30113 <span style="font-size:small;">(Also in 14)</span>
Fixed an issue where the void function
Menu.setApplicationMenuwould return a value on some platforms. #29118 <span style="font-size:small;">(Also in 12, 13)</span>Fixed an issue where the window couldn't be closed if a user tried to quit with a message box showing. #28967 <span style="font-size:small;">(Also in 12, 13)</span>
Fixed an issue where windows in
simpleFullscreenmode were not properly resizing when display metrics changed. #28150 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed an issue with PDF loading on Windows, where metadata was not loading correctly and causing the PDF to load as a blank page. #29827 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed context menus not being positioned correctly when near the edge of the screen. #28224 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed corner radius for vibrancy view in macOS 11. #28655 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed crash when an exception occurs within the event emitter. #28971 <span style="font-size:small;">(Also in 13)</span>
Fixed crash when calling
getBackgroundColoron a transparent window with no assigned background color. #28120 <span style="font-size:small;">(Also in 11, 12, 13)</span>Fixed crash when clicking links with
target=_blankfrom webview. #29874 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed crashes in debug builds caused by microtasks policy mismatch. #29531 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed crashes on latest gen Intel and Ryzen processors. #29689 <span style="font-size:small;">(Also in 14)</span>
Fixed crashes on macOS when
Geolocationwas used. #29913 <span style="font-size:small;">(Also in 13, 14)</span>Fixed failing to request file:// resources when web security is disabled. #28489 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed hover state not clear bug when BrowserWindow is not resizable. #29721 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed incorrect value of
document.focuswhen opening multiple windows on macOS. #29204 <span style="font-size:small;">(Also in 12, 13)</span>Fixed intensive I/O from asar files causing ERR_FILE_NOT_FOUND after a while. #28137 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed issue where the update permission prompt would cause 100% CPU spin while the prompt was open. #29791 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed key window status on mac when opening panels or using custom window switchers. #29857 <span style="font-size:small;">(Also in 12, 14)</span>
Fixed memory leak when creating notification on macOS. #29990 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed memory leak when requesting files in ASAR archive from renderer. #29293 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed missing 'fetch' event in service workers for requests using a registered protocol. #29425 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed page title not being updated on child windows without navigation entries under nativeWindowOpen. #29946 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed permissions issue that was preventing the PDF viewer from displaying. #29210 <span style="font-size:small;">(Also in 13)</span>
Fixed potential corruption of piped response data when using interceptHttpProtocol/registerHttpProtocol. #29567 <span style="font-size:small;">(Also in 11, 12, 13, 14)</span>
Fixed pressing Alt with mouse click results in toggling menu bar. #29318 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed pressing ESC not exiting fullscreen from
webview. #30063 <span style="font-size:small;">(Also in 12, 14)</span>Fixed pressing
Alt+ShiftandAlt+Ctrltoggling menu bar on KDE. #29328 <span style="font-size:small;">(Also in 12, 13, 14)</span>Fixed rare crash when initializing the internal PDF extension. #28432 <span style="font-size:small;">(Also in 12, 13)</span>
Fixed redirects between locations in custom protocols. #29796
Fixed sending intermediate certificates with 'select-client-certificate' event callback. #29552 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed service worker not working with custom protocol. #28326 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed shifted character getting changed in menu accelerator. #29202 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed systemPreferences.getSystemColor returning colors missing alpha values. #30055 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed the 'did-fail-load' event not being emitted when the 'certificate-error' handler allowed an error through. #29826 <span style="font-size:small;">(Also in 14)</span>
Fixed the
<select>element dropdown not appearing on Windows or Linux. #29742 <span style="font-size:small;">(Also in 14)</span>Fixed the color select eyedropper not working within DevTools. #29729 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed the handler set with
setWindowOpenHandlernot being invoked when a link was middle-clicked or shift-clicked. #28498 <span style="font-size:small;">(Also in 12, 13)</span>Fixed the possibility for incorrect visual artifacts when using vibrancy and making frameless windows fullscreen on macOS. #29084 <span style="font-size:small;">(Also in 13)</span>
Fixed the spelling of 'attachment' in 'Content-Disposition' header when using the webRequest module. #29621 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Fixed the window-all-closed event being emitted while the last BrowserWindow was still in the process of being closed. #28867 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed tray.setTitle not respecting ANSI colors if a font type was specified. #30146
Fixed typescript export definitions such that not-exported values are not declared in the exports interface. #28712
Fixed using navigator.setAppBadge and navigator.clearAppBadge from a service worker in Electron. #27950 <span style="font-size:small;">(Also in 12)</span>
Fixed using vibrancy with titleBarStyle together resulting in weird window shadow on macOS. #29114 <span style="font-size:small;">(Also in 13)</span>
Installing the
electronpackage on an M1 macbook while using an x64 version of node will now automatically download the arm64 version of Electron instead of the x64 version. #29953No longer set backgroundColor in default-app when opening custom files / URLs. #28792 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>
Restored cross-platform noop implementation of
app.setAppUserModelId. #28915 <span style="font-size:small;">(Also in 13)</span>Support
wasm-evalcsp behindWebAssemblyCSPflag. #28535 <span style="font-size:small;">(Also in 11, 12, 13)</span>Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar. #28207 <span style="font-size:small;">(Also in 12, 13)</span>
URLS passed to
shell.openExternalon windows are now correctly URI encoded. This was already occurring on macOS and Linux. #28334 <span style="font-size:small;">(Also in 10, 11, 12, 13)</span>Other Changes
: Updated Node.js to v16.2.0. #29244
Adds an additional crash key to gin::wrappable. #30161
Backported fix for 1216190. #30084 <span style="font-size:small;">(Also in 12, 13, 14)</span>
Deprecated
worldSafeExecuteJavaScriptoption was removed fromwebPreferences. #28456Fixed
app.getPath('logs')returning the wrong path on Linux and Windows. #29649 <span style="font-size:small;">(Also in 14)</span>Fixed a feature flag issue where spellchecker methods returned empty suggestion lists on Windows. #29690 <span style="font-size:small;">(Also in 13, 14)</span>
Fixed native module compilation with AsyncCleanupHooks on windows. #28067 <span style="font-size:small;">(Also in 11, 12, 13)</span>
Fixed using custom v8 snapshots on Apple Silicon. #29338 <span style="font-size:small;">(Also in 12, 13)</span>
Improved performance characteristics of functions being sent back and forth over the contextBridge. #28285
Improved performance of
napi_threadsafe_function. #29021 <span style="font-size:small;">(Also in 12, 13)</span>Refactored
<webview>usingcontextBridgeto make it safer to use whencontextIsolationis enabled. #29037Removed the deprecated
app.allowRendererProcessReuseand BrowserWindowaffinityoptions. #26874Updated Chromium to 93.0.4566.0. #29980
Updated Node.js to v16.5.0. #30031
Updated community discussions link in default Electron menu. #28449 <span style="font-size:small;">(Also in 12, 13)</span>
Documentation
