内容简介:io.js 3.0.0发布,与Node.js合并前最后的大版本
io.js 去年底脱离了 Node.js,但今年5月 Node.js 和 io.js 又宣布了合并,3.0版将会是 io.js 发布的最后一个大版本,合并后的版本预计将在10月发布,版本号将是4.0,但没有了io.js的名字,而是冠名为 Node.js 4.0 ,它将是一个长期支持版本。 (via solidot )
io.js 3.0.0 主要更新内容如下:
-
buffer:
-
Due to changes in V8, it has been necessary to reimplement
Buffer
on top of V8'sUint8Array
. Every effort has been made to minimize the performance impact, howeverBuffer
instantiation is measurably slower. Access operations may be faster in some circumstances but the exact performance profile and difference over previous versions will depend on howBuffer
is used within applications. (Trevor Norris) #1825 . -
Buffer
can now takeArrayBuffer
s as a constructor argument (Trevor Norris) #2002 . -
When a single buffer is passed to
Buffer.concat()
, a new, copiedBuffer
object will be returned; previous behavior was to return the originalBuffer
object (Sakthipriyan Vairamani) #1937 . -
build: PPC support has been added to core to allow compiling on pLinux BE and LE (AIX support coming soon) (Michael Dawson) #2124 .
-
dgram: If an error occurs within
socket.send()
and a callback has been provided, the error is only passed as the first argument to the callback and not emitted on thesocket
object; previous behavior was to do both (Matteo Collina & Chris Dickinson) #1796 -
freelist: Deprecate the undocumented
freelist
core module (Sakthipriyan Vairamani) #2176 . -
http:
-
Status codes now all use the official IANA names as per RFC7231 , e.g.
http.STATUS_CODES[414]
now returns'URI Too Long'
rather than'Request-URI Too Large'
(jomo) #1470 . -
Calling .getName() on an HTTP agent no longer returns a trailing colon, HTTPS agents will no longer return an extra colon near the middle of the string (Brendan Ashworth) #1617 .
-
node:
-
NODE_MODULE_VERSION
has been bumped to45
to reflect the break in ABI (Rod Vagg) #2096 . -
Introduce a new
process.release
object that contains aname
property set to'io.js'
andsourceUrl
,headersUrl
andlibUrl
(Windows only) properties containing URLs for the relevant resources; this is intended to be used by node-gyp (Rod Vagg) #2154 . -
The version of node-gyp bundled with io.js now downloads and uses a tarball of header files from iojs.org rather than the full source for compiling native add-ons; it is hoped this is a temporary floating patch and the change will be upstreamed to node-gyp soon (Rod Vagg) #2066 .
-
repl: Persistent history is now enabled by default. The history file is located at ~/.node_repl_history, which can be overridden by the new environment variable
NODE_REPL_HISTORY
. This deprecates the previousNODE_REPL_HISTORY_FILE
variable. Additionally, the format of the file has been changed to plain text to better handle file corruption. (Jeremiah Senkpiel) #2224 . -
smalloc: The
smalloc
module has been removed as it is no longer possible to provide the API due to changes in V8 (Ben Noordhuis) #2022 . -
tls: Add
server.getTicketKeys()
andserver.setTicketKeys()
methods for TLS session key rotation (Fedor Indutny) #2227 . -
v8: Upgraded to 4.4.63.26
-
ES6: Enabled computed property names
-
ES6:
Array
can now be subclassed in strict mode -
ES6: Implement rest parameters in staging, use the
--harmony-rest-parameters
command line flag -
ES6: Implement the spread operator in staging, use the
--harmony-spreadcalls
command line flag -
Removed
SetIndexedPropertiesToExternalArrayData
and related APIs, forcing a shift toBuffer
to be reimplemented based onUint8Array
-
Introduction of
Maybe
andMaybeLocal
C++ API for objects which may or may not have a value. -
Added support for PPC
详细内容请查看: 更新日志 。
下载地址: Source code (zip)
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 原生骨架屏库,合并模式版本,加入链式语法。
- EasyPOI 3.2.0 修复上一个版本合并的坑,建议升级
- jfinal-admin 2.0 版本合并任务调度并新增 XSS 脚本处理
- io.js 3.0.0发布,与Node.js合并前最后的大版本
- 分组字符合并SQL语句 按某字段合并字符串之一(简单合并)
- git 的合并原理(递归三路合并算法)
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Python基础教程(第2版)
Magnus Lie Hetland / 司维、曾军崴、谭颖华 / 人民邮电出版社 / 2010-7 / 69.00元
本书是经典教程的全新改版,作者根据Python 3.0版本的种种变化,全面改写了书中内容,做到既能“瞻前”也能“顾后”。本书层次鲜明、结构严谨、内容翔实,特别是在最后几章,作者将前面讲述的内容应用到了10个引人入胜的项目中,并以模板的形式介绍了项目的开发过程。本书既适合初学者夯实基础,又能帮助Python程序员提升技能,即使是 Python方面的技术专家,也能从书里找到令你耳目一新的东西。一起来看看 《Python基础教程(第2版)》 这本书的介绍吧!