{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/comments/30474329","id":30474329,"diff_hunk":"@@ -0,0 +1,977 @@\n+---\n+layout: post\n+title: io.j 의 v2.0이 나왔습니다.\n+author: Yosuke FURUKAWA\n+ref: io.js の v2.0 が出ました。\n+refurl: http://yosuke-furukawa.hatenablog.com/entry/2015/05/06/170034\n+translator:\n+- <a href=\"https://github.com/asbubam\" target=\"_blank\">asbubam</a>\n+---\n+\n+<!--\n+https://hexi.pics/resize/w/462/h/462/e03baa40377a8e562cb376199c6e3721.png\n+さてさて、久しぶりのio.js エントリですが、この度 io.js の v2.0 が出ました。\n+変更点をかいつまんで説明しましょう。書いてたら長くなってしまったので、サマリだけでいい人は最後のまとめを読むだけでいいと思います。\n+\n+io.js は変化がものすごく激しく、v1.0 から v2.0 が入るまでに色んな機能が入っているんですが、知らない人も多いかと思います。\n+\n+今回は v2.0 の単なる変更点だけじゃなくて、 v1.0 から今までで入った機能をサマリつつ伝えていこうかと思います。\n+-->\n+\n+![io.js logo](https://hexi.pics/resize/w/462/h/462/e03baa40377a8e562cb376199c6e3721.png)\n+\n+참 오래간만의 io.js 항목의 글입니다만, 이번에 io.js의 v2.0이 나왔습니다.\n+변경사항을 간추려서 설명하겠습니다. 쓰다 보니 길어졌기 때문에, 요약된 부분만 읽고 싶은 분은 마지막의 정리를 읽는 것으로 충분하다고 생각합니다.\n+\n+io.js는 변화가 워낙 많은 편이라, v1.0에서 v2.0으로 되면서 여러 기능이 추가되고 있는데, 모르는 사람도 많지 않을까? 하고 생각합니다. \n+\n+이번에는 v2.0의 단순한 변경 사항뿐만 아니라, v1.0부터 지금까지 추가된 기능을 정리하면서 전달해보려고 합니다.\n+\n+<!--\n+Stream Simpler Construction (v1.2.0〜)\n+\n+Stream の作成が簡単になりました。今までStreamを作るためには、目的のStreamを継承して、TransformStreamであれば _transform のようなメソッドを拡張して実現する必要がありました。\n+\n+これをより簡単にしたものが through2 に代表されるヘルパライブラリでしたが、簡単にいえばこの through2 がなくても io.js では Stream を作るのが簡単にできるようになりました。\n+\n+StreamのTransformに対して、transformやflushを取ることができ、これを使うとわざわざ継承をしなくてもTransform Streamを作ることが可能です。下記のようになりました。\n+-->\n+\n+## Stream Simpler Construction (v1.2.0~)\n+Stream의 작성이 간단해졌습니다. 지금까지 Stream을 만들기 위해서는, 목적의 Stream을 상속해서 TransformStream이라면 \\_transform과 같은 메소드를 확장해서 구현할 필요가 있었습니다. \n+\n+이를 더 간단히 변화시킨 것이, through2로 대표되는 헬퍼 라이브러리였습니다만, 간단하게 말하면 이 through2가 없어도 io.js에서는 Stream을 생성하는 것이 간단하게 가능하게 되었습니다.","path":"articles/_posts/2015-05-06-io-js-v2.0-released.md","position":43,"original_position":43,"commit_id":"3162463ac0e0cc95855aa9fa11b758bb97c7195d","original_commit_id":"3162463ac0e0cc95855aa9fa11b758bb97c7195d","user":{"login":"marocchino","id":128431,"avatar_url":"https://avatars.githubusercontent.com/u/128431?v=3","gravatar_id":"","url":"https://api.github.com/users/marocchino","html_url":"https://github.com/marocchino","followers_url":"https://api.github.com/users/marocchino/followers","following_url":"https://api.github.com/users/marocchino/following{/other_user}","gists_url":"https://api.github.com/users/marocchino/gists{/gist_id}","starred_url":"https://api.github.com/users/marocchino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marocchino/subscriptions","organizations_url":"https://api.github.com/users/marocchino/orgs","repos_url":"https://api.github.com/users/marocchino/repos","events_url":"https://api.github.com/users/marocchino/events{/privacy}","received_events_url":"https://api.github.com/users/marocchino/received_events","type":"User","site_admin":false},"body":"간단하게 가능하게 되었습니다. -> 간단하게 할 수 있게 되었습니다.","created_at":"2015-05-17T20:13:29Z","updated_at":"2015-05-17T20:13:29Z","html_url":"https://github.com/nodejs/iojs-ko/pull/67#discussion_r30474329","pull_request_url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/comments/30474329"},"html":{"href":"https://github.com/nodejs/iojs-ko/pull/67#discussion_r30474329"},"pull_request":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67","id":35587052,"html_url":"https://github.com/nodejs/iojs-ko/pull/67","diff_url":"https://github.com/nodejs/iojs-ko/pull/67.diff","patch_url":"https://github.com/nodejs/iojs-ko/pull/67.patch","issue_url":"https://api.github.com/repos/nodejs/iojs-ko/issues/67","number":67,"state":"open","locked":false,"title":"2015-05-06-io-js-v2.0-released #58","user":{"login":"asbubam","id":1094945,"avatar_url":"https://avatars.githubusercontent.com/u/1094945?v=3","gravatar_id":"","url":"https://api.github.com/users/asbubam","html_url":"https://github.com/asbubam","followers_url":"https://api.github.com/users/asbubam/followers","following_url":"https://api.github.com/users/asbubam/following{/other_user}","gists_url":"https://api.github.com/users/asbubam/gists{/gist_id}","starred_url":"https://api.github.com/users/asbubam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbubam/subscriptions","organizations_url":"https://api.github.com/users/asbubam/orgs","repos_url":"https://api.github.com/users/asbubam/repos","events_url":"https://api.github.com/users/asbubam/events{/privacy}","received_events_url":"https://api.github.com/users/asbubam/received_events","type":"User","site_admin":false},"body":"Translate #58 [io.js の v2.0 が出ました。](http://yosuke-furukawa.hatenablog.com/entry/2015/05/06/170034)","created_at":"2015-05-17T13:24:54Z","updated_at":"2015-05-17T20:13:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e475bcc2b804626bea1f3f498ec4465bfe5bfdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67/commits","review_comments_url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67/comments","review_comment_url":"https://api.github.com/repos/nodejs/iojs-ko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/iojs-ko/issues/67/comments","statuses_url":"https://api.github.com/repos/nodejs/iojs-ko/statuses/3162463ac0e0cc95855aa9fa11b758bb97c7195d","head":{"label":"asbubam:2015-05-06-io-js-v2.0-released","ref":"2015-05-06-io-js-v2.0-released","sha":"3162463ac0e0cc95855aa9fa11b758bb97c7195d","user":{"login":"asbubam","id":1094945,"avatar_url":"https://avatars.githubusercontent.com/u/1094945?v=3","gravatar_id":"","url":"https://api.github.com/users/asbubam","html_url":"https://github.com/asbubam","followers_url":"https://api.github.com/users/asbubam/followers","following_url":"https://api.github.com/users/asbubam/following{/other_user}","gists_url":"https://api.github.com/users/asbubam/gists{/gist_id}","starred_url":"https://api.github.com/users/asbubam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbubam/subscriptions","organizations_url":"https://api.github.com/users/asbubam/orgs","repos_url":"https://api.github.com/users/asbubam/repos","events_url":"https://api.github.com/users/asbubam/events{/privacy}","received_events_url":"https://api.github.com/users/asbubam/received_events","type":"User","site_admin":false},"repo":{"id":35207941,"name":"iojs-ko","full_name":"asbubam/iojs-ko","owner":{"login":"asbubam","id":1094945,"avatar_url":"https://avatars.githubusercontent.com/u/1094945?v=3","gravatar_id":"","url":"https://api.github.com/users/asbubam","html_url":"https://github.com/asbubam","followers_url":"https://api.github.com/users/asbubam/followers","following_url":"https://api.github.com/users/asbubam/following{/other_user}","gists_url":"https://api.github.com/users/asbubam/gists{/gist_id}","starred_url":"https://api.github.com/users/asbubam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asbubam/subscriptions","organizations_url":"https://api.github.com/users/asbubam/orgs","repos_url":"https://api.github.com/users/asbubam/repos","events_url":"https://api.github.com/users/asbubam/events{/privacy}","received_events_url":"https://api.github.com/users/asbubam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asbubam/iojs-ko","description":"io.js 한국 커뮤니티","fork":true,"url":"https://api.github.com/repos/asbubam/iojs-ko","forks_url":"https://api.github.com/repos/asbubam/iojs-ko/forks","keys_url":"https://api.github.com/repos/asbubam/iojs-ko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asbubam/iojs-ko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asbubam/iojs-ko/teams","hooks_url":"https://api.github.com/repos/asbubam/iojs-ko/hooks","issue_events_url":"https://api.github.com/repos/asbubam/iojs-ko/issues/events{/number}","events_url":"https://api.github.com/repos/asbubam/iojs-ko/events","assignees_url":"https://api.github.com/repos/asbubam/iojs-ko/assignees{/user}","branches_url":"https://api.github.com/repos/asbubam/iojs-ko/branches{/branch}","tags_url":"https://api.github.com/repos/asbubam/iojs-ko/tags","blobs_url":"https://api.github.com/repos/asbubam/iojs-ko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asbubam/iojs-ko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asbubam/iojs-ko/git/refs{/sha}","trees_url":"https://api.github.com/repos/asbubam/iojs-ko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asbubam/iojs-ko/statuses/{sha}","languages_url":"https://api.github.com/repos/asbubam/iojs-ko/languages","stargazers_url":"https://api.github.com/repos/asbubam/iojs-ko/stargazers","contributors_url":"https://api.github.com/repos/asbubam/iojs-ko/contributors","subscribers_url":"https://api.github.com/repos/asbubam/iojs-ko/subscribers","subscription_url":"https://api.github.com/repos/asbubam/iojs-ko/subscription","commits_url":"https://api.github.com/repos/asbubam/iojs-ko/commits{/sha}","git_commits_url":"https://api.github.com/repos/asbubam/iojs-ko/git/commits{/sha}","comments_url":"https://api.github.com/repos/asbubam/iojs-ko/comments{/number}","issue_comment_url":"https://api.github.com/repos/asbubam/iojs-ko/issues/comments{/number}","contents_url":"https://api.github.com/repos/asbubam/iojs-ko/contents/{+path}","compare_url":"https://api.github.com/repos/asbubam/iojs-ko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asbubam/iojs-ko/merges","archive_url":"https://api.github.com/repos/asbubam/iojs-ko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asbubam/iojs-ko/downloads","issues_url":"https://api.github.com/repos/asbubam/iojs-ko/issues{/number}","pulls_url":"https://api.github.com/repos/asbubam/iojs-ko/pulls{/number}","milestones_url":"https://api.github.com/repos/asbubam/iojs-ko/milestones{/number}","notifications_url":"https://api.github.com/repos/asbubam/iojs-ko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asbubam/iojs-ko/labels{/name}","releases_url":"https://api.github.com/repos/asbubam/iojs-ko/releases{/id}","created_at":"2015-05-07T08:23:39Z","updated_at":"2015-05-07T08:23:40Z","pushed_at":"2015-05-17T16:04:08Z","git_url":"git://github.com/asbubam/iojs-ko.git","ssh_url":"git@github.com:asbubam/iojs-ko.git","clone_url":"https://github.com/asbubam/iojs-ko.git","svn_url":"https://github.com/asbubam/iojs-ko","homepage":"http://iojs.github.io/iojs-ko/","size":196,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"nodejs:gh-pages","ref":"gh-pages","sha":"35e54b96f0b347de48711d6e7f6f437842aebe43","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":30468251,"name":"iojs-ko","full_name":"nodejs/iojs-ko","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/iojs-ko","description":"io.js 한국 커뮤니티","fork":false,"url":"https://api.github.com/repos/nodejs/iojs-ko","forks_url":"https://api.github.com/repos/nodejs/iojs-ko/forks","keys_url":"https://api.github.com/repos/nodejs/iojs-ko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/iojs-ko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/iojs-ko/teams","hooks_url":"https://api.github.com/repos/nodejs/iojs-ko/hooks","issue_events_url":"https://api.github.com/repos/nodejs/iojs-ko/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/iojs-ko/events","assignees_url":"https://api.github.com/repos/nodejs/iojs-ko/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/iojs-ko/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/iojs-ko/tags","blobs_url":"https://api.github.com/repos/nodejs/iojs-ko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/iojs-ko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/iojs-ko/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/iojs-ko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/iojs-ko/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/iojs-ko/languages","stargazers_url":"https://api.github.com/repos/nodejs/iojs-ko/stargazers","contributors_url":"https://api.github.com/repos/nodejs/iojs-ko/contributors","subscribers_url":"https://api.github.com/repos/nodejs/iojs-ko/subscribers","subscription_url":"https://api.github.com/repos/nodejs/iojs-ko/subscription","commits_url":"https://api.github.com/repos/nodejs/iojs-ko/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/iojs-ko/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/iojs-ko/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/iojs-ko/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/iojs-ko/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/iojs-ko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/iojs-ko/merges","archive_url":"https://api.github.com/repos/nodejs/iojs-ko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/iojs-ko/downloads","issues_url":"https://api.github.com/repos/nodejs/iojs-ko/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/iojs-ko/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/iojs-ko/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/iojs-ko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/iojs-ko/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/iojs-ko/releases{/id}","created_at":"2015-02-07T20:00:23Z","updated_at":"2015-05-15T08:24:21Z","pushed_at":"2015-05-17T16:04:08Z","git_url":"git://github.com/nodejs/iojs-ko.git","ssh_url":"git@github.com:nodejs/iojs-ko.git","clone_url":"https://github.com/nodejs/iojs-ko.git","svn_url":"https://github.com/nodejs/iojs-ko","homepage":"http://iojs.github.io/iojs-ko/","size":1076,"stargazers_count":59,"watchers_count":59,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":8,"forks":11,"open_issues":8,"watchers":59,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67"},"html":{"href":"https://github.com/nodejs/iojs-ko/pull/67"},"issue":{"href":"https://api.github.com/repos/nodejs/iojs-ko/issues/67"},"comments":{"href":"https://api.github.com/repos/nodejs/iojs-ko/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/iojs-ko/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/iojs-ko/statuses/3162463ac0e0cc95855aa9fa11b758bb97c7195d"}}}}