Update dependency redis.clients:jedis to v7 by renovate[bot] · Pull Request #150 · EEWBot/EEWBot · GitHub
Skip to content

Update dependency redis.clients:jedis to v7#150

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/major-redis.clients.jedis
Open

Update dependency redis.clients:jedis to v7#150
renovate[bot] wants to merge 1 commit into
devfrom
renovate/major-redis.clients.jedis

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
redis.clients:jedis 4.4.87.5.3 age confidence

Release Notes

redis/jedis (redis.clients:jedis)

v7.5.3: 7.5.3

This is a maintenance release with fixes for FT.HYBRID queries and connection pool handshake overhead. Recommended for any deployment using FT.HYBRID with Combiner.as(...) or MultiDbClient.

🐛 Bug Fixes
  • Fixes FT.HYBRID COMBINE argument count omitting YIELD_SCORE_AS tokens, causing the command to be rejected when a combined-score alias is set via Combiner.as(...). Fix by @​guyroyse in #​4575, backported to 7.5.x in #​4576.
  • Fixes double initialization of a pooled Connection in TrackingConnectionPool (used by MultiDbClient). #​4547, backported to 7.5.x in dd42b3e.

Full Changelog: redis/jedis@v7.5.2...v7.5.3

v7.5.2: 7.5.2

This is a maintenance release focused on improving the stability of the Automatic Failover feature (MultiDbClient). Recommended for any deployment using MultiDbClient / multi-database failover.

🐛 Bug Fixes
  • Fixes a connection pool leak in experimental multi-database failover when ping() fails during acquisition. #​4546
🧰 Maintenance
  • CommandObjects refactoring Part 4: Backport deprecations to 7.5.x by @​uglide in #​4517

v7.5.1

v7.5.0: 7.5.0

Changes

This release refines TLS behaviour to enhance security and begins consolidating TLS configuration on SslOptions. The introduction of hostname verification by default significantly improves the safety of TLS connections. For further details, see #​4497.

🔧 Change in Behaviour
  • The legacy ssl(true) TLS path now enables hostname verification by default (#​4497). It now rejects certificates whose SAN/CN does not match the target host, making TLS connections safer. The SslOptions-based configuration remains unchanged.
  • Deprecate legacy SSL configuration in favor of SslOptions (#​4497).
Contributors

@​ggivo

Full Changelog: redis/jedis@v7.4.1...v7.5.0

v7.4.1

Jedis 7.4.1 (Patch Release)

What's Changed

*[ClusterPipeline] ExecutorService/thread is created and destroyed too frequently in ClusterPipeline by @​ggivo in #​4480

Full Changelog: redis/jedis@v7.4.0...v7.4.1

v7.4.0: 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
🐛 Bug Fixes
  • fix: Fix out-of-order responses in manual transactions with commands before MULTI (#​4441)
  • Fix resp2 parsing of LibraryInfo (#​4436)
🧰 Maintenance
Contributors

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

@​a-TODO-rov, @​atakavci, @​dependabot, @​dependabot[bot], @​ggivo and @​uglide

v7.3.0: 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 2025051 to 2025122 (#​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

v7.2.1: 7.2.1

Jedis 7.2.1 (Patch Release)

🐛 Bug Fixes
  • Cluster client builders ignore custom timeout/attempts when calculating maxTotalRetriesDuration #​4395
Contributors

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

@​ggivo

v7.2.0: 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 (replaces JedisPooled and JedisPool)
  • RedisClusterClient - Redis Cluster client (replaces JedisCluster)
  • RedisSentinelClient - Redis Sentinel client (replaces JedisSentineled and JedisSentinelPool)
🚀 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

v7.1.0: 7.1.0

Overview

Jedis 7.1.0 release adds support for Redis 8.4, including new commands and features

🚀 New Features
  • Add support for CLAIM arg in XREADGROUP (#​4344)
  • Add MSETEX command support (#​4361)
🚀 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

v7.0.0: 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:

  1. Automatic Failover and Failback API update - The automatic failover client has been refactored and stabilized.
  2. Builder pattern introduction - New fluent builders are now available for JedisPooled, JedisCluster, and JedisSentinel.
  3. Removal of deprecated sharding features - JedisSharding and related classes have been removed.
  4. Base class consolidation - Pipeline and Transaction base classes have been renamed for consistency.
  5. 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

More details on new features

🔥 Breaking Changes

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

v6.2.0: 6.2.0

Changes

🚀 New Features

🐛 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

v6.1.0: 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 2025010 to 2025051 (#​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

v6.0.0: 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 1

You 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

  • Support warning messages in search/aggregation query results (#​3958)
  • Add SslOptions (#​3980)

🚀 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 2024030 to 2025010 (#​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-surefire-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

v5.2.0: 5.2.0 GA

Compare Source

Enhanced Client-side caching

We are happy to announce that improved server-assisted, client-side caching is now generally available! Special thanks to all our beta testers for their valuable feedback, which helped us refine and improve the initial implementation.

Client-side caching is supported exclusively with the RESP3 protocol with Redis >= 7.4 and is available in UnifiedJedis, JedisPooled, and JedisCluster and other classes.

How to try Client-Side Caching
  1. Install Jedis 5.2.0
  2. Use the following code example to get started:
public class CSCExampleTest {
  public static void main() {

    HostAndPort node = HostAndPort.from("localhost:6379");
    JedisClientConfig clientConfig = DefaultJedisClientConfig.builder()
        .resp3()                // RESP3 protocol is required for client-side caching
        //.user("myuser")       // Redis server username (optional)
        //.password("mypass")   // Redis user's password (optional)
        .build();

    CacheConfig cacheConfig = getCacheConfig();
    Cache cache = CacheFactory.getCache(cacheConfig);

    try (UnifiedJedis client = new UnifiedJedis(node, clientConfig, cache)) {
      client.set("foo", "bar");
      client.get("foo");
      client.get("foo"); // Cache hit

      System.out.println("Cache size: " + cache.getSize()); // 1
      System.out.println(cache.getStats().toString());

      //Let's change the value of "foo" to invalidate the value stored in the local cache
      client.mset("foo", "new_value", "ignore_me:1", "another_value");

      Thread.sleep(1000); // wait for the cache invalidation to happen

      System.out.println(client.get("foo")); // Cache miss
      System.out.println(cache.getStats().toString());

      client.get("ignore_me:1"); // Client will ignore this key

      System.out.println("Cache size: " + cache.getSize()); // still 1

      // check the cache stats
      System.out.println(cache.getStats().toString());

    } catch (InterruptedException e) {
      throw new RuntimeException(e);
    }
  }

  private static CacheConfig getCacheConfig() {

    // This is a simple cacheable implementation that ignores keys starting with "ignore_me"
    Cacheable cacheable = new DefaultCacheable() {

      final String IGNORE_PREFIX = "ignore_me";

      @​Override
      public boolean isCacheable(ProtocolCommand command, List<Object> keys) {
        // assuming we'll only execute methods with string keys
        List<String> stringKeys = keys.stream()
            .filter(obj -> obj instanceof String)
            .map(obj -> (String) obj)
            .collect(Collectors.toList());

        for (String key : stringKeys) {
          if (key.startsWith(IGNORE_PREFIX)) {
            return false;
          }
        }

        return isDefaultCacheableCommand(command);
      }
    };

    // Create a cache with a maximum size of 10000 entries
    return CacheConfig.builder()
        .maxSize(10000)
        .cacheable(cacheable)
        .build();
  }
}

It is possible to limit or ignore commands or keys for client-side caching. The getCacheConfig method presented above provides an example of how to achieve that.

🔥 Breaking Changes

  • JedisConnectionException contains HostAndPort from DefaultJedisSocketFactory (#​3896)
  • Address change in JSON.GET command without path (#​3858)
  • Modify and fail-fast GeoSearchParam (#​3827)
  • Support transaction from UnifiedJedis without calling multi first (#​3804)
  • Reduce the log level of validateObject to WARN (#​3750)

🧪 Experimental Features

  • Support automatic namespacing (#​3781)
  • Added support for ADDSCORES argument in FT.AGGREGATE (#​3908)
  • Support IGNORE and other optional arguments for timeseries commands (#​3860)

🚀 New Features

  • Support Hash field expiration (#​3826)
  • Add equals and hashCode to Timeseries Params classes (#​3959)
  • Decoding FT.SEARCH reply can be disabled at field level (#​3926)
  • Get enriched Connection information (#​3745)
  • Support execute the read-only command on replica nodes (#​3848)
  • JedisConnectionException contains HostAndPort from DefaultJedisSocketFactory (#​3896)
  • Support [S]PUBLISH in pipelines and transactions (#​3859)
  • Support Hash field expiration (#​3826)
  • Custom connection pool to MultiClusterPooledConnectionProvider (#​3801)
  • PubSub handle array of messages for RESP2 (#​3811)
  • Support transaction from UnifiedJedis without calling multi first (#​3804)
  • Add last entry id for XREADs and support XREADs reply as map (#​3791)
  • Add Experimental, Internal and VisibleForTesting annotations (#​3790)
  • Implement equals and hashcode in Params classes (#​3728)
  • Add support for redis command: CLIENT TRACKINGINFO (#​3751)
  • Support the MAXAGE option for CLIENT KILL (#​3754)
  • Polish #​3741 (#​3746)
  • Add support for the NOVALUES option of HSCAN (#​3741)
  • Support issuing Latency commands (#​3729)

🐛 Bug Fixes

  • Accept null replies for BZPOPMAX and BZPOPMIN commands (#​3930)
  • Fix empty LUA table reply (#​3924)
  • Ensure closing connection in Pipeline (#​3865)
  • Address change in JSON.GET command without path (#​3858)
  • Consider null values in empty StreamPendingSummary (#​3793)
  • Fix UnifiedJedis pexpireAt glitch (#​3782)
  • Use expiryOption in PipelineBase.expireAt (#​3777)
  • Stop connection fetching before sync/exec (#​3756)
  • Check for thread interrupt in subscribe process of PubSub (#​3726)
  • Avoid NPE in MultiNodePipelineBase.java (#​3697)
  • Fix probable missing (RESP3) protocol processing (#​3692)
  • Use circuit breaker fallback exception list (#​3664)

🧰 Maintenance

  • Deprecate Triggers and Functions feature (#​3968)
  • Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.3.1 to 5.4 (#​3962)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.5.0 (#​3950)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0 (#​3949)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.5 to 3.2.6 (#​3957)
  • Added JavaDoc for basic JedisCluster constructors (#​3304)
  • Bump org.locationtech.jts:jts-core from 1.19.0 to 1.20.0 (#​3948)
  • Add A-A failover scenario test (#​3935)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.4 to 3.2.5 (#​3936)
  • Fix codecov upload (#​3933)
  • Rename readonly config param to specify Redis Cluster (#​3932)
  • Modify Connection.toIdentityString and test (#​3931)
  • Revert "Creating CODEOWNERS for the examples (#​3570)" (#​3897)
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.1 (#​3891)
  • Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#​3914)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.8.0 (#​3909)
  • Bump net.javacrumbs.json-unit:json-unit from 2.38.0 to 2.40.1 (#​3903)
  • Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.1 (#​3890)
  • Fixed typo in Javadoc (#​3917)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 (#​3910)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.9.1 to 2.10.0 (#​3901)
  • Bump jackson.version from 2.17.1 to 2.17.2 (#​3902)
  • Add Scenario tests (#​3847)
  • Modify the judgment that reads a response as empty to isEmpty method (#​3888)
  • Replace synchronized with j.u.c.l.ReentrantLock for Loom (#​3480)
  • Extract messages of unsupported exception as constants (#​3887)
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 (#​3851)
  • Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 (#​3850)
  • Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 (#​3842)
  • Merge doc tests into main branch to keep in-sync with the code (#​3861)
  • Deprecate unused Set builders (#​3857)
  • Disable Redis Graph tests (#​3856)
  • Introduce EndpointConfig and load endpoint settings from the endpoints.json file (#​3836)
  • Address Gears test fail - Cleanup Function libraries (#​3840)
  • Bump jackson.version from 2.17.0 to 2.17.1 (#​3833)
  • Add methods in CommandArguments and RawableFactory (#​3834)
  • Modify and fail-fast GeoSearchParam (#​3827)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 (#​3822)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.4 (#​3823)
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 (#​3819)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 (#​3818)
  • Add more tests for the CommandObjects class (#​3809)
  • Resolve compile warnings (#​3810)
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.9.0 to 2.9.1 (#​3806)
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 (#​3805)
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 (#​3807)
  • Deprecate unused JSON.ARRAPPEND in CommandObjects (#​3798)
  • Extensive unit tests for the CommandObjects class (#​3796)
  • Add extensive tests for UnifiedJedis (#​3788)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1 to 3.2.2 (#​3794)
  • Add Experimental, Internal and VisibleForTesting annotations (#​3790)
  • Add TS.INFO [DEGUB] and CF.MEXISTS in pipelined commands (#​3787)
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 (#​3786)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 (#​3785)
  • Pipelined tests for lists and sets, and API typo fix (#​3772)
  • Extensive unit tests for PipeliningBase (#​3778)
  • Bump jackson.version from 2.16.2 to 2.17.0 (#​3776)
  • Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.0 (#​3775)
  • Fix typo in SetPipelineCommands method name (#​3773)
  • Streamline test execution (#​3760)
  • Add pipelined tests for sorted sets (#​3771)
  • Geo pipelined tests (#​3767)
  • Reenable clustering tests (#​3764)
  • GETSET command is deprecat

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 6c2176d to 5910580 Compare July 29, 2024 14:31
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 5910580 to aac9aff Compare August 22, 2024 11:52
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from 3a61981 to 2913f20 Compare September 27, 2024 16:02
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 2913f20 to b92aba1 Compare December 2, 2024 12:23
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from b92aba1 to c2dc2a2 Compare December 15, 2024 11:43
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from c2dc2a2 to a8793d1 Compare February 8, 2025 12:15
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from d86a7d2 to 59a245c Compare April 22, 2025 05:18
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 3 times, most recently from dcf83c4 to 4abf6ee Compare April 30, 2025 13:00
@renovate renovate Bot changed the title Update dependency redis.clients:jedis to v5 Update dependency redis.clients:jedis to v6 Apr 30, 2025
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 4abf6ee to 8a2479d Compare May 27, 2025 18:28
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from 433f451 to 825d722 Compare August 10, 2025 13:04
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 825d722 to 7f09926 Compare August 28, 2025 08:13
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 7f09926 to d04fa76 Compare September 8, 2025 13:45
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from d04fa76 to b686c6b Compare October 10, 2025 14:52
@renovate renovate Bot changed the title Update dependency redis.clients:jedis to v6 Update dependency redis.clients:jedis to v7 Oct 10, 2025
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from b686c6b to cc7cf45 Compare October 21, 2025 09:16
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from cc7cf45 to 8196355 Compare November 20, 2025 12:25
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 8196355 to ed690cd Compare December 10, 2025 13:09
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from 8ffd98d to 480fb48 Compare December 22, 2025 11:50
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 480fb48 to fb7dd28 Compare December 30, 2025 12:59
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from fb7dd28 to 1a57150 Compare January 16, 2026 11:00
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 1a57150 to 5bae547 Compare February 2, 2026 20:48
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from 835192f to 3001d08 Compare February 17, 2026 07:45
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from bf6eb8e to 8f40431 Compare March 5, 2026 09:11
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 3 times, most recently from a09fbde to 2cfa17a Compare March 13, 2026 11:37
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 3 times, most recently from da56bd1 to f2378e8 Compare April 3, 2026 13:11
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from f2378e8 to 51b04d6 Compare April 12, 2026 16:49
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch 2 times, most recently from fdfafce to cc51230 Compare April 27, 2026 15:29
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from cc51230 to d1c3d8a Compare May 2, 2026 12:47
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from d1c3d8a to d3fae14 Compare May 18, 2026 18:03
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from d3fae14 to 06bbb83 Compare May 29, 2026 14:45
@renovate renovate Bot changed the title Update dependency redis.clients:jedis to v7 Update redis.clients.jedis to v7 Jun 2, 2026
@renovate renovate Bot changed the title Update redis.clients.jedis to v7 Update redis.clients.jedis (major) Jun 22, 2026
@renovate renovate Bot changed the title Update redis.clients.jedis (major) Update dependency redis.clients:jedis to v7 Jun 25, 2026
@renovate renovate Bot force-pushed the renovate/major-redis.clients.jedis branch from 06bbb83 to fec3135 Compare July 1, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants