发布于 2016-01-07 00:54:10 | 146 次阅读 | 评论: 0 | 来源: 网友投递
Node.js 服务器端的JavaScript
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用
Node v5.4.0 (Stable) 发布,更新如下:
http:
This release also includes several minor performance improvements:
assert: deepEqual is now speedier when comparing TypedArrays (Claudio Rodriguez) #4330.
lib: Use arrow functions instead of bind where possible (Minwoo Jung) node#3622.
node: Improved accessor perf of process.env (Trevor Norris) #3780.
node: Improved performance of process.hrtime() (Trevor Norris) #3780, (Evan Lucas) #4484.
node: Improved GetActiveHandles performance (Trevor Norris) #3780.
util: Use faster iteration in util.format() (Jackson Tian) #3964.
Surrogate pair in REPL can freeze terminal. #690
Calling dns.setServers() while a DNS query is in progress can cause the process to crash on a failed assertion. #894
url.resolve may transfer the auth portion of the url when resolving between two full hosts, see #1435.
Unicode characters in filesystem paths are not handled consistently across platforms or Node.js APIs. See #2088, #3401 and #3519.
[d265fc821a] - assert: typed array deepequal performance fix (Claudio Rodriguez) #4330
[6d8053ab56] - buffer: faster case for create Buffer from new Buffer(0) (Jackson Tian) #4326
[8781c59878] - buffer: refactor create buffer (Jackson Tian) #4340
[252628294b] - child_process: guard against race condition (Rich Trott) #4418
[fcf632bc6a] - crypto: load PFX chain the same way as regular one (Fedor Indutny) #4165
[a5094a35a0] - debugger: guard against call from non-node context (Ben Noordhuis) #4328
[b4c51c5b76] - deps: backport 200315c from V8 upstream (Vladimir Kurchatkin) #4128
[334e73942e] - doc: fix heading level error in Buffer doc (Shigeki Ohtsu) #4537
[5be0259181] - doc: close backtick in process.title description (Dave) #4534
[35aec4c14d] - doc: fix numbering in stream.markdown (Richard Sun) #4538
[982f3227a5] - doc: improvements to dgram.markdown copy (James M Snell) #4437
[6cdfa38d23] - doc: improvements to errors.markdown copy (James M Snell) #4454
[6c7bcd5007] - doc: fix website wg mislink (jona) #4357
[eee50821dc] - doc: mention that http.Server inherits from net.Server (Ryan Sobol) #4455
[c745b4d5f8] - doc: explain ClientRequest#setTimeout time unit (Ben Ripkens) #4458
[40076bf7f8] - doc: fix spelling error in lib/url.js comment (Nik Nyby) #4390
[5a223d64e3] - doc: add anchors for _transform _flush _writev in stream.markdown (iamchenxin) #4448
[e8bbeecc4c] - doc: improvements to debugger.markdown copy (James M Snell) #4436
[ccd75fe3fb] - doc: improvements to events.markdown copy (James M Snell) #4468
[ed15962777] - doc: improvements to dns.markdown copy (James M Snell) #4449
[e177cc9fdf] - doc: improvements to console.markdown copy (James M Snell) #4428
[c1bc9a1023] - doc: improve child_process.markdown copy (James M Snell) #4383
[150f62847c] - doc: copyedit setTimeout() documentation (Rich Trott) #4434
[9e667354be] - doc: fix formatting in process.markdown (Rich Trott) #4433
[bc1c0dc3fb] - doc: catch the WORKING_GROUPS.md bootstrap docs up to date (James M Snell) #4367
[c835ba3601] - doc: improve assert.markdown copy (James M Snell) #4360
[e79eda74c0] - doc: copyedit releases.md (Rich Trott) #4384
[6450d8667f] - doc: improve grammar in tls docs (Adri Van Houdt) #4315
[474a0f081a] - doc: improvements to buffer.markdown copy (James M Snell) #4370
[57684d650e] - doc: improve addons.markdown copy (James M Snell) #4320
[04dd861221] - doc: fix, modernize examples in docs (James M Snell) #4282
[5ce6e99474] - doc: Typo in buffer.markdown referencing buf.write() (chrisjohn404) #4324
[699bf2c464] - doc: fix link in addons.markdown (Nicholas Young) #4331
[e742422757] - fs: use pushValueToArray for readdir(Sync) (Trevor Norris) #3780
[1dd2d015d2] - (SEMVER-MINOR) http: handle errors on idle sockets (José F. Romaniello) #4482
[083ae166bb] - http: use self.keepAlive instead of self.options.keepAlive (Damian Schenkelman) #4407
[ffb4a6e0e4] - http: fix non-string header value concatenation (Brian White) #4460
[c77fd6829a] - (SEMVER-MINOR) http: 451 status code "Unavailable For Legal Reasons" (Max Barinov) #4377
[8f7af9a489] - http: remove excess calls to removeSocket (Dave) #4172
[b841967103] - http: Remove an unnecessary assignment (Bo Borgerson) #4323
[b8366e76dd] - http_parser: use pushValueToArray for headers (Trevor Norris) #3780
[ca97e7276e] - https: use servername in agent key (Fedor Indutny) #4389
[b5aaccc6af] - lib: remove unused modules (Rich Trott) #4396
[921fb540c1] - node: improve performance of process.hrtime() (Evan Lucas) #4484
[ecef817a28] - node: improve accessor perf of process.env (Trevor Norris) #3780
[89f056bdf3] - node: improve performance of hrtime() (Trevor Norris) #3780
[c8fc217dc7] - node: improve GetActiveHandles performance (Trevor Norris) #3780
[8464667071] - node: fix erroneously named function call (Trevor Norris) #3780
[e57fd51a5e] - os: fix crash in GetInterfaceAddresses (Martin Bark) #4272
[65c40d753f] - repl: remove unused function (Rich Trott)
[3d41a44dba] - repl: Fixed node repl history edge case. (Mudit Ameta) #4108
[d11930d604] - repl: use String#repeat instead of Array#join (Evan Lucas) #3900
[4220d25626] - test: fix linting for the v5.x branch (Jeremiah Senkpiel) #4547
[4b14f1c983] - test: remove unused vars (Rich Trott) #4536
[2a69ab32ec] - test: add test-domain-exit-dispose-again back (Julien Gilli) #4256
[ae0246641c] - test: remove unused vars from parallel tests (Rich Trott) #4511
[984db93e7c] - test: fix flaky test-cluster-shared-leak (Rich Trott) #4510
[30b0d7583a] - test: fix flaky streams test (Rich Trott) #4516
[46fefbc1b5] - test: fix flaky test-http-agent-keepalive (Rich Trott) #4524
[e04a8401d9] - test: remove flaky designations for tests (Rich Trott) #4519
[a703b1bf73] - test: remove time check (Rich Trott) #4494
[02b3a5be52] - test: refactor test-fs-empty-readStream (Rich Trott) #4490
[ab3e5c1417] - test: write to tmp dir rather than fixture dir (Rich Trott) #4489
[06043fdfa3] - test: remove unused modules (Rich Trott) #4475
[f1a66bc249] - test: clarify role of domains in test (Rich Trott) #4474
[08a3490dd6] - test: inherit JOBS from environment (Johan Bergström) #4495
[3bfc18763a] - test: improve assert message (Rich Trott) #4461
[d46d850461] - test: shorten path for bogus socket (Rich Trott) #4478
[f68f86cd0a] - test: fix race condition in test-http-client-onerror (Devin Nakamura) #4346
[ec0b6362cf] - test: remove unused assert module imports (Rich Trott) #4438
[ba2445046c] - test: don't use cwd for relative path (Johan Bergström) #4477
[5110e4deed] - test: don't assume a certain folder structure (Johan Bergström) #3325
[55c6946400] - test: make temp path customizable (Johan Bergström) #3325
[b19d19efaa] - test: extend timeout in Debug mode (Rich Trott) #4431
[c6a99ddd37] - test: remove unused variables from net tests (Rich Trott) #4430
[54004f0e26] - test: remove unused vars in ChildProcess tests (Rich Trott) #4425
[e72112f90e] - test: fix flaky cluster-disconnect-race (Brian White) #4457
[715afc9bbd] - test: fix flaky cluster-net-send (Brian White) #4444
[03c4bc704f] - test: fix flaky child-process-fork-regr-gh-2847 (Brian White) #4442
[684eb32072] - test: remove unused variables from HTTPS tests (Rich Trott) #4426
[585c01f674] - test: remove unused variables from TLS tests (Rich Trott) #4424
[c36ca37e2a] - test: remove unused variables form http tests (Rich Trott) #4422
[c639d0f1fe] - test: mark test-debug-no-context is flaky (Rich Trott) #4421
[cd79ec268d] - test: remove unnecessary assignments (Rich Trott) #4408
[0799a9abaf] - test: remove unused var from test-assert.js (Rich Trott) #4405
[3710028a85] - test: remove unused util imports (Rich Trott) #4397
[8c9d0c1f6f] - test: refactor test-net-connect-options-ipv6 (Rich Trott) #4395
[874209022f] - test: fix http-response-multiheaders (Santiago Gimeno) #3958
[71b79bcf54] - test: test each block in addon.md contains js & cc (Rod Vagg) #4411
[00b37de243] - test: fix domain-top-level-error-handler-throw (Santiago Gimeno) #4364
[6d14b6520f] - test: use platformTimeout() in more places (Brian White) #4387
[82f74caa56] - test: fix flaky test-net-error-twice (Brian White) #4342
[96501e55be] - test: try other ipv6 localhost alternatives (Brian White) #4325
[69343d6d2e] - tls_wrap: clear errors on return (Fedor Indutny) #4515
[ca9812cf4d] - tools: fix warning in doc parsing (Shigeki Ohtsu) #4537
[386030b524] - tools: implement no-unused-vars for eslint (Rich Trott) #4536
[14a947fc70] - tools: run tick processor without forking (Matt Loring) #4224
[8039ca06eb] - util: faster arrayToHash (Jackson Tian) #3964
更多内容请看:发行说明