Skip to content

Releases: microsoft/cpprestsdk

v2.10.19

05 Dec 04:25
Compare
Choose a tag to compare

cpprestsdk (2.10.19)

  • PR#1982 make Uri.is_host_loopback() only return true for localhost and 127.0.0.1 exactly.
    The old behavior could potentially return "true" for URLs that were not, in fact, local,
    and this could cause security issues if is_host_loopback was used in certain ways.
  • PR#1711 Fix likely typo in SafeInt3.hpp, that results in error with clang 15
  • PR#1496 Support for oauth2 with "client_credentials" grant type.
  • PR#1429 Add constructor from all integer types for json value.
  • PR#1577 export http_exception for non Windows builds using visibility macros.

2.10.18

02 Feb 05:25
Compare
Choose a tag to compare

cpprestsdk (2.10.18)

  • PR#1571 Add ability to parse and emit the NT Epoch 1601-01-01T00:00:00Z
  • PR#1571 Update vcpkg submodule
  • Update CI configuration
    -- cpprestsdk team MON, 1 Feb 2021 20:02:00 -0700

2.10.17

31 Dec 04:49
41e7d00
Compare
Choose a tag to compare
  • PR#1550 Fix year calculation for the last day of a leap year
  • PR#1523 Fix wrong linking of Apple Frameworks on MacOS
  • PR#1520 Define __STDC_FORMAT_MACROS when it hasn't been defined to avoid duplicate define error.
  • PR#1415 Delete apparently broken .vcxprojs and .pfxes.
  • Removed defunct email contact information from the readme
    -- cpprestsdk team WED, 30 Dec 2020 20:08:00 -0700

v2.10.16

25 Apr 00:45
18212a2
Compare
Choose a tag to compare
  • PR#1383 CMake fixes + CMake search for OpenSSL (macOS)
  • PR#1392 Update submodule websocketpp to 0.8.2
  • PR#1393 Do not report errors (such as EBADF and EINVAL) from setsockopt here, since this is a performance optimization only, and hard errors will be picked up by the following operation
  • PR#1379 Fix compilation with GCC 4.8/4.9, which was broken by commit 53fab3a.
  • PR#1328 Add support for HTTP redirection in ASIO and WinHTTP-based http_clients
  • PR#1332 Fix more http test build fails in certain configurations
  • PR#1370 Remove redundant std::move noted by gcc 9.2 (-Wredundant-move)
  • PR#1372 Static analyzer (PVS Studio) fixes
  • PR#1350 Expose json::value::parse for UTF8 string on Windows
  • PR#1344 libcpprestsdk: fix building as a static library
    -- cpprestsdk team [email protected] FRI, 24 Apr 2020 16:56:00 -0700

v2.10.15

24 Feb 04:35
b94bc32
Compare
Choose a tag to compare
  • Extremely special thanks to @garethsb-sony for a large number of contributions in this release
  • PR#1209 Workarounds for two GCC 4.7.2 bugs with lambda functions
  • PR#1220 Fix SxS debug-release builds with Visual Studio
  • PR#1219 Fix "Data" to "Date" in the HTTP Server API mapping, and clarify that the indices of these values match the HTTP_HEADER_ID values for HTTP_REQUEST_HEADERS but not HTTP_RESPONSE_HEADERS
  • PR#1196 Fixing of connections_and_errors::cancel_with_error test which sometimes fires false positive error "There are no pending calls to next_request."
  • PR#1233 Trim whitespace and nulls the same way.
  • PR#1248 Avoid using permissive- with ZW which breaks VS2019
  • PR#1182 Support for WinHTTPAL curl-to-WinHTTP adapter
  • PR#1253 http_server_httpsys.cpp requires linking against httpapi.lib, http_client_winhttp.cpp does not.
  • PR#1263 Remove trailing slash on websocketpp submodule url, which causes checkout failure on CircleCI with git 2.22.0
  • PR#1293 Update vcpkg and remove tests that look for web servers that no longer exist
  • PR#1288 Fix test case broken by commit f4c863b
  • PR#1276 Added comparison overrides to utility::datetime
  • PR#1289 Fix various warnings reported by gcc 9.3, and possibly earlier versions
  • PR#1334 Update vcpkg and boost on Android
  • PR#1306 Change default installation directory for cmake files to cmake/cpprestsdk
  • PR#1330 Use LC_ALL_MASK rather than LC_ALL when calling newlocale
  • PR#1310 Add TCP_NODELAY to disable Nagle's algorithm in Boost.ASIO-based http_client
  • PR#1335 Turn VS2015 back on now that vcpkg is fixed.
  • PR#1322 Enable HTTP compression support on all platforms
  • PR#1340 Add Ubuntu 18.04 testing.
  • PR#1342 Use C++11 synchronization classes under macOS too
  • PR#1339 Fix tcp::resolver data race in the asio backend and be defensive against empty results
    -- cpprestsdk team [email protected] THR, 22 Feb 2020 08:31:00 -0800

v2.10.14

16 Jul 19:08
6f602be
Compare
Choose a tag to compare
  • Potential breaking change warning: This release changes the "default" proxy for the WinHTTP backend to go back to WINHTTP_ACCESS_TYPE_DEFAULT_PROXY. See 60e067e for more details. To get automatic WPAD behavior, set the proxy to auto detect.
  • macOS with Brew and iOS builds have been disabled and are no longer being tested because our dependency boost for ios project appears to be broken with current releases of XCode as on the Azure Pipelines machines. We are interested in macOS / iOS folks who know what's going on here in contributing a repair to turn this back on.
  • PR##1133 Add switches to make apiscan happy.
  • PR##1130 json: {"meow"} is not a valid object
  • PR##1150 Undefine compress if it is defined by zconf.h
  • PR##1156 Fix broken CI Builds
  • PR##1155 Use EVP_MAX_MD_SIZE instead of HMAC_MAX_MD_CBLOCK
  • PR##1145 Remove the address_configured flag on tcp::resolver::query
  • PR##1143 add ping and pong to message handler
  • PR##539 Fix reusing ASIO http_client connecting to HTTPS server via proxy
  • PR##1175 Fix issue #1171: Order of object destruction
  • PR##1183 FIX: SSL proxy tunnel support with basic auth
  • PR##1184 Fix profile being set on the compiler instead of the linker.
  • PR##1185 Update boost-for-android for Android NDK r20 and disable macOS Homebrew.
  • PR##1187 Replace CPPREST_TARGET_XP with version checks, remove ""s, and other cleanup
  • PR##1188 Remove proxy settings detection behavior in "default proxy mode."
    -- cpprestsdk team [email protected] TUE, 16 Jul 2019 09:06:00 +0200

v2.10.13

25 Apr 05:17
9d8f544
Compare
Choose a tag to compare
  • PR#1120 Fix off by one error in leap years before year 2000, and bad day names
  • PR#1117 Parse and emit years from 1900 to 9999, and remove environment variable dependence on Android
  • PR#1106 Paranoia for overflow of sprintf buffer in the year 10000
  • PR#1101 Update request_timeout_microsecond timeout
  • PR#1097 Allow error handling for time out in http_client_asio handle_connect
  • PR#1094 Avoid tripping over 32 bit time_t mistakes.
  • PR#1093 Don't initialize atomic_flag with 0.
    -- cpprestsdk team [email protected] WED, 24 Apr 2019 10:57:00 -0800

v2.10.12

27 Mar 07:00
d4fb1cf
Compare
Choose a tag to compare
  • PR#1088 Fix data race, GitHub #1085
  • PR#1084 Fix oauth nonces containing nulls.
  • PR#1082 Workaround data-race on websocketpp's _htonll function
  • PR#1080 Fix thread not joined
  • PR#1076 Rewrite date formatting and parsing
    -- cpprestsdk team [email protected] TUE, 26 Mar 2019 11:57:00 -0800

v2.10.11

20 Mar 09:32
a325079
Compare
Choose a tag to compare
  • PR##1073 Move get_jvm_env back into the crossplat namespace
  • PR##1049 Add the missing ssl::context callback in websocket_client_config
  • PR##1072 Gate stdext::checked_array_iterator usage on _ITERATOR_DEBUG_LEVEL
  • PR##1051 Fix http_client_asio "https" with a proxy
  • PR##1071 Add --vcpkg-root to repair UWP.
  • PR##1041 Update Boost_for_android for Android R19
  • PR##1064 Enable testing from root directory
  • PR##1057 Returns int64 value in function of seeking to file end on x64 Windows.
  • PR##1068 Don't close the output stream when reporting errors reading the body.
  • PR##1053 Update vcpkg.
  • PR##1032 Fix HTTP/1.0 'Keep-Alive' handling in http_client
  • PR##1040 Disable WINHTTP_AUTOPROXY_OPTIONS machinery when using WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY.

v2.10.10

30 Jan 06:41
91f66c6
Compare
Choose a tag to compare
  • PR#1023 Handle multi-byte unicode characters in json parsing
  • PR#1033 Temporary fix for VS2013. Note that VS2013 is still not in support.