Skip to content

Commit 5f07b73

Browse files
committed
Upgrades to Boost 1.81.
1 parent 6d3a112 commit 5f07b73

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
boost_version: ["1.80.0"]
15+
boost_version: ["1.81.0"]
1616
os: [windows-2019, windows-2022]
1717
toolset: [v142, v143]
1818
build_type: [Release]
@@ -25,7 +25,7 @@ jobs:
2525
- { os: windows-2019, generator: "Visual Studio 17 2022" }
2626
- { os: windows-2022, generator: "Visual Studio 16 2019" }
2727
# The following combinations are not available through install-boost
28-
- { boost_version: "1.80.0", toolset: v143 }
28+
- { boost_version: "1.81.0", toolset: v143 }
2929

3030
steps:
3131
- name: Checkout
@@ -34,7 +34,7 @@ jobs:
3434
fetch-depth: 0
3535

3636
- name: Add boost toolset to environment
37-
if: contains(fromJson('["1.80.0"]'), matrix.boost_version)
37+
if: contains(fromJson('["1.81.0"]'), matrix.boost_version)
3838
run: echo BOOST_TOOLSET=$(echo "msvc") >> $GITHUB_ENV
3939

4040
# The platform_version passed to boost-install determines the msvc toolset version for which static libs are installed.
@@ -120,7 +120,7 @@ jobs:
120120
uses: MarkusJx/[email protected]
121121
id: install-boost
122122
with:
123-
boost_version: 1.80.0
123+
boost_version: 1.81.0
124124
platform_version: 22.04
125125
- name: Run CMake
126126
run: |

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: MarkusJx/[email protected]
3131
id: install-boost
3232
with:
33-
boost_version: 1.80.0
33+
boost_version: 1.81.0
3434
platform_version: 22.04
3535
- name: Run CMake
3636
run: |

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concerned with only three library entities
2020
In the next sections we will cover all those points in detail with
2121
examples. The requirements for using Boost.Redis are
2222

23-
* Boost 1.80 or greater.
23+
* Boost 1.81 or greater.
2424
* C++17 minimum.
2525
* Redis 6 or higher (must support RESP3).
2626
* Gcc (10, 11, 12), Clang (11, 13, 14) and Visual Studio (16 2019, 17 2022).
@@ -845,7 +845,7 @@ examples and tests cmake is supported, for example
845845

846846
```cpp
847847
# Linux
848-
$ BOOST_ROOT=/opt/boost_1_80_0 cmake --preset dev
848+
$ BOOST_ROOT=/opt/boost_1_81_0 cmake --preset dev
849849

850850
# Windows
851851
$ cmake -G "Visual Studio 17 2022" -A x64 -B bin64 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
@@ -866,22 +866,16 @@ Acknowledgement to people that helped shape Boost.Redis
866866
### master (incorporates many suggestions from the boost review)
867867

868868
* Renames the project to Boost.Redis and moves the code into namespace `boost::redis`.
869-
* As pointed out in the reviews `to_buld` and `from_buld` were too generic for ADL customization. They gained the prefix `boost_redis_`.
869+
* As pointed out in the reviews the `to_buld` and `from_buld` names were too generic for ADL customization points. They gained the prefix `boost_redis_`.
870870
* Moves `boost::redis::resp3::request` to `boost::redis::request`.
871871
* Adds new typedef `boost::redis::response` that should be used instead of `std::tuple`.
872872
* Adds new typedef `boost::redis::generic_response` that should be used instead of `std::vector<resp3::node<std::string>>`.
873873
* Renames `redis::ignore` to `redis::ignore_t`.
874874
* Changes the signature from `async_exec` to receive a `redis::response` instead of an adapter.
875-
* Adds `boost::redis::adapter::result` to store responses to commands
876-
including possible resp3 errors without losing the error diagnostic
877-
part. Basicaly instead of accessing values as `std::get<N>(resp)`
878-
users have to type `std::get<N>(resp).value()`
879-
* Implements full-duplex communication. Before these changes the
880-
connection would wait for a response to arrive before sending the
881-
next. Now requests are continuously coalesced and written to the
882-
socket. This made the request::coalesce unnecessary and threfore it
883-
was removed.
884-
* Native json support for Boost.Describe'd classes.
875+
* Adds `boost::redis::adapter::result` to store responses to commands including possible resp3 errors without losing the error diagnostic part. Basicaly instead of accessing values as `std::get<N>(resp)` users have to type `std::get<N>(resp).value()`
876+
* Implements full-duplex communication. Before these changes the connection would wait for a response to arrive before sending the next one. Now requests are continuously coalesced and written to the socket. This made the request::coalesce unnecessary and threfore it was removed.
877+
* Adds native json support for Boost.Describe'd classes, see cpp20_json_serialization.cpp for how to use it.
878+
* Upgrades to Boost 1.81.0.
885879

886880
### v1.4.0-1
887881

0 commit comments

Comments
 (0)