Skip to content

Releases: statsig-io/java-server-sdk

v0.8.2 group percentage to _getExperimentGroups API

19 Nov 23:38
8036a2e
Compare
Choose a tag to compare

We are changing the _getExperimentGroups API due to customer request in this release. Instead of returning a Map<String, String>, it now returns a Map<String, Map<String, Any>>, where the value has 2 keys - "value" and "percent" - representing the name + values of the parameters (as a json string), and the split % for the group (as a Double).

Note that groups will include special groups like "Disabled", "Targeting" and "Layer Assignment", please ignore all these groups that are not your actual experiment groups as these are for internal evaluation purposes only.

v0.8.1 Add temporary _getExperimentGroups API

19 Nov 00:12
4c643fb
Compare
Choose a tag to compare

Given an experiment name, _getExperimentGroups returns a Map<String, String> where the keys are experiment group names, and the value is a json string representing a dictionary of parameter names and values.

NOTE:

Experiments have some internal groups that will be returned in this metadata. They represent different reasons why a user might be in the experiment, but are not actual groups. These include the below today:

'Disabled', 'Default','Not started','Launched','Targeting','Allocation',

v0.8.0 - Minor API Breaking Change (StatsigServer -> Statsig) + Internal Improvements

11 Oct 01:59
4e9fe4a
Compare
Choose a tag to compare

Breaking change introduced in v0.8.0:

  • StatsigServer becomes Statsig
  • The currently undocumented instance of a StatsigServer:
    • ServerDriver becomes StatsigServer
    • Created via ServerDriver.create()

v0.8.0 also contains some internal improvements with coroutines and structure of the SDK

Align evaluation behavior for string based operators

11 Sep 00:29
1b85d64
Compare
Choose a tag to compare

We are aligning the behavior for all string based operators in this release so that we try to convert accidentally provided incorrect types to strings and evaluate instead of returning false by default.

Adding support for a new operator

09 Sep 01:35
9a441bb
Compare
Choose a tag to compare

Added support for "string contains none" operator.

Moved exposure logging for "fetch from server" fallback case from SDK to statsig server