Releases: libcpr/cpr
Releases · libcpr/cpr
cpr v1.6.1
Minor feature and bugfix release with the following changes:
- Added MacOS darwin-ssl support #549
- Added an option to split a request preparation from its execution #533
cpr::Sessionis now movable #544- Not overriding
BUILD_TESTINGas cache variable any more #561 - Avoid recursive template instantiation in
priv::set_option()#540 - Do not move targets in to a bin if cpr is a sub project #531
cpr v1.6.0
In this release the CMake integration has been refactored to fix a bunch of SSL issues.
During this change all relevant CMake variable names changed.
Here are the new ones:
-- =======================================================
-- CPR_GENERATE_COVERAGE: OFF
-- CPR_CURL_NOSIGNAL: OFF
-- CPR_USE_SYSTEM_GTEST: OFF
-- CPR_FORCE_USE_SYSTEM_CURL: OFF
-- CPR_ENABLE_SSL: ON
-- CPR_FORCE_OPENSSL_BACKEND: OFF
-- CPR_FORCE_WINSSL_BACKEND: OFF
-- CPR_BUILD_TESTS: ON
-- CPR_BUILD_TESTS_SSL: ON
-- =======================================================Documentation for those can be found here: https://github.com/whoshuu/cpr/blob/aac5058a15e9ad5ad393973dc6fe44d7614a7f55/CMakeLists.txt#L30-L40
If neither CPR_FORCE_OPENSSL_BACKEND nore CPR_FORCE_WINSSL_BACKEND has been set to ON, CMake will try to automatically detect the best SSL backend for your system (WinSSL - Windows, OpenSSL - Linux & Mac, ...).
How to build on Windows
With WinSSL
mkdir build
cd build
cmake .. -DCPR_BUILD_TESTS_SSL=OFF # SSL test are only supported with OpenSSL
cmake --build .With OpenSSL
mkdir build
cd build
cmake .. -DCPR_FORCE_OPENSSL_BACKEND=ON # Disable auto detect and force OpenSSL
cmake --build .Changes
- Added support for GCC10 static analysis
- Added an option to retrieve the
std::shared_ptr<CurlHolder>from a session - Added
UpdateHeader(const Header& header)support #506 - Added support for retrieving certificate information #453
- Added
urlDecode(std::string)for url decoding - Add
BearerTokensupport #465 - Explicit move operator for
StringHolder cpr::Sessioncleanup and allow the compiler to generate the needed constructor- Updated
curlfrom 7.69.1 to 7.75.0 #529 - Compatibility for
libcurl<= 7.60 - Less auto and more explicit types
- Refactored the CMake variables #529
- Change listening ports used for tests
- Fixed
AbstractServerdata race - Fixed Windows OpenSSL builds #529
- Fixed Windows SSL backend detection #529
- Fixed
ReadCallbackwill reset Header #517 - Fixed the Windows OpenSSL CI build
cpr v1.5.2
cpr v1.5.1
cpr v1.5.0
Changes
- Updated
CURLtocurl-7_69_1(#343) - Updated
mongooseto6.18 - Updated
googletesttorelease-1.10.0 - Refactored the
mongoosetest server setup - Added SSL options (#276)
- Fixed URL encoding (#379)
- Fixed Windows
std::mintype deduction - GitHub Actions CI (#393)
- Refactored all the CMake stuff (#383)
- Fixed passing correct data type when setting
CURLOPT_POSTFIELDSIZE_LARGE - Switched
Body,UserAgentandUrlfromstd::stringderivation classes to string holder classes (#303) - General cleanup of the code base
cpr v1.4.0
Merge pull request #370 from whoshuu/cookie_encoding Added an option to disable cookie encoding #369