github redis/jedis v8.0.0-beta1
8.0.0-beta1

pre-release6 hours ago

Jedis 8.0.0-beta1 is the first pre-release of the upcoming 8.0 major line. It focused on completing the client class consolidation, modernizing protocol defaults, tightening security defaults, and adding support for new Redis 8.8 commands.

  • RESP3 auto-negotiation on by default for all UnifiedJedis-based clients (with graceful RESP2 fallback)
  • Final removal of legacy JedisPooled / JedisSentineled classes in favor of the RedisClient family introduced in 7.0.0
  • Removal of deprecated UnifiedJedis public constructors
  • Internal refactoring that affects users of low-level extension points (custom CommandExecutor, Transaction subclasses, ClusterPipeline, CommandObjects) — protocol and connection wiring is now explicit at construction time
  • Search modernization — the low-level cursor APIs are superseded by ftAggregateIterator(), and the manual broadcast API is removed (Redis 8.0+ broadcasts FT.CREATE server-side)
  • New Redis 8.8 command coverage — XNACK, JSON.SET FPHA, Array commands, INCREX, COUNT aggregator on ZINTER / ZUNION(STORE) and their *STORE variants, multi-aggregator TS.RANGE / TS.MRANGE, plus an experimental COLLECT parameter for FT.AGGREGATE
  • TLS hostname verification enforced by default in DefaultJedisSocketFactory

For step-by-step upgrade instructions, see the v7 → v8 migration guide: https://redis.github.io/jedis/migration-guides/v7-to-v8/

🔥 Breaking Changes

  • CommandObjects refactoring : Enforce protocol (#4515, #4514, #4513)
  • Bump org.apache.commons:commons-pool2 from 2.12.1 to 2.13.1 (#4409)
  • Fix Connection Close Exception Handling for commons-pool2 2.13.1 (#4439)
  • Switch to RESP3 as default protocol version (#4468)
  • Drop deprecated classes and constructors (#4488)
  • Align Search APIs and behaviour with Redis 8.0+ (#4173)
  • refactor: decouple Transaction from Jedis (#4440)
  • Introduce request & response policy support (#4411)
  • Remove unused leftovers from JedisSharding (#4348)

🧪 Experimental Features

  • Add new COLLECT parameter for FT.AGGREGATE (#4534)

🚀 New Features

  • TimeSeries: reduce overhead on single-aggregator TSElement path (follow-up to #4504) (#4537)
  • Introduce INCREX command (#4526)
  • Support for 'Array' commands (Redis 8.8) (#4532)
  • Add new COLLECT parameter for FT.AGGREGATE (#4534)
  • Add support for CONFIG GET and SET commands in UnifiedJedis (#4518)
  • Add out-of-band push notification handling (#4489)
  • Add COUNT aggregator support for ZINTER / ZINTERSTORE / ZUNION / ZUNIONSTORE (Redis 8.8) (#4506)
  • TimeSeries: support multiple aggregators in TS.RANGE/TS.MRANGE (CAE-792) (#4504)
  • Redis 8.8: Add XNACK support (#4494)
  • Add support for FPHA argument with JSON.SET (Redis 8.8) (#4478)
  • #4469 The connection pool cannot be accessed from the RedisSentinelClient (#4470)
  • fix : [ClusterPipeline] ExecutorService/thread is created and destroyed too frequently in ClusterPipeline (#4479)

🐛 Bug Fixes

  • Enforce hostname verification by default for TLS connections (#4495)
  • fix: validate URI scheme in isValid() to reject non-Redis URIs (#4486)

🧰 Maintenance

  • Add v7-to-v8 migration guide (#4541)
  • Bump org.json:json from 20251224 to 20260522 (#4540)
  • test: verify CSC NULL invalidation clears 10k cached entries (CAE-2930) (#4521)
  • Bump org.apache.commons:commons-pool2 from 2.12.1 to 2.13.1 (#4409)
  • Fix Connection Close Exception Handling for commons-pool2 2.13.1 (#4439)
  • Improve CI pipeline stability (#4512)
  • Bump com.google.code.gson:gson from 2.13.2 to 2.14.0 (#4507)
  • Bump jackson.version from 2.21.2 to 2.21.3 (#4508)
  • fix: stabilize flaky failover attempts test (#4482)
  • test: fix flaky testPolicy_AllSuccess_StopsOnFirstFailure test (#4503)
  • fix: test fail with Redis Search v8.7.90+ (#4502)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.6 to 5.6.1 (#4492)
  • Bump org.junit:junit-bom from 5.14.3 to 5.14.4 (#4501)
  • test added for SslOptions.defaults() (#4498)
  • Refactor Search tests (#4461)
  • Refactor Bloom, JSON and RTS tests (#4462)
  • Fix flaky MultiDbClient failback test (#4491)
  • Bump jackson.version from 2.21.1 to 2.21.2 (#4471)
  • Extract unit tests into separate workflow (#4472)
  • Update javadoc for health check probing delay (#4467)
  • Bump snapshot version to 8.0.0 (#4464)
  • Add mTLS tests (#4458)

Full Changelog: v7.5.0...v8.0.0-beta1

Contributors

We'd like to thank all the contributors who worked on this release!

@Ra9huvansh, @a-TODO-rov, @arpitjain099, @atakavci, @dependabot, @dependabot[bot], @eddieran, @ggivo, @martin-nagy, @stellhub, @tishun and @uglide

Don't miss a new jedis release

NewReleases is sending notifications on new releases.