diff --git a/README.md b/README.md index 1c695162..ac25a9fa 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,16 @@ Boost::ASIO low-level redis client (connector), - works on linux (clang, gcc) and windows (msvc) - synchronous & asynchronous interface - inspired by [beast](https://github.com/vinniefalco/Beast) -- requirements: boost `v1.70` minimum +- requirements: boost `v1.77` minimum ## Changelog +### 0.12 +- [feature, breakging] modernize API to use completion token instead of +using completion handler, which makes it possible to use `bredis` with +coroutines. Thanks to [Usevalad Sauta](https://github.com/VsevolodSauta). +Successfully tested with boost `v1.77`, lower versions might not work + ### 0.11 - [feature, possible breakage] add `BOOST_ASIO_NO_DEPRECATED` definition for better support boost `v1.74` and modernize boost API usage diff --git a/appveyor.yml b/appveyor.yml index 7fcfa8f2..02deee35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ # Operating system (build VM template) -os: Visual Studio 2017 +os: Visual Studio 2019 platform: # x64 @@ -8,18 +8,19 @@ platform: # enable rdp #init: -# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) #on_finish: # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) environment: - BOOST_ROOT: "C:\\Libraries\\boost_1_69_0" + BOOST_ROOT: "C:\\Libraries\\boost_1_77_0" # BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_64_0\\lib32-msvc-15.0" before_build: - cmake --version + - cmake --help - echo %BOOST_ROOT% - dir "C:\Libraries" - dir "%BOOST_ROOT%" @@ -31,11 +32,12 @@ before_build: # redis - set PATH=%APPVEYOR_BUILD_FOLDER%;%PATH% # boost - - set PATH=%BOOST_ROOT%\lib64-msvc-14.1;%PATH% + - set PATH=%BOOST_ROOT%\lib64-msvc-14.2;%PATH% - echo %PATH% build_script: - - cmake -G "Visual Studio 15 2017 Win64" -H. -B_builds -DBOOST_ROOT="%BOOST_ROOT%" +# - pause + - cmake -H. -B_builds -DBOOST_ROOT="%BOOST_ROOT%" # -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" - cmake --build _builds