Electron v1.4.7 发布,JavaScript桌面应用开发库

jopen 8年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/ad917897cda0683a87254de315b17e4b.png" /></strong></p>    <p> </p>    <p>Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造桌面应用。你可以把它看作是专注于桌面应用而不是 web 服务器的,io.js 的一个变体。</p>    <p> </p>    <h2>更新日志</h2>    <h3>依赖关系升级</h3>    <ul>     <li><a href="/misc/goto?guid=4958995407327472485">Squirrel.Mac</a>, Electron's bundled macOS auto updater library, was upgraded to 0.3.0 which includes several bug fixes. The new version enables <a href="/misc/goto?guid=4958995407449915031">App Transport Security (ATS)</a> on all requests it makes to the update server. This can be disabled, if needed, by adding <code>NSAllowsArbitraryLoads</code> to the app's plist file. <a href="/misc/goto?guid=4958995407561971734" title="Update external frameworks version">#7933</a></li>    </ul>    <h3>新API</h3>    <ul>     <li>You can now enable the macOS vibrancy effect on a <code>BrowserWindow</code> by calling<code>setVibrancy(vibrancyType)</code> or by including a <code>vibrancy</code> value in the constructor options. <a href="/misc/goto?guid=4958995407689289130">#7898</a></li>     <li>You can now specify <code>POST</code> data when calling <code>BrowserWindow.loadURL</code> via the <code>postData</code> option. Also<code><form></code> tags configured with <code>method=post</code> will now make <code>POST</code> requests with their data when submitted. <a href="/misc/goto?guid=4958995407812181956">#7540</a></li>     <li>The certificate specified to the <code>session.setCertificateVerifyProc</code> callback now includes the entire certificate chain. <a href="/misc/goto?guid=4958995407926525690">#7917</a></li>     <li>The <code><webview></code> tag now supports a <code>disableguestresize</code> attribute that will disable automatic resizing of the guest <code>webContents</code> when the <code><webview></code> element resizes. You can now call <code>setSize</code> directly on the guest <code>webContents</code> to manually control the size. <a href="/misc/goto?guid=4958995408047254788">#7658</a></li>     <li>The <code>chrome.storage.remove</code> and <code>chrome.storage.clear</code> APIs are now available to DevTools extensions. <a href="/misc/goto?guid=4958995408158467537">#7923</a></li>    </ul>    <h3>Bug 修复</h3>    <ul>     <li>The <code>about:</code> protocol is now correctly supported by default. <a href="/misc/goto?guid=4958995408290079528">#7908</a></li>     <li>Menu item keyboard accelerators are now properly disabled when the menu item is disabled. <a href="/misc/goto?guid=4958995408397935422">#7962</a></li>     <li>The check for disabling ASAR support via the <code>ELECTRON_NO_ASAR</code> environment variable is now cached for better performance. <a href="/misc/goto?guid=4958995408511412086">#7978</a></li>     <li>Fixed a crash when calling <code>app.setAboutPanelOptions(options)</code> with a <code>credits</code> value. <a href="/misc/goto?guid=4958995408631621817">#7979</a></li>     <li>Fixed an issue where an error would be thrown in certain cases when accessing remote objects or functions. <a href="/misc/goto?guid=4958995408757506112">#7980</a></li>     <li>Fixed an issue where the <code>window.opener</code> API did not behave as expected.</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958995408874150736" rel="nofollow"><strong>electron-api.json</strong></a></li>     <li><a href="/misc/goto?guid=4958995408991494315" rel="nofollow"><strong>electron-v1.4.7-darwin-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409092082819" rel="nofollow"><strong>electron-v1.4.7-darwin-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409180628794" rel="nofollow"><strong>electron-v1.4.7-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409281087212" rel="nofollow"><strong>electron-v1.4.7-linux-arm-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409388664082" rel="nofollow"><strong>electron-v1.4.7-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409473586561" rel="nofollow"><strong>electron-v1.4.7-linux-armv7l-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409564577667" rel="nofollow"><strong>electron-v1.4.7-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409636360832" rel="nofollow"><strong>electron-v1.4.7-linux-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409723911774" rel="nofollow"><strong>electron-v1.4.7-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409830437085" rel="nofollow"><strong>electron-v1.4.7-linux-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995409944019408" rel="nofollow"><strong>electron-v1.4.7-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410077225899" rel="nofollow"><strong>electron-v1.4.7-mas-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410191821911" rel="nofollow"><strong>electron-v1.4.7-mas-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410307079807" rel="nofollow"><strong>electron-v1.4.7-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410425375888" rel="nofollow"><strong>electron-v1.4.7-win32-ia32-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410544285246" rel="nofollow"><strong>electron-v1.4.7-win32-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410657975842" rel="nofollow"><strong>electron-v1.4.7-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410781720924" rel="nofollow"><strong>electron-v1.4.7-win32-x64-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995410893342166" rel="nofollow"><strong>electron-v1.4.7-win32-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411011038828" rel="nofollow"><strong>electron-v1.4.7-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411124068408" rel="nofollow"><strong>ffmpeg-v1.4.7-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411252019476" rel="nofollow"><strong>ffmpeg-v1.4.7-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411363478436" rel="nofollow"><strong>ffmpeg-v1.4.7-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411486398655" rel="nofollow"><strong>ffmpeg-v1.4.7-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411602426009" rel="nofollow"><strong>ffmpeg-v1.4.7-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411720776030" rel="nofollow"><strong>ffmpeg-v1.4.7-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411836394395" rel="nofollow"><strong>ffmpeg-v1.4.7-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995411963611950" rel="nofollow"><strong>ffmpeg-v1.4.7-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995412079663628" rel="nofollow"><strong>SHASUMS256.txt</strong></a></li>     <li><a href="/misc/goto?guid=4958995412190737984" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958995412313891049" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/1aa6ec44">http://www.open-open.com/news/view/1aa6ec44</a></p>