Releases: optimizely/java-sdk
Releases · optimizely/java-sdk
2.0.0-beta
2.0.0 Beta
September 29, 2017
This release is a beta release supporting feature flags and rollouts.
New Features
Feature Flag Accessors
You can now use feature flags in the Java SDK. You can experiment on features and rollout features through the Optimizely UI.
isFeatureEnabled
getFeatureVariableBoolean
getFeatureVariableDouble
getFeatureVariableInteger
getFeatureVariableString
Breaking Changes
- Remove Live Variables accessors
getVariableString
getVariableBoolean
getVariableInteger
getVariableDouble
- Remove track with revenue as a parameter. Pass the revenue value as an event tag instead
track(String, String, long)
track(String, String, Map<String, String>, long)
- We will no longer run all unit tests in travis-ci against Java 7.
We will still continue to setsourceCompatibility
andtargetCompatibility
to 1.6 so that we build for Java 6.
1.8.0
1.8.0
August 29, 2017
This release adds support for numeric metrics and forced bucketing (in code as opposed to whitelisting via project file).
New Features
- Added
setForcedVariation
andgetForcedVariation
- Added any numeric metric to event metrics.
Breaking Changes
- Nothing breaking from 1.7.0
1.7.0
Release to support android-sdk 1.4.0 - This is a breaking change version
- Added
UserProfileService
interface to allow for sticky bucketing - Removed
UserProfile
interface. Replaced withUserProfileService
interface. - Removed support for v1 datafiles.
- Fix BuildInfo static initialization.
2.0.0 alpha
2.0.0 alpha release for testing on android
1.6.0
- Add event tags to
track
API and include in the event payload - Deprecates the
eventValue
parameter from thetrack
method. Should use event tags to pass in event value instead - Gracefully handle a null attributes parameter
- Gracefully handle a null/empty datafile when using the Gson parser