Electron Releases - v15.1.0

npm install electron@v15.1.0
yarn add electron@v15.1.0

Release Notes

Features

  • Added WebHID support. #31095 (Also in 16)
  • Added frame property to the params object of the 'context-menu' event. #31057
  • Added isMainFrame argument to 'certificate-error' event. #31038
  • Added textWidth option to dialog.showMessageBox() / dialog.showMessageBoxSync(). #31088 (Also in 16)

Fixes

  • Fixed Let's Encrypt DST Root CA X3 certificate expiration. #31218 (Also in 12, 13, 14, 16)
  • Fixed a crash in navigator.fonts.query(). #30985 (Also in 14)
  • Fixed an issue where BrowserView dragging behavior was inconsistent with MacOS window dragging. #31177 (Also in 13, 14, 16)
  • Fixed an issue where button labels in file choosers were improperly localized on Linux. #31066 (Also in 14, 16)
  • Fixed an issue where changes to draggable regions in a BrowserWindow incorrectly affected those in an attached BrowserView. #31198 (Also in 13, 14, 16)
  • Fixed an issue where non-resizable non-fullscreenable windows with aspect ratios set could return incorrect results for isMaximized(). #31041 (Also in 13, 14)
  • Fixed an issue where out-of-focus BrowserViews could not be immediately dragged. #31100 (Also in 13, 14, 16)
  • Fixed an issue where some calls to crypto.createPrivateKey made with algorithms unsupported by BoringSSL cause a crash when invoking methods on their return values. #31137 (Also in 16)
  • Fixed black border around the page after resizing is disabled. #31081 (Also in 13, 14, 16)
  • Fixed crash caused by double free when destroying WebContents. #31133 (Also in 14, 16)
  • Fixed crash in v8 due to (Check failed: !regexp_stack_->is_in_use()). #31144 (Also in 13, 14, 16)

Other Changes

  • Updated Chromium to 94.0.4606.61. #31112