Release Notes for v18.0.0-alpha.1
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 electron@18.0.0-alpha.1
.
Features
- Added 'focus' and 'blur' events to
WebContents
. #25873 - Added Substitutions menu roles on macOS:
showSubstitutions
,toggleSmartQuotes
,toggleSmartDashes
,toggleTextReplacement
. #32024 - Added
first-instance-ack
event to theapp.requestSingleInstanceLock()
flow, so that users can pass some data back from the second instance to the first instance. #31460 - Added
height
option for Windows Control Overlay. #31222 - Added rawHeaders to IncomingMessage. #31853
- Removed the old
BrowserWindowProxy
-based implementation ofwindow.open
. This also removes thenativeWindowOpen
option fromwebPreferences
. #29405 - Support obsolete blowfish ciphers bf-{cbc,cfb,ecb} through the Node.js crypto API. #32356 (Also in 17)
Fixes
- Allowed specifying x64 arch on Mac Rosetta via
npm_config_arch
. #32266 (Also in 15, 16, 17) - Assertion failure happening in the
showSaveDialogSync()
code path has been fixed. (Fixes #31997). #32049 (Also in 14, 15, 16, 17) - Bug fixed for registering protocol in windows which used to set invalid command if the execution path included space. #32220 (Also in 14, 15, 16, 17)
- Fixed VoiceOver not reading typed words correctly in MAS builds. #32543 (Also in 17)
- Fixed
maxWidth
not working in BrowserWindow constructor options. #32628 (Also in 17) - Fixed
window.open
not overriding parent'swebPreferences
. #32057 (Also in 15, 16, 17) - Fixed a crash caused by app.getLocaleCountryCode(). #32256 (Also in 15, 16, 17)
- Fixed a crash that occurred when a user attempted to print a document either with
window.print()
, the print button in the PDF viewer, or withBrowserWindow.webContents()
and clicked cancel in the resulting print dialog. #32632 - Fixed a crash that occurred when user attempted to download an edited PDF. #32512 (Also in 15, 16, 17)
- Fixed a crash when starting VoiceOver on macOS. #32564 (Also in 17)
- Fixed a potential crash in v8 by using allocation type: kOld in v8 ScriptOrModule legacy lifetime. #32339 (Also in 17)
- Fixed a potential crash when importing media files or custom file types. #31881 (Also in 16, 17)
- Fixed a potential issue when setting backgroundColor on
BrowserView
s. #31863 (Also in 14, 15, 16, 17) - Fixed an issue that the
alert()
dialog title is corrupted. #32434 (Also in 14, 15, 16, 17) - Fixed an issue where
ipcRenderer.postMessage
would throw errors when thetransfer
argument was not passed. #32433 (Also in 14, 15, 16, 17) - Fixed an issue where calling screen capture on macOS does not properly release underlying OS capture mechanisms. #32435 (Also in 17)
- Fixed an issue where frameless vibrant windows would not show transparency correctly on macOS. #32593 (Also in 16, 17)
- Fixed an issue where if
backgroundColor
was set toundefined
, vibrancy failed to work and thebackgroundColor
would show up as white. #32517 (Also in 16, 17) - Fixed an issue where the 'maximize' and 'unmaximize' events didn't fire properly on linux. #32441 (Also in 14, 15, 16, 17)
- Fixed an issue with transparent windows failing to fire the
maximize
andunmaximize
events on Windows. #32643 (Also in 15, 16, 17) - Fixed aspect ratio resize for frameless windows on macOS. #32287 (Also in 15, 16, 17)
- Fixed console windows from ELECTRON_RUN_AS_NODE instances. #31963 (Also in 16, 17)
- Fixed crash when calling
webContents.setZoomFactor(1.0)
. #32604 (Also in 13, 14, 15, 16, 17) - Fixed crash when playing media files on Windows 7/8 or macOS 10.11/10.12. #32046 (Also in 13, 14, 15, 16, 17)
- Fixed incorrect
skipTransformProcessType
option parsing inwin.setVisibleOnAllWorkspaces()
. #32364 (Also in 13, 14, 15, 16, 17) - Fixed issue where not all serial devices were exposed to the handler specified by
session.setDevicePermissionHandler
. #32651 (Also in 15, 16, 17) - Fixed minimized BrowserWindow being restored by BrowserWindow.unmaximize(). #32438 (Also in 14, 15, 16, 17)
- Fixed potential crash on Windows and Linux when using
desktopCapturer.getSources
. #32052 (Also in 16, 17) - Fixed regression where console windows would open for execSync and some spawnSync calls for Windows users. #32340 (Also in 16, 17)
- Fixed respecting aspect ratio when maximum size is set on BrowserWindow. #29101 (Also in 14, 15, 16, 17)
- Fixed windows with
roundedCorners: false
unable to be closed. #32597 (Also in 15, 16, 17) - No Notes. #32178 (Also in 13, 14, 15, 16, 17)
- No Notes. #32240 (Also in 13, 14, 15, 16, 17)
- Strip symbols from crashpad_handler binary on Linux, reducing bundle size. #32540 (Also in 15, 16, 17)
- The
<webview>
implementation was made more robust, it no longer breaks whenwill-attach-webview
handler modifies the internalparams.instanceId
. #32386 (Also in 16, 17)