Skip to content

Commit 7b7f987

Browse files
authored
Add release notes for the beta version. (#82)
1 parent 5c9da48 commit 7b7f987

File tree

3 files changed

+149
-190
lines changed

3 files changed

+149
-190
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ branches:
1010
env:
1111
global:
1212
# BROWSER_STACK_USERNAME
13-
- secure: OyWUgwuPAxKaf8X627DjZDkp+h5uvLntJYcMTtq4FUTaokKBk7UbNs5MW2pP1rbzHIqEQDuj3WneuODMYpumH/gq9wwFSNgZipHzSbKUWMOPW3njIuN6N9ikkzVijEUh2ljK4wC3BVOWfaatR4J/KTpQTaJ6LanOabCo2StB70bGxfFvrHAAfRAAAGjVyAPovCcuDI4glfdEQa0H95iTKxCpPK9/oDDZCC8pyjHhb7zVin/D2JDPSVlEmiUPanTP3L//ICLKcdL/v3W5b4Sh1nuKFsHMxEXAPTl7/oTkG7hAcIILBmKhQz58P/rgmjSkz5GvC4CbwSOJigQAY7AUTZuW0SYWQh95TiaIXwVMnHSG5ZZiyGgeG8bpQJjn5yAiUViZHHGI7MUUvfxpFFYss2pS/gOWi21Qb5qXrb5qlPWmTLpxhQ6VOTYem/1/KeBIpSwP4+6qjDV+BYZYdrx+YbB4NEdDXGvHvt2gDXc1UhaPfBegWcyoC65iawsKrgTtID0Au+4hwvuZu3o6D0JCh2604+rHMD7OK9pjGjH5FiTI0eY0qhF6Nq3hg2l3GUpkgGH9UNWs6Hs/dJ2fFF34fE9Ki/2c6hZDmYxWqOC8oO5I39ECUq+pG31WdfSmIw9LcgA2AqxqbkXdBK7eYvNXRdg+QQcEx31Yvm5oCsc4lLE=
13+
- secure: WnyM4gMsi2n69O/YZUD/pYwHJXdKDcBv3Hwft2cCw52yYc+z75uuRgdaLKs4BPisckBtnR17dH7hKlPX3HWwjCoqQm1q5qNpbJrArWaEcbotWGF2YFy21ZZ4rKNQmJqdgRj6XFZhLHbncA8v2gQPK7F6GUJ0vsJF/kiTfxAUjefR23oorcKSQrh9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F78qUOVXwn+VYyZhJHlakG6SOGWwOl92cZcEf9wGRP8hFgB5f4kZITgNQMRzj/x/K+YPLG4+8V9DBKXYrd6uUaItJ78pE6zdMS3BCduds98FqfsYNn7kfa1CRXtJ3M/SC6ZAFjE/8lhEcg=
15+
- secure: U0GGZw46rJowBtH9gVluIrerB40u2b3uZpH0HsOdLlsXCCaTVk4JXX/JPVPashWAFLC7Enk3UOE4ofeEpVd0wbG6CxtG9/gklc2U2tvkqsdPpFZKaRrXoUzCyyPOmHEC2mXDXctbrncmttM4APaceRfbdTBEZIIfyLJadomjWylA61szFE9IZjvJpiwJO2xa5HI9GVRu3yXJci+riJux+JsDmfJ1hNwv3waMeeg/scddUH0hfgq69ftGs8cpMlYiO20eh32S7uPF7/IJTH1fDJjVKYQZwpypkF6AeI+od5CFTY1ajb25eaBNXThLS0Bo9ZJE/8Sogvon21dEJkt/ClY6R341InbAFXZvz7jyQAisvh0I4zxcu0VUCfh7bEUl6GXMO8VJnyxHEfqB+AIT2RoMXckkhulwiNUsJYH1yJ8mjnLvZq85mWBCp4n4jg0K6Wf46lHpjnHOVpLyLyoFGfiPf90AQVL02AJ3/ia8RkMuj0Ax+AGtiTC/+wy7dsDQOif/VpBNJcx/RciQ24mYOGzAMh4GsUWnXaZ9vXSxliogVNrmIefK5invJ0omv9pIx8NZHTHYGaulh4w6JsliiEq2kH78SlyvSrcsFGTwCY97LLaxiLm/75/Zf+F7LajKC23Fbtnj/LQizitFZqGMJ09DnR52krBAeultqRq8QLM=
1616
before_script:
1717
- npm install grunt-cli -g
1818
install: npm install

packages/optimizely-sdk/CHANGELOG

-188
This file was deleted.

packages/optimizely-sdk/CHANGELOG.MD

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
## 2.0.0-beta1
2+
April 15th, 2018
3+
4+
This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
5+
6+
### New Features
7+
* Introduces the `isFeatureEnabled` API to determine whether to show a feature to a user or not.
8+
```
9+
var enabled = optimizelyClient.isFeatureEnabled('my_feature_key', 'user_1', userAttributes);
10+
```
11+
12+
* You can also get all the enabled features for the user by calling:
13+
```
14+
var enabledFeatures = optimizelyClient.getEnabledFeatures('user_1', userAttributes);
15+
```
16+
17+
* Introduces Feature Variables to configure or parameterize your feature. There are four variable types: `Integer`, `String`, `Double`, `Boolean`.
18+
```
19+
var stringVariable = optimizelyClient.getFeatureVariableString('my_feature_key', 'string_variable_key', 'user_1');
20+
var integerVariable = optimizelyClient.getFeatureVariableInteger('my_feature_key', 'integer_variable_key', 'user_1');
21+
var doubleVariable = optimizelyClient.getFeatureVariableDouble('my_feature_key', 'double_variable_key', 'user_1');
22+
var booleanVariable = optimizelyClient.getFeatureVariableBoolean('my_feature_key', 'boolean_variable_key', 'user_1');
23+
```
24+
25+
### Breaking changes
26+
* The `track` API with revenue value as a stand-alone parameter has been removed. The revenue value should be passed in as an entry of the event tags map. The key for the revenue tag is `revenue` and will be treated by Optimizely as the key for analyzing revenue data in results.
27+
```
28+
var eventTags = {
29+
'revenue': 1200
30+
};
31+
32+
optimizelyClient.track('event_key', 'user_id', userAttributes, eventTags);
33+
```
34+
* The package name has changed from `optimizely-client-sdk` to `optimizely-sdk` as we have consolidated both Node and JavaScript SDKs into one.
35+
36+
## 1.6.0
37+
38+
* Bump optimizely-server-sdk to version 1.5.0, which includes:
39+
- Implemented IP anonymization.
40+
- Implemented bucketing IDs.
41+
- Implemented notification listeners.
42+
43+
## 1.5.1
44+
* Bump optimizely-server-sdk to version 1.4.2, which includes:
45+
- Bug fix to filter out undefined values in attributes and event tags
46+
- Remove a duplicated test
47+
48+
## 1.5.0
49+
* Bump optimizely-server-sdk to version 1.4.0, which includes:
50+
- Add support for numeric metrics.
51+
- Add getForcedVariation and setForcedVariation methods for client-side variation setting
52+
- Bug fix for filtering out null attribute and event tag values
53+
54+
## 1.4.3
55+
* Default skipJSONValidation to true
56+
* Bump optimizely-server-sdk to version 1.3.3, which includes:
57+
- Removed JSON Schema Validator from Optimizely constructor
58+
- Updated SDK to use new event endpoint
59+
- Minor bug fixes
60+
61+
## 1.4.2
62+
* Minor performance improvements.
63+
64+
## 1.4.1
65+
* Switched to karma/browserstack for cross-browser testing
66+
* Removed es6-promise
67+
* Bump optimizely-server-sdk to version 1.3.1, which includes:
68+
- Minor performance improvements.
69+
70+
## 1.4.0
71+
* Reduce lodash footprint.
72+
* Bump optimizely-server-sdk to version 1.3.0, which includes:
73+
- Introduced user profile service.
74+
- Minor performance and readibility improvements.
75+
76+
## 1.3.5
77+
* Bump optimizely-server-sdk to version 1.2.3, which includes:
78+
- Switched to json-schema library which has a smaller footprint.
79+
- Refactored order of bucketing logic.
80+
- Refactor lodash dependencies.
81+
- Fixed error on validation for objects with undefined values for attributes.
82+
83+
## 1.3.4
84+
* Bump optimizely-server-sdk to version 1.2.2, which includes:
85+
- Use the 'name' field for tracking event tags instead of 'id'.
86+
87+
## 1.3.3
88+
* Include index.js in package.json files to make sure it gets published regardless of node environment.
89+
90+
## 1.3.2
91+
* Bump to 1.3.2 to re-publish to npm
92+
93+
## 1.3.1
94+
* Bump optimizely-server-sdk to version 1.2.1, which includes:
95+
- Gracefully handle empty traffic allocation ranges.
96+
97+
## 1.3.0
98+
* Bump optimizely-server-sdk to version 1.2.0, which includes:
99+
- Introduce support for event tags.
100+
- Add optional eventTags argument to track method signature.
101+
- Removed optional eventValue argument from track method signature.
102+
- Removed optional sessionId argument from activate and track method signatures.
103+
- Allow log level config on createInstance method.
104+
105+
## 1.2.2
106+
* Remove .npmignore to consolidate with .gitignore.
107+
* Add dist and lib directories to "files" in package.json.
108+
109+
## 1.2.1
110+
* Fix webpack build error.
111+
112+
## 1.2.0
113+
* Bump optimizely-server-sdk to version 1.1.0, which includes:
114+
- Add optional sessionId argument to activate and track method signatures.
115+
- Add sessionId and revision to event ticket.
116+
- Add 'Launched' status where user gets bucketed but event is not sent to Optimizely.
117+
118+
## 1.1.1
119+
* Bump to optimizely-server-sdk to version 1.0.1, which includes:
120+
- Fix bug so conversion event is not sent if user is not bucketed into any experiment.
121+
- Bump bluebird version from 3.3.5 to 3.4.6.
122+
- Update event endpoint from p13nlog.dz.optimizely to logx.optimizely.
123+
124+
## 1.1.0
125+
* Add global variable name export for use in non-CommonJS environments
126+
* Remove redundant lodash core dependency to reduce bundle bloat
127+
128+
## 1.0.0
129+
* Introduce support for Full Stack projects in Optimizely X with no breaking changes from previous version.
130+
* Introduce more graceful exception handling in instantiation and core methods.
131+
* Update whitelisting to take precedence over audience condition evaluation.
132+
* Fix bug activating/tracking with attributes not in the datafile.
133+
134+
## 0.1.4
135+
* Add functionality for New Optimizely endpoint.
136+
137+
## 0.1.3
138+
* Add environment detection to event builder so it can distinguish between events sent from node or the browser.
139+
140+
## 0.1.2
141+
* Add CORS param to prevent browsers from logging cors errors in the console when dispatching events.
142+
143+
## 0.1.1
144+
* Remove percentageIncluded field from JSON schema, which is not needed.
145+
146+
## 0.1.0
147+
* Beta release of the Javascript SDK for our Optimizely testing solution

0 commit comments

Comments
 (0)