From 12b00dc3420d412ba6aaf76bfcd179213b55d071 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 18 Mar 2022 14:40:42 +0100 Subject: [PATCH 1/2] Update lettuce-core to 6.1.8.RELEASE --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 45264d86..5bec4286 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -9,7 +9,7 @@ object Dependencies { val fs2 = "3.2.5" val log4cats = "2.2.0" - val lettuce = "6.1.6.RELEASE" + val lettuce = "6.1.8.RELEASE" val logback = "1.2.11" val kindProjector = "0.13.2" From 5f0b1ae70b97523f20de4b3539f7031a60431d32 Mon Sep 17 00:00:00 2001 From: kyri-petrou Date: Mon, 25 Apr 2022 14:45:54 +1000 Subject: [PATCH 2/2] Change deprecated `JReadFrom.NEAREST` to `JReadFrom.LOWEST_LATENCY` --- .../src/main/scala/dev/profunktor/redis4cats/data.scala | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/core/src/main/scala/dev/profunktor/redis4cats/data.scala b/modules/core/src/main/scala/dev/profunktor/redis4cats/data.scala index badcf041..063aa5a8 100644 --- a/modules/core/src/main/scala/dev/profunktor/redis4cats/data.scala +++ b/modules/core/src/main/scala/dev/profunktor/redis4cats/data.scala @@ -114,9 +114,11 @@ object data { val MasterPreferred = JReadFrom.UPSTREAM_PREFERRED val Upstream = JReadFrom.UPSTREAM val UpstreamPreferred = JReadFrom.UPSTREAM_PREFERRED - val Nearest = JReadFrom.NEAREST - val Replica = JReadFrom.REPLICA - val ReplicaPreferred = JReadFrom.REPLICA_PREFERRED + @deprecated(message = "in favour of LowestLatency", since = "v1.2.0") + val Nearest = JReadFrom.LOWEST_LATENCY + val LowestLatency = JReadFrom.LOWEST_LATENCY + val Replica = JReadFrom.REPLICA + val ReplicaPreferred = JReadFrom.REPLICA_PREFERRED } }