npm electron 14.0.0-beta.1
electron v14.0.0-beta.1

latest releases: 29.3.2, 30.0.2, 31.0.0-alpha.3...
2 years ago

Note: This is a beta release. Please file new issues for any bugs you find in it.

This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm install electron@14.0.0-beta.1.

Release Notes for v14.0.0-beta.1

Features

  • Added BrowserWindow.isFocusable() to determine whether a window is focusable. #28642
  • Added WebFrameMain.visibilityState instance property. #28706
  • Added disposition, referrer and postBody to the details object passed to the window open handler registered with setWindowOpenHandler. #28518 (Also in 13)
  • Added process.contextId used by @electron/remote. #28007 (Also in 13)
  • Added new session.storagePath API to get the path on disk for session-specific data. #28665 (Also in 13)
  • Added support for the des-ede3 cipher in node crypto. #27897 (Also in 11, 12)
  • Adding ContextBridgeMutability feature that skips context bridge DeepFreeze and SetReadOnlyNonConfigurable when exposing a value. #27348
  • Child windows no longer inherit BrowserWindow construction options from their parents. #28550
  • Removed deprecated additionalFeatures property from new-window and did-create-window WebContents events. #28548
  • The submitURL option for crashReporter.start is no longer a required argument when uploadToServer is false. #28105 (Also in 13)
  • nativeWindowOpen: true is now the default. #28552

Fixes

  • Allow Node.js to manage microtasks queue by using explicit microtasks policy before calling uv_run(). #28957 (Also in 11, 12, 13)
  • Allow loading source maps from custom protocols and asar bundles. #28573 (Also in 12, 13)
  • Child windows with specified background colors or transpency now work as intended. #28054 (Also in 12, 13)
  • Colors returned from systemPreferences.getAccentColor(), getSystemColor and getColor are now correctly converted into the devices color space. Previously the color would have been subtly incorrect. #28121 (Also in 11, 12, 13)
  • Fixed <webview> focus / blur events not working with contextIsolation enabled. #29004 (Also in 10, 11, 12, 13)
  • Fixed desktopCapturer.getSources() promise result sometimes never resolving. #28273 (Also in 10, 11, 12, 13)
  • Fixed postData parameter missing from new-window event. #28513 (Also in 12, 13)
  • Fixed webFrame spell checker APIs crashing when called in sandboxed renderer. #29053 (Also in 12, 13)
  • Fixed will-resize and will-move events not scaling the emitted newBounds rectangle to the appropriate Windows display scale factor. #29162 (Also in 11, 12, 13)
  • Fixed a bug where, when a JumpList task description exceeded 260 characters, the JumpList was empty, despite valid entries. #28485 (Also in 11, 12, 13)
  • Fixed a crash when calling shell.trashItem() from the renderer process. #28748 (Also in 12, 13)
  • Fixed a network process crash that could happen when using setCertificateVerifyProc with many concurrent verification requests. #28358 (Also in 11, 12, 13)
  • Fixed an issue where beforeunload and unload weren't firing properly in BrowserViews. #28382
  • Fixed an issue where illegal access error could be thrown when nodeIntegrationInSubFrames is enabled. #29093 (Also in 12, 13)
  • Fixed an issue where select-serial-port callback crashes when called with an invalid serial port ID. #28602 (Also in 12, 13)
  • Fixed an issue where win.capturePage() never called back after calling hide() for a hidden window on some platforms. #27883 (Also in 11, 12, 13)
  • Fixed an issue where window.print() did not work properly when printing a pdf from the pdf plugin. #28328 (Also in 12, 13)
  • Fixed an issue where drag regions on macOS would be offset incorrectly when no drag regions were set,. #28984 (Also in 11, 12, 13)
  • Fixed an issue where errors thrown in functions passed over the contextBridge could be displayed incorrectly. #28346 (Also in 12, 13)
  • Fixed an issue where extensions without a background page might not have file access. #29123 (Also in 12, 13)
  • Fixed an issue where multiple calls to window.setFullScreen could cause problems. #25470 (Also in 11, 12, 13)
  • Fixed an issue where some Node.js modules would hang on page reload on Windows. #28175 (Also in 11, 12, 13)
  • Fixed an issue where some dialogs would stop working on macOS if window.hide() was called while they were open. #28671 (Also in 11, 12, 13)
  • Fixed an issue where the drag regions in BrowserViews on macOS could be off in their y-axis. #28268 (Also in 10, 11, 12, 13)
  • Fixed an issue where the thumbar disappeared after win.hide() on Windows. #28366 (Also in 10, 11, 12, 13)
  • Fixed an issue where the void function Menu.setApplicationMenu would return a value on some platforms. #29118 (Also in 12, 13)
  • Fixed an issue where the window couldn't be closed if a user tried to quit with a message box showing. #28967 (Also in 12, 13)
  • Fixed an issue where windows in simpleFullscreen mode were not properly resizing when display metrics changed. #28150 (Also in 11, 12, 13)
  • Fixed context menus not being positioned correctly when near the edge of the screen. #28224 (Also in 11, 12, 13)
  • Fixed corner radius for vibrancy view in macOS 11. #28655 (Also in 11, 12, 13)
  • Fixed crash when an exception occurs within the event emitter. #28971 (Also in 13)
  • Fixed crash when calling getBackgroundColor on a transparent window with no assigned background color. #28120 (Also in 11, 12, 13)
  • Fixed failing to request file:// resources when web security is disabled. #28489 (Also in 11, 12, 13)
  • Fixed incorrect value of document.focus when opening multiple windows on macOS. #29204 (Also in 12)
  • Fixed intensive I/O from asar files causing ERR_FILE_NOT_FOUND after a while. #28137 (Also in 11, 12, 13)
  • Fixed permissions issue that was preventing the PDF viewer from displaying. #29210 (Also in 13)
  • Fixed rare crash when initializing the internal PDF extension. #28432 (Also in 12, 13)
  • Fixed service worker not working with custom protocol. #28326 (Also in 11, 12, 13)
  • Fixed the handler set with setWindowOpenHandler not being invoked when a link was middle-clicked or shift-clicked. #28498 (Also in 12, 13)
  • Fixed the possibility for incorrect visual artifacts when using vibrancy and making frameless windows fullscreen on macOS. #29084 (Also in 13)
  • Fixed the window-all-closed event being emitted while the last BrowserWindow was still in the process of being closed. #28867 (Also in 11, 12, 13)
  • Fixed using navigator.setAppBadge and navigator.clearAppBadge from a service worker in Electron. #27950 (Also in 12)
  • Fixed using vibrancy with titleBarStyle together resulting in weird window shadow on macOS. #29114 (Also in 13)
  • No longer set backgroundColor in default-app when opening custom files / URLs. #28792 (Also in 10, 11, 12, 13)
  • Restored cross-platform noop implementation of app.setAppUserModelId. #28915 (Also in 13)
  • Support wasm-eval csp behind WebAssemblyCSP flag. #28535 (Also in 11, 12, 13)
  • Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar. #28207 (Also in 12, 13)
  • URLS passed to shell.openExternal on windows are now correctly URI encoded. This was already occurring on macOS and Linux. #28334 (Also in 10, 11, 12, 13)

Other Changes

  • Deprecated worldSafeExecuteJavaScript option was removed from webPreferences. #28456
  • Fixed native module compilation with AsyncCleanupHooks on windows. #28067 (Also in 11, 12, 13)
  • Fixed using custom v8 snapshots on Apple Silicon. #29338
  • Improved performance characteristics of functions being sent back and forth over the contextBridge. #28285
  • Improved performance of napi_threadsafe_function. #29021 (Also in 12, 13)
  • Refactored <webview> using contextBridge to make it safer to use when contextIsolation is enabled. #29037
  • Removed the deprecated app.allowRendererProcessReuse and BrowserWindow affinity options. #26874
  • Updated Chromium to 92.0.4511.0. #29173
  • Updated Node.js to v14.17.0. #29151
  • Updated community discussions link in default Electron menu. #28449 (Also in 12, 13)

Documentation

Don't miss a new electron release

NewReleases is sending notifications on new releases.