Node v4.1.1 (Stable) 发布,主要更新内容如下:

Node v4.1.0 (Stable) 发布,值得关注的改进:

Node.js v0.8.13 包含 EventEmitter 类的一个问题修复,这是一个 bugfix
版本,没有新特性,主要改进记录:

buffer: Fixed a bug introduced in v4.1.0 where allocating a new
zero-length buffer can result in the next allocation of a TypedArray
in JavaScript not being zero-filled. In certain circumstances this could
result in data leakage via reuse of memory space in TypedArrays,
breaking the normally safe assumption that TypedArrays should be always
zero-filled. (Trevor Norris)
#2931.

buffer:

  • events: Don’t clobber pre-existing _events obj in EE ctor (isaacs)
  • V8: Upgrade to 3.11.10.25
  • npm: Upgrade to 1.1.65
  • url: parse hostnames that start with – or _ (Ben Noordhuis)
  • repl: Fix Windows 8 terminal issue (Bert Belder)
  • typed arrays: use signed char for signed int8s (Aaron Jacobs)
  • crypto: fix bugs in DiffieHellman (Ben Noordhuis)
  • configure: turn on VFPv3 on ARMv7 (Ben Noordhuis)
  • Re-enable OpenSSL UI for entering passphrases via tty (Ben
    Noordhuis)
  • repl: ensure each REPL instance gets its own “context” (Nathan
    Rajlich)

http: Guard against response-splitting of HTTP trailing headers
added via
response.addTrailers()
by removing new-line ([rn]) characters from values. Note that
standard header values are already stripped of new-line characters. The
expected security impact is low because trailing headers are rarely
used. (Ben Noordhuis)
#2945.

  • Buffers are now created in JavaScript, rather than C++. This
    increases the speed of buffer creation (Trevor Norris)
    #2866澳门新葡萄京官网首页 ,.

  • Buffer#slice() now uses Uint8Array#subarray() internally,
    increasing slice() performance (Karl Skomski)
    #2777.

相关链接地址:

npm: Upgrade to npm 2.14.4 from 2.14.3, see release
notes for full details
(Kat Marchán) #2958

fs:

Source Code:
Macintosh Installer (Universal):

Windows Installer:

Windows x64 Installer:

Windows x64 Files:
Linux 32-bit Binary:

Linux 64-bit Binary:

Solaris 32-bit Binary:

Solaris 64-bit Binary:

Other release files:
Website:
Documentation:

  • Upgrades graceful-fs on multiple dependencies to no longer rely on
    monkey-patching fs

  • Fix npm link for pre-release / RC builds of Node

  • fs.utimes() now properly converts numeric strings, NaN, and
    Infinity (Yazhong Liu)
    #2387.

  • fs.WriteStream now implements _writev, allowing for super-fast
    bulk writes (Ron Korving)
    #2167.

v8: Update post-mortem metadata to allow post-mortem debugging tools
to find and inspect:

http: Fixed an issue with certain write() sizes causing errors
when using http.request() (Fedor Indutny)
#2824.

  • JavaScript objects that use dictionary properties (Julien Gilli)
    #2959

  • ScopeInfo and thus closures (Julien Gilli)
    #2974

npm: Upgrade to version 2.14.3, see
for more details (Kat
Marchán) #2822.

更多内容请查看:发行说明。

src: V8 cpu profiling no longer erroneously shows idle time
(Oleksandr Chekhovskyi)
#2324.

下载地址:

timers: #ref() and #unref() now return the timer they belong to
(Sam Roberts) #2905.

Windows 32-bit Installer:

Windows 64-bit Installer:

Windows 32-bit Binary:

Windows 64-bit Binary:

Mac OS X 64-bit Installer:

Mac OS X 64-bit Binary:

Linux 32-bit Binary:

Linux 64-bit Binary:

SunOS 32-bit Binary:

SunOS 64-bit Binary:

ARMv6 32-bit Binary: Coming soon
ARMv7 32-bit Binary:

ARMv8 64-bit Binary:

Source Code:
Other release files:
Documentation:

v8: Lateral upgrade to 4.5.103.33 from 4.5.103.30, contains minor
fixes (Ali Ijaz Sheikh)
#2870.

文章转载自:开源中国社区 []    

  • This fixes a previously known bug where some computed object
    shorthand properties did not work correctly
    (#2507).

更多改进内容请看发行说明。

下载:

  • Windows 32-bit Installer:

  • Windows 64-bit Installer:

  • Windows 32-bit Binary:

  • Windows 64-bit Binary:

  • Mac OS X 64-bit Installer:

  • Mac OS X 64-bit Binary:

  • Linux 32-bit Binary:

  • Linux 64-bit Binary:

  • SunOS 32-bit Binary:

  • SunOS 64-bit Binary:

  • ARMv6 32-bit Binary:

  • ARMv7 32-bit Binary:

  • ARMv8 64-bit Binary:

  • Source Code:

  • Other release files:

  • Documentation:

文章转载自:开源中国社区 []