Release 1.16.0
rustam-gamidov-here
released this
13 Jun 11:16
·
142 commits
to master
since this release
Common
- Added
olp::http::CertificateSettings
struct to store custom certificate settings. - Added
olp::http::NetworkInitializationSettings
struct containingolp::http::CertificateSettings
to be passed toolp::http::CreateDefaultNetwork(..)
. - Deprecated
olp::http::CreateDefaultNetwork()
. It will be removed by 05.2024. Use addedolp::http::CreateDefaultNetwork(..)
that takeolp::http::NetworkInitializationSettings
instead. - Added
olp::client::CreateDefaultNetworkRequestHandler(..)
that takeolp::http::NetworkInitializationSettings
as an argument. - Extended
olp::cache::CacheSettings
withextend_permissions
option. - Extended
olp::http::NetworkSettings
withGetMaxConnectionLifetime()
andWithMaxConnectionLifetime(..)
. - Deprecated
GetRetries()
andWithRetries(..)
inolp::http::NetworkSettings
. They will be removed by 04.2024. - Extended
olp::http::NetworkSettings
withGetConnectionTimeoutDuration()
,WithConnectionTimeout(std::chrono::milliseconds timeout)
,GetTransferTimeoutDuration()
andWithTransferTimeout(std::chrono::milliseconds timeout)
. - Deprecated
GetConnectionTimeout()
,WithConnectionTimeout(int timeout)
,GetTransferTimeout()
andWithTransferTimeout(int timeout)
inolp::http::NetworkSettings
. They will be removed by 04.2024. Use methods that acceptstd::chrono::milliseconds
instead. - Required TLS 1.2 or later for network connection.
- Fixed CMake configuration failure when CMAKE_BUILD_TYPE CMake parameter is not set.
olp-cpp-sdk-authentication
- Removed deprecated
olp::authentication::AuthenticationError
. Useclient::ApiError
instead. - Removed deprecated
olp::authentication::AuthenticationClient::SignInGoogle
. - Removed deprecated
std::string olp::authentication::TokenProvider::operator()()
. Use the operator withCancellationContext
instead. - Removed deprecated
olp::authentication::TokenResult::GetHttpStatus()
. UseTokenResponse::GetError().GetHttpStatusCode()
instead. - Removed deprecated
olp::authentication::TokenResult::GetErrorResponse()
. UseTokenResponse::GetError().GetMessage()
instead. - Removed deprecated
provider
andcancel
fromolp::authentication::AuthenticationSettings
. Usetoken_provider
instead. - Used thread safe time formatting functions in AutoRefreshingToken.