Skip to content

Commit 265a5f8

Browse files
Add changelog for 1.2.0 release, update version in CMake (#629)
Resolves: OLPEDGE-1400 Signed-off-by: Mykhailo Kuchma <[email protected]>
1 parent c30c405 commit 265a5f8

File tree

9 files changed

+51
-8
lines changed

9 files changed

+51
-8
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,64 @@
1+
## v1.2.0 (04/02/2020)
2+
3+
**Common**
4+
5+
* Added a protected read-only cache. For details, see `olp::cache::CacheSettings`.
6+
* Added a protected read-only cache [usage example](https://github.com/heremaps/here-olp-sdk-cpp/blob/c30c4051ec012eaca09b7aa7ba4c7e8f6cd7a576/docs/dataservice-cache-example.md).
7+
* Added ARM platform support for Embedded Linux with GCC 5.4 (32/64 bit).
8+
* Added the `ErrorCodeToString` function to olp/core/http/NetworkTypes.h.
9+
* Improved the `olp::http::NetworkCurl` logging.
10+
* Changed the `IsNull` function in the `olp::client::HRN` class to handle realms according to platform changes.
11+
* Added the bool operator to the `olp::client::HRN` class. You can now use the operator to check whether all the service type fields in the `olp::client::HRN` class are not empty.
12+
* Fixed a possible data race in the `olp::client::Condition` class.
13+
* Added the `MoveResult` method to the `olp::client::ApiResponse` class. The method returns an rvalue reference to the result.
14+
* CMake now requires RapidJSON v1.1.0.
15+
* Various CMake cleanups.
16+
* Improved error handling in Android `HttpClient`.
17+
* Fixed the linking error when SDK was statically linked inside a shared library with `CMAKE_POSITION_INDEPENDENT_CODE=ON`.
18+
* The retry policy now handles server errors automatically.
19+
20+
**olp-cpp-sdk-authentication**
21+
22+
* Added a possibility to parse credentials from a file or stream in `olp::authentication::AuthenticationCredentials`. Now, to get credentials for the `AuthenticationCredentials` class, you can use the **credentials.properties** file that is provided by the platform.
23+
* Deprecated the `olp::authentication::TokenEndpoint` class. It will be removed by 04.2020.
24+
* Deprecated the `olp::authentication::TokenRequest` class. It will be removed by 04.2020.
25+
* Deprecated various methods in `olp::authentication::AuthenticationClient`.
26+
* Authentication now gets the current timestamp from the platform and uses it to request the OAuth2 token that prevents replay attacks. As a fallback, the system time is used.
27+
28+
**olp-cpp-sdk-dataservice-read**
29+
30+
* The `olp::dataservice::read::QueryApi`, `olp::dataservice::read::MetadataApi`, `olp::dataservice::read::LookupApi`, and `olp::dataservice::read::BlobApi` classes are now blocking and use the new synchronous `CallApi` method in `OlpClient`.
31+
* The `GetData` method of the versioned and volatile layer now triggers the `olp::client::ErrorCode::PreconditionFailed` error if both a partition ID and data handle are passed in the data request.
32+
* **Work-in-progress**: Added reading support for streamed data using the new `olp::dataservice::read::StreamLayerClient`. Currently, you can only subscribe, unsubscribe, and get data from a stream layer message.
33+
34+
**olp-cpp-sdk-dataservice-write**
35+
36+
* Enhanced `olp::dataservice::write::StreamLayerClient` to use `olp::thread::TaskScheduler` for asynchronous operations instead of network threads.
37+
* Removed the unused `olp::dataservice::write::ThreadSafeQueue` class.
38+
* Deprecated the `CancelAll` methods in all layers. Use the `CancelPendingRequests` methods instead.
39+
140
## v1.1.0 (11/12/2019)
241

342
**Common**
43+
444
* The deprecated `olp::client::CancellationToken::cancel()` method was removed. Use `olp::client::CancellationToken::Cancel()` instead.
545
* The `curl` network implementation was fixed and can now compile on 32 bits architecture.
646
* The `disk_path` field in `olp::cache::CacheSettings` is deprecated. Use the `disk_path_mutable` field instead.
747
* A new synchronous `CallApi` method was added to `olp::client::OlpClient`.
848
* `pipe` and `pipe2` symbols detection are enhanced in curl.cmake.
949

1050
**olp-cpp-sdk-authentication**
51+
1152
* The `SignInClient` method in `olp::authentication::AuthenticationClient` is deprecated in favor of the newly introduced `SignInClient` method with a different signature.
1253
* The `scope` support was added to OAuth2 through `olp::authentication::SignInProperties`. You can now access the project bound resources using the `olp::authentication::SignInProperties::scope` field.
1354
* The `error_id` field was added to the `ErrorResponse` structure. You can use it to get the `errorId` string from the authentication error response.
1455

1556
**olp-cpp-sdk-dataservice-read**
57+
1658
* The deprecated `GetCatalogMetadataVersion` method was removed from the `olp::dataservice::read::CatalogClient`.
1759

1860
**olp-cpp-sdk-dataservice-write**
61+
1962
* Legacy and unused code were removed.
2063

2164
## v1.0.0 (03/12/2019)

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
cmake_minimum_required(VERSION 3.9)
1919

2020
# Build the sdk targets
21-
project(olp-cpp-sdk VERSION 1.1.0)
21+
project(olp-cpp-sdk VERSION 1.2.0)
2222

2323
# Add preprocessor definitions for the SDK version and platform name
2424
add_definitions(-DOLP_SDK_VERSION_STRING=\"${olp-cpp-sdk_VERSION}\")

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ elseif(ANDROID)
4141
${OLP_SDK_EXAMPLE_FAILURE_STRING})
4242

4343
else()
44-
project(${OLP_SDK_DATASERVICE_EXAMPLE_TARGET} VERSION 1.1.0)
44+
project(${OLP_SDK_DATASERVICE_EXAMPLE_TARGET} VERSION 1.2.0)
4545

4646
add_library(${OLP_SDK_DATASERVICE_READ_EXAMPLE_TARGET}
4747
${CMAKE_CURRENT_SOURCE_DIR}/ReadExample.cpp

examples/android/app/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
cmake_minimum_required(VERSION 3.5)
1919

20-
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.1.0)
20+
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.2.0)
2121

2222
if (DEFINED OLP_SDK_HTTP_CLIENT_JAR)
2323
get_filename_component(OLP_SDK_HTTP_CLIENT_JAR_FULL_PATH "${OLP_SDK_HTTP_CLIENT_JAR}" ABSOLUTE)

examples/ios/CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (NOT IOS)
2121
message(FATAL_ERROR "Unsupported platform!")
2222
endif()
2323

24-
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.1.0)
24+
project(@OLP_SDK_EXAMPLE_TARGET_NAME@ VERSION 1.2.0)
2525

2626
add_executable(@OLP_SDK_EXAMPLE_TARGET_NAME@
2727
${CMAKE_CURRENT_SOURCE_DIR}/ReadExample.h

olp-cpp-sdk-authentication/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-authentication VERSION 1.1.0)
18+
project(olp-cpp-sdk-authentication VERSION 1.2.0)
1919
set(DESCRIPTION "C++ API library for accesing HERE Account authentication service")
2020

2121
file(GLOB_RECURSE AUTHENTICATION_INC "include/*.h*")

olp-cpp-sdk-core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# License-Filename: LICENSE
1717

1818

19-
project(olp-cpp-sdk-core VERSION 1.1.0)
19+
project(olp-cpp-sdk-core VERSION 1.2.0)
2020
set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++")
2121

2222
find_package(RapidJSON 1.1.0 REQUIRED CMAKE_FIND_ROOT_PATH_BOTH)

olp-cpp-sdk-dataservice-read/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-dataservice-read VERSION 1.1.0)
18+
project(olp-cpp-sdk-dataservice-read VERSION 1.2.0)
1919
set(DESCRIPTION "C++ API library for reading OLP data")
2020

2121
file(GLOB_RECURSE INC "include/*.h*")

olp-cpp-sdk-dataservice-write/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# SPDX-License-Identifier: Apache-2.0
1616
# License-Filename: LICENSE
1717

18-
project(olp-cpp-sdk-dataservice-write VERSION 1.1.0)
18+
project(olp-cpp-sdk-dataservice-write VERSION 1.2.0)
1919
set(DESCRIPTION "C++ API library for writing data to OLP")
2020

2121
set(OLP_SDK_DATASERVICE_WRITE_API_HEADERS

0 commit comments

Comments
 (0)