Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.8.x]: Finish migration guide detail about updated/removed de… #9914

Merged
merged 1 commit into from
Dec 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentation/manual/releases/release27/Highlights27.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import play.mvc.Http.MultipartFormData.FilePart;
public class MyForm {

private FilePart<TemporaryFile> myFile;

public void setMyFile(final FilePart<TemporaryFile> myFile) {
this.myFile = myFile;
}
Expand Down
4 changes: 4 additions & 0 deletions documentation/manual/releases/release28/Highlights28.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public final class AppModule extends AbstractModule

See [[Integrating with Akka Typed|AkkaTyped]] for more details.

## Java 11 support

Play 2.8.0 is the first version were we officially support Java 11. Play, its standalone modules, samples and seeds are all tested against AdoptOpenJDK 8 & 11. We continue to support Java 8 as the default version.

## Other additions

### Support pre-seek Sources for Range Results
Expand Down
19 changes: 12 additions & 7 deletions documentation/manual/releases/release28/migration28/Migration28.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Matching of languages behavior now satisfies [RFC 4647](https://www.ietf.org/rfc

`conf/application.conf` file:

```
```HOCON
play.i18n.langs = [ "fr", "fr-FR", "en", "en-US" ]
```

Expand All @@ -193,8 +193,8 @@ User's accept-language `en-GB` matches `en`. The play app responds English page.

Play comes with two [[server backends|Server]]:

- [[Akka HTTP|AkkaHttpServer]] (the default), which [[can be configured|SettingsAkkaHttp]] via `play.server.akka.*`
- [[Netty|NettyServer]], which [[can be configured|SettingsNetty]] via `play.server.netty.*`.
* [[Akka HTTP|AkkaHttpServer]] (the default), which [[can be configured|SettingsAkkaHttp]] via `play.server.akka.*`
* [[Netty|NettyServer]], which [[can be configured|SettingsNetty]] via `play.server.netty.*`.

Until now, we kept these configurations separate, even if there were settings that applied to both backends and therefore were conclusively duplicates.
With Play 2.8 we start to generalize such duplicate server backend configurations and move them directly below `play.server.*`:
Expand Down Expand Up @@ -230,8 +230,13 @@ libraryDependencies += akkaHttpServer % "test" // Use nettyServer if you want th

## Updated libraries

This section lists significant updates made to our dependencies.

## Removed libraries
Besides updates to newer versions of our own libraries (play-json, play-ws, twirl, cachecontrol, etc), many other important dependencies were updated to the newest versions:

To make the default play distribution a bit smaller we removed some libraries. The following libraries are no longer dependencies in Play 2.8, so you will need to add them manually to your build if you use them.
* specs2 4.8.1
* Jackson 2.10.1
* Mockito 3.2.0
* HikariCP 3.4.1
* Hibernate Validator 6.1.0.Final
* Lightbend Config 1.4.0
* Caffeine 2.8.0
* sbt-native-packager 1.5.1