Node.js v7.7.0 發布

看到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提供了其他語言能夠實現的許多功能。
更新日志
- child_process: spawnSync() exit code now is null when the child is killed via signal (cjihrig) #11288
- http: new functions to access the headers for an outgoing HTTP message (Brian White) #11562
- lib: deprecate node --debug at runtime (Josh Gavant) #11275
- tls: new tls.TLSSocket() supports sec ctx options (Sam Roberts) #11005
- url: adding URL.prototype.toJSON support (Michaël Zasso) #11236
- doc: items in the API documentation may now have changelogs (Anna Henningsen) #11489
- crypto: adding support for OPENSSL_CONF again (Sam Roberts) #11006
- src: adding support for trace-event tracing (misterpoe) #11106
- [
18599fc3d7] - doc/url: various improvements to WHATWG API (Timothy Gu) - [
e7d37a3f09] - tools/doc: add more intrinsic and custom types (Timothy Gu) - [
6bcc841786] - assert: apply minor refactoring (Rich Trott) #11511 - [
6a2f330dbd] - assert: remove unneeded condition (Rich Trott) #11314 - [
0762482339] - assert: unlock the assert API (Rich Trott) #11304 - [
842ac583f6] - benchmark: add url.domainTo*() (Timothy Gu) #11464 - [
3951bd9ac1] - benchmark: strip BOM in dgram/bind-params (Anna Henningsen) #11479 - [
e1573b9fb7] - benchmark: add dgram bind(+/- params) benchmark (Vse Mozhet Byt) #11313 - [
48f6660d78] - benchmark: fix timer display in progress output (Brian White) #11235 - [
5a81031fd8] - benchmark: clean up legacy url benchmarks (Joyee Cheung) - [
7e37628c51] - benchmark: add url/url-searchparams-sort.js (Timothy Gu) - [
4ffad094ba] - buffer: refactor slowToString (James M Snell) #11358 - [
d08a8e68e8] - buffer: avoid use of arguments (James M Snell) #11358 - [
4408437796] - build: add rule to clean addon tests build (Joyee Cheung) #11519 - [
8d323bb91a] - build: fail on CI if leftover processes (Rich Trott) #11269 - [
d4a8631bd1] - build: fix newlines in addon build output (Brian White) #11466 - [
bc9c381027] - build: add code coverage to make (Wayne Andrews) #10856 - [
9c45758cdf] - build: fix building with ninja on linux (Kenan Yildirim) #11348 - [
86a647899f] - build: don't rebuild test/gc add-on unnecessarily (Ben Noordhuis) #11311 - [
c942e2037c] - child_process: refactor internal/child_process.js (Arseniy Maximov) #11366 - [
0240eb99a2] - child_process: remove empty if condition (cjihrig) #11427 - [
60fc567952] - child_process: move anonymous class to top level (Jackson Tian) #11147 - [
58e2517fc0] - child_process: exit spawnSync with null on signal (cjihrig) #11288 - [
4b4bc13758] - cluster: properly handle --inspect-{brk,port} (Ali Ijaz Sheikh) #11386 - [
570c5e1da8] - (SEMVER-MINOR) crypto: support OPENSSL_CONF again (Sam Roberts) #11006 - [
d4000e73ed] - deps: cherry-pick 7c982e7 from V8 upstream (Jaideep Bajwa) #11263 - [
bd4ccc892c] - src: add tracing controller (misterpoe) #11106 - [
aef67cfe39] - dgram: fix possibly deoptimizing use of arguments (Vse Mozhet Byt) #11242 - [
662b0c31ce] - dns: avoid use of arguments (James M Snell) #11359 - [
fedf26b235] - doc: update V8 debugger doc to mention --inspect-brk (James Ide) #11495 - [
1c7f221ef5] - doc: adding deprecations.md (Italo A. Casas) #11621 - [
90bdf16507] - doc: link to readable and writeable stream section (Sebastian Van Sande) #11517 - [
3b66ccf0ff] - doc: document clientRequest.aborted (Zach Bjornson) #11544 - [
128f812157] - doc: argument types for assert methods (Amelia Clarke) #11548 - [
b1b6b8b730] - doc: add changelogs for buffer (Anna Henningsen) #11489 - [
597945136e] - doc: add changelogs for v8 (Anna Henningsen) #11489 - [
b01fd8ce3a] - doc: fix sorting in API references (Vse Mozhet Byt) #11529 - [
56cd1932c1] - doc: note message event listeners ref IPC channels (Diego Rodríguez Baquero) #11494 - [
47034e12ad] - doc: change broken fg(1) links to fg(1p) (Karan Thakkar) #11504 - [
47dc5662f3] - doc: add changelogs for zlib (Anna Henningsen) #11489 - [
4d122700ab] - doc: add changelogs for vm (Anna Henningsen) #11489 - [
b868468942] - doc: add changelogs for util (Anna Henningsen) #11489 - [
93e7639c12] - doc: add changelogs for url (Anna Henningsen) #11489 - [
f7d59e5568] - doc: add changelogs for tls (Anna Henningsen) #11489 - [
fc53547ed4] - doc: add changelogs for stream (Anna Henningsen) #11489 - [
c373e07a09] - doc: add changelogs for repl (Anna Henningsen) #11489 - [
962d27dbde] - doc: add changelogs for readline (Anna Henningsen) #11489 - [
7c609dc30a] - doc: add changelogs for querystring (Anna Henningsen) #11489 - [
6285ff2275] - doc: add changelogs for punycode (Anna Henningsen) #11489 - [
df30bc869a] - doc: add changelogs for process (Anna Henningsen) #11489 - [
c1477b9bd3] - doc: add changelogs for path (Anna Henningsen) #11489 - [
ac10a3b306] - doc: add changelogs for os (Anna Henningsen) #11489 - [
3183397c8a] - doc: add changelogs for net (Anna Henningsen) #11489 - [
6cc8f19e99] - doc: add changelogs for http (Anna Henningsen) #11489 - [
f0cee80de7] - doc: add changelogs for fs (Anna Henningsen) #11489 - [
354161d804] - doc: add changelogs for events (Anna Henningsen) #11489 - [
4f936014ff] - doc: add changelogs for dns (Anna Henningsen) #11489 - [
5bc9349d40] - doc: add changelogs for dgram (Anna Henningsen) #11489 - [
e23598d09f] - doc: add changelogs for crypto (Anna Henningsen) #11489 - [
296e22adce] - doc: add changelogs for console (Anna Henningsen) #11489 - [
de83e215cb] - doc: add changelogs for cluster (Anna Henningsen) #11489 - [
5d4e638e34] - doc: add changelogs for cli (Anna Henningsen) #11489 - [
ad1ad4d06d] - doc: add changelogs for child_process (Anna Henningsen) #11489 - [
42413b611b] - doc: add changelogs for assert (Anna Henningsen) #11489 - [
d3013678fb] - doc: change STYLE-GUIDE to STYLE_GUIDE (Dean Coakley) #11460 - [
c5ff76dadf] - doc: restrict the ES.Next features usage in tests (DavidCai) #11452 - [
98eb18ba3f] - doc: add comment for net.Server's error event (QianJin2013) #11136 - [
20d86db9bb] - doc: add version meta for SSL_CERT_DIR/FILE (Sam Roberts) #11007 - [
66f9506c63] - doc: improve test/README.md (Joyee Cheung) #11237 - [
5d12fd9a4b] - doc: add benchmark/README.md and fix guide (Joyee Cheung) #11237 - [
22a6eddc5c] - doc: move benchmark/README.md to doc/guides (Joyee Cheung) #11237 - [
12cf359423] - doc: add comment for net.Server.listen IPv6 '::' (QianJin2013) #11134 - [
83fe819131] - doc: add STYLE_GUIDE (moved from nodejs/docs) (Gibson Fahnestock) #11321 - [
ef1731d972] - doc: add missing function to test common doc (Rich Trott) #11382 - [
c3c874f514] - doc: dns examples implied string args were arrays (Sam Roberts) #11350 - [
5f1a568ccc] - doc: describe when stdout/err is sync (Sam Roberts) #10884 - [
5a2db15736] - doc: add documentation for url.format(URL[, options]); (James M Snell) - [
4d7c9427c1] - doc: synchronize + update _toc.md and all.md (Vse Mozhet Byt) #11206 - [
6a45265e81] - doc: update code examples in domain.md (Vse Mozhet Byt) #11110 - [
89b66dc636] - doc,test: args tobuffer.copycan be Uint8Arrays (Anna Henningsen) #11486 - [
4f6a3d38c3] - domain,events: support non-object 'error' argument (Ben Noordhuis) #11438 - [
214a39294a] - (SEMVER-MINOR) errors: add internal/errors.js (James M Snell) #11220 - [
758126301e] - fs: improve performance for sync stat() functions (Brian White) #11522 - [
3e8d43d165] - http: add new functions to OutgoingMessage (Brian White) #11562 - [
614742b67f] - (SEMVER-MINOR) lib: deprecate node --debug at runtime (Josh Gavant) #11275 - [
a710167c79] - lib: rename kMaxCallbacksUntilQueueIsShortened (JungMinu) #11473 - [
61e1af2155] - lib: remove unnecessary assignments with _extend (Sakthipriyan Vairamani (thefourtheye)) #11364 - [
d1549bf8d9] - lib: add constant kMaxCallbacksUntilQueueIsShortened (Daniel Bevenius) #11199 - [
3afe90dc9b] - net: prefer === to == (Arseniy Maximov) #11513 - [
db06c7311b] - os: improve loadavg() performance (Brian White) #11516 - [
fe7a722468] - process: fix typo in comments (levsthings) #11503 - [
54e1f0c219] - process: improve memoryUsage() performance (Brian White) #11497 - [
fb85f5049e] - src: clean up MaybeStackBuffer (Timothy Gu) #11464 - [
beda32675f] - src: don't assume v8::Local is using-declared (Timothy Gu) #11464 - [
64a92565e0] - src: update http-parser link (Daniel Bevenius) #11477 - [
539e83a820] - src: remove usage of deprecated debug API (Yang Guo) #11437 - [
8be6702539] - (SEMVER-MINOR) src: add SafeGetenv() to internal API (Sam Roberts) #11006 - [
7d47f27049] - src: remove unused variable in node_crypto (cjihrig) #11361 - [
8a5c0fb0ff] - src: remove unused typedef (Ben Noordhuis) #11322 - [
39b00349b8] - src, i18n: cleanup usage of MaybeStackBuffer (Timothy Gu) #11464 - [
d0483ee47b] - test: change common.expectsError() signature (Rich Trott) #11512 - [
f193c6f996] - test: favor assertions over console logging (Rich Trott) #11547 - [
4b05ec3b95] - test: run test-setproctitle where supported (Howard Hellyer) #11416 - [
ff854834b6] - test: fix flaky test-vm-timeout-rethrow (Kunal Pathak) #11530 - [
d7fd694cee] - test: remove redundant additional url tests (Joyee Cheung) #11439 - [
e92ddd46bb] - test: synchronize WPT url test data (Joyee Cheung) #11439 - [
4109e0edc4] - test: remove WHATWG URL test data file extension (Joyee Cheung) #11439 - [
ecb3a7e933] - (SEMVER-MINOR) test: make tls-socket-default-options tests run (Sam Roberts) #11005 - [
f5b4849208] - test: test bottom-up merge sort in URLSearchParams (Daijiro Wachi) #11399 - [
ff927b2cf8] - test: add cases for unescape & unescapeBuffer (Daijiro Wachi) #11326 - [
ea29d4852a] - test: use expectsError in test-debug-agent.js (Arseniy Maximov) #11410 - [
8e455a9093] - test: add test for URLSearchParams inspection (Daijiro Wachi) #11428 - [
ae9b891a39] - test: use expectsError in require-invalid-package (Rich Trott) #11409 - [
91fac08c3b] - test: use common.expectsError() (Rich Trott) #11408 - [
46084e3270] - test: refactor common.expectsError() (Rich Trott) #11381 - [
8fdb6c24f9] - test: throw check in test-zlib-write-after-close (Jason Wilson) #11482 - [
b395ed9407] - test: increase coverage of vm (DavidCai) #11377 - [
000b2a14c1] - test: add support for --gtest_filter (Daniel Bevenius) #11474 - [
34220b75e2] - test: add regex check to test-module-loading (Tarang Hirani) #11413 - [
4509d84095] - test: improve coverage in test-crypto.dh (Eric Christie) #11253 - [
da10e2649d] - test: add error checking in callback (Rich Trott) #11446 - [
7b8087630f] - test: refactor test-http-response-splitting (Arseniy Maximov) #11429 - [
c37e2b7690] - test: add test cases for path (Yuta Hiroto) #11453 - [
a523482cca] - test: enhance test-common.js (Rich Trott) #11433 - [
1d86a9f5eb] - test: fix over-dependence on native promise impl (Ali Ijaz Sheikh) #11437 - [
b457f38e68] - test: add coverage for utf8CheckIncomplete() (xiaoyu) #11419 - [
ca1bae6f3e] - test: remove unused args and comparison fix (Alexander) #11396 - [
8ee236f85a] - test: improve crypto coverage (樋口 彰) #11279 - [
add762550c] - test: consolidate buffer.read() in a file (larissayvette) #11297 - [
e416967244] - test: cases to querystring related to empty string (Daijiro Wachi) #11329 - [
5723087cdd] - test: refactor test-dgram-membership (Rich Trott) #11388 - [
aea0d501d7] - test: improve message in net-connect-local-error (Rich Trott) #11393 - [
82882f4e90] - test: cover dgram socket close during bind case (cjihrig) #11383 - [
f495389d67] - test: refactor test-tls-cert-chains-in-ca (Rich Trott) #11367 - [
348f2ef59f] - test: improve crypto coverage (Akito Ito) #11280 - [
e7978f04a4] - test: cover dgram socket close during cluster bind (cjihrig) #11292 - [
66081d1ddb] - test: increase coverage of buffer (DavidCai) #11312 - [
7aaa960f4c] - test, url: synchronize WPT url tests (Joyee Cheung) - [
506a1cb03f] - timer,domain: maintain order of timer callbacks (John Barboza) #10522 - [
4e327708a9] - (SEMVER-MINOR) tls: new tls.TLSSocket() supports sec ctx options (Sam Roberts) #11005 - [
f37ab7968e] - tls: do not crash on STARTTLS when OCSP requested (Fedor Indutny) #10706 - [
5f94ff6231] - tls: avoid potentially deoptimizing use of arguments (James M Snell) #11357 - [
0934a27c75] - tools: enable unicode-bom ESLint rule (Anna Henningsen) #11479 - [
eea2eb9111] - tools: enable one-var-declaration-per-line ESLint rule (Michaël Zasso) #11462 - [
5b5dca9076] - tools: suggest python2 command in configure (Roman Reiss) #11375 - [
d9d541d564] - tools,doc: enable changelogs for items (Anna Henningsen) #11489 - [
4ee9220565] - tty: avoid oob warning in TTYWrap::GetWindowSize() (Dmitry Tsvettsikh) #11454 - [
5f10827248] - url: fix handling of ? in URLSearchParams creation (Timothy Gu) #11372 - [
72da362d6e] - url: fix file state clarification in binding (Daijiro Wachi) #11123 - [
4366ab539f] - url: implement URL.prototype.toJSON (Michaël Zasso) #11236 - [
8dbd562590] - url: fix surrogate handling in encodeAuth() (Timothy Gu) - [
c25c16cc1b] - url: add urlSearchParams.sort() (Timothy Gu) - [
d8cb65aa6e] - url, test: synchronize WPT url tests for file URL (Daijiro Wachi) #11123 - [
237db9c497] - util: cleanup internalUtil.deprecate (James M Snell) #11450 - [
95bee8f202] - util: eliminate unnecessary exports (James M Snell) #11451 - [
3bdac54e67] - util: use ES2015+ Object.is to check negative zero (Shinnosuke Watanabe) #11332 - [
3d133ebd3d] - util, debugger: remove internalUtil.error (James M Snell) #11448 - [
f55c628b2a] - vm: refactor vm module (James M Snell) #11392
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/73b51029
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!