Skip to content

Commit af3f5ce

Browse files
Update dependencies before Release Candidate 4 (playframework#8838)
* Update dependencies before Release Candidate 4 * Update play json * Remove deprecated API usage * Twirl 1.4.0-RC3 * Twirl 1.4.0-RC4
1 parent eb5579c commit af3f5ce

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

framework/project/Dependencies.scala

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ object Dependencies {
1414

1515
val sslConfig = "com.typesafe" %% "ssl-config-core" % "0.3.7"
1616

17-
val playJsonVersion = "2.7.0-RC1"
17+
val playJsonVersion = "2.7.0-RC2"
1818

1919
val logback = "ch.qos.logback" % "logback-classic" % "1.2.3"
2020

21-
val specs2Version = "4.2.0"
21+
val specs2Version = "4.3.5"
2222
val specs2Deps = Seq(
2323
"specs2-core",
2424
"specs2-junit",
@@ -55,7 +55,7 @@ object Dependencies {
5555

5656
val guava = "com.google.guava" % "guava" % "27.0-jre"
5757
val findBugs = "com.google.code.findbugs" % "jsr305" % "3.0.2" // Needed by guava
58-
val mockitoAll = "org.mockito" % "mockito-core" % "2.23.0"
58+
val mockitoAll = "org.mockito" % "mockito-core" % "2.23.4"
5959

6060
val h2database = "com.h2database" % "h2" % "1.4.197"
6161
val derbyDatabase = "org.apache.derby" % "derby" % "10.13.1.1"
@@ -85,13 +85,13 @@ object Dependencies {
8585
"org.hibernate" % "hibernate-core" % "5.3.7.Final" % "test"
8686
)
8787

88-
val scalaJava8Compat = "org.scala-lang.modules" %% "scala-java8-compat" % "0.8.0"
88+
val scalaJava8Compat = "org.scala-lang.modules" %% "scala-java8-compat" % "0.9.0"
8989
def scalaParserCombinators(scalaVersion: String) = CrossVersion.partialVersion(scalaVersion) match {
90-
case Some((2, major)) if major >= 11 => Seq("org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.0")
90+
case Some((2, major)) if major >= 11 => Seq("org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.1")
9191
case _ => Nil
9292
}
9393

94-
val springFrameworkVersion = "5.1.2.RELEASE"
94+
val springFrameworkVersion = "5.1.3.RELEASE"
9595

9696
val javaDeps = Seq(
9797
scalaJava8Compat,
@@ -175,7 +175,7 @@ object Dependencies {
175175

176176
val jimfs = "com.google.jimfs" % "jimfs" % "1.1"
177177

178-
val okHttp = "com.squareup.okhttp3" % "okhttp" % "3.11.0"
178+
val okHttp = "com.squareup.okhttp3" % "okhttp" % "3.12.0"
179179

180180
def routesCompilerDependencies(scalaVersion: String) = {
181181
val deps = CrossVersion.partialVersion(scalaVersion) match {
@@ -243,18 +243,18 @@ object Dependencies {
243243
logback % Test
244244
)
245245

246-
val fluentleniumVersion = "3.7.0"
246+
val fluentleniumVersion = "3.7.1"
247247
// This is the selenium version compatible with the FluentLenium version declared above.
248248
// See http://mvnrepository.com/artifact/org.fluentlenium/fluentlenium-core/3.5.2
249-
val seleniumVersion = "3.14.0"
249+
val seleniumVersion = "3.141.59"
250250

251251
val testDependencies = Seq(junit, junitInterface, guava, findBugs, logback) ++ Seq(
252252
"org.fluentlenium" % "fluentlenium-core" % fluentleniumVersion exclude("org.jboss.netty", "netty"),
253253
// htmlunit-driver uses an open range to selenium dependencies. This is slightly
254254
// slowing down the build. So the open range deps were removed and we can re-add
255255
// them using a specific version. Using an open range is also not good for the
256256
// local cache.
257-
"org.seleniumhq.selenium" % "htmlunit-driver" % "2.33.0" excludeAll(
257+
"org.seleniumhq.selenium" % "htmlunit-driver" % "2.33.3" excludeAll(
258258
ExclusionRule("org.seleniumhq.selenium", "selenium-api"),
259259
ExclusionRule("org.seleniumhq.selenium", "selenium-support")
260260
),
@@ -281,7 +281,7 @@ object Dependencies {
281281
"com.github.ben-manes.caffeine" % "jcache" % caffeineVersion
282282
) ++ jcacheApi
283283

284-
val playWsStandaloneVersion = "2.0.0-RC1"
284+
val playWsStandaloneVersion = "2.0.0-RC2"
285285
val playWsDeps = Seq(
286286
"com.typesafe.play" %% "play-ws-standalone" % playWsStandaloneVersion,
287287
"com.typesafe.play" %% "play-ws-standalone-xml" % playWsStandaloneVersion,

framework/project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ val Versions = new {
1313
val sbtDoge = "0.1.5"
1414
val webjarsLocatorCore = "0.36"
1515
val sbtHeader = "5.0.0"
16-
val sbtTwirl: String = sys.props.getOrElse("twirl.version", "1.4.0-RC1")
16+
val sbtTwirl: String = sys.props.getOrElse("twirl.version", "1.4.0-RC4")
1717
val interplay: String = sys.props.getOrElse("interplay.version", "2.0.4")
1818
}
1919

framework/src/play-test/src/main/java/play/test/TestBrowser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import org.openqa.selenium.WebDriver;
99
import org.openqa.selenium.support.ui.FluentWait;
1010

11+
import java.time.Duration;
1112
import java.util.concurrent.TimeUnit;
1213
import java.util.function.Function;
1314

@@ -84,7 +85,7 @@ public <T>T waitUntil(FluentWait<WebDriver> wait, Function<WebDriver, T> f) {
8485
* @return the return value.
8586
*/
8687
public <T>T waitUntil(Function<WebDriver, T> f) {
87-
FluentWait<WebDriver> wait = fluentWait().withTimeout(3000, TimeUnit.MILLISECONDS);
88+
FluentWait<WebDriver> wait = fluentWait().withTimeout(Duration.ofMillis(3000));
8889
return waitUntil(wait,f);
8990
}
9091

0 commit comments

Comments
 (0)