github redis/lettuce v7.0.0.BETA1
7.0.0.BETA1

pre-release20 hours ago

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

Don't miss a new lettuce release

NewReleases is sending notifications on new releases.