Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: redis/lettuce

7.0.0.BETA2

26 Sep 16:39
15fda57

Choose a tag to compare

7.0.0.BETA2 Pre-release
Pre-release

Lettuce 7.0.0.BETA2

The Lettuce team is pleased to announce the beta two release of Lettuce 7.0!

The release focuses on introducing Maintenance events support functionality, API improvements, and cleanup of deprecated features.

Key changes

  • Maintenance events support for graceful maintenance handling
  • Enhanced JSON API with String-based access to avoid unnecessary conversions
  • Removal of deprecated APIs and options as part of the major version upgrade

Lettuce 7.0.0.BETA2 supports Redis 2.6+ up to Redis 8.x and requires Java 8 or newer. The driver is tested against Redis 8.2, 8.0, 7.4, and 7.2.

We encourage you to try out this beta and provide feedback ahead of the general availability release.

Changes

๐Ÿ”ฅ Breaking Changes

  • chore: remove usage of deprecated connection methods in command APIs in integration tests (#3328) (#3343)
  • Remove deprecated dnsResolver option (#3328) (#3333)
  • Remove deprecated reset() method from Lettuce API and internals (#3395)
  • Make Utility Class constructor private to enforce noninstantiability (#3266)
  • Enable adaptive refresh by default #3249 (#3316)
  • ISSUE#3328 - Remove deprecated code from ISSUE#1314 (#3351)
  • chore: deprecated withPassword(String) method (#3328) (#3350)
  • Remove deprecated Utf8StringCodec class (#3328) (#3389)
  • chore: remove deprecated default timeout from AbstractRedisClient (#3328) (#3344)
  • chore: remove deprecated ClientOptions#cancelCommandsOnReconnectFailure (#3328) (#3346)

๐Ÿš€ New Features

  • Add support for EPSILON and WITHATTRIBS arguments in VSIM command (#3449)
  • Add String-based JSON API to avoid unnecessary conversions (#3369) (#3394)
  • [Hitless Upgrades] React to maintenance events #3345 (#3354, #3450, #3426)

๐Ÿ› Bug Fixes

  • [Hitless Upgrades] Timeouts seen during endpoint re-bind and migrate (#3426)
  • Fix a NullPointerException in DelegateJsonObject #3417 (#3418)

๐Ÿ’ก Other

  • [hitless upgrade] Rename maintenance notification configuration properties (#3450)
  • Return name method to ProtocolKeyword public interface. (#3424)
  • Refactor JsonValue to Object mapping #3412 (#3413)
  • Using non-native transports with SocketOptions should cause an error (#3279)

๐Ÿงฐ Maintenance

  • Release Lettuce 7.0.0.BETA2 - update release notes #3454
  • Fixing compilation error in benchmark code (#3442)
  • docs: Fix various typos in documentation (#3423)
  • bump test inra to 8.2.1-pre (#3399)
  • Fixing the benchmarks action (#3402)
  • Disable flaky test to stabilize the pipeline (#3403)
  • Update redis-search.md (#3401)
  • Bump kotlin.version from 1.7.21 to 2.0.0 (#2979)

Contributors

We'd like to thank all the contributors who worked on this release!
@Kiminni, @KoKimSS, @The-East-Wind, @a-TODO-rov, @brushmate, @dependabot[bot], @ggivo, @kimsunghyun1995, @mohamed-arafa, @ori0o0p, @thachlp, @tishun, @uglide, dependabot[bot] and github-action-benchmark

Full Changelog: 6.8.0.RELEASE...7.0.0.BETA2

7.0.0.BETA1

10 Sep 10:10
c1841ed

Choose a tag to compare

7.0.0.BETA1 Pre-release
Pre-release

Lettuce 7.0.0.BETA1

The Lettuce team is pleased to announce the first beta release of Lettuce 7.0!

The release focuses on introducing hitless upgrades functionality, API improvements, and cleanup of deprecated features.

Key changes

  • Hitless upgrades support for graceful maintenance event handling
  • Enhanced JSON API with String-based access to avoid unnecessary conversions
  • Removal of deprecated APIs and options as part of the major version upgrade

Lettuce 7.0.0.BETA1 supports Redis 2.6+ up to Redis 8.x and requires Java 8 or newer. The driver is tested against Redis 8.2, 8.0, 7.4, and 7.2.

We encourage you to try out this beta and provide feedback ahead of the general availability release.

Changes

๐Ÿ”ฅ Breaking Changes

  • chore: remove usage of deprecated connection methods in command APIs in integration tests (#3328) (#3343)
  • Remove deprecated dnsResolver option (#3328) (#3333)
  • Remove deprecated reset() method from Lettuce API and internals (#3395)
  • Make Utility Class constructor private to enforce noninstantiability (#3266)
  • Enable adaptive refresh by default #3249 (#3316)
  • ISSUE#3328 - Remove deprecated code from ISSUE#1314 (#3351)
  • chore: deprecated withPassword(String) method (#3328) (#3350)
  • Remove deprecated Utf8StringCodec class (#3328) (#3389)
  • chore: remove deprecated default timeout from AbstractRedisClient (#3328) (#3344)
  • chore: remove deprecated ClientOptions#cancelCommandsOnReconnectFailure (#3328) (#3346)

๐Ÿš€ New Features

  • Add String-based JSON API to avoid unnecessary conversions (#3369) (#3394)
  • [Hitless Upgrades] React to maintenance events #3345 (#3354)

๐Ÿ› Bug Fixes

  • [Hitless Upgrades] Timeouts seen during endpoint re-bind and migrate (#3426)
  • Fix a NullPointerException in DelegateJsonObject #3417 (#3418)

๐Ÿ’ก Other

  • Return name method to ProtocolKeyword public interface. (#3424)
  • Refactor JsonValue to Object mapping #3412 (#3413)
  • Using non-native transports with SocketOptions should cause an error (#3279)

๐Ÿงฐ Maintenance

  • bump test inra to 8.2.1-pre (#3399)
  • Fixing the benchmarks action (#3402)
  • Disable flaky test to stabilize the pipeline (#3403)
  • Update redis-search.md (#3401)
  • Bump kotlin.version from 1.7.21 to 2.0.0 (#2979)

Contributors

We'd like to thank all the contributors who worked on this release!
@Kiminni, @KoKimSS, @The-East-Wind, @a-TODO-rov, @brushmate, @dependabot[bot], @ggivo, @kimsunghyun1995, @mohamed-arafa, @ori0o0p, @thachlp, @tishun, dependabot[bot] and github-action-benchmark

Full Changelog: 6.8.0.RELEASE...v7.0.0.BETA1

6.8.1.RELEASE

02 Sep 15:04
ec0535e

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.8.1 service release!
This release ships with bugfixes and dependency upgrades.

Lettuce 6 supports Redis 2.6+ up to Redis 8.2. In terms of Java runtime, Lettuce requires
at least Java 8 and works with Java 21.

Thanks to all contributors who made Lettuce 6.8.1 possible.

๐Ÿ“— Links

๐Ÿž Bug Fixes

  • Extend the JSON API to accept values of raw types in #3369
  • Possible NullPointerException in DelegateJsonObject in #3417
  • Avoid creating a new instance of the ObjectMapper ctd. in #3412
  • JSON implementation has reduced the API surface in #3368

Full Changelog: 6.8.0.RELEASE...6.8.1.RELEASE

6.8.0.RELEASE

08 Aug 10:12
8e6e63d

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.8.0 minor release!

This release provides support for the newly introduced Redis Query Engine support which was is part of Redis 8.0 and previously - as part of RedisStack. The new operators (DIFF, DIFF1, ANDOR and ONE) for the BITOP command are also available. The team has worked on extending the contract of the XADD and XTRIM commands to support trimming policy, and also introduced the new XDELEX and XACKDEL commands.

Lettuce 6.8.0 supports Redis 2.6+ up to Redis 8.x. In terms of Java runtime, Lettuce requires at least Java 8 and
works with Java 24. The driver is tested against Redis 8.2, Redis 8.0, Redis 7.4 and Redis 7.2.

Find the full changelog at the end of this document.
Thanks to all contributors who made Lettuce 6.8.0.RELEASE possible.

๐Ÿ“— Links
Reference documentation: https://lettuce.io/core/6.8.0.RELEASE/reference/
Javadoc: https://lettuce.io/core/6.8.0.RELEASE/api/

โญ New Features
Introduce RediSearch by @tishun in #3375
Add support for new operations of BITOP command in Redis Community Edition 8.2 by @atakavci in #3334
Add support for 8.2 stream commands by @uglide in #3374

๐Ÿž Bug Fixes
NoClassDefFoundError in Lettuce 6.7.0 #3317 by @tishun in #3318

๐Ÿ’ก Other
The instance of the ObjectMapper can now be reused in the DefaultJsonParser by @thachlp in #3372
Added basic connection interruption tests by @uglide in #3292
DOC-4758 async JSON doc examples by @andy-stark-redis in #3335
Fixed SocketOptions.Builder validation messages by @hubertchylik in #3366
Refactor tests for clarity and maintainability by @Rian-Ismael in #3363
Provide support for the SVS-VMANA index (#3385) by @tishun in #3386

โค๏ธ New Contributors## New Contributors

Full Changelog: 6.7.0.RELEASE...6.8.0.RELEASE

6.7.1.RELEASE

04 Jun 07:26
feb7f9c

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.7.1 service release!
This release ships with bugfixes and dependency upgrades.

Lettuce 6 supports Redis 2.6+ up to Redis 8.x. In terms of Java runtime, Lettuce requires
at least Java 8 and works with Java 21.

Thanks to all contributors who made Lettuce 6.7.1 possible.

๐Ÿ“— Links

๐Ÿž Bug Fixes

Full Changelog: 6.5.3.RELEASE...6.5.4.RELEASE

6.7.0.RELEASE

02 Jun 14:57
4e4db29

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.7.0 minor release!

This release provides support for the newly introduced Vector Sets data type which was released as part of Redis 8.0 and helps Redis users with vector similarity.

Starting with 6.7 the ConnectionPoolSupport also provides a way to provide custom connection validations. The release comes with a bunch of smaller improvements and bugfixes.

Lettuce 6.7.0 supports Redis 2.6+ up to Redis 8.x. In terms of Java runtime, Lettuce requires at least Java 8 and
works with Java 24. The driver is tested against Redis 8.0, Redis 7.4 and Redis 7.2.

Find the full changelog at the end of this document.
Thanks to all contributors who made Lettuce 6.7.0.RELEASE possible.

๐Ÿ“— Links

โญ New Features

๐Ÿž Bug Fixes

  • Fix deadlock when an invalid URI is presented to DefaultClusterTopologyRefresh by @henry701 in #3243
  • Fix NPE in EntraIdIntegrationTests by @ggivo in #3254
  • Deprecate DnsResolver in favor of AddressResolverGroup(#1572) by @young0264 in #3291

๐Ÿ’ก Other

  • Change native library default to epoll over io_uring by @thachlp in #3278
  • Use InfoPatterns enum for ReplicaTopologyProvider pattern management by @ori0o0p in #3264
  • Adjusting disconnectedBehavior Option to Prevent Timeout During Redis Shutdown #2866 by @MagicalLas in #2894
  • Improve the performance of obtaining write connections through double-check locks. by @Chenrujie-85 in #3228
  • Optimize string concatenation in NodeSelectionInvocationHandler.getNodeDescription() by @ori0o0p in #3262
  • DOC-4756 sorted set examples with join() by @andy-stark-redis in #3184
  • DOC-4757 list examples using join() by @andy-stark-redis in #3185
  • docs: add default threads count about NioEventLoopGroup by @brido4125 in #3221
  • Guide on resolving native library conflicts by @thachlp in #3309

โค๏ธ New Contributors

Full Changelog: 6.6.0.BETA4...6.7.0.RELEASE

6.6.0.RELEASE

30 Apr 13:39
643bd47

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.6.0 minor release!

This release provides support for the newly introduced HGETDEL, HGETEX and HSETEX commands.
Users of the driver are also now able to use a command replay filter, that allows the user to control which (if any) commands are being retried when the reconnect feature is on. It is also possible to configure the driver to use the HashIndexedQueue as a backing data structure for the command queue, which speeds up the driver during disconnect / reconnect (needs to be configured using the ClientOptions).

The driver comes with Microsoft EntraID authentication support.

Last but not least the STRALGO command was replaced by the LCS command.

Lettuce 6.6.0 supports Redis 2.6+ up to Redis 8.x. In terms of Java runtime, Lettuce requires at least Java 8 and
works with Java 24. The driver is tested against Redis 8.0, Redis 7.4 and Redis 7.2.

Find the full changelog at the end of this document.
Thanks to all contributors who made Lettuce 6.6.0.RELEASE possible.

๐Ÿ“— Links

โญ New Features

  • Hash Field Expiration (part II) (#3195) by @ggivo in #3204
  • Introduce command replay filter to avoid command replaying after reconnect #1310 by @tishun in #3118
  • Deprecate the STRALGO command and implement the LCS in its place by @Dltmd202 in #3037
  • fix: prevent blocking event loop thread by replacing ArrayDeque with HashIndexedQueue by @okg-cxf in #2953
  • Token based authentication integration with core extension by @ggivo in #3063
  • Support for DefaultAzureCredential by @ggivo in #3230
  • Add support up to max unsigned integer in Bitfield offset (#2964) by @psw0946 in #3099
  • Improve code by adding some null checks by @tishun in #3115
  • Introduce test matrix based on Redis server versions by @ggivo in #3145
  • Add modules ACL support by @sazzad16 in #3102
  • Test modules CONFIG support by @sazzad16 in #3103
  • report block error when use with reactor mode #3168 by @tishun in #3169
  • Include command type in the timeout message by @arturaz in #3167
  • replace hardcoded GT and LT with CommandKeyword enum by @minwoo1999 in #3079

๐Ÿž Bug Fixes

  • Restore API that was accidently deleted when introducing the JSON feature by @tishun in #3065
  • Propagate handshake failures to Handshake future by @mp911de in #3058
  • OpsForGeo producing "READONLY You can't write against a read only replica " on READS... by @ggivo in #3032
  • Json commands not exposed in AsyncCluster #3048 by @tishun in #3049
  • WATCH during MULTI shouldn't fail transaction #3009 by @tishun in #3027
  • Fix: make sure FIFO order between write and notify channel active by @okg-cxf in #2597
  • UnsupportedOperationException from ListSubscriber during hrandfieldWithvalues #3122 by @tishun in #3123
  • Update CommonsPool2ConfigConverterUnitTests.java by @Rian-Ismael in #3147
  • Fix typo & add withSsl() in connecting to Entra ID enabled Redis doc by @ggivo in #3191
  • Fix SimpleBatcher apparent deadlock #2196 by @ggivo in #3148
  • jsonArrpop fails with null return value (#3196) by @tishun in #3206
  • json.arrpop forces index=-1 with root path (#3214) by @thachlp in #3217
  • Updates enableAdaptiveRefreshTrigger trigger assertion message by @ymiliaresis in #3216

๐Ÿ’ก Other

โค๏ธ New Contributors

Full Changelog: 6.5.0.RELEASE...6.6.0.RELEASE

6.6.0.BETA4

07 Apr 13:32
2500b23

Choose a tag to compare

6.6.0.BETA4 Pre-release
Pre-release

๐Ÿ“— Links

This pre-release provides support for the newly introduced HGETDEL, HGETEX and HSETEX commands.

โญ New Features

  • Hash Field Expiration (part II) (#3195) by @ggivo in #3204
  • Introduce command replay filter to avoid command replaying after reconnect #1310 by @tishun in #3118
  • Deprecate the STRALGO command and implement the LCS in its place by @Dltmd202 in #3037
  • fix: prevent blocking event loop thread by replacing ArrayDeque with HashIndexedQueue by @okg-cxf in #2953
  • Token based authentication integration with core extension by @ggivo in #3063
  • Support for DefaultAzureCredential by @ggivo in #3230
  • replace hardcoded GT and LT with CommandKeyword enum by @minwoo1999 in #3079
  • Add support up to max unsigned integer in Bitfield offset (#2964) by @psw0946 in #3099
  • Improve code by adding some null checks by @tishun in #3115
  • Introduce test matrix based on Redis server versions by @ggivo in #3145
  • Add modules ACL support by @sazzad16 in #3102
  • Test modules CONFIG support by @sazzad16 in #3103
  • report block error when use with reactor mode #3168 by @tishun in #3169
  • Include command type in the timeout message by @arturaz in #3167

๐Ÿž Bug Fixes

  • WATCH during MULTI shouldn't fail transaction #3009 by @tishun in #3027
  • Fix: make sure FIFO order between write and notify channel active by @okg-cxf in #2597
  • UnsupportedOperationException from ListSubscriber during hrandfieldWithvalues #3122 by @tishun in #3123
  • Update CommonsPool2ConfigConverterUnitTests.java by @Rian-Ismael in #3147
  • Fix typo & add withSsl() in connecting to Entra ID enabled Redis doc by @ggivo in #3191
  • Fix SimpleBatcher apparent deadlock #2196 by @ggivo in #3148
  • jsonArrpop fails with null return value (#3196) by @tishun in #3206
  • json.arrpop forces index=-1 with root path (#3214) by @thachlp in #3217
  • Updates enableAdaptiveRefreshTrigger trigger assertion message by @ymiliaresis in #3216

๐Ÿ’ก Other

โค๏ธ New Contributors

Full Changelog: 6.5.5.RELEASE...6.6.0.BETA4

6.6.0.BETA3

24 Mar 15:33
02d129c

Choose a tag to compare

6.6.0.BETA3 Pre-release
Pre-release

๐Ÿ“— Links

This pre-release provides support for the newly introduced HGETDEL, HGETEX and HSETEX commands.

โญ New Features

  • Hash Field Expiration (part II) (#3195) by @ggivo in #3204
  • Introduce command replay filter to avoid command replaying after reconnect #1310 by @tishun in #3118
  • Deprecate the STRALGO command and implement the LCS in its place by @Dltmd202 in #3037
  • fix: prevent blocking event loop thread by replacing ArrayDeque with HashIndexedQueue by @okg-cxf in #2953
  • Token based authentication integration with core extension by @ggivo in #3063
  • replace hardcoded GT and LT with CommandKeyword enum by @minwoo1999 in #3079
  • Add support up to max unsigned integer in Bitfield offset (#2964) by @psw0946 in #3099
  • Improve code by adding some null checks by @tishun in #3115
  • Introduce test matrix based on Redis server versions by @ggivo in #3145
  • Add modules ACL support by @sazzad16 in #3102
  • Test modules CONFIG support by @sazzad16 in #3103
  • report block error when use with reactor mode #3168 by @tishun in #3169
  • Include command type in the timeout message by @arturaz in #3167

๐Ÿž Bug Fixes

  • WATCH during MULTI shouldn't fail transaction #3009 by @tishun in #3027
  • Fix: make sure FIFO order between write and notify channel active by @okg-cxf in #2597
  • UnsupportedOperationException from ListSubscriber during hrandfieldWithvalues #3122 by @tishun in #3123
  • Update CommonsPool2ConfigConverterUnitTests.java by @Rian-Ismael in #3147
  • Fix typo & add withSsl() in connecting to Entra ID enabled Redis doc by @ggivo in #3191
  • Fix SimpleBatcher apparent deadlock #2196 by @ggivo in #3148
  • jsonArrpop fails with null return value (#3196) by @tishun in #3206
  • json.arrpop forces index=-1 with root path (#3214) by @thachlp in #3217
  • Updates enableAdaptiveRefreshTrigger trigger assertion message by @ymiliaresis in #3216

๐Ÿ’ก Other

โค๏ธ New Contributors

Full Changelog: 6.5.5.RELEASE...6.6.0.BETA3

6.5.5.RELEASE

11 Mar 12:03
cb02888

Choose a tag to compare

The Lettuce team is pleased to announce the Lettuce 6.5.5 service release!
This release ships with bugfixes and dependency upgrades.

Find the full changelog at the end of this document.

Thanks to all contributors who made Lettuce 6.5.5.RELEASE possible. Lettuce 6 supports
Redis 2.6+ up to Redis 7.x. In terms of Java runtime, Lettuce requires at least Java 8 and
works with Java 21.

๐Ÿ“— Links

๐Ÿž Bug Fixes

Full Changelog: 6.5.4.RELEASE...6.5.5.RELEASE