v1.10.0
·
448 commits
to master
since this release
Common
- Ported the
std::shared_mutexclass from the C++17 Standard Library to use it in C++11/14 code. - Added the logging status of the network requests on the iOS platform. Now, you can see an HTTP return code for each completed request in logs.
- Fixed the proxy warning message on the Android platform.
- Added the
OpenandCloseAPIs toolp::cache::DefaultCache. You can use them to open or close individual caches. olp::client::ApiLookupClientnow caches theolp::client::OlpClientinstances internally. It enables the merging of the same URL requests inside theolp::client::OlpClientinstance.- Added merging of the same requests to the
olp::client::OlpClientclass. Internally, it merges the same requests by a URL when the payload is empty. - Removed the unnecessary sleep, which forced all requests to be at least 100 ms, from
olp::http::NetworkCurl. 2-second sleep can still occur when there are no used handles. - Added downloaded size and time of execution to logs for completed requests in
olp::http::NetworkCurl. Now, upon completion, you can see how much data was downloaded and how long the request took.
olp-cpp-sdk-authentication
- Added the
GetMyAccountAPI toolp::authentication::AuthenticationClient. It can retrieve user information based on a valid access token previously requested by the user upon sign-in. - Added the
olp::authentication::Cryptoclass. It exposes the SHA256 and HMAC-SHA256 algorithms used by the module internally.
olp-cpp-sdk-dataservice-read
- Fixed the data race inside the
olp::client::TaskSinkclass. The data race occurred when a task added another task while the destruction was ongoing and then crashed. - Adapted
olp::dataservice::read::StreamLayerClientandolp::dataservice::read::CatalogClientto useolp::client::TaskSink. - Fixed the expiration duration of the latest version. The user-provided expiration duration was not propagated to the cache.
- Merged the same concurrent
GetPartitionsrequests in theolp::dataservice::read::VersionedLayerClient. - Various changes in logging; decreased the level of messages to reduce the output.