npm install electron@v2.0.0-beta.1
yarn add electron@v2.0.0-beta.1
Note: This is a beta release, this means it may be shipping with an unreleased version of Chromium.
Please file new issues for any bugs you find in it.
Release Notes
Upgrades
- Upgraded from Chrome
59.0.3071.115
to 61.0.3163.10
. #10213
- Upgraded from Node
8.2.1
to 8.9.3
. #10213
- Upgraded from v8
5.9.211.38
to 6.1.534.41
. #10213
Breaking API changes
- Changed
menu.popup
signature. #11968
- Removed deprecated
crashReporter.setExtraParameter
#11972
- Removed deprecated
webContents.setZoomLevelLimits
and webFrame.setZoomLevelLimits
. #11974
- Removed deprecated
clipboard
methods. #11973
- Removed support for boolean parameters for
tray.setHighlightMode
. #11981
Linux
- Switched from GTK2 to GTK3. #10213
Other Changes
- Updated license year. #11545
- Fixed
hexColorDWORDToRGBA
for transparent colors. #11557
- Added
window.loadFile
and webContents.loadFile
helper methods. #11565
- Documentation fixes and improvements. #11747 #11758 #11770 #11794 #11806 #11841 #11855 #11863 #11881 #11897 #11918 #11950 #11963
- Added
menu-will-show
and menu-will-close
menu events. #11754.
- Migrated deprecated web-view method. #11798
- Fixed closing a window opened from a browserview. #11799
- Added
--chromium_dir
argument to script/create-dist.py. #11354
- Added
shutdown
event to powerMonitor. #11417
- Fixed Bluetooth chooser bug. #11492
- Fixed unicode test. #11774
- Replaced custom function with
Object.values()
. #11836
- Added API to enable/disable a window. #11832
- Added ability to log atom ipc messages. #11880
- Added Offscreen rendering improvements. #11728
- Updated spellchecker. #11819
- Updated to use task scheduler for app.getFileIcon API. #11595
- Added
affinity
option for gathering several BrowserWindows into a single process. #11501
- Changed to fire
console-message
event even when rendering offscreen. #11921
- Fixed downloading from custom protocols using
WebContents.downloadURL
. #11804
- Fixed CI test failures. #11944
- Fixed transparent windows losing transparency when devtools detaches. #11956
Linux
- [SECURITY] Disabled executable stack. #11999
macOS
- Added in-app purchase for MacOS. #11292
- Fixed Electron apps canceling restart or shutdown. #11625
- Added the ability for saveDialog to list available extensions. #11873
- Added support for additional notification actions #11647
- Added ability to set macOS notification close button title. #11654
- Updated to use Squirrel.Mac that supports CDN releases. #11925
Windows
- Added Visual Studio 2017 support. #11656
- Fixed hiding tooltip from minimized window. #11644
- Fixed
desktopCapturer
to capture the correct screen. #11664
- Fixed
disableHardwareAcceleration
with transparency. #11704