首页 > 代码库 > Node.js v6.6.0 (Current) 发布,大幅度更新

Node.js v6.6.0 (Current) 发布,大幅度更新

Node.js v6.6.0 (Current) 发布了,Node.js 是一套用来编写高性能网络服务器的 JavaScript 工具包(入门教程qkxue.net),本次更新如下:

Notable changes

crypto: Added crypto.timingSafeEqual(). (not-an-aardvark) #8304
events: Made the "max event listeners" memory leak warning more accessible. (Anna Henningsen 腾云科技ty300.com) #8298
promises: Unhandled rejections now emit a process warning after the first tick. (Benjamin Gruenbaum) #8223
repl: Added auto alignment for .editor mode. (Prince J Wesley) #8241
util: Some functionality has been added to util.inspect():
Returning this from a custom inspect function now works. (Anna Henningsen) #8174
Added support for Symbol-based custom inspection methods. (Anna Henningsen) #8174
Commits

[2ecc8c4c23] - async_wrap: add a missing case to test-async-wrap-throw-no-init (yorkie) #8198
[00f4bc3105] - benchmark: add benches for fs.stat & fs.statSync (Anna Henningsen) #8338
[7cc1391287] - benchmark: fix off-by-one error in fs benchmarks (Anna Henningsen) #8338
[6e3db283ed] - buffer: fix ArrayBuffer checks (Brian White) #8453
[dd51b1f428] - buffer,string_decoder: consolidate encoding validation logic (James M Snell) #7207
[a830e37dc9] - build: don‘t require processing docs for nightlies (Johan Bergström) #8325
[836bfc188b] - build: fix dependencies on AIX (Michael Dawson) #8285
[bc9d2fb543] - build: fix dependencies on AIX (Michael Dawson) #8272
[206b105b1e] - build: add missing files to zip and 7z packages (Richard Lau) #8069
[afb9917f16] - (SEMVER-MINOR) crypto: add crypto.timingSafeEqual() (not-an-aardvark) #8304
[1640e7a4da] - crypto: fix getDecoder() encoding check (atstojanov) #8301
[49f996f4f6] - crypto: make malloc failure check cross-platform (Rich Trott) #8352
[9c460d7475] - deps: add back no-op harmony shipping flags (Ali Ijaz Sheikh) #8445
[c8bcf1b591] - deps: workaround clang-3.4 ICE (Ali Ijaz Sheikh) #8343
[ac3471ca23] - deps: v8_inspector update (Eugene Ostroukhov) #8150
[f829660c71] - deps: cherry-pick 8ed65b97 from V8‘s upstream (Anna Henningsen) #8411
[c48cb2de48] - doc: link SIGTSTP / SIGCONT events in readline doc (Italo A. Casas) #8475
[ce1a46c02d] - doc: update onboarding PR landing info (Rich Trott) #8479
[92acff82ea] - doc: add CTC meeting minutes 2016-08-31 (Josh Gavant) #8424
[53877357fc] - doc: fix link on timers.md (yorkie) #8488
[09da5756e5] - doc: add added: information for crypto (Luigi Pinca) #8281
[19df5cef3b] - doc: fix example in repl documentation (Franziska Hinkelmann) #8469
[3ce6eaa3b9] - doc: note that listening on SIGSEGV & co is unsafe (Anna Henningsen) #8410
[c7771e6fbc] - doc: clarify sentence in event loop doc (Luigi Pinca) #8400
[2c45782b12] - doc: add CI help/support info to onboarding doc (Rich Trott) #8407
[cffe7b731d] - doc: add 2016-08-17 CTC meeting minutes (Josh Gavant) #8245
[fdd59cc04c] - doc: update BUILDING.md (Rich Trott) #8398
[d0a92be798] - doc: add 2016-08-10 CTC meeting minutes (Josh Gavant) #8229
[ca31187087] - doc: update CI content in onboarding doc (Rich Trott) #8374
[44983b1fdc] - doc: update authors list (James M Snell) #8346
[ee83f5d541] - doc: add return type of clientRequest.setTimeout (Mike Ralphson) #8356
[1695c84240] - doc: fix a wrong link,add ‘.md‘ to the link (Alexis374) #8315
[65096de443] - doc: fix typos (Mike Ralphson) #8370
[6d421a2ee2] - doc: fix broken link in dgram doc (Brian White) #8365
[fbabd36de9] - doc: update targos email in readme per request (James M Snell) #8389
[76a3050c34] - doc: update landing pr info in onboarding doc (Rich Trott) #8344
[372e4f3f79] - doc: bad/better examples for fs.access() and fs.exists() (Dan Fabulich) #7832
[9f18878eee] - doc: fix typo in stream doc (Hubert Mine) #8326
[59e96bb1af] - doc: adding danbev to collaborators (Daniel Bevenius) #8359
[b553e57f5f] - doc: clarify that path on windows accepts / and \ (James M Snell) #8291
[feab3d4c25] - doc: add lpinca to collaborators (Luigi Pinca) #8331
[d2b2abe9d9] - doc: doc that listen can be called multiple times (James M Snell) #8294
[54d76137cd] - doc: readline write() is processed as input (James M Snell) #8295
[48be8bc4e1] - doc: ‘ipc‘ is required with fork stdio option (James M Snell) #8290
[47ecd21133] - doc: improve fs.truncate functions‘ documentation (Sakthipriyan Vairamani) #7648
[d565183c37] - doc: add added: information for modules (Luigi Pinca) #8250
[b6f5104145] - doc: fix onReadable reentry after unshift called (Zwb) #8200
[93ac875d53] - doc: add added: information for dgram (Luigi Pinca) #8196
[260663fbfa] - doc: add Myles Borins to the CTC (Rod Vagg) #8260
[a7c21759d9] - doc: fix buf.readUIntBE, buf.readUIntLE examples (David Keeler) #8240
[e4fcf55701] - doc: fix "timout" typo in timeout (Fangshi He) #8231
[03f5297ccd] - doc: include the optional options parameter (Sakthipriyan Vairamani) #7842
[605db31fe7] - (SEMVER-MINOR) events: make memory leak warning more accessible (Anna Henningsen)#8298
[fa4c4d655a] - http: fix connection upgrade checks (Brian White) #8238
[b603ac24cb] - inspector: use script name for target title (Eugene Ostroukhov) #8243
[13a522ac39] - inspector: make sure all messages are dispatched (Eugene Ostroukhov) #8264
[250a380231] - inspector: simplify buffer management (Eugene Ostroukhov) #8257
[354166c061] - inspector: use new inspector headers (Eugene Ostroukhov) #8150
[3ef8ba8bdc] - net: make holding the buffer in memory more robust (Anna Henningsen) #8252
[180867d6a6] - (SEMVER-MINOR) promise: warn on unhandled rejections (Benjamin Gruenbaum) #8223
[408308f2e6] - (SEMVER-MINOR) readline: key interval delay for \r & \n (Prince J Wesley) #8109
[6f20f477c4] - (SEMVER-MINOR) repl: Auto alignment for .editor mode (Prince J Wesley) #8241
[0d24247e50] - src: pull AfterConnect from pipe_wrap and tcp_wrap (Daniel Bevenius) #8448
[16202264d1] - src: remove unneeded Environment error methods (Ben Noordhuis) #8427
[8cbbb47e39] - src: update f function call comment (Daniel Bevenius) #8416
[d1d1433b02] - src: normalize malloc, realloc (Michael Dawson) #7564
[2c2a21ab56] - src: unbreak build when compiling against uclibc (Ben Noordhuis) #8308
[4e368c58ff] - src: moving f function call comment (Daniel Bevenius) #8405
[0f2c619f55] - src: avoid duplicate AtExit functions (Ali Ijaz Sheikh) #8273
[3358861470] - test: refector parallel/test-http.js (Junshu Okamoto) #8471
[2ce364ad10] - test: modernize JS and tighten equality checking (Peter Ogilvie) #8476
[1a30fe563d] - test: swapped == and equal to === and strictEqual (Christopher Dunavan) #8472
[d2b6b66037] - test: refactor test-net-pipe-connect-errors (Rich Trott) #8473
[3294c2c82b] - test: skip pseudo-tty/no_dropped_stdio test (Michael Dawson) #8470
[5baa4e0156] - test: clean up net server try ports test (Thomas Hunter II) #8458
[d0e61d4cc3] - test: make crypto.timingSafeEqual test less flaky (not-an-aardvark) #8456
[154d6893b0] - test: add test-debug-protocol-execute (Rich Trott) #8454
[6c30dddc36] - test: exercise EE function type checking paths (cjihrig) #8168
[d536d6d334] - test: increase _debugger coverage (Rich Trott) #8403
[6d07e57a36] - test: mark pseudo-tty/no_dropped_stdio as flaky (Michael Dawson) #8385
[680a4c8b8e] - test: test non-buffer/string with zlib (Rich Trott) #8350
[f0300eda27] - test: fix test-cluster-dgram-1 flakiness (Santiago Gimeno) #8383
[b8fa7c949d] - test: fix ::1 error in test-dns-ipv6 (Gibson Fahnestock) #8254
[c07e063dd9] - test: fix fs-watch-recursive flakiness on OS X (Santiago Gimeno) #4629
[1aa7168e91] - test: refactor/cleanup a number of cluster tests (James M Snell) #8261
[39cf7bf24d] - test: refactor parallel/test-process-env.js (Rich Trott) #8324
[40e84218a0] - test: add test for zlib.create*Raw() (Rich Trott) #8306
[cc61d1a3ba] - test: cleanup test require symlink (Paul Grock) #8305
[cde0a1edfd] - test: refactor test-debug-signal-cluster (Rich Trott) #8289
[bc6a7ca8e7] - test: additional refactoring/cleanup of buffer tests (James M Snell) #8283
[5d43131af4] - test: add known issue test for path parse issue #6229 (James M Snell) #8293
[d2179bd6f1] - test: make sure over truncation of file zero fills (Sakthipriyan Vairamani) #7648
[5cff625d6a] - test: add check in test-signal-handler (Rich Trott) #8248
[0b0a1ceac3] - test: clean up / refactor buffer tests, remove duplication (James M Snell) #8256
[0f977f9797] - test: mark test-child-process-fork-dgram as flaky (Michael Dawson) #8274
[6f269bed99] - test: refactor test-util-inspect (Rich Trott) #8189
[eff771f399] - tickprocessor: apply c++filt manually on mac (Fedor Indutny) #8480
[f47ce9d9f8] - tools: replace custom ESLint rule with built-in (Rich Trott) #8478
[36235ac323] - tools: update ESLint to 3.5.0 (Rich Trott) #8478
[ef5cb129ae] - tools: fix new-parens violations (Rich Trott) #8478
[773e1c1304] - tools: enable caching for jslint task (Rich Trott) #8296
[54f689fc1e] - tools: update ESLint to 3.4.0 (Rich Trott) #8296
[f840bc87d6] - url: fix off-by-one error in loop handling dots (Luigi Pinca) #8420
[6ae7af0fa3] - url: keep auth in url.resolve() if host matches (Ilkka Myller) #8215
[eec5d02266] - url: url.format() encodes all # in search (Ilkka Myller) #8072
[d67ece2f68] - util: improve function signature of util._extend (Sakthipriyan Vairamani) #8187
[e9c4805c1f] - (SEMVER-MINOR) util: allow returning this from custom inspect (Anna Henningsen) #8174
[4cb55ff392] - (SEMVER-MINOR) util: allow symbol-based custom inspection methods (Anna Henningsen)#8174
[151d1ea6a6] - vm: change ContextifyScript to Script in comment (Daniel Bevenius) #8415
[f346dee940] - win,build: forward release_urlbase to configure (João Reis) #8430
[6bb057ec6a] - win,build: exit when addons fail to build (João Reis) #8412
[14d356d0ab] - win,build: skip finding VS when not needed (João Reis) #8412
[81d063e174] - win,build: fail on invalid option in vcbuild (João Reis) #8412
下载地址:

https://nodejs.org/en/download/current/

Node.js v6.6.0 (Current) 发布,大幅度更新