From b15e966c71ba5c2c06acfdb5fb8031a49d8c555e Mon Sep 17 00:00:00 2001 From: Jimmy Dee Date: Wed, 13 May 2020 11:03:02 -0700 Subject: [PATCH] ChangeLog updates for 1.1.0 --- ChangeLog.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index c853911c..28f754c3 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,26 @@ +2020-05-13 Version 1.1.0 + * Improvements to thread safety of LinkInfo and its ancestors. + * Eliminate queueing and retry of /v1/url requests. A long link will now be + generated immediately on any request failure. + + This required some changes to the public interface of `BaseEvent`. The return + types of `getCustomData()` and `name()` have changed to avoid returning + pointers or references to unsynchronized objects from synchronized getters. + + ```c++ + BranchIO::JSONObject getCustomData() const; + std::string name() const; + ``` + + In addition, the destructor of `LinkInfo` will now block while any background + request is in progress. Once `createUrl()` is called, the `LinkInfo` object + is guaranteed to outlive the thread that executes the request. To force + immediate termination of the background thread, use `LinkInfo::cancel()`. + + Also note that each `LinkInfo` instance can currently only be used once to + generate a URL. For now, create a new `LinkInfo` instance for each URL + request. This will be improved in a future release. + 2020-05-01 Version 1.0.1 * Updated Poco dependency to ~=1.9.4, allowing patch revisions via `conan install --update`. This addresses an HTTPS failure on Windows.