Node.js 5.7.0 稳定版发布下载,相关链接:
Windows 32-bit Installer: https://nodejs.org/dist/v5.7.0/node-v5.7.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v5.7.0/node-v5.7.0-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v5.7.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v5.7.0/win-x64/node.exe
Mac OS X 64-bit Installer: https://nodejs.org/dist/v5.7.0/node-v5.7.0.pkg
Mac OS X 64-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-darwin-x64.tar.gz
Linux 32-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-x86.tar.xz
Linux 64-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-ppc64le.tar.xz
SunOS 32-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-sunos-x86.tar.xz
SunOS 64-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-sunos-x64.tar.xz
ARMv6 32-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-armv6l.tar.xz
ARMv7 32-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v5.7.0/node-v5.7.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v5.7.0/node-v5.7.0.tar.gz
Other release files: https://nodejs.org/dist/v5.7.0/
Documentation: https://nodejs.org/docs/v5.7.0/api/
值得关注的改进包括:
- buffer:
- You can now supply an
encodingargument when filling a BufferBuffer#fill(string[, start[, end]][, encoding]), supplying an existing Buffer will also work withBuffer#fill(buffer[, start[, end]]). See the API documentation for details on how this works. (Trevor Norris) #4935 Buffer#indexOf()no longer requires abyteOffsetargument if you also wish to specify anencoding:Buffer#indexOf(val[, byteOffset][, encoding]). (Trevor Norris) #4803- child_process:
spawn()andspawnSync()now support a'shell'option to allow for optional execution of the given command inside a shell. If set totrue,cmd.exewill be used on Windows and/bin/shelsewhere. A path to a custom shell can also be passed to override these defaults. On Windows, this option allows.bat.and.cmdfiles to be executed withspawn()andspawnSync(). (Colin Ihrig) #4598 - http_parser: Update to http-parser 2.6.2 to fix an unintentionally strict limitation of allowable header characters (James M Snell) #5237
- dgram:
socket.send()now supports accepts an array of Buffers or Strings as the first argument. See the API docs for details on how this works. (Matteo Collina) #4374 - http: Fix a bug where handling headers will mistakenly trigger an
'upgrade'event where the server is just advertising its protocols. This bug can prevent HTTP clients from communicating with HTTP/2 enabled servers. (Fedor Indutny) #4337 - net: Added a
listeningBoolean property tonetandhttpservers to indicate whether the server is listening for connections. (José Moreira) #4743 - node: The C++
node::MakeCallback()API is now reentrant and calling it from inside anotherMakeCallback()call no longer causes thenextTickqueue or Promises microtask queue to be processed out of order. (Trevor Norris) #4507 - tls: Add a new
tlsSocket.getProtocol()method to get the negotiated TLS protocol version of the current connection. (Brian White) #4995 - vm: Introduce new
'produceCachedData'and'cachedData'options tonew vm.Script()to interact with V8's code cache. When a newvm.Scriptobject is created with the'produceCachedData'set totrueaBufferwith V8's code cache data will be produced and stored incachedDataproperty of the returned object. This data in turn may be supplied back to anothervm.Script()object with a'cachedData'option if the supplied source is the same. Successfully executing a script from cached data can speed up instantiation time. See the API docs for details. (Fedor Indutny) #4777 - performance: Improvements in:
下面关于Node.js的内容你可能也喜欢:
在 Ubuntu 14.04/15.04 上安装配置 Node.js v4.0.0 http://www.linuxidc.com/Linux/2015-10/123951.htm
如何在CentOS 7安装Node.js http://www.linuxidc.com/Linux/2015-02/113554.htm
Ubuntu 14.04下搭建Node.js开发环境 http://www.linuxidc.com/Linux/2014-12/110983.htm
Ubunru 12.04 下Node.js开发环境的安装配置 http://www.linuxidc.com/Linux/2014-05/101418.htm
Node.Js入门[PDF+相关代码] http://www.linuxidc.com/Linux/2013-06/85462.htm
Node.js开发指南 高清PDF中文版 +源码 http://www.linuxidc.com/Linux/2014-09/106494.htm
Node.js入门开发指南中文版 http://www.linuxidc.com/Linux/2012-11/73363.htm
Ubuntu 编译安装Node.js http://www.linuxidc.com/Linux/2013-10/91321.htm
Node.js 的详细介绍:请点这里
Node.js 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-02/128647.htm
