Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

io.js weekly translation 2015-02-27 #42

Merged
merged 3 commits into from
Mar 1, 2015
Merged

Conversation

kosamari
Copy link
Contributor

今週、量が多いので一旦できたところまでブランチ作ってcommitしました。
どなたか引き継いでくださると(## Notable changesが残りです)ありがたいです。

@e-jigsaw e-jigsaw mentioned this pull request Feb 28, 2015
<!-- ## Notable changes -->
### 主な変更点

* **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. [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • process / promises: イベントループの中で、Promise が reject され、その Promise に対してのエラーハンドラが一つも存在しない時はいつでも 'unhandledRejection' イベントが process オブジェクトに emit されるようになりました。イベントループが回った後で Promise が reject され、あるエラーハンドラがそれをキャッチした時に'rejectionHandled' イベントが emit されるようになりました。 #758 (Petka Antonov)

でどうでしょう。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多分これは、 Promise を知らないと使い勝手わからないだろうなぁ。
いまこれをみてやっと意義がわかった。

https://gist.github.com/benjamingr/0237932cee84712951a2

@yosuke-furukawa
Copy link
Member

ざっくり change log だけ翻訳してみました。

@kosamari kosamari changed the title WIP : io.js weekly translation 2015-02-27 io.js weekly translation 2015-02-27 Mar 1, 2015
@kosamari
Copy link
Contributor Author

kosamari commented Mar 1, 2015

頂いたChengeLog部分反映されました。

@e-jigsaw
Copy link
Contributor

e-jigsaw commented Mar 1, 2015

2015-03-01 11_13_14

プレビューの方問題なさそうでした。

* **process** / **promises**: イベントループの中で、`Promise` が reject され、その `Promise` に対してのエラーハンドラが一つも存在しない時はいつでも `'unhandledRejection'` イベントが `process` オブジェクトに emit されるようになりました。イベントループが回った後で `Promise` が reject され、あるエラーハンドラがそれをキャッチした時に`'rejectionHandled'` イベントが emit されるようになりました。 [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov)
* **streams**: `tls.connect()` に対してのローレベルなソケットとして標準の Streams を使うことが出来るようになりました [#926](https://github.com/iojs/io.js/pull/926) (Fedor Indutny)
* **http**: `http.ClientRequest`がクライアントによって abort された時、新しい `'abort'` イベントが emit されます。 [#945](https://github.com/iojs/io.js/pull/945) (Evan Lucas)
* **V8**: V8 を4.1.0.21に アップグレードしました。 これには差止された修正が含まれます。差止された情報が開示された時に詳細は利用可能になります。io.js が V8 4.2 にマージした時に、恐らくこの修正が含まれることになるでしょう、このアップグレード (v4.2) から ABI の互換性を壊す変更が発生することになります。 詳細は このディスカッションを見てください。 [#952](https://github.com/iojs/io.js/pull/952)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

差止された情報が開示された時に詳細は利用可能になります

ここですが

差止された情報が開示されたときに詳細を得られるべきです

というような文言の方がそれっぽいかな、とおもったんですがどうでしょう?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 そうしましょう!
@kosamari san 修正お願いしてもいいでしょうか?
よろしくお願いいたします

@kosamari
Copy link
Contributor Author

kosamari commented Mar 1, 2015

なおしましたー

@e-jigsaw
Copy link
Contributor

e-jigsaw commented Mar 1, 2015

LGTM

yosuke-furukawa added a commit that referenced this pull request Mar 1, 2015
io.js weekly translation 2015-02-27
@yosuke-furukawa yosuke-furukawa merged commit 72c200c into master Mar 1, 2015
@yosuke-furukawa yosuke-furukawa deleted the weekly_2015-02-27 branch March 1, 2015 03:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants