Skip to content

Releases: redis/lettuce

3.0.Final

12 Sep 08:09
Compare
Choose a tag to compare

I'm pleased to announce the lettuce 3.0.Final release. Lettuce is a scalable
thread-safe Redis client providing both synchronous and asynchronous
connections. Multiple threads may share one connection provided they avoid
blocking and transactional operations such as BLPOP, and MULTI/EXEC. Multiple
connections are efficiently managed by the excellent netty NIO framework.
Support for advanced Redis features such as Sentinel, Cluster and Redis data
models are included.

These are the changes since 2.3.3

Enhancements

  • Redis Cluster support (Redis 3.0)
  • Redis Sentinel support (Redis 2.x)
  • Upgrade to netty 4.0.19 (from netty 3.x)
  • CDI and Spring support (Bean Factory for the Redis Client)
  • Database and Authentication on initial connect
  • Streaming API: Instead of receiving huge lists and maps you can now provide your own StreamingChannel which is notified on every incoming key/value
  • Connection-Pooling and transparent Connection-Pooling
  • Listenable Futures (using Guava) for true async operations
  • Extended documentation
  • Standalone and shaded Jar
  • Relaxed data models for external use, moved ClusterPartitionParser and models to own package
  • Added shutdown with timeout, used minimal timeout for shutdown
  • Minor API improvements (connect with URI), tons of docs and argument checks
  • Use AssertJ for assertions #13
  • Additional cluster tests (new suite) #5
  • Updated documentation
  • Add tests for untested code #4
  • Integration on Travis CI
  • Included redis test setup
  • Switched coverage provider to Jacoco
  • Switched from gihub site plugin to maven-scm-publish plugin
  • Changed redis ports from 63xx to 64xx for testing

Fixes

  • Bugfixes in reconnection and stability
  • Prevent refCnt exceptions in case of parallel close & read
  • Fixed PubSub API
  • Fixed command leaking when client is not yet online/disconnected and commands are issued while the client is in the re-connect phase
  • Changed channel handling to aviod NPE
  • Fixed clientKill because of changed clientList output
  • Adjusted resource cleanup to prevent memory leaks
  • Fixed NPE on sync cluster connections
  • Fixed CDI/Spring support and added tests for CDI/Spring
  • Fixed Connections.close, Exception was thrown even if right connection object was supplied
  • Support for qualified clients in case there are unqualified instances
  • Code cleanup, fixing sonar violations
  • Minor fixes like typos, Maven site on http://redis.paluch.biz
  • Improved test stability for a stable and reproducible build

Commands

  • SENTINEL MASTERS command
  • DEBUG SEGFAULT command
  • PUBSUB command
  • Sorted Set commands ZLEXCOUNT, ZRANGEBYLEX, ZREMRANGEBYLEX
  • Add support and parser for ROLE command #6
  • CLUSTER SLOTS command #7
  • COMMAND command #8
  • COMMAND COUNT #9
  • COMMAND INFO #11
  • Extended CLIENT KILL #12
  • Support for the latest redis commands (HyperLogLog, SCAN, TIME and many more)

lettuce 3.0.Final requires a minimum of Java 6 to build and run. It is tested against Redis 2.8 and Redis 3.0.

For complete information on lettuce see the websites:

3.0.Beta3

15 Aug 14:46
Compare
Choose a tag to compare
3.0.Beta3 Pre-release
Pre-release

This release contains:

Fixes

  • Fixed Connections.close, Exception was thrown even if right connection object was supplied (036d1ea)
  • Support for qualified clients in case there are unqualified instances (5b49c84)
  • Fixed NPE on sync cluster connections (bbba783)
  • Changed channel handling to aviod NPE (707b231)
  • Fixed CDI/Spring support and added tests for CDI/Spring (b5832f9)

Enhancements

  • Add support and parser for ROLE command #6
  • Add support for CLUSTER SLOTS command #7
  • Add support for COMMAND command #8
  • Add support for COMMAND COUNT #9
  • Add support for COMMAND INFO #11
  • Add support for extended CLIENT KILL #12
  • Relaxed data models for external use, moved ClusterPartitionParser and models to own package (534ed59)
  • Added shutdown with timeout, used minimal timeout for shutdown (1ac42af)
  • Minor API improvements (connect with URI), tons of docs and argument checks (063e20a)
  • Use AssertJ for assertions #13
  • Additional cluster tests (new suite) #5
  • Updated documentation
  • Add tests for untested code #4
  • Switched coverage provider to jacoco (ab0821d, bc14a79)
  • Switched from gihub site plugin to maven-scm-publish plugin (54d0c36)

3.0.Beta2

15 Jul 18:35
Compare
Choose a tag to compare
3.0.Beta2 Pre-release
Pre-release

This release contains:

  • Documentation (Javadoc and Wiki, 02e384c, 15daf1d, 1a12055, 7613f72, d120ccc, 9682666, 854c9ff, 34823a6)
  • Improved test stability (25577c3, 8491dd8, b8f8957, 25577c3) for a stable and reproducible build
  • Changed redis ports from 63xx to 64xx for testing (9a1aa59)
  • Fixed clientKill because of changed clientList output (b07a2f0)
  • Adjusted resource cleanup to prevent memory leaks (807f391)
  • Prevent refCnt exceptions in case of parallel close & read (590a133)
  • Fixed PubSub API (f05e960)
  • Fixed command leaking when client is not yet online/disconnected and commands are issued while the client is in the re-connect phase (ddce2ff, 6a6f10e)
  • Code cleanup, fixing sonar violations
  • Support for SENTINEL MASTERS command (b6f2fb5)
  • Support for DEBUG SEGFAULT command (a47686c)
  • Support for PUBSUB command (e77020e)
  • Support for sorted set commands ZLEXCOUNT, ZRANGEBYLEX, ZREMRANGEBYLEX (c6722f5)
  • Minor fixes like typos, maven site on http://redis.paluch.biz

3.0.Beta1

08 Jun 09:00
Compare
Choose a tag to compare
3.0.Beta1 Pre-release
Pre-release
  • Redis Cluster support (Redis 3.0)
  • Redis Sentinel support (Redis 2.x)
  • Upgrade to netty 4.0.19 (from netty 3.x)
  • Support for the latest redis commands (HyperLogLog, SCAN, TIME and many more)
  • CDI and Spring Support (Bean Factory for the Redis Client)
  • Database and Authentication on initial connect
  • Streaming API: Instead of receiving huge lists and maps you can now provide your own StreamingChannel which is notified on every incoming key/value
  • Connection-Pooling and transparent Connection-Pooling
  • Listenable Futures (using Guava) for true async operations
  • Bugfixes in reconnection and stability
  • Integration on Travis CI
  • Included redis test setup (inspired by Jedis)
  • Extended documentation
  • Standalone and shaded Jar