Skip to content

Commit 06839dc

Browse files
Release 1.12.0 (#1221)
Update the changelog to package version to 1.12 Additionally fix the previous release dates. Relates-To: OLPEDGE-2555 Signed-off-by: Mykhailo Kuchma <[email protected]>
1 parent 60db721 commit 06839dc

File tree

6 files changed

+47
-14
lines changed

6 files changed

+47
-14
lines changed

CHANGELOG.md

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
1-
## v1.11.0 (02/08/2020)
1+
## v1.12.0 (03/06/2021)
2+
3+
**Common**
4+
5+
* Changed the `olp::cache::DiskCache` implementation. Now, it passes the provided `olp::cache::CacheSettings::enforce_immediate_flush` flag to `leveldb::WriteOptions::sync`.
6+
* Added a new CMake option: `OLP_SDK_ENABLE_DEFAULT_CACHE`. The flag disables the LevelDB and Snappy dependencies and the default cache implementation. The `olp::cache::KeyValueCache` interface is still available for the user to implement his cache.
7+
* Added a new custom LevelDB environment implementation. It overrides the random access file API disabling the excessive memory mapping, which led to huge memory spikes on mobile platforms.
8+
* Changed the cache `olp::cache::DefaultCache::Remove` and `olp::cache::DefaultCache::RemoveKeysWithPrefix` APIs to consider protected keys, which means that the keys and values are not removed when protected.
9+
* Fixed the crash that occurred inside `olp::cache::DefaultCache::Compact` when there was no disk cache present.
10+
* Fixed the race condition in iOS networking. The race condition caused a rare crash during concurrent access to `urlSessions` in the `createTaskWithProxy:andId:` method inside `OLPHttpClient.mm`.
11+
* **Work In Progress** Added the `olp::cache::DefaultCache::StorageOpenResult::ProtectedCacheCorrupted` status. It is returned by `olp::cache::DefaultCache::Open()` when the protected cache fails to open.
12+
* Fixed the issue that occurred when provided `olp::cache::OpenOptions` in `olp::cache::CacheSettings` were ignored by the mutable cache.
13+
* Changed the log level of a few repetitive and unimportant log messages from `INFO` to `DEBUG`.
14+
* Broke the cycling dependency in the Android network implementation `HttpClient.java`.
15+
* Extended the `olp::client::DefaultRetryCondition` to consider `IO_ERROR`, `OFFLINE_ERROR`, `TIMEOUT_ERROR`, `NETWORK_OVERLOAD_ERROR` errors returned by the network layer upon send as retriable.
16+
* Changed the size estimation routine for the mutable cache. In a scenario when the `max_disk_storage` is not set, we get the cache size from `leveldb::DB::GetApproximateSize` instead of traversing the whole database.
17+
* Fixed the cache opening sequence. Now, when the mutable cache fails to open - the error is returned.
18+
* Added handling of the `NSURLErrorDataNotAllowed` error on iOS as `OFFLINE_ERROR`.
19+
* Added handling of the `NSURLErrorNetworkConnectionLost` error on iOS as `IO_ERROR`.
20+
21+
**olp-cpp-sdk-authentication**
22+
23+
* Fixed the usage of the same nonce for authentication retry requests. Now, all authentication requests generate a new unique nonce.
24+
* **Work In Progress** Added the `SignInApple` API. Use it to sign in to the HERE platform with Apple ID.
25+
26+
**olp-cpp-sdk-dataservice-read**
27+
28+
* Reduced quadtree index requests in the `olp::dataservice::read::VersionedLayerClient::PrefetchTiles` and `olp::dataservice::read::VolatileLayerClient::PrefetchTiles` APIs.
29+
* Added merging for the exact concurrent quadtree index requests in the `olp::dataservice::read::VersionedLayerClient::PrefetchTiles` and `olp::dataservice::read::VolatileLayerClient::PrefetchTiles` APIs.
30+
* Added a new API to `olp::dataservice::read::VersionedLayerClient::Protect` and `olp::dataservice::read::VersionedLayerClient::Release` for partitions. It works the same way as the API for tiles.
31+
* Added the `olp::dataservice::read::repository::NamedMutexStorage` class. It is designed to store `olp::dataservice::read::repository::NamedMutex` instances. It helps to eliminate global static variables.
32+
* Added the `olp::client::ErrorCode::CacheIO` error. The error occurs when the cache fails to store the download data. It is implemented only for the `olp::dataservice::read::VersionedLayerClient::PrefetchTiles` and `olp::dataservice::read::VolatileLayerClient::PrefetchPartitions` APIs.
33+
34+
## v1.11.0 (08/02/2021)
235

336
**Common**
437

@@ -13,7 +46,7 @@
1346
* Fixed the data races inside prefetch operation that could lead to double callback or no callback at all.
1447
* Fixed prefetch cancelation behavior for both `olp::dataservice::read::VersionedLayerClient` and `olp::dataservice::read::VolatileLayerClient`. When canceled before this fix user will not know the status for each tile, in particular, that were canceled and only received the status for the tiles which succeeded or which failed with an arbitrary error.
1548

16-
## v1.10.0 (12/14/2020)
49+
## v1.10.0 (14/12/2020)
1750

1851
**Common**
1952

@@ -39,7 +72,7 @@
3972
* Merged the same concurrent `GetPartitions` requests in the `olp::dataservice::read::VersionedLayerClient`.
4073
* Various changes in logging; decreased the level of messages to reduce the output.
4174

42-
## v1.9.0 (10/12/2020)
75+
## v1.9.0 (12/10/2020)
4376

4477
**Common**
4578

@@ -64,7 +97,7 @@
6497
* **Work In Progress** Enhanced `olp::dataservice::write::VersionedLayerClient`. The `PublishToBatch` and `CancelBatch` methods now use `olp::thread::TaskScheduler` instead of network threads for asynchronous operations.
6598
* **Work In Progress** Enhanced `olp::dataservice::write::VolatileLayerClient`. The `PublishPartitionData` method now uses `olp::thread::TaskScheduler` instead of network threads for asynchronous operations.
6699

67-
## v1.8.0 (08/25/2020)
100+
## v1.8.0 (25/08/2020)
68101

69102
**Common**
70103

@@ -101,7 +134,7 @@
101134
* Fixed the duplicate requests used to configure the service in `StreamLayerClient`.
102135
* Fixed the upload issue in the stream layer that occurred when the layer compression was enabled on the platform at the same time as the ingest service was used.
103136

104-
## v1.7.0 (06/16/2020)
137+
## v1.7.0 (16/06/2020)
105138

106139
**Common**
107140

@@ -139,7 +172,7 @@
139172
* **Work In Progress** Added a new `ListVersions` API to `olp::dataservice::read::CatalogClient`. You can use it to get information on catalog versions.
140173
* **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.
141174

142-
## v1.6.0 (05/01/2020)
175+
## v1.6.0 (05/05/2020)
143176

144177
**Common**
145178

@@ -186,7 +219,7 @@
186219
* Added the `RemoveFromCache` method to `VolatileLayerClient`. Now, you can remove specific partitions or tiles from the mutable cache.
187220
* Added a new `PrefetchTiles` method to `VolatileLayerClient`. Now, you can prefetch volatile tiles in the same way as versioned tiles.
188221

189-
## v1.4.0 (23/03/2020)
222+
## v1.4.0 (24/03/2020)
190223

191224
**Common**
192225

@@ -211,7 +244,7 @@
211244

212245
* Deprecated the `olp::dataservice::write::StreamLayerClient::CreateDefaultCache` method. It will be removed by 06.2020.
213246

214-
## v1.3.0 (04/03/2020)
247+
## v1.3.0 (10/03/2020)
215248

216249
**Common**
217250

@@ -399,7 +432,7 @@
399432
* **Breaking Change** - Use new HTTP layer as input parameter for all requests. This is a mandatory parameter and users must provide it.
400433
* **Breaking Change** - `olp::dataservice::write::StreamLayerClient` uses new `olp::thread::TaskScheduler` as input parameter for async context. If the `olp::thread::TaskScheduler` instance is not provided, all tasks are executed in the calling thread.
401434

402-
## v0.6.0-beta (27/06/2019)
435+
## v0.6.0-beta (03/06/2019)
403436
Initial open source release as a _work in progress_ beta.
404437
<br />Not all OLP features are implemented, API breaks very likely with following commits and releases.
405438

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