发布于 2014-09-25 01:48:53 | 167 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Node.js主要方法使用说明,程序狗速度看过来!

Node.js 服务器端的JavaScript

Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用


Node.js v0.11.14 (Unstable) 发布了,

Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台, 用来方便地搭建快速的 易于扩展的网络应用· Node.js 借助事件驱动, 非阻塞I/O 模型变得轻量和高效, 非常适合 运行在分布式设备 的 数据密集型 的实时应用

改进记录包括:

  • uv: Upgrade to v1.0.0-rc1

  • http_parser: Upgrade to v2.3.0

  • npm: Upgrade to v2.0.0

  • openssl: Upgrade to v1.0.1i

  • v8: Upgrade to 3.26.33

  • Add fast path for simple URL parsing (Gabriel Wicke)

  • Added support for options parameter in console.dir() (Xavi Magrinyà)

  • Cluster: fix shared handles on Windows (Alexis Campailla)

  • buffer: Fix incorrect Buffer.compare behavior (Feross Aboukhadijeh)

  • buffer: construct new buffer from buffer toJSON() output (cjihrig)

  • buffer: improve Buffer constructor (Kang-Hao Kenny)

  • build: linking CoreFoundation framework for OSX (Thorsten Lorenz)

  • child_process: accept uid/gid everywhere (Fedor Indutny)

  • child_process: add path to spawn ENOENT Error (Ryan Cole)

  • child_process: copy spawnSync() cwd option to proper buffer (cjihrig)

  • child_process: do not access stderr when stdio set to 'ignore' (cjihrig)

  • child_process: don't throw on EAGAIN (Charles)

  • child_process: don't throw on EMFILE/ENFILE (Ben Noordhuis)

  • child_process: use full path for cmd.exe on Win32 (Ed Morley)

  • cluster: allow multiple calls to setupMaster() (Ryan Graham)

  • cluster: centralize removal from workers list. (Julien Gilli)

  • cluster: enable error/message events using .worker (cjihrig)

  • cluster: include settings object in 'setup' event (Ryan Graham)

  • cluster: restore v0.10.x setupMaster() behaviour (Ryan Graham)

  • cluster: support options in Worker constructor (cjihrig)

  • cluster: test events emit on cluster.worker (Sam Roberts)

  • console: console.dir() accepts options object (Xavi Magrinyà)

  • crypto: add honorCipherOrder argument (Fedor Indutny)

  • crypto: allow padding in RSA methods (Fedor Indutny)

  • crypto: clarify RandomBytes() error msg (Mickael van der Beek)

  • crypto: never store pointer to conn in SSL_CTX (Fedor Indutny)

  • crypto: unsigned value can't be negative (Brian White)

  • dgram: remove new keyword from errnoException (Jackson Tian)

  • dns: always set variable family in lookup() (cjihrig)

  • dns: include host name in error message if available (Maciej Małecki)

  • dns: introduce lookupService function (Saúl Ibarra Corretgé)

  • dns: send lookup c-ares errors to callback (Chris Dickinson)

  • dns: throw if hostname is not string or falsey (cjihrig)

  • events: Output the event that is leaking (Arnout Kazemier)

  • fs: close file if fstat() fails in readFile() (cjihrig)

  • fs: fs.readFile should not throw uncaughtException (Jackson Tian)

  • http: add 308 status_code, see RFC7238 (Yazhong Liu)

  • http: don't default OPTIONS to chunked encoding (Nick Muerdter)

  • http: fix bailout for writeHead (Alex Kocharin)

  • http: remove unused code block (Fedor Indutny)

  • http: write() after end() emits an error. (Julien Gilli)

  • lib, src: add vm.runInDebugContext() (Ben Noordhuis)

  • lib: noisy deprecation of child_process customFds (Ryan Graham)

  • module: don't require fs several times (Robert Kowalski)

  • net,dgram: workers can listen on exclusive ports (cjihrig)

  • net,stream: add isPaused, don't read() when paused (Chris Dickinson)

  • net: Ensure consistent binding to IPV6 if address is absent (Raymond Feng)

  • net: add remoteFamily for socket (Jackson Tian)

  • net: don't emit listening if handle is closed (Eli Skeggs)

  • net: don't prefer IPv4 addresses during resolution (cjihrig)

  • net: don't throw on net.Server.close() (cjihrig)

  • net: reset errorEmitted on reconnect (Ed Umansky)

  • node: set names for prototype methods (Trevor Norris)

  • node: support v8 microtask queue (Vladimir Kurchatkin)

  • path: fix slice OOB in trim (Lucio M. Tato)

  • path: isAbsolute() should always return boolean (Herman Lee)

  • process: throw TypeError if kill pid not a number (Sam Roberts)

  • querystring: custom encode and decode (fengmk2)

  • querystring: do not add sep for empty array (cjihrig)

  • querystring: remove prepended ? from query field (Ezequiel Rabinovich)

  • readline: fix close event of readline.Interface() (Yazhong Liu)

  • readline: fixes scoping bug (Dan Kaplun)

  • readline: implements keypress buffering (Dan Kaplun)

  • repl: fix multi-line input (Fedor Indutny)

  • repl: fix overwrite for this._prompt (Yazhong Liu)

  • repl: proper setPrompt() and multiline support (Fedor Indutny)

  • stream: don't try to finish if buffer is not empty (Vladimir Kurchatkin)

  • stream: only end reading on null, not undefined (Jonathan Reem)

  • streams: set default hwm properly for Duplex (Andrew Oppenlander)

  • string_bytes: ucs2 support big endian (Andrew Low)

  • tls, crypto: add DHE support (Shigeki Ohtsu)

  • tls: checkServerIdentity option (Trevor Livingston)

  • tls: add DHE-RSA-AES128-SHA256 to the def ciphers (Shigeki Ohtsu)

  • tls: better error reporting at cert validation (Fedor Indutny)

  • tls: support multiple keys/certs (Fedor Indutny)

  • tls: throw an error, not string (Jackson Tian)

  • udp: make it possible to receive empty udp packets (Andrius Bentkus)

  • url: treat  the same as / (isaacs)

相关链接:

Source Code: http://nodejs.org/dist/v0.11.14/node-v0.11.14.tar.gz

Macintosh Installer (Universal): http://nodejs.org/dist/v0.11.14/node-v0.11.14.pkg

Windows Installer: http://nodejs.org/dist/v0.11.14/node-v0.11.14-x86.msi

Windows x64 Installer: http://nodejs.org/dist/v0.11.14/x64/node-v0.11.14-x64.msi

Windows x64 Files: http://nodejs.org/dist/v0.11.14/x64/

Linux 32-bit Binary: http://nodejs.org/dist/v0.11.14/node-v0.11.14-linux-x86.tar.gz

Linux 64-bit Binary: http://nodejs.org/dist/v0.11.14/node-v0.11.14-linux-x64.tar.gz

Solaris 32-bit Binary: http://nodejs.org/dist/v0.11.14/node-v0.11.14-sunos-x86.tar.gz

Solaris 64-bit Binary: http://nodejs.org/dist/v0.11.14/node-v0.11.14-sunos-x64.tar.gz

Other release files: http://nodejs.org/dist/v0.11.14/

Website: http://nodejs.org/docs/v0.11.14/

Documentation: http://nodejs.org/docs/v0.11.14/api/



历史版本 :
Node.js v8.9.4 (LTS) 发布,可以从任何目录配置
Node.js v6.12.3 (LTS) 发布,可以从任何目录配置
Node.js 9.3.0 发布,服务器端 JavaScript 运行环境
Node.js v9.2.1,v8.9.3, v4.8.7 发布
Node.js v6.12.2 “Boron”(LTS) 发布,修复漏洞
Node v8.9.2 和 v6.12.1 长期支持版发布
Node.js v9.2.0 发布,服务器端 JavaScript 运行环境
Node v8.9.1 (LTS) 发布,服务器端 JavaScript 运行环境
Node.js v9.1.0 发布,服务器端 JavaScript 运行环境
Node.js v9.0.0 发布,服务器端 JavaScript 运行环境
Node 8.8.0、6.11.5 和 4.8.5 发布,你在用哪版?
Node.js v8.7.0 发布,服务器端 JavaScript 运行环境
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务