Skip to content

Commit dd53a5d

Browse files
authored
Release 1.13.0 (#1250)
Update the changelog to package version to 1.13. Resolves: OLPEDGE-2636 Signed-off-by: Kostiantyn Zvieriev <[email protected]>
1 parent e2f49c8 commit dd53a5d

File tree

6 files changed

+30
-7
lines changed

6 files changed

+30
-7
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
## v1.12.0 (03/06/2021)
1+
## v1.13.0 (27/09/2021)
2+
3+
**Common**
4+
5+
* Added a new `olp::client::EqualJitterBackdownStrategy` backdown strategy. You can use it to define the waiting time between retries in `olp::client::RetrySettings`.
6+
* Changed the open behavior for the protected cache. Now, it tries to open the cache in the r/w mode if it has enough filesystem permissions, and the user did not explicitly instruct to open the cache in the r/o mode via `olp::cache::CacheSettings::openOptions`.
7+
* Changed the `olp::cache::DefaultCache::Open` method. Now, it returns `olp::cache::DefaultCache::StorageOpenResult::ProtectedCacheCorrupted` if you try to open a broken database, specifically more than 4 L0 levelDB storage files, and you need to compact the database manually before you try to open it again.
8+
* Added a bool operator to the `olp::client::ApiResponse` class, which is a shortcut for `olp::client::ApiResponse::IsSuccessful()`. Use this operator to check whether your response was successful.
9+
* Removed the arbitrary 2-second delay on shutdown inside `NetworkAndroid.cpp`, which implements the abstract `olp::http::Network` interface for the Android platform.
10+
* Modified the `olp::client::OlpClient` request. Previously, if the authentication request failed for any reason, and the token provider returned an empty token string, data requests were still sent with an empty token that failed with a 401 status. Now, the `olp::client::OlpClient` request is not sent if the bearer token is empty.
11+
* Fixed the wrong reset of the `olp::http::NetworkWinHttp` request after an error.
12+
* Fixed the compilation of the `olp::utils::Dir` class when compiled with enabled Unicode Character Set on Windows.
13+
* Fixed the `olp::Dir::FileExist()` method when compiled on Windows. Instead of checking the `FILE_ATTRIBUTE_NORMAL` attribute, it now checks that the attributes are unequal to `INVALID_FILE_ATTRIBUTES` to assume a file is present on the filesystem.
14+
15+
**olp-cpp-sdk-authentication**
16+
17+
* Improved usage of local and server time. When the local time is off, and the backend returns a wrong timestamp error, the server time is parsed from the `Date` response header field. Additionally, the server time is incremented locally between retries by adding the time elapsed between a request and response.
18+
* Set the authentication component APIs to use server time if the `use_system_time` option is set to `false`.
19+
20+
**olp-cpp-sdk-dataservice-read**
21+
22+
* Removed the request repetition that occurred when the same blob request returned an error while multiple threads were waiting for the blob. Now, the returned error is shared with all waiting threads.
23+
24+
## v1.12.0 (03/06/2021)
225

326
**Common**
427

@@ -196,7 +219,7 @@
196219

197220
**olp-cpp-sdk-dataservice-read**
198221

199-
* Optimized memory overhead for prefetch.
222+
* Optimized memory overhead for prefetch.
200223
* Removed the ambiguous `PrefetchTilesRequest::WithTileKeys` method that takes an rvalue reference.
201224

202225
## v1.5.0 (07/04/2020)

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.12.0)
21+
project(olp-cpp-sdk VERSION 1.13.0)
2222

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

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.12.0)
18+
project(olp-cpp-sdk-authentication VERSION 1.13.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.12.0)
19+
project(olp-cpp-sdk-core VERSION 1.13.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.12.0)
18+
project(olp-cpp-sdk-dataservice-read VERSION 1.13.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.12.0)
18+
project(olp-cpp-sdk-dataservice-write VERSION 1.13.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)