From 4853fba3cc22458439ac1c38d5962a6da9c42e1d Mon Sep 17 00:00:00 2001 From: panawang Date: Fri, 27 Feb 2015 17:25:25 +0800 Subject: [PATCH 1/3] 1.4.1 translate --- CHANGELOG.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d68e1..d78ca52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,27 @@ # io.js 更新记录 -## 2015-02-26, Version 1.4.1, @rvagg +## 2015-02-26,版本 1.4.1,@rvagg -_Note: version **1.4.0** was tagged and built but not released. A libuv bug was discovered in the process so the release was aborted. The tag was straight after [`a558cd0a61`](https://github.com/iojs/io.js/commit/a558cd0a61) but has since been removed. We have jumped to 1.4.1 to avoid confusion._ +_注意:版本 **1.4.0** 原本进行了标记和构建,但在发布过程中发现一个 libuv bug 所以被放弃了,没有发布。该 tag 在[`a558cd0a61`](https://github.com/iojs/io.js/commit/a558cd0a61) 之后,但是被删除了。为了避免困惑,直接把版本升到了 1.4.1 。_ ### 主要更新 -* **process** / **promises**: An`'unhandledRejection'` event is now emitted on `process` whenever a `Promise` is rejected and no error handler is attached to the `Promise` within a turn of the event loop. A `'rejectionHandled'` event is now emitted whenever a `Promise` was rejected and an error handler was attached to it later than after an event loop turn. See the [process](https://iojs.org/api/process.html) documentation for more detail. [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov) -* **streams**: you can now use regular streams as an underlying socket for `tls.connect()` [#926](https://github.com/iojs/io.js/pull/926) (Fedor Indutny) -* **http**: A new `'abort'` event emitted when a `http.ClientRequest` is aborted by the client. [#945](https://github.com/iojs/io.js/pull/945) (Evan Lucas) -* **V8**: Upgrade V8 to 4.1.0.21. Includes an embargoed fix, details should be available at https://code.google.com/p/chromium/issues/detail?id=430201 when embargo is lifted. A breaking ABI change has been held back from this upgrade, possibly to be included when io.js merges V8 4.2. See [#952](https://github.com/iojs/io.js/pull/952) for discussion. -* **npm**: Upgrade npm to 2.6.0. Includes features to support the new registry and to prepare for `npm@3`. See [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12) for details. Summary: - * [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2) [#5068](https://github.com/npm/npm/issues/5068) Add new logout command, and make it do something useful on both bearer-based and basic-based authed clients. ([@othiym23](https://github.com/othiym23)) - * [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098) [#6565](https://github.com/npm/npm/issues/6565) Warn that `peerDependency` behavior is changing and add a note to the docs. ([@othiym23](https://github.com/othiym23)) - * [`7c81a5f`](https://github.com/npm/npm/commit/7c81a5f5f058941f635a92f22641ea68e79b60db) [#7171](https://github.com/npm/npm/issues/7171) Warn that `engineStrict` in `package.json` will be going away in the next major version of npm (coming soon!) ([@othiym23](https://github.com/othiym23)) -* **libuv**: Upgrade to 1.4.2. See [libuv ChangeLog](https://github.com/libuv/libuv/blob/v1.x/ChangeLog) for details of fixes. +* **process** / **promises**:如果一个 `Promise` 被拒绝了,并且在一次事件循环之内没有添加错误处理 handler, `process` 会触发一个 `'unhandledRejection'` 事件。如果一个 `Promise` 被拒绝了,并且在一次事件循环之后添加了错误处理 handler,`process` 会触发一个 `'rejectionHandled'` 事件。详情参看文档 [process](https://iojs.org/api/process.html) [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov) +* **streams**:在 `tls.connect()` 时可以将普通 streams 当做 socket 使用 [#926](https://github.com/iojs/io.js/pull/926) (Fedor Indutny) +* **http**:在客户端中止一个 `http.ClientRequest` 时会触发一个新的 `'abort'` 事件。 [#945](https://github.com/iojs/io.js/pull/945) (Evan Lucas) +* **V8**:V8 更新到 4.1.0.21。包含一个 embargoed 修复,详情参看 https://code.google.com/p/chromium/issues/detail?id=430201 在 embargo 被 lifted 时。一个大的 ABI 修改在这次升级时被 held back, 大概是在合并 V8 4.2 时被引入的。参看讨论 [#952](https://github.com/iojs/io.js/pull/952)。 +* **npm**:更新 npm 到 2.6.0. 包含用以支持新 registry 的一些特性,并为 `npm@3` 做准备。详情参看 [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12): + * [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2) [#5068](https://github.com/npm/npm/issues/5068) 添加 logout 命令,该命令对基于 bearer 和 basic 的客户端验证会有帮助。([@othiym23](https://github.com/othiym23)) + * [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098) [#6565](https://github.com/npm/npm/issues/6565) 添加警告:`peerDependency` 的行为正在改变,并在文档中添加声明。 ([@othiym23](https://github.com/othiym23)) + * [`7c81a5f`](https://github.com/npm/npm/commit/7c81a5f5f058941f635a92f22641ea68e79b60db) [#7171](https://github.com/npm/npm/issues/7171) 添加警告:`package.json` 中的 `engineStrict` 在下一个主要版本(很快发布!)中将被移除 ([@othiym23](https://github.com/othiym23)) +* **libuv**: 更新到 1.4.2 。修复详情参看 [libuv ChangeLog](https://github.com/libuv/libuv/blob/v1.x/ChangeLog)。 ### 已知问题 -* Surrogate pair in REPL can freeze terminal [#690](https://github.com/iojs/io.js/issues/690) -* Not possible to build io.js as a static library [#686](https://github.com/iojs/io.js/issues/686) -* `process.send()` is not synchronous as the docs suggest, a regression introduced in 1.0.2, see [#760](https://github.com/iojs/io.js/issues/760) and fix in [#774](https://github.com/iojs/io.js/issues/774) -* Calling `dns.setServers()` while a DNS query is in progress can cause the process to crash on a failed assertion [#894](https://github.com/iojs/io.js/issues/894) +* REPL 中的 Surrogate pair 会导致终端僵死 [#690](https://github.com/iojs/io.js/issues/690) +* 无法将 io.js 编译成静态库 [#686](https://github.com/iojs/io.js/issues/686) +* `process.send()` 并非如文档所述是同步的,1.0.2 引入的问题,查看 [#760](https://github.com/iojs/io.js/issues/760),解决 [#774](https://github.com/iojs/io.js/issues/774) +* 当 DNS 查询正在进行中时调用 `dns.setServers()` 会造成 process 崩溃,原因是断言错误 [#894](https://github.com/iojs/io.js/issues/894) ## [2015-02-20,版本 1.3.0,@rvagg](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#2015-02-20-version-130-rvagg) From 3d8af57985e88867688bbb781cff29a19677a03f Mon Sep 17 00:00:00 2001 From: panawang Date: Fri, 27 Feb 2015 17:49:27 +0800 Subject: [PATCH 2/3] add one link to title --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d78ca52..2f7f39a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # io.js 更新记录 -## 2015-02-26,版本 1.4.1,@rvagg +## [2015-02-26,版本 1.4.1,@rvagg](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#2015-02-26-version-141-rvagg) _注意:版本 **1.4.0** 原本进行了标记和构建,但在发布过程中发现一个 libuv bug 所以被放弃了,没有发布。该 tag 在[`a558cd0a61`](https://github.com/iojs/io.js/commit/a558cd0a61) 之后,但是被删除了。为了避免困惑,直接把版本升到了 1.4.1 。_ From b915fb69190555d79b8eca7f7f89f9c826264bc9 Mon Sep 17 00:00:00 2001 From: pana Date: Mon, 2 Mar 2015 23:30:38 +0800 Subject: [PATCH 3/3] OP translate --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f7f39a..042014a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,14 @@ ## [2015-02-26,版本 1.4.1,@rvagg](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#2015-02-26-version-141-rvagg) -_注意:版本 **1.4.0** 原本进行了标记和构建,但在发布过程中发现一个 libuv bug 所以被放弃了,没有发布。该 tag 在[`a558cd0a61`](https://github.com/iojs/io.js/commit/a558cd0a61) 之后,但是被删除了。为了避免困惑,直接把版本升到了 1.4.1 。_ +_注意:版本 **1.4.0** 原本进行了标记和构建,但在发布过程中发现一个 libuv bug 所以被中止了,没有发布。该 tag 在[`a558cd0a61`](https://github.com/iojs/io.js/commit/a558cd0a61) 之后,但是被删除了。为了避免困惑,直接把版本升到了 1.4.1 。_ ### 主要更新 -* **process** / **promises**:如果一个 `Promise` 被拒绝了,并且在一次事件循环之内没有添加错误处理 handler, `process` 会触发一个 `'unhandledRejection'` 事件。如果一个 `Promise` 被拒绝了,并且在一次事件循环之后添加了错误处理 handler,`process` 会触发一个 `'rejectionHandled'` 事件。详情参看文档 [process](https://iojs.org/api/process.html) [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov) +* **process** / **promises**:如果一个 `Promise` 被 reject 了,并且在一次事件循环之内没有添加错误处理 handler, `process` 会触发一个 `'unhandledRejection'` 事件。如果一个 `Promise` 被 reject 了,并且在一次事件循环之后添加了错误处理 handler,`process` 会触发一个 `'rejectionHandled'` 事件。详情参看文档 [process](https://iojs.org/api/process.html) [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov) * **streams**:在 `tls.connect()` 时可以将普通 streams 当做 socket 使用 [#926](https://github.com/iojs/io.js/pull/926) (Fedor Indutny) * **http**:在客户端中止一个 `http.ClientRequest` 时会触发一个新的 `'abort'` 事件。 [#945](https://github.com/iojs/io.js/pull/945) (Evan Lucas) -* **V8**:V8 更新到 4.1.0.21。包含一个 embargoed 修复,详情参看 https://code.google.com/p/chromium/issues/detail?id=430201 在 embargo 被 lifted 时。一个大的 ABI 修改在这次升级时被 held back, 大概是在合并 V8 4.2 时被引入的。参看讨论 [#952](https://github.com/iojs/io.js/pull/952)。 +* **V8**:V8 更新到 4.1.0.21,包含一个修复(但被禁止访问),详情参看 https://code.google.com/p/chromium/issues/detail?id=430201。此次更新因一个非兼容的 ABI 更新受阻,可能会在合并 v8 4.2 时支持。参看讨论 [#952](https://github.com/iojs/io.js/pull/952)。 * **npm**:更新 npm 到 2.6.0. 包含用以支持新 registry 的一些特性,并为 `npm@3` 做准备。详情参看 [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12): * [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2) [#5068](https://github.com/npm/npm/issues/5068) 添加 logout 命令,该命令对基于 bearer 和 basic 的客户端验证会有帮助。([@othiym23](https://github.com/othiym23)) * [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098) [#6565](https://github.com/npm/npm/issues/6565) 添加警告:`peerDependency` 的行为正在改变,并在文档中添加声明。 ([@othiym23](https://github.com/othiym23))