Skip to content

Commit b15e966

Browse files
committed
ChangeLog updates for 1.1.0
1 parent f44dc8f commit b15e966

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

ChangeLog.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
2020-05-13 Version 1.1.0
2+
* Improvements to thread safety of LinkInfo and its ancestors.
3+
* Eliminate queueing and retry of /v1/url requests. A long link will now be
4+
generated immediately on any request failure.
5+
6+
This required some changes to the public interface of `BaseEvent`. The return
7+
types of `getCustomData()` and `name()` have changed to avoid returning
8+
pointers or references to unsynchronized objects from synchronized getters.
9+
10+
```c++
11+
BranchIO::JSONObject getCustomData() const;
12+
std::string name() const;
13+
```
14+
15+
In addition, the destructor of `LinkInfo` will now block while any background
16+
request is in progress. Once `createUrl()` is called, the `LinkInfo` object
17+
is guaranteed to outlive the thread that executes the request. To force
18+
immediate termination of the background thread, use `LinkInfo::cancel()`.
19+
20+
Also note that each `LinkInfo` instance can currently only be used once to
21+
generate a URL. For now, create a new `LinkInfo` instance for each URL
22+
request. This will be improved in a future release.
23+
124
2020-05-01 Version 1.0.1
225
* Updated Poco dependency to ~=1.9.4, allowing patch revisions via `conan install --update`.
326
This addresses an HTTPS failure on Windows.

0 commit comments

Comments
 (0)