latestPatchOf 2.5.26 (#28031)

* latestPatchOf 2.5.26

* Bincomp fixes
This commit is contained in:
Johan Andrén 2019-10-18 16:30:55 +02:00 committed by Patrik Nordwall
parent 3fb6e77fd2
commit a341343f2c
7 changed files with 15 additions and 5 deletions

View file

@ -0,0 +1,2 @@
# Diverging but internal
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.actor.FSM#Timer.unapply")

View file

@ -128,10 +128,6 @@ object TypedActor extends ExtensionId[TypedActorExtension] with ExtensionIdProvi
@silent("deprecated") @silent("deprecated")
def get(context: ActorContext): TypedActorFactory = apply(context) def get(context: ActorContext): TypedActorFactory = apply(context)
@deprecated("Use 'akka.actor.typed' API.", since = "2.6.0")
@silent("deprecated")
override def apply(system: ActorSystem): TypedActorExtension = super.apply(system)
/** /**
* This class represents a Method call, and has a reference to the Method to be called and the parameters to supply * This class represents a Method call, and has a reference to the Method to be called and the parameters to supply
* It's sent to the ActorRef backing the TypedActor and can be serialized and deserialized * It's sent to the ActorRef backing the TypedActor and can be serialized and deserialized

View file

@ -0,0 +1,2 @@
# Diverging but internal
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.persistence.fsm.PersistentFSM#Timer.unapply")

View file

@ -0,0 +1,4 @@
# Diverging but internal
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.remote.artery.Association#OutboundStreamMatValues.unapply")
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.remote.transport.AkkaPduCodec#Message.unapply")
ProblemFilters.exclude[IncompatibleSignatureProblem]("akka.remote.EndpointManager#Send.unapply")

View file

@ -0,0 +1,3 @@
# Diverging, only companion (which yields class) but ever emitted and not meant for user extension
# so no user code compiled against 2.5 will ever refer to it
ProblemFilters.exclude[IncompatibleTemplateDefProblem]("akka.stream.SubscriptionWithCancelException")

View file

@ -14,7 +14,10 @@ import scala.util.control.NoStackTrace
* *
* Subscribers can check for this trait and use its `cancel(cause)` method instead of the regular * Subscribers can check for this trait and use its `cancel(cause)` method instead of the regular
* cancel method to pass a cancellation cause. * cancel method to pass a cancellation cause.
*
* Not for user extension.
*/ */
@DoNotInherit
trait SubscriptionWithCancelException extends Subscription { trait SubscriptionWithCancelException extends Subscription {
final override def cancel() = cancel(SubscriptionWithCancelException.NoMoreElementsNeeded) final override def cancel() = cancel(SubscriptionWithCancelException.NoMoreElementsNeeded)
def cancel(cause: Throwable): Unit def cancel(cause: Throwable): Unit

View file

@ -12,7 +12,7 @@ import com.typesafe.tools.mima.plugin.MimaPlugin.autoImport._
object MiMa extends AutoPlugin { object MiMa extends AutoPlugin {
private val latestPatchOf25 = 25 private val latestPatchOf25 = 26
// No 2.6 has been released yet. Update to '0' after releasing 2.6.0 // No 2.6 has been released yet. Update to '0' after releasing 2.6.0
private val latestPatchOf26 = -1 private val latestPatchOf26 = -1