Release 1.16.0
·
210 commits
to master
since this release
Common
- Added
olp::http::CertificateSettingsstruct to store custom certificate settings. - Added
olp::http::NetworkInitializationSettingsstruct containingolp::http::CertificateSettingsto be passed toolp::http::CreateDefaultNetwork(..). - Deprecated
olp::http::CreateDefaultNetwork(). It will be removed by 05.2024. Use addedolp::http::CreateDefaultNetwork(..)that takeolp::http::NetworkInitializationSettingsinstead. - Added
olp::client::CreateDefaultNetworkRequestHandler(..)that takeolp::http::NetworkInitializationSettingsas an argument. - Extended
olp::cache::CacheSettingswithextend_permissionsoption. - Extended
olp::http::NetworkSettingswithGetMaxConnectionLifetime()andWithMaxConnectionLifetime(..). - Deprecated
GetRetries()andWithRetries(..)inolp::http::NetworkSettings. They will be removed by 04.2024. - Extended
olp::http::NetworkSettingswithGetConnectionTimeoutDuration(),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::millisecondsinstead. - 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::ApiErrorinstead. - Removed deprecated
olp::authentication::AuthenticationClient::SignInGoogle. - Removed deprecated
std::string olp::authentication::TokenProvider::operator()(). Use the operator withCancellationContextinstead. - Removed deprecated
olp::authentication::TokenResult::GetHttpStatus(). UseTokenResponse::GetError().GetHttpStatusCode()instead. - Removed deprecated
olp::authentication::TokenResult::GetErrorResponse(). UseTokenResponse::GetError().GetMessage()instead. - Removed deprecated
providerandcancelfromolp::authentication::AuthenticationSettings. Usetoken_providerinstead. - Used thread safe time formatting functions in AutoRefreshingToken.