From c58eb4271ac8afe3ac84df47fc8d2d7de9f9509a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Mon, 18 Mar 2024 10:46:54 +0100 Subject: [PATCH 1/2] CI updates - Fix Github CI warnings regarding use of Nodejs 16. - Add Redis 7.2 to compatibility testing. - Use latest patch versions of Redis in compatibility testing. --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/coverity.yml | 2 +- .github/workflows/redis_compability.yml | 9 +++++---- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6341849..259dd1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: name: Run static checkers runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format style check (.c and .h) uses: jidicula/clang-format-action@v4.6.2 @@ -53,10 +53,10 @@ jobs: cmake -S hiredis-${VERSION} -B hiredis-build -DENABLE_SSL=ON sudo make -C hiredis-build install - name: Setup cmake - uses: jwlawson/actions-setup-cmake@v1 + uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: ${{ matrix.cmake-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create build folder run: cmake -E make_directory build - name: Generate makefiles @@ -102,7 +102,7 @@ jobs: - name: Prepare run: | brew install cmake ninja openssl - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: | mkdir build && cd build @@ -113,7 +113,7 @@ jobs: name: Windows runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 - name: Prepare run: | @@ -129,7 +129,7 @@ jobs: name: Windows (MinGW64) runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up MinGW uses: msys2/setup-msys2@v2 with: diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index aaf219d..9f52b4d 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 diff --git a/.github/workflows/redis_compability.yml b/.github/workflows/redis_compability.yml index 6d579d6..88fbf6f 100644 --- a/.github/workflows/redis_compability.yml +++ b/.github/workflows/redis_compability.yml @@ -10,9 +10,10 @@ jobs: fail-fast: false matrix: include: - - redis-version: 7.0.0 - - redis-version: 6.2.7 - - redis-version: 6.0.16 + - redis-version: 7.2.4 + - redis-version: 7.0.15 + - redis-version: 6.2.14 + - redis-version: 6.0.20 - redis-version: 5.0.14 steps: - name: Prepare @@ -21,7 +22,7 @@ jobs: packages: libevent-dev version: 1.0 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create build folder run: cmake -E make_directory build From b457e9a66397a141495b6658c83c43b4ca1cb21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Fri, 15 Mar 2024 16:50:01 +0100 Subject: [PATCH 2/2] Release 0.13.0 --- CHANGELOG.md | 7 +++++++ hircluster.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e6b70b..aa100cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### 0.13.0 - Mar 18, 2024 + +* 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) + ### 0.12.0 - Feb 9, 2024 * Update slotmap when slot is not served by any node (#192) diff --git a/hircluster.h b/hircluster.h index b79dd3f..cfcc500 100644 --- a/hircluster.h +++ b/hircluster.h @@ -40,9 +40,9 @@ #define UNUSED(x) (void)(x) #define HIREDIS_CLUSTER_MAJOR 0 -#define HIREDIS_CLUSTER_MINOR 12 +#define HIREDIS_CLUSTER_MINOR 13 #define HIREDIS_CLUSTER_PATCH 0 -#define HIREDIS_CLUSTER_SONAME 0.12 +#define HIREDIS_CLUSTER_SONAME 0.13 #define REDIS_CLUSTER_SLOTS 16384