Skip to content

Releases: libcpr/cpr

1.12.0

14 Jun 13:57
da40186
Compare
Choose a tag to compare

The main reason for an earlier 1.12.0 release of cpr is supporting curl >= 8.13.

What's Changed

  • Updated supported versions for 1.11.0 by @COM8 in #1123
  • Add FreeBSD package/port mention into README by @part1zano in #1124
  • Fixed grammatical issues and corrected spelling errors in README.md by @laxerhd in #1132
  • Refactored timeout.h: added template ctr and removed redundant ctrs (#1129) by @laxerhd in #1131
  • fix no-revoke. by @Nuxar1 in #1134
  • Resolve CURLOPT_SSL_OPTIONS issues by @gentooise in #1128
  • fix: remove duplicate call in Session::prepareCommonDownload() by @L-Super in #1139
  • Update To The Latest Clang-Tidy Version by @COM8 in #1144
  • Enhance: Use unordered_map for CURL error mapping by @laxerhd in #1142
  • Public cpr::Session::GetSharedPtrFromThis by @COM8 in #1148
  • Replace ubuntu:22.04 and ubuntu:23.04 with ubuntu:latest by @COM8 in #1154
  • [BUG] Fix cpr::ssl:KeyBlob: Copy blob to curl by @b3rgschu3tz in #1151
  • Added handling no_proxy override through Proxies by @gregory-shklover in #1125
  • fix: let bad-host-tests pass when there is DNS error redirection by @Jerry-Terrasse in #1166
  • Removed 1.9.x from the supported versions by @COM8 in #1161
  • Replaced the secureStringClear mechanism with a SecureString class by @mikael-s-persson in #1170
  • Clang-Tidy And cppcheck Fixes by @COM8 in #1175
  • Getter function for Session::header_ to enable the user to read back all headers set and delete select ones by @simue in #1173
  • Status code int32_t -> long by @liyishuai in #1178
  • Fix windows static library build parameter in CMakeLists.txt by @MiyamuraMiyako in #1182
  • Fix Seg-fault when setting proxy username + password by @simue in #1181
  • Add Session::RemoveContent() by @simue in #1179
  • Cookie expires date is now only 100 days in the future by @COM8 in #1185
  • add curl's ANY and ANSAFE authorization options by @hyOzd in #1187
  • Fixed memory leak in threadpool by @zManu3k in #1188
  • Add enforced HTTP/3 by @h3xOo in #1177
  • Update README.md to add Bazel extension instructions by @psomers3 in #1196
  • feat: Use CMAKE_MSVC_RUNTIME_LIBRARY for runtime selection in MSVC(#1… by @BestArthur in #1199
  • Update CMakeLists.txt project version for 1.11.2 release by @jaystevens in #1200
  • Add std::to_string functionality for ErrorCode to ease human meaningful logging by @psomers3 in #1197
  • Make cpr::async and HTTP (Get, Post, Put, etc.) callbacks cancelable by @Anohkka in #1205
  • Refactor AsyncWrapper to make it safer by @Anohkka in #1206
  • Do Not Check For Sanitizers If They Are Not Enabled by @COM8 in #1204
  • Fix usage for TLS v1.3 cipher by @roemil in #1211
  • Changed LowSpeed to use std::chrono by @pntzio in #1215
  • Better OpenSSL headers include based on headers version. by @T-Maxxx in #1213
  • Ensure cpr::LowSpeed properties are cased to long for curl by @COM8 in #1218
  • Implemented cpr::BodyView. by @T-Maxxx in #1214
  • Add primary_ip primary_port to Response by @gitpaladin in #1223
  • Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in #1226
  • Load all certs in a CaBuffer by @afjoseph in #1224
  • WIP CURL 8.13 Support by @COM8 in #1217
  • 1.12.0 Release Update by @COM8 in #1228

New Contributors

Full Changelog: 1.11.0...1.12.0

1.11.3

14 Jun 13:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.11.2...1.11.3

1.11.2

23 Feb 11:05
Compare
Choose a tag to compare

What's Changed

  • Replace ubuntu:22.04 and ubuntu:23.04 with ubuntu:latest by @COM8 in #1154
  • [BUG] Fix cpr::ssl:KeyBlob: Copy blob to curl by @b3rgschu3tz in #1151
  • fix: let bad-host-tests pass when there is DNS error redirection by @Jerry-Terrasse in #1166
  • Removed 1.9.x from the supported versions by @COM8 in #1161
  • Clang-Tidy And cppcheck Fixes by @COM8 in #1175
  • Getter function for Session::header_ to enable the user to read back all headers set and delete select ones by @simue in #1173
  • Fix windows static library build parameter in CMakeLists.txt by @MiyamuraMiyako in #1182
  • Fix Seg-fault when setting proxy username + password by @simue in #1181
  • Add Session::RemoveContent() by @simue in #1179
  • Cookie expires date is now only 100 days in the future by @COM8 in #1185

New Contributors

Full Changelog: 1.11.1...1.11.2

1.9.9 - NuGet Visual Studio 2019 Support

26 Jan 12:58
2b2b169
Compare
Choose a tag to compare

This release is the last 1.9.x release fixing just one issue.
Now it is possible (again) to use the cpr NuGet package in Visual Studio 2019.

What's Changed

Full Changelog: 1.9.8...1.9.9

1.11.1

24 Nov 06:31
Compare
Choose a tag to compare

What's Changed

  • Updated supported versions for 1.11.0 by @COM8 in #1123
  • Add FreeBSD package/port mention into README by @part1zano in #1124
  • Fixed grammatical issues and corrected spelling errors in README.md by @laxerhd in #1132
  • Refactored timeout.h: added template ctr and removed redundant ctrs (#1129) by @laxerhd in #1131
  • fix no-revoke. by @Nuxar1 in #1134
  • Resolve CURLOPT_SSL_OPTIONS issues by @gentooise in #1128
  • fix: remove duplicate call in Session::prepareCommonDownload() by @L-Super in #1139
  • Update To The Latest Clang-Tidy Version by @COM8 in #1144
  • Enhance: Use unordered_map for CURL error mapping by @laxerhd in #1142
  • Public cpr::Session::GetSharedPtrFromThis by @COM8 in #1148

New Contributors

Full Changelog: 1.11.0...1.11.1

1.11.0

13 Oct 05:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.10.5...1.11.0

1.9.8

13 Oct 05:49
3591f20
Compare
Choose a tag to compare

What's Changed

  • CMake: Do not set BUILD_SHARED_LIBS to ON by default by @COM8 in #1104
  • Updated curl to 8.10.1 by @COM8 in #1116
  • Fixed ProgressCallback compatibility with older versions of curl by @COM8 in #1116
  • Fixed the missing install export in case we do not use system curl by @COM8 in #1013
  • Fixed .deb builds by @COM8 in #1116
  • CI: Replaced ubuntu:18.04 with ubuntu:24.04 by @COM8 in #1116
  • CI: Fixed all kinds of CI build and automated tests by @COM8 in #1116
  • VScode: Added utility tasks like "🗑️ Delete build dir", "📝 Run clang-format" or "📑 Check clang-format" by @COM8 in #1116

Full Changelog: 1.9.7...1.9.8

curl CVE-2023-38545

14 Oct 12:58
Compare
Choose a tag to compare

What's Changed

  • Not linking against stdc++fs on WIN32 by @COM8 in #948
  • Fixes curl version check macros for curl >= 8.0
  • Allow disabling the 'Accept-Encoding' header
  • boost/filesystem: use version 4 for compatibility with std::filesystem
  • Fixed curl multi reuse after free #968
  • Update curl to 8.4.0 to fix CVE-2023-38545 #969

Full Changelog: 1.10.4...1.10.5

curl CVE-2023-38545

14 Oct 12:58
Compare
Choose a tag to compare

What's Changed

  • CMake Proxy Test Options - 1.9.x by @COM8 in #952
  • Updated the mongoose unit test server
  • Updated mongoose to 7.7
  • Update curl to 8.4.0 to fix CVE-2023-38545
  • Fixed CI triggers for PRs
  • Fixes curl version check macros for curl >= 8.0
  • CI using test matrix for validating all combinations
  • Fix/clang windows warnings
  • Clang tidy fixes by @COM8 in #951
  • Fix cpr Include Statements - Backported #946 by @COM8 in #950

Full Changelog: 1.9.6...1.9.7

NuGet: Fixed Package

18 May 18:43
Compare
Choose a tag to compare

This release is only to fix the broken state with NuGet packages as detailed in #913.

What's Changed

  • Removed the tag specific trigger for deb CI packages by @COM8 in #914
  • Nuget Tag Name Fix by @COM8 in #913

Full Changelog: 1.10.3...1.10.4