-
Notifications
You must be signed in to change notification settings - Fork 35
/
CHANGES.txt
49 lines (36 loc) · 1.41 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
## 2.1.0 (March 29, 2016)
* Added better handling of possible error situations when:
1. If there is none defaultTreatment present, use 'control' treatment.
2. Unexpected matcher structures should produce a 'control' treatment.
## 2.0.0 (March 21, 2016)
### Breaking Changes
* If you are using custom refresh rates, please change them from milliseconds to
seconds:
```js
var sdk = splitio({
core: {
authorizationKey: 'c1l5vkd50gimccout3c03pntbu', // your API key
key: '4a2c4490-ced1-11e5-9b97-d8a25e8b1578' // your customer id
},
scheduler: {
featuresRefreshRate: 60, // in 2.x 60 sec, in 1.x 60000 milliseconds
segmentsRefreshRate: 60, // in 2.x 60 sec, in 1.x 60000 milliseconds
metricsRefreshRate: 30, // in 2.x 30 sec, in 1.x 30000 milliseconds
impressionsRefreshRate: 30 // in 2.x 30 sec, in 1.x 30000 milliseconds
}
});
```
### New features
* Based on users feedback, the new recommend values for all the refresh rates are:
```js
scheduler: {
featuresRefreshRate: 30, // in 2.x 30 sec, in 1.x 60000 milliseconds (1min)
segmentsRefreshRate: 60, // in 2.x 60 sec, in 1.x 60000 milliseconds (1min)
metricsRefreshRate: 60, // in 2.x 60 sec, in 1.x 300000 milliseconds (5min)
impressionsRefreshRate: 60 // in 2.x 60 sec, in 1.x 300000 milliseconds (5min)
}
```
## 1.0.1 (March 16, 2016)
* Make it public in npm
## 1.0.0 (March 15, 2016)
* Initial public release