bangbang93 / BMCLJS

BMCL็š„electronๅฎž็Žฐ๏ผŒๅฎž้ชŒไบงๅ“
2 stars 0 forks source link

Update electron to the latest version ๐Ÿš€ #10

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 2.0.0 of electron was just published.

Dependency electron
Current Version 1.8.6
Type devDependency

The version 2.0.0 is not covered by your current version range.

If you donโ€™t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of electron.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donโ€™t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes electron v2.0.0

Note: This is the stabilization release for 2.0.0. There are no code changes between 2.0.0 and 2.0.0-beta.8

2.0.0 contains the following changes from the 1.8.x series:

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
FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโ€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 2.0.1 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.1

Bug Fixes

  • Fixed flaky security-warnings test. #12776, #12946

  • Fixed context menu for sandbox devtools. #12731

  • Fixed dialog.showOpenDialog filters to show filter name instead of extension. #12779

  • Fixed invisible menu items no longer triggering. #12831

  • Fixed long jitter buffer delays with Opus and DTX. #12785

  • Fixed listeners out of limit warning. #12856

  • [SECURITY] Updates command-line backlist switches. #12806

  • Fixed typescript generation error. #12940

  • Fixed empty description on file type input when only one extension is given. #12963

macOS

  • Fixed the type information for inAppPurchase.canMakePayments(). #12824

Linux

  • Backport (2-0-x) - fix: support multiple inherited ubuntu session for indicators. #12964

Windows

  • Fixed to allow frameless transparent windows to be sized smaller than 64x64 on Windows. #12923

  • Backported sandbox fixes from Chromium. #12785

greenkeeper[bot] commented 6 years ago

Version 2.0.2 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.2

Bug Fixes

  • Fixed long jitter buffer delays with Opus and DTX (mistakenly marked as fixed in 2.0.1). #13009
  • Documented missing quit events during shutdown. #13026
  • Updated locale documentation. #13027

Linux

  • Fixed Menu.setApplicationMenu(null) crash. #13022

Windows

  • Fixed frameless transparent windows larger than 64x64. #13014
greenkeeper[bot] commented 6 years ago

Version 2.0.3 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.3

Bug Fixes

  • Fixed crashes with natively compiled modules. #13260
  • Mark browser window affinity as experimental. #13295
  • Enabled WebFrame method forwarding in sandboxed renderers (#12538). #13076
  • Fixed issue starting Electron with Node options. #13324
  • Fixed passing the boolean value of enableAutoSize in webContents.setSize(options). #13330
  • [SECURITY] Added temporal index bounds check for WebRTC. #13305

macOS

  • Fixed tray title not inverting when highlighted. #13262
  • Fixed to allow lookup of videodecoder service to fix HW video decoding on macOS 10.13. #13275, #13345
  • Fixed issue allowing bundles to be selected in open file. #13277
  • Fixed to set mac protocol to none after calling app.removeAsDefaultProtocolClient. #13325
greenkeeper[bot] commented 6 years ago

Version 2.0.4 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.4

Bug Fixes

  • Fixed crashes in V8 garbage collector. #13421
  • Fixed issue where cookies and credentials were being captured in netlog. #13537

macOS

  • Fixed crash on startup on macOS 10.9 due to linking with CoreBluetooth. #13545
  • Fixed tray.setContextMenu crash. #13516

Windows

  • Fixed windows causing repaint issues when DWM composition is disabled. #12501
greenkeeper[bot] commented 6 years ago

Version 2.0.5 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.5

Bug Fixes

  • Fixed crash from double-freeing remote references. #13604
  • Fixed crash when using proxies. #13625
greenkeeper[bot] commented 6 years ago

Version 2.0.6 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.6

Bug Fixes

  • Fix Widget::OnSizeConstraintsChanged crash. #13825
  • Fix crash caused by double-freeing remote references. #13735
  • Fix flicker on Macs when the GPU is under heavy load. #13896
  • Fixed 'will-attach-webview' event firing before src was set. #13714
  • Made setTimeout promisify-friendly. #13859
  • Use --enable-features and --disable-features. #13782
  • Minor documentation updates and fixes. #13856
greenkeeper[bot] commented 6 years ago

Version 2.0.7 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.7

Bug Fixes

  • Fix handling SIGINT and SIGTERM in the Electron CLI helper. #13888
  • Remove upstream code that used private Mac API. #13919
  • Improve handling of --enable-features and --disable-features. #13921
  • Fix some APIs modified for ASAR support couldn't be util.promisified. #13960
  • Prevent menu update while it's open. #13966
  • Use unverified sync token in WebGL's DrawingBuffer. #13919
greenkeeper[bot] commented 6 years ago

Version 2.0.8 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.8

Bug Fixes/Changes

  • [SECURITY] Fixed webPreferences inheritance issue. CVE-2018-15685
  • Improved logging for request failures for releasing. #14244
greenkeeper[bot] commented 6 years ago

Version 2.0.9 just got published.

Update to this version instead ๐Ÿš€

Release Notes electron v2.0.9

Bug Fixes/Changes

  • fix: do not bubble up resize event from webview. #14272

  • deps: update node for two backports. #14298

  • fix: issue 10962, crash when open devtool. #13808

  • fix: don't crash on tray.setContextMenu(null). #14330

  • fix: dont parse arguments after a -- in the inspector (#14297). #14334

  • fix: crash when tray is destroyed. #14366

  • docs: added session-created event documentation (backport: 2-0-x). #14439

  • chore: add release-artifact-cleanup script. #14448

  • Fix documentation tyop. #14477

greenkeeper[bot] commented 6 years ago

Update to this version instead ๐Ÿš€

Release Notes for electron v3.0.0

v3.0.0 would not have been possible without our App Feedback Program partners, who provided early testing and feedback during the beta cycle. Thanks to Atlassian, Atom, Microsoft Teams, Oculus, OpenFin, Slack, Symphony, VS Code, and other program members for their work. If you'd like to participate in future betas, please mail us at info@electronjs.org.

Changes / New Features

Major bumps to several important parts of Electron's toolchain, including Chrome v66.0.3359.181, Node v10.2.0, and V8 v6.6.346.23.

  • [#12656] feat: app.isPackaged
  • [#12652] feat: app.whenReady()
  • [#13183] feat: process.getHeapStatistics()
  • [#12485] feat: win.moveTop() to move window z-order to top
  • [#13110] feat: TextField and Button APIs
  • [#13068] feat: netLog API for dynamic logging control
  • [#13539] feat: enable webview in sandbox renderer
  • [#14118] feat: fs.readSync now works with massive files
  • [#14031] feat: node fs wrappers to make fs.realpathSync.native and fs.realpath.native available

Breaking API changes

  • [#12362] feat: updates to menu item order control
  • [#13050] refactor: removed documented deprecated APIs
    • See docs for more details
  • [#12477] refactor: removed did-get-response-details and did-get-redirect-request events
  • [#12655] feat: default to disabling navigating on drag/drop
  • [#12993] feat: Node v4.x or greater is required use the electron npm module
  • [#12008 #12140 #12503 #12514 #12584 #12596 #12637 #12660 #12696 #12716 #12750 #12787 #12858] refactor: NativeWindow
  • [#11968] refactor: menu.popup()
  • [#8953] feat: no longer use JSON to send the result of ipcRenderer.sendSync
  • [#13039] feat: default to ignore command line arguments following a URL
  • [#12004] refactor: rename api::Window to api::BrowserWindow
  • [#12679] feat: visual zoom now turned off by default
  • [#12408] refactor: rename app-command media-play_pause to media-play-pause

macOS

  • [#12093] feat: workspace notifications support
  • [#12496] feat: tray.setIgnoreDoubleClickEvents(ignore) to ignore tray double click events.
  • [#12281] feat: mouse forward functionality on macOS
  • [#12714] feat: screen lock / unlock events

Windows

  • [#12879] feat: added DIP to/from screen coordinate conversions

Nota Bene: Switching to an older version of Electron after running this version will require you to clear out your user data directory to avoid older versions crashing. You can get the user data directory by running console.log(app.getPath("userData")) or see docs for more details.

Bug Fixes

  • [#13397] fix: issue with fs.statSyncNoException throwing exceptions
  • [#13476, #13452] fix: crash when loading site with jquery
  • [#14092] fix: crash in net::ClientSocketHandle destructor
  • [#14453] fix: notify focus change right away rather not on next tick

MacOS

  • [#13220] fix: issue allowing bundles to be selected in <input file="type"> open file dialog
  • [#12404] fix: issue blocking main process when using async dialog
  • [#12043] fix: context menu click callback
  • [#12527] fix: event leak on reuse of touchbar item
  • [#12352] fix: tray title crash
  • [#12327] fix: non-draggable regions
  • [#12809] fix: to prevent menu update while it's open
  • [#13162] fix: tray icon bounds not allowing negative values
  • [#13085] fix: tray title not inverting when highlighted
  • [#12196] fix: Mac build when enable_run_as_node==false
  • [#12157] fix: additional issues on frameless windows with vibrancy
  • [#13326] fix: to set mac protocol to none after calling app.removeAsDefaultProtocolClient
  • [#13530] fix: incorrect usage of private APIs in MAS build
  • [#13517] fix: tray.setContextMenu crash
  • [#14205] fix: pressing escape on a dialog now closes it even if defaultId is set

Linux

  • [#12507] fix: BrowserWindow.focus() for offscreen windows

Other Notes

  • PDF Viewer is not working in 3.0.0 but will be return soon
  • TextField and Button APIs are experimental and are therefore off by default
    • They can be enabled with the enable_view_api build flag
greenkeeper[bot] commented 6 years ago

Update to this version instead ๐Ÿš€

Release Notes for electron v3.0.1

Bug Fixes/Changes

  • chore: fix await in cleanup script (backport: 3-0-x). #14696

  • docs: specify BrowserWindow features passable to window.open. #14702

  • Fix second-instance handler signature. #14748

  • fix: do not set layer explicitly for frameless window. #14736

  • fix: actually return appmetrics. #14750

  • fix: initialize tracing controller before starting platform (3-0-x). #14503

  • docs: clarify allowable background colors for BrowserWindow transparency (backport: 3-0-x). #14781

  • fix: inconsistent titleBarStyle on transparent fullscreen. #14790

  • chore: bump libcc (3-0-x). #14809

  • fix: get background color from GtkMenuBar#menubar. #14812

greenkeeper[bot] commented 6 years ago

Update to this version instead ๐Ÿš€

Release Notes for electron v3.0.2

Bug Fixes/Changes

  • docs: correct key code reqs for accel doc. #14824
greenkeeper[bot] commented 6 years ago

Update to this version instead ๐Ÿš€

Release Notes for electron v3.0.3

Bug Fixes/Changes

  • fix: enable key accelerator flags for Windows and Linux (backport: 3-0-x). #14859

  • fix: roll node deps for fs event patch. #14864

  • fix: Disable new fade animation for BrowserViews. #14913

  • fix: check guest view's devtools window size. #14928

  • fix: use white background for non-OSR renderer by default. #14934

  • fix: support ASAR in fs.copyFile. #14953