You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You can also get all the enabled features for the user by calling the following method which returns a list of strings representing the feature keys:
* 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.
48
+
```
49
+
Map<String, Object> eventTags = new HashMap<String, Object>();
* We have removed deprecated classes with the `NotificationBroadcaster` in favor of the new API with the `NotificationCenter`. We have streamlined the API so that it is easily usable with Java Lambdas in *Java 1.8+*. We have also added some convenience methods to add these listeners. Finally, some of the API names have changed slightly (e.g. `clearAllNotifications()` is now `clearAllNotificationListeners()`)
58
+
3
59
## 2.0.0 Beta 6
4
60
March 8, 2018
5
61
@@ -31,7 +87,7 @@ It also includes the latest Notification Listeners and bucketing ID changes from
31
87
32
88
January 30, 2018
33
89
34
-
This release adds support for bucketing id (By passing in `$opt_bucketing_id` in the attribute map to override the user id as the bucketing variable. This is useful when wanting a set of users to share the same experience such as two players in a game).
90
+
This release adds support for bucketing id (By passing in `$opt_bucketing_id` in the attribute map to override the user id as the bucketing variable. This is useful when wanting a set of users to share the same experience such as two players in a game).
35
91
36
92
This release also depricates the old notification broadcaster in favor of a notification center that supports a wide range of notifications. The notification listener is now registered for the specific notification type such as ACTIVATE and TRACK. This is accomplished by allowing for a variable argument call to notify (a new var arg method added to the NotificationListener). Specific abstract classes exist for the associated notification type (ActivateNotification and TrackNotification). These abstract classes enforce the strong typing that exists in Java. You may also add custom notification types and fire them through the notification center. The notification center is implemented using this var arg approach in all Optimizely SDKs.
37
93
@@ -58,7 +114,7 @@ This is a patch release for 1.8.0. It contains two bug fixes mentioned below.
58
114
### Bug Fixes
59
115
SDK returns NullPointerException when activating with unknown attribute.
60
116
61
-
Pooled connection times out if it is idle for a long time (AsyncEventHandler's HttpClient uses PoolingHttpClientConnectionManager setting a validate interval).
117
+
Pooled connection times out if it is idle for a long time (AsyncEventHandler's HttpClient uses PoolingHttpClientConnectionManager setting a validate interval).
62
118
63
119
## 2.0.0 Beta 2
64
120
October 5, 2017
@@ -93,7 +149,7 @@ You can now use feature flags in the Java SDK. You can experiment on features an
93
149
- Remove track with revenue as a parameter. Pass the revenue value as an event tag instead
0 commit comments