{"action":"created","issue":{"url":"https://api.github.com/repos/playframework-ja/translation-project/issues/1214","repository_url":"https://api.github.com/repos/playframework-ja/translation-project","labels_url":"https://api.github.com/repos/playframework-ja/translation-project/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/playframework-ja/translation-project/issues/1214/comments","events_url":"https://api.github.com/repos/playframework-ja/translation-project/issues/1214/events","html_url":"https://github.com/playframework-ja/translation-project/issues/1214","id":132174184,"number":1214,"title":"manual/releases/Migration22.md","user":{"login":"garbagetown","id":78121,"avatar_url":"https://avatars.githubusercontent.com/u/78121?v=3","gravatar_id":"","url":"https://api.github.com/users/garbagetown","html_url":"https://github.com/garbagetown","followers_url":"https://api.github.com/users/garbagetown/followers","following_url":"https://api.github.com/users/garbagetown/following{/other_user}","gists_url":"https://api.github.com/users/garbagetown/gists{/gist_id}","starred_url":"https://api.github.com/users/garbagetown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbagetown/subscriptions","organizations_url":"https://api.github.com/users/garbagetown/orgs","repos_url":"https://api.github.com/users/garbagetown/repos","events_url":"https://api.github.com/users/garbagetown/events{/privacy}","received_events_url":"https://api.github.com/users/garbagetown/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/playframework-ja/translation-project/labels/update","name":"update","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"garbagetown","id":78121,"avatar_url":"https://avatars.githubusercontent.com/u/78121?v=3","gravatar_id":"","url":"https://api.github.com/users/garbagetown","html_url":"https://github.com/garbagetown","followers_url":"https://api.github.com/users/garbagetown/followers","following_url":"https://api.github.com/users/garbagetown/following{/other_user}","gists_url":"https://api.github.com/users/garbagetown/gists{/gist_id}","starred_url":"https://api.github.com/users/garbagetown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbagetown/subscriptions","organizations_url":"https://api.github.com/users/garbagetown/orgs","repos_url":"https://api.github.com/users/garbagetown/repos","events_url":"https://api.github.com/users/garbagetown/events{/privacy}","received_events_url":"https://api.github.com/users/garbagetown/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/playframework-ja/translation-project/milestones/17","html_url":"https://github.com/playframework-ja/translation-project/milestones/2.4.x","labels_url":"https://api.github.com/repos/playframework-ja/translation-project/milestones/17/labels","id":1568709,"number":17,"title":"2.4.x","description":"","creator":{"login":"garbagetown","id":78121,"avatar_url":"https://avatars.githubusercontent.com/u/78121?v=3","gravatar_id":"","url":"https://api.github.com/users/garbagetown","html_url":"https://github.com/garbagetown","followers_url":"https://api.github.com/users/garbagetown/followers","following_url":"https://api.github.com/users/garbagetown/following{/other_user}","gists_url":"https://api.github.com/users/garbagetown/gists{/gist_id}","starred_url":"https://api.github.com/users/garbagetown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbagetown/subscriptions","organizations_url":"https://api.github.com/users/garbagetown/orgs","repos_url":"https://api.github.com/users/garbagetown/repos","events_url":"https://api.github.com/users/garbagetown/events{/privacy}","received_events_url":"https://api.github.com/users/garbagetown/received_events","type":"User","site_admin":false},"open_issues":161,"closed_issues":12,"state":"open","created_at":"2016-02-07T14:54:37Z","updated_at":"2016-02-17T14:43:04Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-08T15:37:12Z","updated_at":"2016-02-17T14:43:04Z","closed_at":"2016-02-17T14:43:03Z","body":"- https://github.com/playframework-ja/translation-project/tree//2.4.x/manual/releases/Migration22.md\n- diffs between [2.2.0/manual/releases/Migration22.md](https://github.com/playframework-ja/translation-project/tree//2.2.0/manual/releases/Migration22.md) and [2.4.x/manual/releases/Migration22.md](https://github.com/playframework-ja/translation-project/tree//2.4.x/manual/releases/Migration22.md).\n```\n--- /Users/garbagetown/Desktop/2.2.0/manual/releases/Migration22.md\t2016-02-07 23:19:03.000000000 +0900\n+++ //Users/garbagetown/Desktop/2.4.x/manual/releases/Migration22.md\t2016-02-07 23:19:30.000000000 +0900\n@@ -1,6 +1,7 @@\n+<!--- Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> -->\n # Play 2.2 Migration Guide\n \n-This guide is for migrating a Play 2.1 application to Play 2.2.  To migrate from Play 2.0, first follow the [[Play 2.1 Migration Guide|Migration21]].\n+This is a guide for migrating from Play 2.1 to Play 2.2. If you need to migrate from an earlier version of Play then you must first follow the [[Play 2.1 Migration Guide|Migration21]].\n \n ## Build tasks\n \n@@ -48,6 +49,11 @@\n \n Note that if you depend on plugins that depend on versions of Play prior to 2.2 then there will be a conflict within caching due to multiple caches being loaded. Update to a later plugin version or ensure that older Play versions are excluded if you see this issue.\n \n+### sbt namespace no longer extended\n+\n+The `sbt` namespace was previously extended by Play e.g. `sbt.PlayCommands.intellijCommandSettings`. This is considered bad practice and so\n+Play now uses its own namespace for sbt related things e.g. `play.PlayProject.intellijCommandSettings`.\n+\n ## New results structure in Scala\n \n In order to simplify action composition and filtering, the Play results structure has been simplified.  There is now only one type of result, `SimpleResult`, where before there were `SimpleResult`, `ChunkedResult` and `AsyncResult`, plus the interfaces `Result` and `PlainResult`.  All except `SimpleResult` have been deprecated.  `Status`, a subclass of `SimpleResult`, still exists as a convenience class for building results.  In most cases, actions can still use the deprecated types, but they will get deprecation warnings.  Actions doing composition and filters however will have to switch to using `SimpleResult`.\n@@ -64,7 +70,7 @@\n }\n '''\n \n-You can now use the [`Action.async`](api/scala/index.html#play.api.mvc.ActionBuilder) builder:\n+You can now use the [`Action.async`](api/scala/play/api/mvc/ActionBuilder.html) builder:\n \n '''scala\n def asyncAction = Action.async {\n@@ -74,7 +80,7 @@\n \n ### Working with chunked results\n \n-Previously the `stream` method on `Status` was used to produce chunked results.  This has been deprecated, replaced with a [`chunked`](api/scala/index.html#play.api.mvc.Results$Status) method, that makes it clear that the result is going to be chunked.  For example:\n+Previously the `stream` method on `Status` was used to produce chunked results.  This has been deprecated, replaced with a [`chunked`](api/scala/play/api/mvc/Results$Status.html) method, that makes it clear that the result is going to be chunked.  For example:\n \n '''scala\n def cometAction = Action {\n@@ -86,7 +92,7 @@\n \n ### Action composition\n \n-We are now recommending that action composition be done using [`ActionBuilder`](api/scala/index.html#play.api.mvc.ActionBuilder) implementations for building actions.\n+We are now recommending that action composition be done using [`ActionBuilder`](api/scala/play/api/mvc/ActionBuilder.html) implementations for building actions.\n \n Details on how to do these can be found [[here|ScalaActionsComposition]].\n \n@@ -112,9 +118,9 @@\n \n '''java\n public static Promise<Result> myAsyncAction() {\n-    Promise<Integer> promiseOfInt = play.libs.Akka.future(\n-    new Callable<Integer>() {\n-      public Integer call() {\n+  Promise<Integer> promiseOfInt = Promise.promise(\n+    new Function0<Integer>() {\n+      public Integer apply() {\n         return intensiveComputation();\n       }\n     }\n@@ -123,7 +129,7 @@\n     new Function<Integer, Result>() {\n       public Result apply(Integer i) {\n         return ok(\"Got result: \" + i);\n-      } \n+      }\n     }\n   );\n }\n@@ -190,3 +196,7 @@\n > Please note that the format of the arguments passed to the `start` script has changed. Please issue a `-h` on the `start` script to see the arguments now accepted.\n \n Please consult the [[\"Starting your application in production mode\"|Production]] documentation for more information on the new `stage` and `dist` tasks.\n+\n+## Upgrade from Akka 2.1 to 2.2\n+\n+The migration guide for upgrading from Akka 2.1 to 2.2 can be found [here](http://doc.akka.io/docs/akka/2.2.0/project/migration-guide-2.1.x-2.2.x.html).\n\n```"},"comment":{"url":"https://api.github.com/repos/playframework-ja/translation-project/issues/comments/185234387","html_url":"https://github.com/playframework-ja/translation-project/issues/1214#issuecomment-185234387","issue_url":"https://api.github.com/repos/playframework-ja/translation-project/issues/1214","id":185234387,"user":{"login":"garbagetown","id":78121,"avatar_url":"https://avatars.githubusercontent.com/u/78121?v=3","gravatar_id":"","url":"https://api.github.com/users/garbagetown","html_url":"https://github.com/garbagetown","followers_url":"https://api.github.com/users/garbagetown/followers","following_url":"https://api.github.com/users/garbagetown/following{/other_user}","gists_url":"https://api.github.com/users/garbagetown/gists{/gist_id}","starred_url":"https://api.github.com/users/garbagetown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbagetown/subscriptions","organizations_url":"https://api.github.com/users/garbagetown/orgs","repos_url":"https://api.github.com/users/garbagetown/repos","events_url":"https://api.github.com/users/garbagetown/events{/privacy}","received_events_url":"https://api.github.com/users/garbagetown/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T14:43:03Z","updated_at":"2016-02-17T14:43:03Z","body":"done :smiley: "}}