Skip to content

Releases: Livestream/scredis

v2.0.0-2.10

01 Aug 12:14
Compare
Choose a tag to compare

Changes

  • Completed documentation
  • Blocking commands now return a Try (to make it clear that an exception can be thrown and to avoid the overhead of try/catch blocks)
  • AnyWriter is no longer imported by default, instead, the Writer for every Scala base type is imported (prevents ambiguous writer when user defines own Writer)

v2.0.0-RC1-2.11

28 Jul 14:40
Compare
Choose a tag to compare

Changes

  • Supports all Redis commands up to v2.8.13
  • Built on top of Akka non-blocking IO
  • Super fast, see Benchmarks section below
  • Automatic reconnection
  • Automatic pipelining
  • Transactions
  • Pub/Sub
    • Subscribe selectively with partial functions
    • Tracked Subscribe and Unsubscribe commands (they return a Future as any other commands)
    • Automatically resubscribes to previously subscribed channels/patterns upon reconnection
  • Serialization and deserialization of command inputs and outputs
  • Fully configurable
    • Akka dispatchers
    • Pipelined write batch size
    • Receive timeout
    • TCP buffer size hints
    • Request encoding buffer pool
    • Concurrent requests cap (bounded memory consumption)

v2.0.0-RC1-2.10

28 Jul 14:40
Compare
Choose a tag to compare

Changes

  • Supports all Redis commands up to v2.8.13
  • Built on top of Akka non-blocking IO
  • Super fast, see Benchmarks section below
  • Automatic reconnection
  • Automatic pipelining
  • Transactions
  • Pub/Sub
    • Subscribe selectively with partial functions
    • Tracked Subscribe and Unsubscribe commands (they return a Future as any other commands)
    • Automatically resubscribes to previously subscribed channels/patterns upon reconnection
  • Serialization and deserialization of command inputs and outputs
  • Fully configurable
    • Akka dispatchers
    • Pipelined write batch size
    • Receive timeout
    • TCP buffer size hints
    • Request encoding buffer pool
    • Concurrent requests cap (bounded memory consumption)

v1.1.2-2.11

23 Jun 19:29
Compare
Choose a tag to compare

Changes

  • Compiled scredis for Scala 2.11
  • No changes

v1.1.2-2.9.x

05 May 18:09
Compare
Choose a tag to compare

Changes

  • Redis.ec now points to a separate, lazily initialized callback executor
    • The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g. import redis.ec
    • The main executor is now called internal and cannot be used externally (improve performance and most importantly prevents deadlocks)
  • Executors now default to a cached thread pool with a configurable maximum number of concurrent tasks. If the maximum number of tasks is reached then the executor will block (prevents using too much memory under high load). Both executors can be configured in reference.conf

v1.1.2-2.10

05 May 18:09
Compare
Choose a tag to compare

Changes

  • Redis.ec now points to a separate, lazily initialized callback executor
    • The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g. import redis.ec
    • The main executor is now called internal and cannot be used externally (improve performance and most importantly prevents deadlocks)
  • Executors now default to a cached thread pool with a configurable maximum number of concurrent tasks. If the maximum number of tasks is reached then the executor will block (prevents using too much memory under high load). Both executors can be configured in reference.conf

v1.1.1-2.9.x

02 Apr 16:06
Compare
Choose a tag to compare

Changes

  • #9 Added daemon-threads parameter (true by default)
  • Set default value of pool.max-idle to -1

v1.1.1-2.10

02 Apr 16:06
Compare
Choose a tag to compare

Changes

  • #9 Added daemon-threads parameter (true by default)
  • Set default value of pool.max-idle to -1

v1.1.0-2.9.x

02 Jan 17:37
Compare
Choose a tag to compare

Changes

All changes are included in this milestone.

  • #6 sMembers asynchronous command now correctly returns Future[Set[A]] instead of Future[Set[String]]
  • #7 Implemented changes related to Redis v2.8.x
    • New commands
      • SCAN
      • HSCAN
      • SSCAN
      • ZSCAN
    • Modified commands
      • ttl now returns Either[Boolean, Int]
      • pTtl now returns Either[Boolean, Long]
      • ttlDuration now returns Either[Boolean, FiniteDuration]

v1.1.0-2.10

02 Jan 17:39
Compare
Choose a tag to compare

Changes

All changes are included in this milestone.

  • #6 sMembers asynchronous command now correctly returns Future[Set[A]] instead of Future[Set[String]]
  • #7 Implemented changes related to Redis v2.8.x
    • New commands
      • SCAN
      • HSCAN
      • SSCAN
      • ZSCAN
    • Modified commands
      • ttl now returns Either[Boolean, Int]
      • pTtl now returns Either[Boolean, Long]
      • ttlDuration now returns Either[Boolean, FiniteDuration]