Scala 2.13.0 -> Scala 2.13.1 (#28140)

* Scala 2.13.0 -> Scala 2.13.1

* Update to genjavadoc 0.15

* Allow 'higherKinds' without explicit import

To follow the 2.13.1 convention

* Remaining higherKinds imports

* Mima excludes for missing value classes in generics
This commit is contained in:
sullis 2019-11-29 07:38:19 -05:00 committed by Arnout Engelen
parent a2b644c513
commit dbc97fb6f3
11 changed files with 17 additions and 11 deletions

View file

@ -4,7 +4,7 @@ sudo: false
scala:
- "2.12.9"
- "2.13.0"
- "2.13.1"
before_install: curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install "adopt@~1.$TRAVIS_JDK.0-0" && jabba use "$_" && java -Xmx32m -version

View file

@ -0,0 +1,4 @@
# The value class 'OptionVal' was dropped from the signature in 2.13.1.
# That's fine since it's internal and shouldn't have a run-time effect anyway.
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.actor.typed.javadsl.ReceiveBuilder#Case.unapply")
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.actor.typed.javadsl.BehaviorBuilder#Case.unapply")

View file

@ -4,8 +4,6 @@
package akka.util
import language.higherKinds
/**
* An immutable multi-map that expresses the value type as a type function of the key
* type. Create it with a type constructor that expresses the relationship:

View file

@ -0,0 +1,3 @@
# The 'ServiceRegistry' value class was dropped from the signature in 2.13.1.
# That's fine since it's internal and shouldn't have a run-time effect anyway.
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.cluster.typed.internal.receptionist.ShardedServiceRegistry.*")

View file

@ -9,8 +9,6 @@ import akka.annotation.InternalApi
import akka.stream._
import akka.stream.scaladsl._
import language.higherKinds
/**
* INTERNAL API
*/

View file

@ -26,7 +26,6 @@ import scala.annotation.unchecked.uncheckedVariance
import scala.collection.immutable
import scala.concurrent.Future
import scala.concurrent.duration.FiniteDuration
import scala.language.higherKinds
import akka.stream.impl.fusing.FlattenMerge
import akka.NotUsed
import akka.actor.ActorRef

View file

@ -6,7 +6,6 @@ package akka.stream.scaladsl
import scala.collection.immutable
import scala.concurrent.Future
import scala.language.higherKinds
import scala.annotation.unchecked.uncheckedVariance
import akka.NotUsed
import akka.dispatch.ExecutionContexts

View file

@ -5,7 +5,6 @@
package akka.stream.scaladsl
import akka.stream._
import language.higherKinds
import scala.annotation.unchecked.uncheckedVariance
/**

View file

@ -121,7 +121,13 @@ object AkkaBuild {
private def allWarnings: Boolean = System.getProperty("akka.allwarnings", "false").toBoolean
final val DefaultScalacOptions = Seq("-encoding", "UTF-8", "-feature", "-unchecked", "-Xlog-reflective-calls")
final val DefaultScalacOptions = Seq(
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-Xlog-reflective-calls",
// 'blessed' since 2.13.1
"-language:higherKinds")
// -XDignore.symbol.file suppresses sun.misc.Unsafe warnings
final val DefaultJavacOptions = Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-XDignore.symbol.file")

View file

@ -27,7 +27,7 @@ object Dependencies {
val logbackVersion = "1.2.3"
val scala212Version = "2.12.10"
val scala213Version = "2.13.0"
val scala213Version = "2.13.1"
val reactiveStreamsVersion = "1.0.3"

View file

@ -177,7 +177,7 @@ object BootstrapGenjavadoc extends AutoPlugin {
override lazy val projectSettings = UnidocRoot.CliOptions.genjavadocEnabled
.ifTrue(Seq(
unidocGenjavadocVersion := "0.14",
unidocGenjavadocVersion := "0.15",
scalacOptions in Compile ++= Seq("-P:genjavadoc:fabricateParams=true", "-P:genjavadoc:suppressSynthetic=false")))
.getOrElse(Nil)
}