Skip to content

Commit b04b657

Browse files
Add changelog for v1.3.0 (#698)
Resolves: OLPEDGE-1596 Signed-off-by: Serhii Lozynskyi <[email protected]> Signed-off-by: Andrei Popescu <[email protected]>
1 parent 425862b commit b04b657

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## v1.3.0 (04/03/2020)
2+
3+
**Common**
4+
5+
* Response headers are now stored in `olp::client::HttpResponse`. `olp::client::OlpClient::CallApi()` collects and adds headers to the response.
6+
* X-Correlation-ID is now extracted from the HTTP response headers and used for subsequent requests in `olp::dataservice::read::StreamLayerClient`.
7+
* Added a new backdown strategy to `olp::client::RetrySettings`.
8+
The default implementation is `olp::client::ExponentialBackdownStrategy` that restricts the maximum wait time during failed retries of network requests in the `olp::network::client::OlpClient` class (both synchronous and asynchronous versions). The accumulated wait time during retries should not be longer than the `RetrySettings.timeout` property.
9+
* Added `curl_global_init()` and `curl_global_cleanup()` to the `olp::http::NetworkCurl` class (Linux default implementation).
10+
For more information, see the `olp::client::OlpClientSettingsFactory::CreateDefaultNetworkRequestHandler()` function.
11+
* Fixed MSVC, Clang, and GCC warnings. Now, when you build with `-Wall -Wextra`, you should not face any hidden warnings, as the codebase is protected by a pre-release verification job.
12+
* Fixed the possible thread concurrency problem in the `olp::client::OlpClient` class that resulted in a crash in some situations.
13+
* Reduced data copy in the JSON serializers to increase performance.
14+
15+
**olp-cpp-sdk-authentication**
16+
17+
* Added a new API to `olp::authentication::AuthenticationClient` that you can use to perform a generic federated authentication with a custom request body.
18+
* Added the `olp::authentication::AuthenticationClient::IntrospectApp()` method that you can use to retrieve information
19+
about the application associated with a particular access token.
20+
* Added a new `olp::authentication::AuthenticationClient` constructor using `olp::authentication::AuthenticationSettings` to setup network and task scheduler. It is a part of an ongoing authentication refactoring. Switch to this constructor instead of using the individual setters.
21+
22+
**olp-cpp-sdk-dataservice-read**
23+
24+
* `olp::dataservice::read::PartitionsRequest` now supports a list of partition IDs. This way, when you use `olp::dataservice::read::VersionedLayerClient` and `olp::dataservice::read::VolatileLayerClient`, you can also request certain partitions instead of the entire layer metadata.
25+
* Added the `Seek` method to `olp::dataservice::read::StreamLayerClient`. This method can be used to start reading messages from a stream layer at any given position.
26+
* Added the `Poll` method to `olp::dataservice::read::StreamLayerClient`. This method reads messages from a stream layer and commits successfully consumed messages before handing them over to you.
27+
* Added the `olp::dataservice::read::TileRequest` class and corresponding `GetData` overload to `olp::dataservice::read::VersionedLayerClient`. Now, you can get data using a tile key. Internally, the metadata retrieval is optimized by using a quadtree request and saves bandwidth on subsequent `GetData` calls.
28+
* Added additional fields to the `olp::dataservice::read::PartitionsRequest` class. Now, you can access the following additional metadata
29+
fields: data size, compressed data size, checksum, and CRC.
30+
* Deprecated the `WithVersion` and the `GetVersion` methods in the `olp::dataservice::read::DataRequest`, `olp::dataservice::read::PartitionsRequest` and `olp::dataservice::read::PrefetchTilesRequest` classes. `olp::dataservice::read::VersionedLayerClient` now locks the catalog version either to the value provided on the constructor or by requesting the latest catalog version from the backend. This ensures that consistent data is provided for the instance lifecycle.
31+
* Fixed cache keys by appending 'partition' and 'partitions' to key values in `olp::dataservice::read::VolatileLayerClient`.
32+
* Fixed the infinite loop in the `olp::dataservice::read::VersionedLayerClient::PrefetchTiles()` method when min/max levels are not specified.
33+
134
## v1.2.0 (04/02/2020)
235

336
**Common**

0 commit comments

Comments
 (0)