github redis/jedis 6.0.0-beta1

pre-release5 days ago

The 6.0.0-Beta1 release introduces major changes, new features, and improvements:

  • Experimental Features: Added support for warning messages in search/aggregation queries and a new SslOptions feature.
  • New Features and Enhancements: Added hgetdel, hgetex, and hsetex commands, integrated token-based authentication, improved exception handling, and added INFO command support in UnifiedJedis.
  • Breaking Changes:
    • The default client-side search dialect is now version 2.
    • Graph module support and Triggers and Functions have been removed. These features have been deprecated in Redis. See the official deprecation notice for details.
  • Bug Fixes: Resolved issues with pub/sub caching and command response compatibility with older Redis versions.

πŸ”₯ Breaking Changes

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

  • 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 / Enhancements

  • Support for new HFE API, hgetdel hgetex hsetex commands (#4095)
  • Propagate cause for "Cluster retry deadline exceeded" exception (#4103)
  • Extend EXECABORT with "previous errors" #4084 (#4090)
  • Token based authentication integration with core extension (#4011)
  • Add SslOptions (#3980)
  • Support INFO command in UnifiedJedis (simplified) (#4079)
  • 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)

πŸ“– Documentation Enhancements

  • Update redisjson.md (#4083)
  • Fix the Java example code for Lists using RPUSH (#4074)
  • DOC-4445 server management command examples (#4056)
  • DOC-4732 added geo index examples (#4059)
  • DOC-4440 added auth command examples using Jedis class (#4058)
  • DOC-4475 examples for llen, lpop, lpush, lrange, rpop, and rpush (#4054)
  • DOC-4495 sadd and smembers examples (#4052)
  • DOC-4450 added hgetall and hvals command examples (#4050)
  • DOC-4560 pipe/transaction examples for docs (#4038)
  • Add examples and tutorials page (#4024)
  • DOC-4345 added JSON search examples for home page (#4010)

🧰 Maintenance

  • [code cleanup] Jedis client to implement CommandCommands interface (#4077)
  • Update redis server test versions (#4114)
  • Test support for DefaultAzureCredential (#4113)
  • 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)
  • Fix TBA cluster integration tests (#4068)
  • 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)
  • 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)
  • Update actions/checkout, actions/setup-java and codecov/codecov-action (#4066)
  • 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)
  • 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)
  • 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)
  • 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)
  • 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)
  • 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, @dependabot, @ggivo, @joshrotenberg, @ozennou, @sanaulla123, @sazzad16, @smadasu, @thachlp, @tishun and @uglide

Don't miss a new jedis release

NewReleases is sending notifications on new releases.