diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b989076..48de3c20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +## v1.16.0 (13/06/2023) + +**Common** +* Added `olp::http::CertificateSettings` struct to store custom certificate settings. +* Added `olp::http::NetworkInitializationSettings` struct containing `olp::http::CertificateSettings` to be passed to `olp::http::CreateDefaultNetwork(..)`. +* Deprecated `olp::http::CreateDefaultNetwork()`. It will be removed by 05.2024. Use added `olp::http::CreateDefaultNetwork(..)` that take `olp::http::NetworkInitializationSettings` instead. +* Added `olp::client::CreateDefaultNetworkRequestHandler(..)` that take `olp::http::NetworkInitializationSettings` as an argument. +* Extended `olp::cache::CacheSettings` with `extend_permissions` option. +* Extended `olp::http::NetworkSettings` with `GetMaxConnectionLifetime()` and `WithMaxConnectionLifetime(..)`. +* Deprecated `GetRetries()` and `WithRetries(..)` in `olp::http::NetworkSettings`. They will be removed by 04.2024. +* Extended `olp::http::NetworkSettings` with `GetConnectionTimeoutDuration()`, `WithConnectionTimeout(std::chrono::milliseconds timeout)`, `GetTransferTimeoutDuration()` and `WithTransferTimeout(std::chrono::milliseconds timeout)`. +* Deprecated `GetConnectionTimeout()`, `WithConnectionTimeout(int timeout)`, `GetTransferTimeout()` and `WithTransferTimeout(int timeout)` in `olp::http::NetworkSettings`. They will be removed by 04.2024. Use methods that accept `std::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`. Use `client::ApiError` instead. +* Removed deprecated `olp::authentication::AuthenticationClient::SignInGoogle`. +* Removed deprecated `std::string olp::authentication::TokenProvider::operator()()`. Use the operator with `CancellationContext` instead. +* Removed deprecated `olp::authentication::TokenResult::GetHttpStatus()`. Use `TokenResponse::GetError().GetHttpStatusCode()` instead. +* Removed deprecated `olp::authentication::TokenResult::GetErrorResponse()`. Use `TokenResponse::GetError().GetMessage()` instead. +* Removed deprecated `provider` and `cancel` from `olp::authentication::AuthenticationSettings`. Use `token_provider` instead. +* Used thread safe time formatting functions in AutoRefreshingToken. + ## v1.15.4 (13/03/2023) **Common** diff --git a/CMakeLists.txt b/CMakeLists.txt index bcc2d7ab9..63765ae72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.9) # Build the sdk targets -project(olp-cpp-sdk VERSION 1.15.4) +project(olp-cpp-sdk VERSION 1.16.0) # Add preprocessor definitions for the SDK version and platform name add_definitions(-DOLP_SDK_VERSION_STRING=\"${olp-cpp-sdk_VERSION}\") diff --git a/olp-cpp-sdk-authentication/CMakeLists.txt b/olp-cpp-sdk-authentication/CMakeLists.txt index d8abb5c77..54be6e2c4 100644 --- a/olp-cpp-sdk-authentication/CMakeLists.txt +++ b/olp-cpp-sdk-authentication/CMakeLists.txt @@ -15,7 +15,7 @@ # SPDX-License-Identifier: Apache-2.0 # License-Filename: LICENSE -project(olp-cpp-sdk-authentication VERSION 1.15.4) +project(olp-cpp-sdk-authentication VERSION 1.16.0) set(DESCRIPTION "C++ API library for accesing HERE Account authentication service") file(GLOB_RECURSE AUTHENTICATION_INC "include/*.h*") diff --git a/olp-cpp-sdk-core/CMakeLists.txt b/olp-cpp-sdk-core/CMakeLists.txt index 2fab404ee..67be2c6e2 100644 --- a/olp-cpp-sdk-core/CMakeLists.txt +++ b/olp-cpp-sdk-core/CMakeLists.txt @@ -16,7 +16,7 @@ # License-Filename: LICENSE -project(olp-cpp-sdk-core VERSION 1.15.4) +project(olp-cpp-sdk-core VERSION 1.16.0) set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++") find_package(RapidJSON 1.1.0 REQUIRED CMAKE_FIND_ROOT_PATH_BOTH) diff --git a/olp-cpp-sdk-dataservice-read/CMakeLists.txt b/olp-cpp-sdk-dataservice-read/CMakeLists.txt index fb1dc4878..8cce61650 100644 --- a/olp-cpp-sdk-dataservice-read/CMakeLists.txt +++ b/olp-cpp-sdk-dataservice-read/CMakeLists.txt @@ -15,7 +15,7 @@ # SPDX-License-Identifier: Apache-2.0 # License-Filename: LICENSE -project(olp-cpp-sdk-dataservice-read VERSION 1.15.4) +project(olp-cpp-sdk-dataservice-read VERSION 1.16.0) set(DESCRIPTION "C++ API library for reading OLP data") file(GLOB_RECURSE INC "include/*.h*") diff --git a/olp-cpp-sdk-dataservice-write/CMakeLists.txt b/olp-cpp-sdk-dataservice-write/CMakeLists.txt index 09d5bf56f..136560881 100644 --- a/olp-cpp-sdk-dataservice-write/CMakeLists.txt +++ b/olp-cpp-sdk-dataservice-write/CMakeLists.txt @@ -15,7 +15,7 @@ # SPDX-License-Identifier: Apache-2.0 # License-Filename: LICENSE -project(olp-cpp-sdk-dataservice-write VERSION 1.15.4) +project(olp-cpp-sdk-dataservice-write VERSION 1.16.0) set(DESCRIPTION "C++ API library for writing data to OLP") set(OLP_SDK_DATASERVICE_WRITE_API_HEADERS