Node.js v6.3.1 发布

摘要:Node.js是一个后端的Javascript运行环境(支持的系统包括Linux、Windows和Mac等)。

看到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提供了其他语言能够实现的许多功能。

更新日志

显着的变化

  • buffer:
    • Improve performance of Buffer.from(str, 'hex') and Buffer#write(str, 'hex'). (Christopher Jeffrey) #7602
    • Fix creating from zero-length ArrayBuffer. (Ingvar Stepanyan) #7176
  • deps:
    • Upgrade to V8 5.0.71.xx. (Ben Noordhuis) #7531
    • Backport V8 instanceof bugfix (Franziska Hinkelmann) #7638
  • repl: Fix issue with function redeclaration. (Prince J Wesley) #7794
  • util: Fix inspecting of boxed symbols. (Anna Henningsen) #7641

提交

  • [3747d910ec] - benchmark: remove unused variables (Rich Trott) #7600
  • [41582722c8] - buffer: optimize hex_decode (Christopher Jeffrey) #7602
  • [4a3300e66b] - buffer: fix creating from zero-length ArrayBuffer (Ingvar Stepanyan) #7176
  • [71f84b5e6c] - build: add conflict marker check during CI lint (Brian White) #7625
  • [4480b14fda] - build: use BUILDTYPE when building V8 in Makefile (Michaël Zasso) #7482
  • [94a486a388] - build: add v8 requirement to test-v8* in Makefile (Michaël Zasso) #7482
  • [e5627278f1] - build: add --enable-d8 configure option (Ben Noordhuis) #7538
  • [933ff62fa5] - build: respect --shared-* flags for inspector deps (Сковорода Никита Андреевич) #7569
  • [9bb1024dc3] - child_process: Check stderr before accessing it (Robert Chiras) #6877
  • [f574bd4cec] - cluster: remove bind() and self (cjihrig) #7710
  • [164981af5f] - deps: bump V8 patchlevel for instanceof cherry-picks (Franziska Hinkelmann) #7638
  • [287006149b] - deps: cherry-pick 5b5d24b for X87 from V8 upstream (Franziska Hinkelmann) #7638
  • [e5cce7acfe] - deps: cherry-pick 3a903c4 for PPC from V8 upstream (Franziska Hinkelmann) #7638
  • [e23904523f] - deps: cherry-pick 2aa070be from V8 upstream (Franziska Hinkelmann) #7638
  • [d3f0a6a52f] - deps: cherry-pick 1f53e42 from v8 upstream (Ben Noordhuis) #7612
  • [cf8a4889db] - deps: v8_inspector no longer depends on wtf (Ali Ijaz Sheikh) #7751
  • [939cf6ddb2] - deps: no /safeseh for ml64.exe (Fedor Indutny) #7759
  • [abf86adee1] - deps: back-port d721121 from v8 upstream (Ben Noordhuis) #7633
  • [dbdcded866] - deps: upgrade to V8 5.0.71.54 (Ben Noordhuis) #7531
  • [4839ef37a9] - doc: correcting misspelling (Vitaly Tomilov) #7797
  • [3343d46f2c] - doc: general improvments to events documentation (Sakthipriyan Vairamani) #7480
  • [e8a6a223ec] - doc: update readme with andrasq as a collaborator (Andras) #7801
  • [59ed303612] - doc: update CTC governance information (Rich Trott) #7719
  • [4b320adb49] - doc: correct sample output of buf.compare (Hargobind S. Khalsa) #7777
  • [9847f8459c] - doc: add added: information for stream (Italo A. Casas) #7287
  • [1f003590d6] - doc: fix inconsistencies in code style (saadq) #7745
  • [9c274e32fd] - doc: Warn against uncaughtException dependency. (Lance Ball) #6378
  • [fc4df0df6c] - doc: fix typo in stream doc (Kevin Donahue) #7738
  • [2a023bfd00] - doc: removed old git conflict markers from fs.md (Jaime Hidalgo García) #7590
  • [1d07d29bfe] - doc: fix typo in the CHANGELOG_V6 (vsemozhetbyt) #7568
  • [f15d2d6dae] - doc: fix util.deprecate() example (Evan Lucas) #7674
  • [58b70d34ee] - doc: link and highlight Object.assign (Sakthipriyan Vairamani) #7670
  • [cc7fdf429e] - doc: grammar fixes to event loop guide (Ryan Lewis) #7479
  • [a81ff702cc] - doc: dns.resolve fix callback argument description (Quentin Headen) #7532
  • [f0c335c347] - doc: add benchmark who-to-CC info (Rich Trott) #7604
  • [9e0cba0552] - doc: added information on how to run the linter. (Diosney Sarmiento) #7534
  • [e13ee29cbd] - doc: delete non-existing zlib constants (Franziska Hinkelmann) #7520
  • [663b103bc5] - doc: fix minor style issues in http.md (Rich Trott) #7528
  • [6c4d4596cc] - doc: updating REPLACEME tag during release (Gibson Fahnestock) #7514
  • [b4547340ee] - doc: fix detached child stdio example (cjihrig) #7540
  • [0f7b4efaaf] - doc: add bartosz sosnowski to colaborators (Bartosz Sosnowski) #7567
  • [77afeb2ec7] - doc,dgram: fix addMembership documentation (Santiago Gimeno) #7244
  • [11d6f1af59] - fs: rename event to eventType in fs.watch listener (Claudio Rodriguez) #7506
  • [989a2a1c92] - inspector: Unify event queues (Eugene Ostroukhov) #7271
  • [fc0ed2e8c7] - lib,benchmark,test: implement consistent braces (Rich Trott) #7630
  • [80ca0630a6] - net: export isIPv4, isIPv6 directly from cares (Sakthipriyan Vairamani) #7481
  • [72fc4ebca2] - repl: Mitigate vm #548 function redefinition issue (Prince J Wesley) #7794
  • [f97aa4be39] - src: remove unnecessary HandleScopes (Ben Noordhuis) #7711
  • [78dcf0d641] - src: fix handle leak in UDPWrap::Instantiate() (Ben Noordhuis) #7711
  • [dc766e6a6f] - src: fix handle leak in BuildStatsObject() (Ben Noordhuis) #7711
  • [96882e14d1] - src: fix handle leak in Buffer::New() (Ben Noordhuis) #7711
  • [fbc9ef84b8] - src: disable stdio buffering (Ben Noordhuis) #7610
  • [44c9a72aad] - test: add regression test for instanceof (Franziska Hinkelmann) #7638
  • [2e05e65916] - test: add known issue test for #7788 (cjihrig) #7793
  • [7fb4794e19] - test: increase RAM requirement for intensive tests (Rich Trott) #7772
  • [61542e82c1] - test: ensure callback runs in test-vm-sigint (Rich Trott) #7768
  • [9e9d499b8b] - test: use mustCall() for simple flow tracking (cjihrig) #7753
  • [83cbf3175c] - test: avoid usage of mixed IPV6 addresses (Gireesh Punathil) #7702
  • [39f5d9ca7a] - test: fix flaky test-http-server-consumed-timeout (Rich Trott) #7717
  • [3ed0204f23] - test: s/assert.fail/common.fail as appropriate (cjihrig) #7735
  • [f7651d24d4] - test: improve error message in test-tick-processor (Rich Trott) #7693
  • [acb976ac26] - test: cleanup IIFE tests (cjihrig) #7694
  • [432cb353e1] - test: add common.rootDir (cjihrig) #7685
  • [9797969ad4] - test: fix old tty tests (Jeremiah Senkpiel) #7613
  • [37dc7954d8] - test: move parallel/test-tty-* to pseudo-tty/ (Jeremiah Senkpiel) #7613
  • [5192bed68c] - test: remove unused var from child-process-fork (Rich Trott) #7599
  • [e1aedbf671] - test: remove unused vars from http/https tests (Rich Trott) #7598
  • [64e2eed662] - test: remove unused var in test-tls-server-verify (Rich Trott) #7595
  • [8e50413b7e] - test: fix flaky test-fs-read-buffer-tostring-fail (Rich Trott) #7575
  • [447a8f26e1] - test: remove unused var in net-server-try-ports (Rich Trott) #7597
  • [326006527d] - test: remove unused var from stream2 test (Rich Trott) #7596
  • [97167291e7] - test: fix flaky test-net-write-slow (Rich Trott) #7555
  • [657fd7aee9] - test: skip doctool tests when js-yaml is missing (Anna Henningsen) #7218
  • [1576730ef3] - test,doc: clarify buf.indexOf(num) input range (Anna Henningsen) #7611
  • [49a6ea1b73] - timers: fix processing of nested timers (Jeremy Whitlock) #3063
  • [5a2ce3633f] - tools: consistent .eslintrc formatting (silverwind) #7691
  • [2a84da5d09] - tools: increase lint coverage (Rich Trott) #7647
  • [a82573d480] - tools: enforce JS brace style with linting (Rich Trott) #7630
  • [8efca46e78] - tools: fix broken format string (Sakthipriyan Vairamani) #7620
  • [2bef583f8a] - tools: cleanup no-build and build-only options (Sakthipriyan Vairamani) #7620
  • [df697c486e] - tools: update ESLint, fix unused vars bug (Rich Trott) #7601
  • [1a360d63db] - tools: remove unused variable (Rich Trott) #7594
  • [fa99dadda4] - tools: remove unnecessary imports and assignments (Sakthipriyan Vairamani) #7483
  • [0858e620e9] - util: inspect boxed symbols like other primitives (Anna Henningsen) #7641

下载

                               
 

 

扩展阅读

PHP 和 Node.js 的角摔
FEX 技术周刊 - 2016/01/25
Node.js与io.js那些事儿
GitHub上整理的一些工具
如何在2016年成为一个更好的Node.js开发者

为您推荐

Vue.js 0.11.6 发布,JavaScript 库
Node.js v6.2.1 发布
2016年2月最新开发资源
FEX 技术周刊 - 2015/11/23
FEX 技术周刊 - 2015/10/19

更多

Node.js
JavaScript
软件编程