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.
isFeatureEnabledgetFeatureVariableBooleangetFeatureVariableDoublegetFeatureVariableIntegergetFeatureVariableString
Breaking Changes
- Remove Live Variables accessors
getVariableStringgetVariableBooleangetVariableIntegergetVariableDouble
- 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 setsourceCompatibilityandtargetCompatibilityto 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
setForcedVariationandgetForcedVariation - 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
UserProfileServiceinterface to allow for sticky bucketing - Removed
UserProfileinterface. Replaced withUserProfileServiceinterface. - 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
trackAPI and include in the event payload - Deprecates the
eventValueparameter from thetrackmethod. 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