Skip to content

Commit

Permalink
Various changes for v1.0.0 release.
Browse files Browse the repository at this point in the history
- Update cmake version to v1.0.0.
- Remove Beta from version.
- Adapt CHANGELOG.md with v1.0.0 release changeset.

Resolves: OLPEDGE-1164, OLPEDGE-1165

Signed-off-by: Mykhailo Kuchma <ext-mykhailo.kuchma@here.com>
  • Loading branch information
mykhailo-kuchma committed Dec 3, 2019
1 parent e2b9afd commit 8108d15
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 9 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion examples/dataservice-write/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/helpers/android/app/CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/helpers/ios/CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-authentication/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*")
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-dataservice-read/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*")
Expand Down
2 changes: 1 addition & 1 deletion olp-cpp-sdk-dataservice-write/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*")
Expand Down

0 comments on commit 8108d15

Please sign in to comment.