Skip to content

Commit 0a4deb6

Browse files
bjosvzuiderkwast
andauthored
Release 0.11.0
* Release 0.11.0 * Lift hiredis to v1.2.0 in CI and tests Co-authored-by: Viktor Söderqvist <[email protected]>
1 parent 728956c commit 0a4deb6

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

.github/workflows/ci.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ jobs:
4545
with:
4646
packages: libevent-dev libuv1-dev libev-dev libglib2.0-dev ${{ matrix.compiler }}
4747
version: 1.0
48-
- name: Install hiredis (pre-v1.1.1)
48+
- name: Install hiredis
4949
env:
50-
SHA: d13c091e9f09fe4ad1858cd54ed3a842ac00b8e6
50+
VERSION: 1.2.0
5151
run: |
52-
# When v1.1.1 is released update to:
53-
# curl -L https://github.com/redis/hiredis/archive/refs/tags/v1.1.1.tar.gz | tar -xz
54-
curl -L https://github.com/redis/hiredis/archive/${SHA}.tar.gz | tar -xz
55-
cmake -S hiredis-${SHA} -B hiredis-build -DENABLE_SSL=ON
52+
curl -L https://github.com/redis/hiredis/archive/v${VERSION}.tar.gz | tar -xz
53+
cmake -S hiredis-${VERSION} -B hiredis-build -DENABLE_SSL=ON
5654
sudo make -C hiredis-build install
5755
- name: Setup cmake
5856
uses: jwlawson/actions-setup-cmake@v1

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### 0.11.0 - Sep 15, 2023
2+
3+
* Add event callback for events like 'slotmap updated'.
4+
* Add connect callback for the sync API.
5+
* Add connect function in the async API for fully asynchronous startup.
6+
* Update the slotmap asynchronously in the async API.
7+
* Follow MOVED redirect and update slot mapping concurrently.
8+
* Update slotmap on error.
9+
When connect failed, update slotmap instead of sending command to random node.
10+
When command fails (timeout, etc.) schedule slotmap update for next command.
11+
* Update slotmap when redisClusterCommandToNode() fails.
12+
* Correct parsing of an IPv6 address in an ASK redirect.
13+
* Correct handling of XREAD and XREADGROUP.
14+
* Rename of some types and functions.
15+
(Old names are still defined by default for backward compability.)
16+
* Update hiredis to v1.2.0 when the CMake build handles the download.
17+
* Build improvements.
18+
119
### 0.10.0 - Feb 02, 2023
220

321
* More commands are supported.

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if(DOWNLOAD_HIREDIS)
8282
"Upgrade CMake or manually install 'hiredis' and use -DDOWNLOAD_HIREDIS=OFF")
8383
endif()
8484

85-
set(HIREDIS_VERSION "1.1.0")
85+
set(HIREDIS_VERSION "1.2.0")
8686
message("Downloading dependency: hiredis v${HIREDIS_VERSION}")
8787

8888
include(FetchContent)

hircluster.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
#define UNUSED(x) (void)(x)
4141

4242
#define HIREDIS_CLUSTER_MAJOR 0
43-
#define HIREDIS_CLUSTER_MINOR 10
43+
#define HIREDIS_CLUSTER_MINOR 11
4444
#define HIREDIS_CLUSTER_PATCH 0
45-
#define HIREDIS_CLUSTER_SONAME 0.10
45+
#define HIREDIS_CLUSTER_SONAME 0.11
4646

4747
#define REDIS_CLUSTER_SLOTS 16384
4848

0 commit comments

Comments
 (0)