设为首页 收藏本站
查看: 1010|回复: 0

[软件发布] Node.js v0.12.0 (Stable) 发布

[复制链接]
累计签到:77 天
连续签到:1 天
发表于 2015-3-5 03:31:12 | 显示全部楼层 |阅读模式
3月21日 深圳 OSC 源创会开始报名罗,送华为海思开发板
DSC0000.png   Node.js v0.12.0 (Stable) 发布,此版本相比 0.10 版本有较大的改进,详细改进请看 wiki。请注意,此版本包括 API 更新,需要更新大量依赖。
  此版本值得关注的特性如下:
  

  •   Streams 3

    •   The Streams implementation now works the way you thought it already should,without introducing any changes to the API. Basically this means no moregetting stuck in "old mode", there are only streams that are flowing or not.
    •   Streams now support the use of cork and uncork mechanisms to preventflushing writes out to the system if an application is going to beperforming many writes in a row. There is an implicit uncork performed whenyou end a writable stream.

  •   HTTP

    •   maxSockets are no longer limited to 5. The default is now set toInfinity with the developer and the operating system given control overhow many simultaneous connections an application can keep open to a givenhost.

    •   Proper KeepAlive support means that sockets will stay open until theytimeout at the configured time, are closed by the remote side, or theprocess exits. Developer's no longer have to make sure requests have beenpipelined to keep the socket open, or use an>
    •   Developers can also now explicitly flushHeaders to ensure time to firstbyte is low and proxied connections are held open.

  •   Cluster

    •   Now has two modes of operation, the new default is a round robindistribution mechanism where the master accepts new connections anddistributes them to your workers. If you want you can still opt back intothe old method where your workers are responsible for acception connections.

  •   TLS

    •   We have the new TLSWrap mechanism under the hood, this eliminates quite afew of the hops back and forth between JavaScript and our C++implementations.
    •   Added APIs for asynchronous SNI callbacks, OCSP stapling, and storageevents.

  •   Buffer

    •   We use a more accurate mechanism for allocating memory for buffers now,which means you'll see less overhead and impact from holding onto to smallslices of Buffers. This reduces the amount of memory pressure on the system,which means GC runs are quicker, which means Node.js is on CPU less, andthus lower latency for your applications.

  •   child_process

    •   spawnSync/execSync have been added to facilitate synchronous childprocesses, warning your node process won't make forward progress whilewaiting for the child to exit, caveat emptor!

  •   Crypto

    •   Added APIs for loading custom engines for use with compiled in OpenSSL.
    •   More APIs support supplying the pass phrases.
    •   Added APIs for RSA public/private key encryption/decryption.

  •   VM

    •   The module is now based on the Contextify module, which shares values fromthe sandbox to avoid missing changes inside the execution from appearing inthe parent context.

  •   初步支持 ECMAScript Internationalization API 1.0(ECMA-402)

    •   By default, Node.js v0.12.0 binaries are shipped with ECMA-402 support,but only for the English language. In other words, the ECMA-402 API isworking as you would expect, but only data for the English language isincluded. You can find more info on how to include more languages inthe Wiki.

  相关资源:
  
  源代码:http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz
  Macintosh Installer (Universal): http://nodejs.org/dist/v0.12.0/node-v0.12.0.pkg
  Windows Installer: http://nodejs.org/dist/v0.12.0/node-v0.12.0-x86.msi
  Windows x64 Installer: http://nodejs.org/dist/v0.12.0/x64/node-v0.12.0-x64.msi
  Windows x64 Files: http://nodejs.org/dist/v0.12.0/x64/
  Linux 32-bit Binary: http://nodejs.org/dist/v0.12.0/node-v0.12.0-linux-x86.tar.gz
  Linux 64-bit Binary: http://nodejs.org/dist/v0.12.0/node-v0.12.0-linux-x64.tar.gz
  Solaris 32-bit Binary: http://nodejs.org/dist/v0.12.0/node-v0.12.0-sunos-x86.tar.gz
  Solaris 64-bit Binary: http://nodejs.org/dist/v0.12.0/node-v0.12.0-sunos-x64.tar.gz

  Other>  网站:http://nodejs.org/docs/v0.12.0/
  文档:http://nodejs.org/docs/v0.12.0/api/

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-43446-1-1.html 上篇帖子: FST 2.22 发布,Java 快速序列化库 下篇帖子: Percona Server 5.6.22
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表