diff --git a/core/src/main/scala/cats/data/IndexedReaderWriterStateT.scala b/core/src/main/scala/cats/data/IndexedReaderWriterStateT.scala index 64b042fed6..2514bc8aa6 100644 --- a/core/src/main/scala/cats/data/IndexedReaderWriterStateT.scala +++ b/core/src/main/scala/cats/data/IndexedReaderWriterStateT.scala @@ -282,7 +282,7 @@ private[data] sealed trait CommonIRWSTConstructors { def liftK[F[_], E, L, S](implicit F: Applicative[F], L: Monoid[L]): F ~> IndexedReaderWriterStateT[F, E, L, S, S, ?] = λ[F ~> IndexedReaderWriterStateT[F, E, L, S, S, ?]](IndexedReaderWriterStateT.liftF(_)) - @deprecated("Use liftF instead", "1.0.0") + @deprecated("Use liftF instead", "1.0.0-RC2") def lift[F[_], E, L, S, A](fa: F[A])(implicit F: Applicative[F], L: Monoid[L]): IndexedReaderWriterStateT[F, E, L, S, S, A] = IndexedReaderWriterStateT((_, s) => F.map(fa)((L.empty, s, _))) diff --git a/core/src/main/scala/cats/data/IndexedStateT.scala b/core/src/main/scala/cats/data/IndexedStateT.scala index 06016b1ee7..85fb6b4f32 100644 --- a/core/src/main/scala/cats/data/IndexedStateT.scala +++ b/core/src/main/scala/cats/data/IndexedStateT.scala @@ -189,7 +189,7 @@ private[data] trait CommonStateTConstructors { def liftK[F[_], S](implicit F: Applicative[F]): F ~> IndexedStateT[F, S, S, ?] = λ[F ~> IndexedStateT[F, S, S, ?]](IndexedStateT.liftF(_)) - @deprecated("Use liftF instead", "1.0.0") + @deprecated("Use liftF instead", "1.0.0-RC2") def lift[F[_], S, A](fa: F[A])(implicit F: Applicative[F]): IndexedStateT[F, S, S, A] = IndexedStateT(s => F.map(fa)(a => (s, a))) diff --git a/core/src/main/scala/cats/data/Kleisli.scala b/core/src/main/scala/cats/data/Kleisli.scala index 2542db1656..a62fc0d8a1 100644 --- a/core/src/main/scala/cats/data/Kleisli.scala +++ b/core/src/main/scala/cats/data/Kleisli.scala @@ -54,7 +54,7 @@ final case class Kleisli[F[_], A, B](run: A => F[B]) { self => def local[AA](f: AA => A): Kleisli[F, AA, B] = Kleisli(f.andThen(run)) - @deprecated("Use mapK", "1.0.0") + @deprecated("Use mapK", "1.0.0-RC2") def transform[G[_]](f: FunctionK[F, G]): Kleisli[G, A, B] = mapK(f) @@ -100,7 +100,7 @@ private[data] sealed trait KleisliFunctions { def liftK[F[_], A]: F ~> Kleisli[F, A, ?] = λ[F ~> Kleisli[F, A, ?]](Kleisli.liftF(_)) - @deprecated("Use liftF instead", "1.0.0") + @deprecated("Use liftF instead", "1.0.0-RC2") def lift[F[_], A, B](x: F[B]): Kleisli[F, A, B] = Kleisli(_ => x) diff --git a/core/src/main/scala/cats/data/WriterT.scala b/core/src/main/scala/cats/data/WriterT.scala index 9cea6ae8a4..82f5ce71c2 100644 --- a/core/src/main/scala/cats/data/WriterT.scala +++ b/core/src/main/scala/cats/data/WriterT.scala @@ -83,7 +83,7 @@ object WriterT extends WriterTInstances with WriterTFunctions { def liftK[F[_], L](implicit monoidL: Monoid[L], F: Applicative[F]): F ~> WriterT[F, L, ?] = λ[F ~> WriterT[F, L, ?]](WriterT.liftF(_)) - @deprecated("Use liftF instead", "1.0.0") + @deprecated("Use liftF instead", "1.0.0-RC2") def lift[F[_], L, V](fv: F[V])(implicit monoidL: Monoid[L], F: Applicative[F]): WriterT[F, L, V] = WriterT(F.map(fv)(v => (monoidL.empty, v))) diff --git a/free/src/main/scala/cats/free/Coyoneda.scala b/free/src/main/scala/cats/free/Coyoneda.scala index d1d9de4019..1b0a3c9643 100644 --- a/free/src/main/scala/cats/free/Coyoneda.scala +++ b/free/src/main/scala/cats/free/Coyoneda.scala @@ -52,7 +52,7 @@ sealed abstract class Coyoneda[F[_], A] extends Serializable { self => final def mapK[G[_]](f: F ~> G): Aux[G, A, Pivot] = unsafeApply(f(fi))(ks) - @deprecated("Use mapK", "1.0.0") + @deprecated("Use mapK", "1.0.0-RC2") final def transform[G[_]](f: FunctionK[F, G]): Aux[G, A, Pivot] = mapK(f)