Skip to content

Releases: Nordix/hiredis-cluster

Release 0.13.0

18 Mar 12:17
Compare
Choose a tag to compare
  • Add non-const connect callback (#205)
  • Invoke all callbacks during redisClusterAsyncDisconnect() (#204)
  • Better support for JSON files describing commands metadata (#202)
  • Fix a compilation warning in command.c relating to kpos shadowing (#201)

Release 0.12.0

09 Feb 10:22
Compare
Choose a tag to compare
  • Update slotmap when slot is not served by any node (#192)
  • Prevent slotmap updates during redisClusterAsyncFree() (#195)
  • Fix builds when using CMake < v3.15 (#196)
  • Support adding custom commands at compile time (#200)
  • Fix the check for ":0@0" in CLUSTER NODES result (#199)

Release 0.11.0

15 Sep 15:09
0a4deb6
Compare
Choose a tag to compare
  • Add event callback for events like slotmap updated.
  • Add connect callback for the sync API.
  • Add connect function in the async API for fully asynchronous startup.
  • Update the slotmap asynchronously in the async API.
  • Follow MOVED redirect and update slot mapping concurrently.
  • Update slotmap on error.
    When connect failed, update slotmap instead of sending command to random node.
    When command fails (timeout, etc.) schedule slotmap update for next command.
  • Update slotmap when redisClusterCommandToNode() fails.
  • Correct parsing of an IPv6 address in an ASK redirect.
  • Correct handling of XREAD and XREADGROUP.
  • Rename of some types and functions.
    (Old names are still defined by default for backward compability.)
  • Update hiredis to v1.2.0 when the CMake build handles the download.
  • Build improvements.

Release 0.10.0

06 Feb 15:47
Compare
Choose a tag to compare
  • Additional commands are supported due to a new logic for finding the key of each command.
  • Build improvements.

Release 0.9.0

22 Dec 12:01
Compare
Choose a tag to compare
  • Fixed a crash in the asynchronous API triggered by timed out commands.
  • Fixed a crash when using "CLUSTER NODES" on a non-ready cluster.
  • Fixed a crash when sending commands from a failure-reply callback.
  • Corrected and enabled connection timeout in the asynchronous API.
  • Corrected the handling of multiple ASK-redirect reply callbacks.
  • Updated hiredis to v1.1.0 when the CMake build handles the download.
  • Removed the unused cluster_slots array in the cluster context.
  • Updates to resolve build issues on Windows platforms.

Release 0.8.1

31 Aug 12:38
Compare
Choose a tag to compare
  • Fixed crash and use-after-free in the asynchronous API.
  • Use identical warning flags in CMake and Makefile.
  • Corrected CROSSSLOT errors to not to be retried.

Release 0.8.0

15 Jun 15:36
f3091fe
Compare
Choose a tag to compare
  • Basic Redis 7.0 support.
  • SSL/TLS handling in separate library.
  • Command timeout corrections.
  • Builds on Windows and macOS.

Release 0.7.0

22 Sep 13:57
2ae8f46
Compare
Choose a tag to compare
  • Added support for stream commands in regular API.
  • Added support for authentication using AUTH with username.
  • Added adapters for event libraries libuv, libev and GLib.
  • Improved memory efficiency.
  • Renamed API function redisClusterSetOptionMaxRedirect() to redisClusterSetOptionMaxRetry().

Release 0.6.0

09 Feb 22:04
Compare
Choose a tag to compare
  • Minimum required version of CMake changed to 3.11 (from 3.14)
  • Re-added the Makefile for symmetry with hiredis, which also enables support for statically-linked libraries.
  • Improved examples
  • Corrected crashes and leaks in OOM scenarios
  • New API for sending commands to specific node
  • New API for node iteration, can be used for sending commands to some or all nodes.

Release 0.5.0

07 Dec 20:34
Compare
Choose a tag to compare
  • Uses hiredis (v1.0.0 or later) as an external dependency rather than a builtin part.
  • Support for SSL/TLS introduced in Redis 6
  • Support for IPv6
  • Support authentication using AUTH
  • Handle variable number of keys in command EXISTS
  • Improved CMake build
  • Code style guide (using clang-format)
  • Improved testing
  • Memory leak corrections and allocation failure handling