Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

kinyoklion
Copy link
Member

@kinyoklion kinyoklion commented Oct 13, 2025

CMake removed support for projects targeting CMake 3.5, hiredis 1.3 moved to CMake 3.7. Both are less than our required version.

This also updates redis-plus-plus which is a C++ wrapper around hiredis.


Note

Upgrades Redis dependencies (hiredis 1.3, newer redis-plus-plus), switches to new redis++ include path, updates CI to Boost 1.87 using Boost_DIR, and suppresses AppleClang deprecated-builtin warnings.

  • Build/CMake:
    • Update cmake/redis-plus-plus.cmake to hiredis 1.3.0 and a newer redis-plus-plus commit; adjust SOURCE_DIR for hiredis.
    • Add compile options to suppress -Wno-deprecated-builtins for Clang/AppleClang in CMakeLists.txt.
  • Redis Integration:
    • Replace #include <redis++.h> with #include <sw/redis++/redis++.h> across Redis source/tests.
  • CI/CD:
    • Windows workflows move from Boost 1.81 to 1.87 and pass Boost_DIR; add Boost_DIR env to composite CI and Windows release step.
  • Docs:
    • cmake-tests/README.md now documents Boost_DIR instead of BOOST_ROOT.
  • Vendor:
    • Bump vendor/foxy/cmake/certify.cmake to a newer commit.

Written by Cursor Bugbot for commit 1b2488c. This will update automatically on new commits. Configure here.

@kinyoklion kinyoklion marked this pull request as ready for review October 13, 2025 18:03
@kinyoklion kinyoklion requested a review from a team as a code owner October 13, 2025 18:03
cursor[bot]

This comment was marked as outdated.

env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
Boost_DIR: 'C:\local\boost_1_87_0\lib64-msvc-14.3\cmake\Boost-1.87.0'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Boost_DIR Missing in Linux/MacOS Build

The "Simulate Release (Linux/MacOS)" step is missing the Boost_DIR environment variable. This variable was added to other build steps, creating an inconsistency that may cause build failures for the Linux/MacOS release simulation.

Fix in Cursor Fix in Web

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On those platforms it is automatically discovered.

GIT_TAG ccad7ebaf99310957004661d1c5f82d2a33ebd10
GIT_SHALLOW TRUE
SOURCE_DIR _deps/hiredis
SOURCE_DIR ${CMAKE_BINARY_DIR}/_deps/hiredis
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: CMake Path Mismatch Causes Compilation Failures

The hiredis SOURCE_DIR was updated to use CMAKE_BINARY_DIR, but the include_directories path still references CMAKE_CURRENT_BINARY_DIR. This creates a path mismatch for hiredis headers when this CMake file is included from a subdirectory, potentially leading to compilation failures.

Fix in Cursor Fix in Web

@kinyoklion kinyoklion merged commit 3315e6d into main Oct 13, 2025
27 checks passed
@kinyoklion kinyoklion deleted the rlamb/update-to-hiredis-1.3 branch October 13, 2025 19:07
@github-actions github-actions bot mentioned this pull request Oct 13, 2025
kinyoklion pushed a commit that referenced this pull request Oct 13, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>launchdarkly-cpp-server-redis-source: 2.2.0</summary>

##
[2.2.0](launchdarkly-cpp-server-redis-source-v2.1.20...launchdarkly-cpp-server-redis-source-v2.2.0)
(2025-10-13)


### Features

* Update to hiredis 1.3
([#485](#485))
([3315e6d](3315e6d))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Release libs/server-sdk-redis-source 2.2.0, including an update to
hiredis 1.3.
> 
> - **Release: `libs/server-sdk-redis-source` 2.2.0**
> - Version bumps in `CMakeLists.txt`, `package.json`, and
`.release-please-manifest.json`.
>   - **Feature**: Update dependency to hiredis 1.3 (`CHANGELOG.md`).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
b9434f4. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.