|
| 1 | +## v1.21.0 (25/10/2024) |
| 2 | + |
| 3 | +**Common** |
| 4 | +* Removed deprecated `olp::client::OlpClient::SetSettings(...)` method. Use `olp::client::OlpClient` constructor instead. |
| 5 | +* Removed deprecated `olp::client::HttpResponse::status` field. Use `HttpResponse::GetStatus()` method instead. |
| 6 | +* Removed deprecated `olp::client::HttpResponse::response` field. Use `HttpResponse::GetRawResponse()` method instead. |
| 7 | +* Removed deprecated `olp::client::HttpResponse::headers` field. Use `HttpResponse::GetHeaders()` method instead. |
| 8 | + |
| 9 | +**olp-cpp-sdk-core** |
| 10 | +* Added `olp::client::HttpResponse::GetResponseAsBytes` convenience method to get the response body as a vector of unsigned chars. |
| 11 | +* Added `olp::client::HttpResponse::GetResponseAsString` convenience method to get the response body content as a string. |
| 12 | +* Added `olp::client::HttpResponse::GetRawResponse` convenience method to get reference to the response object. |
| 13 | +* Added `olp::client::OlpClient::GetSettings()` method. |
| 14 | +* Removed deprecated `olp::http::CreateDefaultNetwork(size_t)` function. Use `olp::http::CreateDefaultNetwork(NetworkInitializationSettings)` instead. |
| 15 | +* Removed deprecated `olp::http::NetworkSettings::GetRetries()` method. |
| 16 | +* Removed deprecated `olp::http::NetworkSettings::WithRetries()` method. |
| 17 | +* Removed deprecated `olp::http::NetworkSettings::GetConnectionTimeout()` method. Use `NetworkSettings::GetConnectionTimeoutDuration()` instead. |
| 18 | +* Removed deprecated `olp::http::NetworkSettings::WithConnectionTimeout(int)` method. Use `NetworkSettings::WithConnectionTimeout(std::chrono::milliseconds)` instead. |
| 19 | +* Removed deprecated `olp::http::NetworkSettings::GetTransferTimeout()` method. Use `NetworkSettings::GetTransferTimeoutDuration()` instead. |
| 20 | +* Removed deprecated `olp::http::NetworkSettings::WithTransferTimeout(int)` method. Use `NetworkSettings::WithTransferTimeout(std::chrono::milliseconds)` instead. |
| 21 | +* Removed deprecated `olp::utils::Dir::exists(const std::string&)` method. Use `Dir::Exists(...)` instead. |
| 22 | +* Removed deprecated `olp::utils::Dir::remove(const std::string&)` method. Use `Dir::Remove(...)` instead. |
| 23 | +* Removed deprecated `olp::utils::Dir::create(const std::string&)` method. Use `Dir::Create(...)` instead. |
| 24 | +* Changed cURL network implementation requirements. OpenSSL is mandatory now. |
| 25 | +* Fixed asynchronous access to the list of cancelled tasks in the iOS background mode. |
| 26 | +* Fixed deleting cancelled invalid download tasks in the iOS background mode. |
| 27 | +* Fixed crashes in `olp::cache::DiskCache::Size()` method that happened when it's called on closed cache. |
| 28 | +* Fixed `olp::math::AlignedBox` template compilation in certain environments. |
| 29 | +* Improved error handling on iOS. `NSURLErrorSecureConnectionFailed`, `NSURLErrorCannotFindHost`, `NSURLErrorDNSLookupFailed` and `NSURLErrorResourceUnavailable` are retriable now. |
| 30 | +* Improved the iOS background download mode change. No additional actions performed when requested mode is already active. |
| 31 | +* Improved cURL certificates configuration. Now, every field can be set up independently. |
| 32 | + |
1 | 33 | ## v1.20.1 (13/08/2024)
|
2 | 34 |
|
3 | 35 | **Common**
|
|
0 commit comments