Skip to content

Commit

Permalink
Added 1.7.0 version CHANGELOG (#916)
Browse files Browse the repository at this point in the history
Add changelogs for 1.7.0 release.
Update package version in CMake.

Relates-To: OLPEDGE-1999

Signed-off-by: Mykhailo Kuchma <ext-mykhailo.kuchma@here.com>
  • Loading branch information
mykhailo-kuchma authored Jun 16, 2020
1 parent c0350cb commit c2086cd
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 5 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## v1.7.0 (06/16/2020)

**Common**

* Changed the product name from HERE OLP SDK for C++ to HERE Data SDK for C++.
* Fixed formatting to be compliant with the coding style.
* Fixed the issue with `olp::client::TaskContext`. Now, it does not trigger cancellation after a successful operation.
* Added the `default_cache_expiration` to `olp::client::OlpClientSettings`. Now, you can control how long the downloaded data is considered valid. Once the data is expired, you cannot retrieve it, and it is gradually removed from the cache when new data is added.
* Added the `OLP_SDK_DISABLE_DEBUG_LOGGING` CMake option. When enabled, the SDK does not print any `TRACE` or `DEBUG` level log messages.
* Added the `compression` setting to `olp::cache::CacheSettings`. You can now pass the flag to the underlying database engine to enable or disable the data compression.
* Added the `Compact` API to `olp::cache::DefaultCache`. It is used to optimize the underlying mutable cache storage. Compaction also starts automatically once the database size reaches the maximum in a separate thread.
* Changed the `olp::cache::DefaultCache` read operation. As a result, the number of memory allocation decreased, and performance increased.
* Added support for the HTTP `OPTIONS` request in `olp::http::Network`.
* The LRU eviction now evicts expired elements first. The eviction time decreased.
* Removed the retry code from `olp::http::NetworkCurl`. Now, retries are performed by `olp::client::OlpClient`.
* Added a prewarm helper method to `olp::client::OlpClientSettingsFactory`. This method can be used to perform DNS prefetch and TLS preconnect for certain URLs that are widely used by the clients. For example, accounts and lookup.
* Enabled certificate validation in `olp::http::NetworkCurl`.

**olp-cpp-sdk-authentication**

* The `olp::authentication::TokenProvider` class now handles the concurrent by blocking all requesters until the already triggered request completes. It verifies that only one token is requested at the same time.
* The `IntrospectApp` and `Authorize` APIs now use `ExponentialBackdownStrategy` internally in case of a 5xx HTTP status code.
* `olp::authentication::AuthenticationError` class is deprecated and will be replaced by `olp::client::ApiError`. It will be removed by 12.2020.
* Switched the `SignInClient` method in the `olp::authentication::AuthenticationClient` functionality to `TaskContext`.
* Added a fallback mechanism for `SignInClient`. Now, when the system time is wrong, the server time is used.
* Changed the `olp::authentication::ActionResult` class. Permissions are now represented by the `olp::authentication::Permission` class.
* The `use_system_time` flag in `olp::authentication::Settings` is now enabled by default. Now, system time is used for token requests by default.

**olp-cpp-sdk-dataservice-read**

* The module now resolves all service APIs for a specific HRN in a single request.
* Reduced the number of logs produced by the component.
* Merged the same concurrent Lookup API requests into a single HTTP request.
* Merged the same concurrent `GetBlob` and `GetVolatileBlob` API requests into a single HTTP request.
* Merged the same concurrent `QuadTreeIndex` API requests into a single HTTP request.
* **Work In Progress** Added a new `ListVersions` API to `olp::dataservice::read::CatalogClient`. You can use it to get information on catalog versions.
* **Work In Progress** Added a new `GetAggregatedData` API to `olp::dataservice::read::VersionedLayerClient`. You can use it to retrieve tile data (if it exists) or the nearest parent tile data. Use this API for tile-tree structures where children tile data is aggregated and stored in parent tiles.

## v1.6.0 (05/01/2020)

**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 1.6.0)
project(olp-cpp-sdk VERSION 1.7.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 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 1.6.0)
project(olp-cpp-sdk-authentication VERSION 1.7.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 1.6.0)
project(olp-cpp-sdk-core VERSION 1.7.0)
set(DESCRIPTION "Core network and utility library for the HERE OLP SDK C++")

find_package(RapidJSON 1.1.0 REQUIRED CMAKE_FIND_ROOT_PATH_BOTH)
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 1.6.0)
project(olp-cpp-sdk-dataservice-read VERSION 1.7.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 1.6.0)
project(olp-cpp-sdk-dataservice-write VERSION 1.7.0)
set(DESCRIPTION "C++ API library for writing data to OLP")

set(OLP_SDK_DATASERVICE_WRITE_API_HEADERS
Expand Down

0 comments on commit c2086cd

Please sign in to comment.