Releases: redis/jedis
7.4.0
Overview
The Jedis 7.4.0 release introduces enhancements to the Client-side geographic failover API, improves transaction support, and deprecates sendCommand() to improve compatibility with the Redis Cluster API.
🚀 New Features
- Add long index support to ZRangeParams (#4445) (#4446)
- Client-side geographic failover: Add Runtime Weight Management for MultiDbClient Endpoints (#4435)
🐛 Bug Fixes
- fix: Fix out-of-order responses in manual transactions with commands before MULTI (#4441)
- Fix resp2 parsing of LibraryInfo (#4436)
🧰 Maintenance
- Client-side geographic failover:
- Deprecate sendCommand() methods not compatible with OSS Cluster API (#4451)
- Bump jackson.version from 2.21.0 to 2.21.1 (#4453)
- Make integration tests compatible with RE (#4387)
- maintenace: fix hotkeys info test for 8.6.1+ (#4443)
- Bump maven.surefire.version from 3.5.4 to 3.5.5 (#4442)
Contributors
We'd like to thank all the contributors who worked on this release!
@a-TODO-rov, @atakavci, @dependabot, @dependabot[bot], @ggivo and @uglide
7.3.0
Changes
Jedis 7.3.0 introduces support for Redis 8.6, including new commands and features for streams idempotent production, and HOTKEYS.
🚀 New Features
- [streams] Preserve field insertion order in stream entries (CAE-2341) (#4419)
- [automatic failover] Add support for initialization policy for multidb connection (#4427)
- feat: Add support for FT.HYBRID command (#4342) (#4405)
- feat: Add support for HOTKEYS command (#4421) (#4417)(#4426)
- feat: [TS] Add support for NaN values and new aggregations (#4415)
- Add support for XADD idempotency (at-most-once guarantee) with new IDMPAUTO and IDMP arguments. (#4422) (#4413)
- Add DELEX and DIGEST commands to pipeline interfaces (#4414)
- Add configurable retry delay for Sentinel reconnection (#2864) (#4379)
🐛 Bug Fixes
- RedisClient builder does not use credentials from JedisClientConfig (#4424)
- Calculate maxTotalRetriesDuration from socketTimeout * maxAttempts if not set (#4396)
🧰 Maintenance
- Bump org.junit:junit-bom from 5.14.2 to 5.14.3 (#4433)
- Refactor TLS tests (#4431)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.5.1 to 5.6 (#4380)
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0 (#4418)
- Add 8.6 pre to test matrix (#4410)
- Bump jackson.version from 2.20.1 to 2.21.0 (#4408)
- Add missing command deprecations (#4397)
- Fix flaky cluster tests by accepting either retry limit error (maxAttempts or maxTotalRetriesDuration) (#4399)
- Use endpoint instead of env variable in module tests (#4398)
- Fix flaky AccessControlListCommandsTest (#4394)
- Bump org.sonatype.central:central-publishing-maven-plugin from 0.9.0 to 0.10.0 (#4390)
- Bump org.json:json from 20250517 to 20251224 (#4391)
- Bump org.junit:junit-bom from 5.13.4 to 5.14.2 (#4392)
- Remove hard-coded endpoints from the tests and rely solely on endpoints.json (#4385)
- Fix ClusterTopologyRefreshIT (#4389)
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.2 to 3.5.0 (#4383)
- Bump org.apache.maven.plugins:maven-release-plugin from 3.3.0 to 3.3.1 (#4381)
Contributors
We'd like to thank all the contributors who worked on this release!
@Dgramada, @Peter-Sh, @a-TODO-rov, @atakavci, @dependabot, @dependabot[bot], @ggivo, @uglide and @viktoriya-kutsarova
7.2.1
7.2.0
Changes
Jedis 7.2.0 introduces new client classes that simplify client creation while providing builder-based configuration for advanced use cases.
New Client Classes
RedisClient- Standalone Redis client (replacesJedisPooledandJedisPool)RedisClusterClient- Redis Cluster client (replacesJedisCluster)RedisSentinelClient- Redis Sentinel client (replacesJedisSentineledandJedisSentinelPool)
🚀 New Features
- Introduce new client classes (#4355)
- Expose method to add upstream driver libraries to CLIENT SETINFO payload (#4373)
- Fix formatting in toString method of TagField (#4372)
- Add helpers to Jedis pool (#4366)
🧰 Maintenance
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.3 to 3.12.0 (#4378)
- Bump org.sonatype.central:central-publishing-maven-plugin from 0.8.0 to 0.9.0 (#4376)
- Bump org.apache.maven.plugins:maven-release-plugin from 3.1.1 to 3.2.0 (#4359)
- Bump jackson.version from 2.20.0 to 2.20.1 (#4368)
- DOC-5842 modified index/query example to support runnable notebook (#4335)
Contributors
We'd like to thank all the contributors who worked on this release!
@andy-stark-redis, @dependabot, @dependabot[bot], @ggivo, @oscar-besga-panel, @senocak, @uglide and @viktoriya-kutsarova
7.1.0
Overview
Jedis 7.1.0 release adds support for Redis 8.4, including new commands and features
🚀 New Features
🚀 Experimental
- Add support for CAS/CAD, DELEX, DIGEST commands (#4363)
Changes
- Adding a registry that maps command names to their flags (#4332)
- Reduce log level to warn on reconnect in JedisSentinelPool (#4336)
🐛 Bug Fixes
🧰 Maintenance
- Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14 (#4327)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.5 to 5.5.1 (#4325)
- Increase timeout for countDownLatch await (#4333)
- docs: Correct builder to use hostAndPort method (#4322)
- docs: document required optional dependency
resilience4j-all(#4321) - Enable code highlighting in the docs (#4319)
Contributors
We'd like to thank all the contributors who worked on this release!
@ChrisMcD1, @a-TODO-rov, @dependabot, @dependabot[bot], @ggivo and @uglide
7.0.0
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 -
JedisShardingand 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
6.2.0
Changes
🚀 New Features
- [vector sets] Support for VSIM WITHATTRIBS (CAE-1421) (#4260)
- Support Redis 8 vector sets #4169 (#4203)
🐛 Bug Fixes
- Fix JedisBroadcastException in functionLoadReplace for Redis Cluster (#4219)
🧰 Maintenance
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.11.3 (#4246)
- Bump org.junit:junit-bom from 5.13.3 to 5.13.4 (#4216)
- docs: Improve Javadoc for HostAndPortMapper (#4112) (#4227)
Contributors
We'd like to thank all the contributors who worked on this release!
@JuneYub, @Kguswo, @dependabot, @dependabot[bot] and @ggivo
6.1.0
Changes
🚀 New Features
- Add support for SVS-VAMANA vector indexing (#4222)
- Clarify why new stream entries aren't deleted with XDELEX (#4218)
- Add support for new stream commands (#4211)
- Add Support for New BITOP Operations in Redis 8.2 (#4188) (#4190)
- Add binary stream support for XREAD and XREADGROUP (#3566) (#4152)
- Run pipeline in current thread if all the keys on same node (#4149)
🐛 Bug Fixes
- Restore binary compatibility of SetParams (#4225)
- Fix memory leak in JedisClusterInfoCache - replica nodes not cleared (#4205)
- Fix:JedisCluster throws NullPointerException when maxAttempts is set to 0 (#4186)
🧰 Maintenance
- DOC-5471 time series doc examples (#4210)
- Bump jackson.version from 2.19.1 to 2.19.2 (#4208)
- Fix flaky test ClientCommandsTest.killSkipmeYesNo (#4206)
- Bump org.junit:junit-bom from 5.13.2 to 5.13.3 (#4198)
- Migrate publishing to Maven Central Portal (#4199)
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 (#4197)
- Bump org.junit:junit-bom from 5.13.1 to 5.13.2 (#4192)
- DOC-5227 added probabilistic data type examples (#4184)
- Bump jackson.version from 2.19.0 to 2.19.1 (#4180)
- Update test infra to use latest Redis (#4179)
- Bump org.junit:junit-bom from 5.13.0-RC1 to 5.13.1 (#4174)
- Bump org.json:json from 20250107 to 20250517 (#4171)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.4 to 5.5 (#4170)
- Fix flaky tests in DocumentTest (#3617)
- Add retryable command execution example (#3780)
- Bump jackson.version from 2.18.3 to 2.19.0 (#4160)
- Bump com.google.code.gson:gson from 2.12.1 to 2.13.1 (#4161)
Contributors
We'd like to thank all the contributors who worked on this release!
@219sansim, @YoHanKi, @andy-stark-redis, @ggivo, @jujn, @thachlp, @uglide and @xrayw
6.0.0
Redis 8.0 support
Starting from version 8.0, Redis supports new data structures and capabilities such as JSON, Search & Query, and TimeSeries by default. This release improves Jedis compatibility with Redis 8.0.
Upgrading from previous releases
Search
This release introduces a client-side default dialect for Redis’ search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appending DIALECT 2 to commands like FT.AGGREGATE and FT.SEARCH.
Important: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by configuring the client accordingly.
UnifiedJedis jedis = new UnifiedJedis("redis://localhost:6379");
jedis.setDefaultSearchDialect(1); // DIALECT 1You can find further details in the query dialect documentation.
Discontinued features
This release also removes support for both RedisGraph and Triggers & Functions(aka RedisGears v2).
🔥 Breaking Changes
- Make default client side search dialect to 2 (#4060)
- Remove Graph module support (#4073)
- Change FT.PROFILE to return generic object (#4067)
- Remove Triggers and Functions feature (#3969)
- COMMAND INFO reply contains subcommand detail (#4022)
🧪 Experimental Features
🚀 New Features
- Add tests for vector search INT8/UINT8 types (#4091)
- Support for new HFE API, hgetdel hgetex hsetex commands (#4095)
- Propagate cause for "Cluster retry deadline exceeded" exception (#4103)
- Support INFO command in UnifiedJedis (simplified) (#4079)
- [code cleanup] Jedis client to implement CommandCommands interface (#4077)
- Extend EXECABORT with "previous errors" #4084 (#4090)
- Add SslOptions (#3980)
- Token based authentication integration with core extension (#4011)
- Implement command (no arg) (#4026)
🐛 Bug Fixes
- Fix for bug #4003. Better message instead of ArrayIndexOutOfBoundsExce (#4109)
- Fix pubsub when cache enabled (#4086)
- Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 (#4080)
- COMMAND INFO reply contains subcommand detail (#4022)
🧰 Maintenance
- Bump test infra to 8.0-RC2 (#4155)
- DOC-5110 added hash search examples (#4151)
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 (#4136)
- Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 (#4137)
- Speed up cluster tests (#4150)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.2 to 5.4.4 (#4153)
- Fix for connectionAuthWithExpiredTokenTest (#4142)
- Migrate test to JUnit5 (#4139)
- Document pgp keys (#4125)
- Bump jackson.version from 2.18.2 to 2.18.3 (#4106)
- Add tests for setGet with Parameters (#4127)
- Fix failing network partition test (#4118)
- Test support for DefaultAzureCredential (#4113)
- Update redis server test versions (#4114)
- Update stale issue workflow (#4101)
- Bump net.revelc.code.formatter:formatter-maven-plugin from 2.11.0 to 2.16.0 (#4098)
- Basic documention for TBA support with some examples (#4102)
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 (#4097)
- Bump org.awaitility:awaitility from 4.2.2 to 4.3.0 (#4099)
- Enforce code style format (#4087)
- Update redisjson.md (#4083)
- Bump org.json:json from 20240303 to 20250107 (#4049)
- Bump com.google.code.gson:gson from 2.11.0 to 2.12.1 (#4082)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4.1 to 5.4.2 (#4081)
- Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 (#4080)
- Fix the Java example code for Lists using RPUSH (#4074)
- Use v4 of few GitHub actions workflow artifacts (#4075)
- Change FT.PROFILE to return generic object (#4067)
- Remove SearchConfigTest (#4072)
- Test modules CONFIG support (#4043)
- Test modules ACL support (#4042)
- Test with 8.0-M04-pre (#4069)
- Fix TBA cluster integration tests (#4068)
- DOC-4445 server management command examples (#4056)
- Update actions/checkout, actions/setup-java and codecov/codecov-action (#4066)
- DOC-4732 added geo index examples (#4059)
- DOC-4440 added auth command examples using Jedis class (#4058)
- Revert failing GitHub artifacts for Publish Docs (#4065)
- Use v3 of GitHub deploy-pages for Publish Docs (#4064)
- Use v3 of GitHub upload-pages-artifact for Publish Docs (#4063)
- Upgrade GitHub Python artifact for Publish Docs (#4062)
- Use v4 of upload artifact (#4061)
- DOC-4475 examples for llen, lpop, lpush, lrange, rpop, and rpush (#4054)
- DOC-4495 sadd and smembers examples (#4052)
- Fix sporadic test failing with OOM (#4053)
- Introduces test matrix based on Redis versions [8.0-M1, 7.4.1, 7.2.6, 6.2.16] (#4015)
- Remove List tests asserting timeouts (#4051)
- DOC-4450 added hgetall and hvals command examples (#4050)
- Minor fix with Token-Based-Authentication integration tests (#4044)
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 (#4039)
- DOC-4560 pipe/transaction examples for docs (#4038)
- Bump jackson.version from 2.18.1 to 2.18.2 (#4034)
- Make reply of COMMAND INFO compatible with older Redis versions (#4031)
- Make reply of ACL LOG compatible with older Redis versions (#4030)
- Add examples and tutorials page (#4024)
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 (#4007)
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 (#4008)
- DOC-4345 added JSON search examples for home page (#4010)
- Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.4 to 5.4.1 (#4009)
- Bump jackson.version from 2.18.0 to 2.18.1 (#4006)
- Mkdocs unify docs (#3999)
- Update links in README (#3974)
- Codecove has released beta version of Test Analytics feature (#3996)
- Fix flaky tests with 'await' (#3972)
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 (#3994)
- Add javadoc to clear up implicit behavior (#3991)
- Fix JavaDoc warnings (#3990)
- Bump org.apache.maven.plugins:maven-surefir 527D e-plugin from 3.5.0 to 3.5.1 (#3989)
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.6 to 3.2.7 (#3976)
- Bump com.kohlschutter.junixsocket:junixsocket-core from 2.10.0 to 2.10.1 (#3978)
- Bump jackson.version from 2.17.2 to 2.18.0 (#3977)
- DOC-4317 fixed flaky tests (#3984)
- Jedis 5.2.0 is released; bump snapshot version to 5.3.0 (#3975)
Contributors
We'd like to thank all the contributors who worked on this release!
@andy-stark-redis, @atakavci, @ggivo, @joshrotenberg, @ozennou, @sanaulla123, @sazzad16, @smadasu, @thachlp, @tishun and @uglide
6.0.0-beta2
🛠️ Maintenance Pre-release – This version includes no functional changes. It serves as a pre-release of Jedis that has been validated for compatibility with Redis Community Edition 8.0 RC1.
🚀 New Features
🧰 Maintenance
- Fix failing network partition test by @atakavci in #4118
- Add tests for setGet with Parameters by @ggivo in #4127
- Add tests for vector search INT8/UINT8 types by @ggivo in #4091
- Bump jackson.version from 2.18.2 to 2.18.3 by @dependabot in #4106
- Link Jedis 5 migration guide in mkdocs by @sazzad16 in #4076
- Document pgp keys by @ggivo in #4125
- Update verifying content doc by @ggivo in #4133
- Fix failing ModuleTest & test against 8.0-RC1-pre by @ggivo in #4131
- Update "Pipelines and transactions" doc example to include pipeline.close() by @ggivo in #4134
- Fix flaky test JedisPoolTest.testCloseConnectionOnMakeObject by @thachlp in #4138
Contributors
We'd like to thank all the contributors who worked on this release!
@atakavci, @ggivo, @sazzad16, @thachlp
Full Changelog: 6.0.0-beta1...v6.0.0-beta2