This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
1.4.1 translate #119
Merged
Merged
1.4.1 translate #119
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# io.js 更新记录 | ||
|
||
## 2015-02-26, Version 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) | ||
|
||
_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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这里 reject 是否需要翻译?被拒绝了能看懂么? |
||
* **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)。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 尝试翻译
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 好像编译工具升级了,导致回滚,但上述有个 fix 比较有用(issue 又被禁止访问),所以保留了那部分代码。 |
||
* **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) | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
abort => 中止?