Overview
Jedis 7.0.0 is a major release that modernizes the API, removes deprecated features, and introduces enhanced failover/failback behavior.
The main focus areas of this release are:
- Automatic Failover and Failback API update - The automatic failover client has been refactored and stabilized.
- Builder pattern introduction - New fluent builders are now available for
JedisPooled
,JedisCluster
, andJedisSentinel
. - Removal of deprecated sharding features -
JedisSharding
and related classes have been removed. - Base class consolidation - Pipeline and Transaction base classes have been renamed for consistency.
- API cleanup - Deprecated constructors and methods have been removed to streamline the API.
For detailed migration guidance, refer to Jedis 7.0.0 Migration Guide.
🚀 New Features
- Add builders for classes based on UnifiedJedis (#4263)
- Automatic Failover and Failback (#4317, #4310, #4308, #4306, #4297, #4228)
Jedis 7.0.0 significantly refactors the automatic failover and failback API.
🔥 Breaking Changes
- Removed deprecated constructors, classes, and
JedisSharding
(#4311) - Automatic Failover and Failback API changes (#4317, #4310, #4308, #4306, #4297, #4228)
MultiCluster*
classes and methods have been renamed and improved.
Users upgrading from v6.x should consult the Automatic Failover and Failback Migration Guide.
More details on breaking changes
🧰 Maintenance
- Bump eu.rekawek.toxiproxy:toxiproxy-java from 2.1.7 to 2.1.11 (#4288)
- Bump com.google.code.gson:gson from 2.13.1 to 2.13.2 (#4290)
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.14.1 (#4296)
- [automatic failover] Fix misleading timing information for AA scenario test (#4303)
- Add v6 and v7 migration guides (#4315)
- [automatic failover] Update failover docs (#4314)
- Fix #4147: Broken links at https://redis.github.io/jedis/ (#4285)
- Bump maven.surefire.version from 3.5.3 to 3.5.4 (#4289)
- Fix docs on how to consume snapshots (#4283)
- Bump ch.qos.logback:logback-classic from 1.2.12 to 1.2.13 (#4266)
- Bump jackson.version from 2.19.2 to 2.20.0 (#4265)
- DOC-5076 vector set doc examples (#4281)
Contributors
We'd like to thank all the contributors who worked on this release!
@SwapnaliY16, @andy-stark-redis, @atakavci, @dependabot, @dependabot[bot], @ggivo and @uglide