Node.js v7.9.0 发布

jopen 2年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/d9d39e249fe45a3a9d7fbe135ba0644e.png" /></strong></p>    <p> </p>    <p>看到Node.js这个名字,初学者可能会误以为这是一个Javascript应用,事实上,Node.js采用C++语言编写而成,是一个Javascript的运行环境。为什么采用C++语言呢?据Node.js创始人Ryan Dahl回忆,他最初希望采用Ruby来写Node.js,但是后来发现Ruby虚拟机的性能不能满足他的要求,后来他尝试采用V8引擎,所以选择了C++语言。既然不是Javascript应用,为何叫.js呢?因为Node.js是一个Javascript的运行环境。Node.js是一个后端的Javascript运行环境(支持的系统包括Linux、Windows和Mac等),这意味着你可以编写系统级或者服务器端的Javascript代码,交给Node.js来解释执行,Node.js采用了Google Chrome浏览器的V8引擎,性能很好,同时还提供了很多系统级的API,如文件操作、网络编程等。浏览器端的Javascript代码在运行时会受到各种安全性的限制,对客户系统的操作有限。相比之下,Node.js则是一个全面的后台运行时,为Javascript提供了其他语言能够实现的许多功能。</p>    <h2>更新日志</h2>    <ul>     <li><strong>util</strong>: console is now closer to what is supported in all major browsers (Roman Reiss) <a href="/misc/goto?guid=4959005608460391608">#10308</a></li>     <li>[<a href="/misc/goto?guid=4959005608590860378"><code>9f73df5910</code></a>] - <strong>deps</strong>: cherry-pick 22858cb from V8 upstream (Ali Ijaz Sheikh) <a href="/misc/goto?guid=4959005608718528921">#11998</a></li>     <li>[<a href="/misc/goto?guid=4959005608851564422"><code>b997e62692</code></a>] - <strong>test</strong>: add internal/socket_list tests (DavidCai) <a href="/misc/goto?guid=4959005608988913460">#12109</a></li>     <li>[<a href="/misc/goto?guid=4959005609108148062"><code>c11c23b22b</code></a>] - <strong>doc</strong>: make the heading consistent (Sakthipriyan Vairamani (thefourtheye)) <a href="/misc/goto?guid=4959005609241624942">#11569</a></li>     <li>[<a href="/misc/goto?guid=4959005609365302637"><code>67d21149a2</code></a>] - <strong>crypto</strong>: handle exceptions in hmac/hash.digest (Tobias Nießen) <a href="/misc/goto?guid=4959005609475993000">#12164</a></li>     <li>[<a href="/misc/goto?guid=4959005609587619519"><code>3b765f5366</code></a>] - <strong>doc</strong>: fix confusing example in process.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005609693932126">#12282</a></li>     <li>[<a href="/misc/goto?guid=4959005609811561022"><code>37568c093a</code></a>] - <strong>src</strong>: use std::list for at_exit_functions (Daniel Bevenius) <a href="/misc/goto?guid=4959005609911448531">#12255</a></li>     <li>[<a href="/misc/goto?guid=4959005610003161363"><code>2f9e2fcf3e</code></a>] - <strong>doc</strong>: update information on test/known_issues (Jan Krems) <a href="/misc/goto?guid=4959005610090447760">#12262</a></li>     <li>[<a href="/misc/goto?guid=4959005610182653918"><code>0f4319a14a</code></a>] - <strong>src</strong>: use std::string for trace enabled_categories (Sam Roberts) <a href="/misc/goto?guid=4959005610265862379">#12242</a></li>     <li>[<a href="/misc/goto?guid=4959005610350427787"><code>6826637f11</code></a>] - <strong>doc</strong>: fix missing argument for dns.resolvePtr() (Uppinder Chugh) <a href="/misc/goto?guid=4959005610446416133">#12256</a></li>     <li>[<a href="/misc/goto?guid=4959005610518162214"><code>4a6bb378d4</code></a>] - <strong>doc</strong>: fix confusing reference in net.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005610604005712">#12247</a></li>     <li>[<a href="/misc/goto?guid=4959005610689480928"><code>3e8991cc56</code></a>] - <strong>doc</strong>: modernize and fix code examples in modules.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005610763857834">#12224</a></li>     <li>[<a href="/misc/goto?guid=4959005610846627468"><code>376f5ef1ee</code></a>] - <strong>doc</strong>: document the performance team (Gibson Fahnestock) <a href="/misc/goto?guid=4959005610931553782">#12213</a></li>     <li>[<a href="/misc/goto?guid=4959005611019894524"><code>c0b7c075da</code></a>] - <strong>doc</strong>: add refack to collaborators (Refael Ackermann) <a href="/misc/goto?guid=4959005611099902102">#12277</a></li>     <li>[<a href="/misc/goto?guid=4959005611185282246"><code>83f855d505</code></a>] - <strong>doc</strong>: add aqrln to collaborators (Alexey Orlenko) <a href="/misc/goto?guid=4959005611270721498">#12273</a></li>     <li>[<a href="/misc/goto?guid=4959005611351557710"><code>2fb2289177</code></a>] - <strong>doc</strong>: add sub domain to host in url (Steven) <a href="/misc/goto?guid=4959005611433280633">#12233</a></li>     <li>[<a href="/misc/goto?guid=4959005611520284709"><code>ac200a6122</code></a>] - <strong>test</strong>: add a second argument to assert.throws() (dave-k) <a href="/misc/goto?guid=4959005611606049620">#12139</a></li>     <li>[<a href="/misc/goto?guid=4959005611680112786"><code>3cdd04b1c0</code></a>] - <strong>test</strong>: skip irrelevant test on Windows (Rich Trott) <a href="/misc/goto?guid=4959005611760211130">#12261</a></li>     <li>[<a href="/misc/goto?guid=4959005611846172328"><code>d4d6986551</code></a>] - <strong>build</strong>: fix path voodoo in icu-generic.gyp (Refael Ackermann) <a href="/misc/goto?guid=4959005611918156840">#11217</a></li>     <li>[<a href="/misc/goto?guid=4959005612006648076"><code>a735c16d52</code></a>] - <strong>deps</strong>: backport ec1ffe3 from upstream V8 (Daniel Bevenius) <a href="/misc/goto?guid=4959005612092850767">#12061</a></li>     <li>[<a href="/misc/goto?guid=4959005612169580810"><code>d641164d09</code></a>] - <strong>doc</strong>: update pull request template URL layout (Rich Trott) <a href="/misc/goto?guid=4959005612251285503">#12216</a></li>     <li>[<a href="/misc/goto?guid=4959005612331266783"><code>6feea08587</code></a>] - <strong>buffer</strong>: preallocate array with buffer length (alejandro) <a href="/misc/goto?guid=4959005612404806489">#11733</a></li>     <li>[<a href="/misc/goto?guid=4959005612500229208"><code>a703bdecc4</code></a>] - <strong>build</strong>: add checks for openssl configure options (Daniel Bevenius) <a href="/misc/goto?guid=4959005612581993005">#12175</a></li>     <li>[<a href="/misc/goto?guid=4959005612665219450"><code>b495b6acdf</code></a>] - <strong>build</strong>: make configure print statements consistent (Daniel Bevenius) <a href="/misc/goto?guid=4959005612747361357">#12176</a></li>     <li>[<a href="/misc/goto?guid=4959005612825559835"><code>f60b4553f3</code></a>] - <strong>doc</strong>: modernize and fix code examples in https.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005612908758787">#12171</a></li>     <li>[<a href="/misc/goto?guid=4959005612990182399"><code>74d0266694</code></a>] - <strong>doc</strong>: fix string interpolation in Stream 'finish' (Vinay Hiremath) <a href="/misc/goto?guid=4959005613088564010">#12221</a></li>     <li>[<a href="/misc/goto?guid=4959005613159471752"><code>4b54520a4a</code></a>] - <strong>test</strong>: refactor mkdtemp test and added async (Luca Maraschi) <a href="/misc/goto?guid=4959005613241911441">#12080</a></li>     <li>[<a href="/misc/goto?guid=4959005613325129034"><code>8caf6fd58a</code></a>] - <strong>test</strong>: add Unicode characters regression test (Alexey Orlenko) <a href="/misc/goto?guid=4959005613395495339">#11423</a></li>     <li>[<a href="/misc/goto?guid=4959005613484940288"><code>961c89cc61</code></a>] - <strong>doc</strong>: add table of contents to README.md (Jason Marsh) <a href="/misc/goto?guid=4959005613561565917">#11635</a></li>     <li>[<a href="/misc/goto?guid=4959005613648187632"><code>a11ed6a0b3</code></a>] - <strong>test</strong>: more robust check for location of <code>node.exe</code> (Refael Ackermann) <a href="/misc/goto?guid=4959005613723699830">#12120</a></li>     <li>[<a href="/misc/goto?guid=4959005613808447901"><code>6083e7aa7b</code></a>] - <strong>benchmark</strong>: avoid TurboFan deopt in arrays bench (Michaël Zasso) <a href="/misc/goto?guid=4959005613886744300">#11894</a></li>     <li>[<a href="/misc/goto?guid=4959005613969588790"><code>cf1117bc13</code></a>] - <strong>doc</strong>: fix the timing of setImmediate's execution (Daiki Arai) <a href="/misc/goto?guid=4959005614040820197">#12034</a></li>     <li>[<a href="/misc/goto?guid=4959005614130011621"><code>806c4f3c0c</code></a>] - <strong>doc</strong>: fix fs.read arg type (Daiki Arai) <a href="/misc/goto?guid=4959005614040820197">#12034</a></li>     <li>[<a href="/misc/goto?guid=4959005614222864974"><code>c814c7e9ea</code></a>] - <strong>events</strong>: do not keep arrays with a single listener (Luigi Pinca) <a href="/misc/goto?guid=4959005614291676739">#12043</a></li>     <li>[<a href="/misc/goto?guid=4959005614372960369"><code>36617fd5b8</code></a>] - <strong>doc</strong>: add notes to http.get options (Raphael Okon) <a href="/misc/goto?guid=4959005614445270769">#12124</a></li>     <li>[<a href="/misc/goto?guid=4959005614528274689"><code>9e6b0a4604</code></a>] - <strong>test</strong>: performance, remove Popen(shell=True) on Win (Refael Ackermann) <a href="/misc/goto?guid=4959005614615513243">#12138</a></li>     <li>[<a href="/misc/goto?guid=4959005614689718329"><code>805ebef8b1</code></a>] - <strong>buffer</strong>: optimize decoding wrapped base64 data (Alexey Orlenko) <a href="/misc/goto?guid=4959005614769148241">#12146</a></li>     <li>[<a href="/misc/goto?guid=4959005614847154746"><code>fb34d9c210</code></a>] - <strong>test</strong>: increase querystring coverage (DavidCai) <a href="/misc/goto?guid=4959005614934621229">#12163</a></li>     <li>[<a href="/misc/goto?guid=4959005615008053485"><code>d6e9cf7c22</code></a>] - <strong>doc</strong>: fix and update examples in http.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005615104946158">#12169</a></li>     <li>[<a href="/misc/goto?guid=4959005615175335664"><code>f057cc3d84</code></a>] - <strong>benchmark</strong>: replace [].join() with ''.repeat() (Vse Mozhet Byt) <a href="/misc/goto?guid=4959005615257649402">#12170</a></li>     <li>[<a href="/misc/goto?guid=4959005615333123539"><code>b15dc95848</code></a>] - <strong>test</strong>: fix flaky test-child-process-exec-timeout (Santiago Gimeno) <a href="/misc/goto?guid=4959005615422988835">#12159</a></li>     <li>[<a href="/misc/goto?guid=4959005615499876255"><code>72a27b3eb5</code></a>] - <strong>build</strong>: use $(RM) in Makefile for consistency (Gibson Fahnestock) <a href="/misc/goto?guid=4959005615588293435">#12157</a></li>     <li>[<a href="/misc/goto?guid=4959005615672535583"><code>3af9101d20</code></a>] - <strong>doc, inspector</strong>: note that the host is optional (Gibson Fahnestock) <a href="/misc/goto?guid=4959005615751975220">#12149</a></li>     <li>[<a href="/misc/goto?guid=4959005615827087333"><code>b52b3f6710</code></a>] - <strong>test</strong>: reduce buffer size in buffer-creation test (Sakthipriyan Vairamani (thefourtheye)) <a href="/misc/goto?guid=4959005615915096525">#11177</a></li>     <li>[<a href="/misc/goto?guid=4959005615997011924"><code>b5283f9d4b</code></a>] - <strong>doc</strong>: add logo to README (Roman Reiss) <a href="/misc/goto?guid=4959005616089219594">#12148</a></li>     <li>[<a href="/misc/goto?guid=4959005616177297552"><code>305f822a36</code></a>] - <strong>net</strong>: rename internal functions for readability (Joyee Cheung) <a href="/misc/goto?guid=4959005616256115937">#11796</a></li>     <li>[<a href="/misc/goto?guid=4959005616343518433"><code>2f88de1ce3</code></a>] - <strong>vm</strong>: use SetterCallback to set func declarations (AnnaMag) <a href="/misc/goto?guid=4959005616429620275">#12051</a></li>     <li>[<a href="/misc/goto?guid=4959005616499235046"><code>ffbcfdfe32</code></a>] - <strong>src</strong>: fix base64 decoding (Nikolai Vavilov) <a href="/misc/goto?guid=4959005616583475186">#11995</a></li>     <li>[<a href="/misc/goto?guid=4959005616668366447"><code>8823861d9d</code></a>] - <strong>tools</strong>: update dotfile whitelist in .gitignore (Michaël Zasso) <a href="/misc/goto?guid=4959005616742560055">#12116</a></li>     <li>[<a href="/misc/goto?guid=4959005616824121667"><code>87ca9a6ffe</code></a>] - <strong>test</strong>: fix flaky child-process-exec-kill-throws (Rich Trott) <a href="/misc/goto?guid=4959005616901873357">#12111</a></li>     <li>[<a href="/misc/goto?guid=4959005616984815655"><code>fdf76d5aa0</code></a>] - <strong>tools</strong>: add missing #include "unicode/putil.h" (Steven R. Loomis) <a href="/misc/goto?guid=4959005617070235129">#12078</a></li>     <li>[<a href="/misc/goto?guid=4959005617151900279"><code>6130d547a0</code></a>] - <strong>deps</strong>: backport 8dde6ac from upstream V8 (Daniel Bevenius) <a href="/misc/goto?guid=4959005617237022642">#12060</a></li>     <li>[<a href="/misc/goto?guid=4959005617327716803"><code>1ee38eb874</code></a>] - <strong>(SEMVER-MINOR)</strong> <strong>util</strong>: add %i and %f formatting specifiers (Roman Reiss) <a href="/misc/goto?guid=4959005608460391608">#10308</a></li>     <li>[<a href="/misc/goto?guid=4959005617424616912"><code>5ac719d0d2</code></a>] - <strong>doc</strong>: add deprecations page to docs toc (Michaël Zasso) <a href="/misc/goto?guid=4959005617502993296">#12268</a></li>    </ul>    <h2>下载 </h2>    <ul>     <li><a href="/misc/goto?guid=4959005617580522407" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959005617661291555" 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/1ce7f8d6">http://www.open-open.com/news/view/1ce7f8d6</a></p>