|
1 | | -# 1.2.2 |
2 | | -* Allow anonymous_id in Account claims |
| 1 | +# CHANGELOG |
3 | 2 |
|
4 | | -# 1.2.1 |
| 3 | +## 2.0.0-beta.3 |
| 4 | +* fix missing flow types |
| 5 | +* documentation adjustments |
| 6 | + |
| 7 | +## 2.0.0-beta.2 |
| 8 | +* adds experimental `logsArray` and `firehoseEventsArray` to additionally capture log lines and firehose events to separate arrays. |
| 9 | + CAUTION: this does not disable normal behaviour of the libary |
| 10 | +* fix retry callback errors |
| 11 | + |
| 12 | +## 2.0.0-beta.1 |
| 13 | +* **BREAKING** HullClient is a set of ES6 classes now, not a Function anymore - this means you cannot do `const hullClient = HullClient()` anymore, you always need `new` keyword |
| 14 | +* **BREAKING** `as` method is not available anymore, use `asUser` |
| 15 | +* **BREAKING** `utils.groupTraits` method is not available anymore, use `utils.traits.group` |
| 16 | +* **BREAKING** `traits` method second parameter accepting `source` and `sync` option is not available anymore. Sync calls are not available at all, and if you need to apply `source` to your traits you need to do it before passing payload to `traits` method |
| 17 | +* **BREAKING** `hullClient.api.get` methods are not available anymore, use `hullClient.get` or `hullClient.api(path, "get")`, the same applies for all HTTP verbs |
| 18 | +* the client now comes with full set of Flow types in src/types.js file |
| 19 | + ```js |
| 20 | + import type { HullUserClaims } from "hull-client"; |
| 21 | + |
| 22 | + const userClaims: HullUserClaims = { |
| 23 | + wrong_claim: "bar" |
| 24 | + }; |
| 25 | + // this will throw flow check error since `wrong_claim` is not correct |
| 26 | + ``` |
| 27 | +* underlying HTTP library restler was replaced with superagent |
| 28 | + |
| 29 | +## 1.2.2 |
| 30 | +* allow anonymous_id in Account claims |
| 31 | + |
| 32 | +## 1.2.1 |
5 | 33 | * render docs without a TOC so the Website can display them properly. |
6 | 34 |
|
7 | | -# 1.2.0 |
| 35 | +## 1.2.0 |
8 | 36 | * documentation split into API reference in API.md and getting started and "how-tos" guides in README.md |
9 | 37 | * cleanup babeljs configuration and use native NodeJS v6 with single babeljs plugin (transform-object-rest-spread) to allow object spread syntax (remove import/export syntax) |
10 | 38 | * run circleci jobs on all supported nodejs versions |
11 | 39 | * upgrade of dependencies |
12 | 40 |
|
13 | | -# 1.1.5 |
| 41 | +## 1.1.5 |
14 | 42 | * retry all 5xx errors |
15 | 43 |
|
16 | | -# 1.1.4 |
| 44 | +## 1.1.4 |
17 | 45 | * add requestId in logger context |
18 | 46 |
|
19 | | -# 1.1.3 |
| 47 | +## 1.1.3 |
20 | 48 | * fixes building and publishing process |
21 | 49 |
|
22 | | -# 1.1.2 |
| 50 | +## 1.1.2 |
23 | 51 | * fixes how API rest client rejects after errors |
24 | 52 |
|
25 | | -# 1.1.1 |
| 53 | +## 1.1.1 |
26 | 54 | * Add support for custom `scopes` claim in auth tokens |
27 | 55 |
|
28 | | -# 1.1.0 |
| 56 | +## 1.1.0 |
29 | 57 | * logging api timeouts and failures |
30 | 58 | * filter out logged claims for users and accounts so one can pass `hull.asUser(user)` |
31 | 59 | * add `client.as` alias and deprecation notice |
|
35 | 63 | * adds `Hull-Organization` header to firehose calls |
36 | 64 | * adds `ip` and `time` context param to traits call |
37 | 65 |
|
38 | | -# 1.0.6 |
| 66 | +## 1.0.6 |
39 | 67 | * fix `client.utils.traits.group` and deprecates `client.utils.groupTraits` |
40 | 68 | * improves code structure |
41 | 69 |
|
42 | | -# 1.0.0 |
| 70 | +## 1.0.0 |
43 | 71 | * extract from `hull-node 0.11.4` - Initial Commit |
0 commit comments