Electron Releases - v4.2.0

npm install electron@v4.2.0
yarn add electron@v4.2.0

Release Notes

This release is a minor bump as it contains exactly one new feature. app.userAgentFallback, this feature is outlined below along with the other fixes and changes that went into this release. The 4.2.x series is now only release line in the 4.x.y major release line that will receive bug fixes and security fixes. It is recommended you upgrade to 4.2.x.

Features

  • Added new app.userAgentFallback property to allow setting the apps useragent globally. #18110

Fixes

  • Fixed an issue on Windows where calling .show() on a BrowserWindow did not focus the window. #18079
  • Fixed issue where you couldn't respond to stream protocol requests with multiple values for the same header. #18094

Other Changes

  • Removed Vulkan validation layers DLLs from electron.zip, which are only meant to be used for Chromium development. #18060