Node v4.1.0 (Stable) 发布
Node v4.1.0 (Stable) 发布,值得关注的改进:
-
buffer:
-
Buffers are now created in JavaScript, rather than C++. This increases the speed of buffer creation (Trevor Norris) #2866.
-
Buffer#slice()
now usesUint8Array#subarray()
internally, increasingslice()
performance (Karl Skomski) #2777. -
fs:
-
fs.utimes()
now properly converts numeric strings,NaN
, andInfinity
(Yazhong Liu) #2387. -
fs.WriteStream
now implements_writev
, allowing for super-fast bulk writes (Ron Korving) #2167. -
http: Fixed an issue with certain
write()
sizes causing errors when usinghttp.request()
(Fedor Indutny) #2824. -
npm: Upgrade to version 2.14.3, see https://github.com/npm/npm/releases/tag/v2.14.3 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. -
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: https://nodejs.org/dist/v4.1.0/node-v4.1.0-x86.msi
-
Windows 64-bit Installer: https://nodejs.org/dist/v4.1.0/node-v4.1.0-x64.msi
-
Windows 32-bit Binary: https://nodejs.org/dist/v4.1.0/win-x86/node.exe
-
Windows 64-bit Binary: https://nodejs.org/dist/v4.1.0/win-x64/node.exe
-
Mac OS X 64-bit Installer: https://nodejs.org/dist/v4.1.0/node-v4.1.0.pkg
-
Mac OS X 64-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-darwin-x64.tar.gz
-
Linux 32-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-linux-x86.tar.gz
-
Linux 64-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-linux-x64.tar.gz
-
SunOS 32-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-sunos-x86.tar.gz
-
SunOS 64-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-sunos-x64.tar.gz
-
ARMv6 32-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-linux-armv6l.tar.gz
-
ARMv7 32-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-linux-armv7l.tar.gz
-
ARMv8 64-bit Binary: https://nodejs.org/dist/v4.1.0/node-v4.1.0-linux-arm64.tar.gz
-
Source Code: https://nodejs.org/dist/v4.1.0/node-v4.1.0.tar.gz
-
Other release files: https://nodejs.org/dist/v4.1.0/
-
Documentation: https://nodejs.org/docs/v4.1.0/api/
更多改进内容请看发行说明。
下载: