File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
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
+
1
24
2020-05-01 Version 1.0.1
2
25
* Updated Poco dependency to ~ =1.9.4, allowing patch revisions via ` conan install --update ` .
3
26
This addresses an HTTPS failure on Windows.
You can’t perform that action at this time.
0 commit comments