Node v5.10.0 (Stable) 发布了。
Node.js是一套用来编写高性能网络服务器的JavaScript工具包,一系列的变化由此开始。比较独特的是,Node.js会假设你是在POSIX环境下运行它Linux 或 Mac OS X。如果你是在Windows下,那就需要安装MinGW以获得一个仿POSIX的环境。在Node中,Http是首要的。Node为创建http服务器作了优化,所以你在网上看到的大部分示例和库都是集中在web上(http框架、模板库等)。
重要更新:
buffer:
make byteLength work with ArrayBuffer & DataView (Jackson Tian) #5255
backport --zero-fill-buffers command line option (James M Snell) #5744
backport new buffer constructor APIs (James M Snell) #5763
add swap16() and swap32() methods (James M Snell) #5724
fs: add the fs.mkdtemp() function. (Florian MARGAINE) #5333
net: emit host in lookup event (HUANG Wei) #5598
node: --no-browser-globals configure flag (Fedor Indutny) #5853
npm: Upgrade to v3.8.3. Fixes a security flaw in the use of authentication tokens in HTTP requests that would allow an attacker to set up a server that could collect tokens from users of the command-line interface. Authentication tokens have previously been sent with every request made by the CLI for logged-in users, regardless of the destination of the request. This update fixes this by only including those tokens for requests made against the registry or registries used for the current install. (Forrest L Norvell) npm/node#6
repl: support standalone blocks (Prince J Wesley) #5581
src: override v8 thread defaults using cli options (Tom Gallacher) #4344