Skip to content

Releases: optimizely/java-sdk

2.0.0-beta

29 Sep 21:27
Compare
Choose a tag to compare
2.0.0-beta Pre-release
Pre-release

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 set sourceCompatibility and targetCompatibility to 1.6 so that we build for Java 6.

1.8.0

29 Aug 22:17
466ebaa
Compare
Choose a tag to compare

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 and getForcedVariation
  • Added any numeric metric to event metrics.

Breaking Changes

  • Nothing breaking from 1.7.0

1.7.0

13 Jul 19:51
e265374
Compare
Choose a tag to compare

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 with UserProfileService interface.
  • Removed support for v1 datafiles.
  • Fix BuildInfo static initialization.

2.0.0 alpha

09 Jun 12:09
Compare
Choose a tag to compare

2.0.0 alpha release for testing on android

1.6.0

17 Mar 21:19
Compare
Choose a tag to compare
  • Add event tags to track API and include in the event payload
  • Deprecates the eventValue parameter from the track 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

1.5.0

16 Feb 21:01
Compare
Choose a tag to compare
  • Support Android TV SDK client engine

1.4.1

02 Feb 02:12
Compare
Choose a tag to compare
  • Default null status in datafile to Not started

1.4.0

31 Jan 21:31
Compare
Choose a tag to compare
  • Add sessionId parameter to activate and track and include in event payload
  • Append datafile revision to event payload
  • Add support for "Launched" experiment status

1.3.0

18 Jan 00:01
Compare
Choose a tag to compare
  • Add onEventTracked listener
  • Change getVariableFloat to getVariableDouble
  • Persist experiment and variation IDs instead of keys in the UserProfile