Skip to content

Commit 5d0deb1

Browse files
Remove unused imports and update reference documentation.
Original Pull Request: #2287
1 parent fc8ba1a commit 5d0deb1

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/main/asciidoc/upgrading.adoc

+19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[[upgrading]]
22
= Upgrading
33

4+
The following section provides information about changes that are likely to have an effect on the application and might even prevent it from compiling.
5+
46
=== Re-/moved Types
57

68
|===
@@ -184,6 +186,14 @@
184186
|setShardInfo
185187
|_can be set via JedisClientConfiguration_
186188

189+
|o.s.d.redis.connection.jedis.JedisConnectionFactory
190+
|createCluster
191+
|_now requires a `Connection` instead of `Jedis` instance_
192+
193+
|o.s.d.redis.connection.jedis.JedisConverters
194+
|
195+
|has package visibility now
196+
187197
|o.s.d.redis.connection.jedis.JedisConverters
188198
|tuplesToTuples
189199
|-
@@ -231,3 +241,12 @@ This effects methods on `LettuceConnectionFactory` and `LettuceConnection`.
231241

232242
`AuthenticatingRedisClient` has been removed without replacement.
233243
Please refer to the https://lettuce.io/core/release/reference/index.html#basic.redisuri[driver documentation] for `RedisURI` to set authentication data.
244+
245+
== Jedis
246+
247+
Please read the Jedis https://github.com/redis/jedis/blob/v4.0.0/docs/3to4.md[upgrading guide] which covers important driver changes.
248+
249+
=== Transactions / Pipelining
250+
251+
Pipelining and Transactions are now mutually exclusive.
252+
The usage of server or connection commands in pipeline/transactions mode is no longer possible.

src/main/java/org/springframework/data/redis/connection/lettuce/StaticMasterReplicaConnectionProvider.java

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import java.util.concurrent.CompletableFuture;
3030
import java.util.concurrent.CompletionStage;
3131

32-
import org.springframework.dao.InvalidDataAccessApiUsageException;
3332
import org.springframework.lang.Nullable;
3433

3534
/**

0 commit comments

Comments
 (0)