diff --git a/CHANGELOG.md b/CHANGELOG.md index 63b3afd8b..ae29d8010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## v1.22.0 (18/02/2025) + +**Common** +* Added a CMake check to prevent changing the C++ standard if it's already set. +* Changed the log severity on some messages to decrease log size. +* Fixed the Getting Started guide URL in README.md. +* Removed propagation of the -Werror build option from LevelDB to the parent projects if LevelDB is not installed. +* Updated the recommended Boost library version to 1.82. This version is downloaded and built if the library is not installed. + +**olp-cpp-sdk-authentication** +* Added the optional `olp::http::authentication::Settings::scope` field. It is attached to token requests and can be used on the server side in the authentication process. +* Fixed compilation issues with the latest Clang deployed on macOS. + +**olp-cpp-sdk-core** +* Added the `OLP_SDK_DISABLE_LOCATION_LOGGING` CMake option. If enabled, log message locations are not generated by the compiler to create binaries with smaller sizes. +* Added the `olp::client::ErrorCode::Offline` error code to explicitly indicate the absence of network connectivity. +* Added the `olp::http::HarCaptureAdapter` class to capture network requests and generate HAR files. +* Added the `olp::http::NetworkWinHttp::ResultData::log_context` field to facilitate request lifecycle debugging. +* Added an optional `olp::http::NetworkResponse::diagnostics_` field of the `olp::http::Diagnostics` type to report timings of network request handlings. Used with cURL versions higher than 7.61. +* Fixed the `olp::client::HttpResponse` network statistics handling while being copied. +* Removed the `com.here.olp.network.HttpClient.Request.maxRetries` class variable used in Android network implementation requests retries. The retries are expected to be implemented on the application level. +* Removed the `olp::http::NetworkAndroid::ResetRequest(...)` method used in Android network implementation requests retries. The retries are expected to be implemented on the application level. + +**olp-cpp-sdk-dataservice-read** +* Added double-buffering to `olp::dataservice::read::repository::RapidJsonByteStream` to decrease single JSON processing time and reduce memory footprint size. +* Fixed issues with the `compressedDataSize` field parsing by the `olp::dataservice::read::repository::PartitionsSaxHandler` class. + ## v1.21.0 (25/10/2024) **Common** diff --git a/CMakeLists.txt b/CMakeLists.txt index 358e0fbd6..becd8a8cf 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.21.0) +project(olp-cpp-sdk VERSION 1.22.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 10a9a9574..adfa19167 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.21.0) +project(olp-cpp-sdk-authentication VERSION 1.22.0) set(DESCRIPTION "C++ API library for accessing 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 0097fea4b..7098f10df 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.21.0) +project(olp-cpp-sdk-core VERSION 1.22.0) set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++") find_package(RapidJSON 1.1.0 REQUIRED) diff --git a/olp-cpp-sdk-dataservice-read/CMakeLists.txt b/olp-cpp-sdk-dataservice-read/CMakeLists.txt index 823bce67d..f98bd604c 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.21.0) +project(olp-cpp-sdk-dataservice-read VERSION 1.22.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 ef009bba0..80a6dd918 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.21.0) +project(olp-cpp-sdk-dataservice-write VERSION 1.22.0) set(DESCRIPTION "C++ API library for writing data to OLP") set(OLP_SDK_DATASERVICE_WRITE_API_HEADERS