The Lettuce team is pleased to announce the second beta release of Lettuce 8.0!
This release adds support for Redis TimeSeries and for the new commands in Redis 8.12: set member expiration, atomic sorted-set moves (ZMOVE, BZMOVE, ZMOVEMEMBER), the BLESS command family, BITRANGEINTARRAY and the count-min sketch CELL_SIZE option. CipherCodec can now store the initialization vector with each value (opt-in).
Breaking change since 8.0.0.BETA1: stream commands called on an AsyncNodeSelection (for example xadd, xread, xrange) now return AsyncExecutions<T> instead of Executions<T>. See What's new in Lettuce 8.0 for all breaking changes in 8.0, including the Project Reactor changes from 8.0.0.BETA1.
Lettuce 8.0.0.BETA2 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.12, Redis 8.10, Redis 8.8, Redis 8.6, Redis 8.4, Redis 8.2, Redis 7.4 and Redis 7.2.
We encourage you to try out this beta and to provide feedback ahead of the general availability release.
Thanks to all contributors who made Lettuce 8.0.0.BETA2 possible.
📗 Links
Reference documentation: https://redis.github.io/lettuce/
🔥 Breaking Changes
- [Commands API interface consistency #3] Fix node-selection aggregate interface wiring by @uglide in #3867
🚀 New Features
- Add Redis TimeSeries support by @a-TODO-rov in #3978
- [8.12] Support set member expiration (Redis 8.12) by @atakavci in #3991
- [Redis 8.12] Add ZMOVE, BZMOVE and ZMOVEMEMBER sorted-set commands by @a-TODO-rov in #4018
- [8.12] Support for BLESS command family (Redis 8.12) by @atakavci in #3936
- [8.12] Add support for the BITRANGEINTARRAY command by @a-TODO-rov in #3992
- Support CMS
CELL_SIZE,cell_sizeinfo field and negativeCMS.INCRBY(Redis 8.12) by @atakavci in #3918 - Store initialization vectors alongside CipherCodec values by @urinaner in #4021
🐞 Bug Fixes
- Fix DefaultEndpoint client resources argument validation by @DDINGJOO in #3952
- Fix CipherCodec value encoding on the ByteBuf path by @liotur in #3958
- fix(output): forward RESP3 callbacks in wrapper CommandOutputs (#3937) by @Lyin-OTTF in #3959
- fix(output): forward ByteBuffer error to queued command output (#3960) by @ronitgupta138 in #3963
- Preserve server key order in MapComplexData (#3965) by @princejain756 in #3966
- Skip failed read candidates in MasterReplicaConnectionProvider #3502 by @gibkim in #3975
- Preserve clientOptions in DatabaseConfig.mutate() #3980 by @kotlakiran in #3981
- Register missing read-only key commands in ReadOnlyCommands #3998 by @RaphaelFakhri in #3999
- Use SORT for streaming sort with arguments #4003 by @ultramancode in #4004
- Preserve exclusive range boundaries in XPendingArgs #4005 by @ultramancode in #4006
- Preserve exclusive boundaries for infinite scores #4009 by @ultramancode in #4010
- Fail MultiDb connect when building the initial connection throws #4019 by @shinseongsu in #4020
- Fix json command argument handling by @Dgramada in #3938
⚙️ Maintenance
- Fix typos in Javadoc and comments by @DDINGJOO in #3954
- Fix incorrect argument names in assertion messages by @DDINGJOO in #3955
- Remove references to lettuce.io by @a-TODO-rov in #3957
- Test against Redis 8.12-rc1 and tolerate ZSCAN duplicates by @a-TODO-rov in #3986
- Document ProtocolKeyword.toString() as the latency metrics key #3941 by @shariorfarhan07 in #3961
- Bump Redis OSS 8.12 to RC2 by @a-TODO-rov in #3988
- Fix flaky tests that query before the index catches up by @atakavci in #4000
- Make draft-pr-description resolve the current branch at run time by @atakavci in #4001
- Fix flaky integration tests seen on main and PR CI by @a-TODO-rov in #4007
- Fix ConnectionInterruptionReactiveTest being silently skipped in scenario CI by @uglide in #4015
- Bump 8.12 to RC3 by @a-TODO-rov in #4017
- Fix and disable more flaky failover tests by @a-TODO-rov in #4022
- Fix three more flaky integration tests by @a-TODO-rov in #4028
- Update 8.12 to official version and make default by @a-TODO-rov in #4029
❤️ New Contributors - Welcome to the Lettuce family!
- @DDINGJOO made their first contribution in #3952
- @liotur made their first contribution in #3958
- @Lyin-OTTF made their first contribution in #3959
- @ronitgupta138 made their first contribution in #3963
- @princejain756 made their first contribution in #3966
- @gibkim made their first contribution in #3975
- @kotlakiran made their first contribution in #3981
- @shariorfarhan07 made their first contribution in #3961
- @RaphaelFakhri made their first contribution in #3999
- @ultramancode made their first contribution in #4004
- @shinseongsu made their first contribution in #4020
- @urinaner made their first contribution in #4021
Full Changelog: 8.0.0.BETA1...8.0.0.BETA2