diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c46ce483..ffe9d6bde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +## v1.0.0 (03/12/2019) + +**Common** + +* A new CMake flag `OLP_SDK_BOOST_THROW_EXCEPTION_EXTERNAL` was introduced to compile the SDK without exceptions. The user needs to provide the custom `boost::throw_exception` function. +* `olp::client::HttpResponse` now holds `std::stringstream` instead of `std::string`. This removes expensive copies. +* The CMake minimum version increased to 3.9. +* The `cancel` method in `CancellationToken` is deprecated in favor of the newly introduced `Cancel` method. +* Network logs improved for all platforms. +* Various bug fixes and improvements. +* The Network limit is now implemented for all platforms. When the limit is reached, the `Network::Send` method returns `olp::http::ErrorCode::NETWORK_OVERLOAD_ERROR`, and client users receive `olp::client::ErrorCode::SlowDown` as a response. +* Android network client can now be used when Java VM is embedded in a native application. + +**olp-cpp-sdk-dataservice-read** + +* The `VersionedLayerClient` and `VolatileLayerClient` classes are now movable and non-copyable. +* The `TaskContext` and `PendingRequests` classes moved to the core component, and are now public. +* The `GetCatalogMetadataVersion` method in `CatalogClient` is deprecated. The `GetLatestVersion` method should be used instead. +* All deprecated methods marked in v0.8.0 are now removed. +* A new optional parameter for a catalog version was added to `PrefetchTileRequest`. It is used by `VersionedLayerClient::PrefetchTiles()`. If not provided, the latest catalog version is queried from OLP instead. + +**olp-cpp-sdk-dataservice-write** + +* Missing `DATASERVICE_WRITE_API` was added to various classes. + ## v0.8.0-beta (31/10/2019) **Common** diff --git a/CMakeLists.txt b/CMakeLists.txt index d00da1afe..53089a7ac 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 0.8.0) +project(olp-cpp-sdk VERSION 1.0.0) # Add preprocessor definitions for the SDK version and platform name add_definitions(-DOLP_SDK_VERSION_STRING=\"${olp-cpp-sdk_VERSION}\") diff --git a/README.md b/README.md index 43e98c58d..489e58ad2 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The dependencies of the HERE OLP SDK for C++ are the following: ## Building the SDK -[CMake](https://cmake.org/download/) is the main build system. The minimal required version of CMake is 3.5. +[CMake](https://cmake.org/download/) is the main build system. The minimal required version of CMake is 3.9. CMake downloads [leveldb](https://github.com/google/leveldb), [snappy](https://github.com/google/snappy), [rapidjson](https://github.com/Tencent/rapidjson), and [Boost](https://www.boost.org/). This can be disabled by setting `OLP_SDK_BUILD_EXTERNAL_DEPS` to `OFF`. For details on CMake flags, see [below](#cmake-flags). diff --git a/examples/dataservice-write/CMakeLists.txt b/examples/dataservice-write/CMakeLists.txt index 25a94c5ad..7fd974a03 100644 --- a/examples/dataservice-write/CMakeLists.txt +++ b/examples/dataservice-write/CMakeLists.txt @@ -38,7 +38,7 @@ elseif(ANDROID) ${OLP_SDK_EXAMPLE_FAILURE_STRING}) else() - project(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} VERSION 0.8.0) + project(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} VERSION 1.0.0) add_executable(${OLP_SDK_DATASERVICE_WRITE_EXAMPLE_TARGET} ${CMAKE_CURRENT_SOURCE_DIR}/example.h ${CMAKE_CURRENT_SOURCE_DIR}/example.cpp) diff --git a/examples/helpers/android/app/CMakeLists.txt.in b/examples/helpers/android/app/CMakeLists.txt.in index f3b08cc92..ac722880d 100644 --- a/examples/helpers/android/app/CMakeLists.txt.in +++ b/examples/helpers/android/app/CMakeLists.txt.in @@ -17,7 +17,7 @@ cmake_minimum_required(VERSION 3.5) -project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 0.8.0) +project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.0.0) if (DEFINED OLP_SDK_HTTP_CLIENT_JAR) get_filename_component(OLP_SDK_HTTP_CLIENT_JAR_FULL_PATH "${OLP_SDK_HTTP_CLIENT_JAR}" ABSOLUTE) diff --git a/examples/helpers/ios/CMakeLists.txt.in b/examples/helpers/ios/CMakeLists.txt.in index 5cda9d1dc..56f42b0a0 100644 --- a/examples/helpers/ios/CMakeLists.txt.in +++ b/examples/helpers/ios/CMakeLists.txt.in @@ -21,7 +21,7 @@ if (NOT IOS) message(FATAL_ERROR "Unsupported platform!") endif() -project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 0.8.0) +project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.0.0) add_executable(@OLP_SDK_EXAMPLE_TARGET_NAME@ ${CMAKE_CURRENT_SOURCE_DIR}/example.h diff --git a/olp-cpp-sdk-authentication/CMakeLists.txt b/olp-cpp-sdk-authentication/CMakeLists.txt index 546142f51..f6a39f530 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 0.8.0) +project(olp-cpp-sdk-authentication VERSION 1.0.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 e9597b8bc..26559ae22 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 0.8.0) +project(olp-cpp-sdk-core VERSION 1.0.0) set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++") find_package(RapidJSON REQUIRED) diff --git a/olp-cpp-sdk-dataservice-read/CMakeLists.txt b/olp-cpp-sdk-dataservice-read/CMakeLists.txt index 958c9d1bd..57bdd057a 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 0.8.0) +project(olp-cpp-sdk-dataservice-read VERSION 1.0.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 39dfd3003..3fe553538 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 0.8.0) +project(olp-cpp-sdk-dataservice-write VERSION 1.0.0) set(DESCRIPTION "C++ API library for writing data to OLP") file(GLOB_RECURSE DATASERVICE_WRITE_INC "include/*.h*")