Skip to content

Releases: statsig-io/java-server-sdk

[release] 1.13.0 - Support Multi SDK Instances

29 Feb 22:47
c79b1e6

Choose a tag to compare

New Feature

  • Add support for having multiple StatsigServer instances
    • CAVEAT: Multi-instances Statsig Server will not be compatible if you are using Data Store, data will override each other among projects
  • Add log event dedupe logic, in 1 minute time interval, exposure event will be deduped if the same config, user, and evaluation result is being logged multiple times. Custom events (events called with logEvent) will not be deduped

[release] 1.12.1 - Fix network bugs and add log_event request header changes

21 Feb 04:35
c79b1e6

Choose a tag to compare

Bug fix

  • Fix infinite retry loop on log_event network request

Internal

  • add event count to log_event header

Included In This Release

  • 5bd9741 Xin Li
    • Fix log retry never ends (#224)
  • 06ccd5d weihao-statsig
    • Add .DS_Store to .gitignore (#225)
  • 648d0f0 weihao-statsig
    • Add Events Counter to the header (#223)

[release] 1.12.0 - Synchronous API, getClientInitializeResponse improvements

09 Feb 03:50
6032cc3

Choose a tag to compare

New API:

  • checkGateSync - synchronous version of previously checkGate
  • getConfigSync - synchronous version of previously getConfig
  • getExperimentSync - synchronous version of previously getExperimentSync
  • getLayerSync - synchronous version of previously getLayer

Improvements:

  • Diagnostics logging for getClientInitializeResponse
  • Alternative target app filtering on getClientInitializeResponse (for Statsig on-prem)

[release] 1.11.1 - Disable logging options and fix download idlist

31 Jan 04:52
2a73307

Choose a tag to compare

Feature

  • New statsigOptions to disable all loggings from sending out from SDK (including exposures, custom events, diagnostics, errors)

  • Bug fix
    Fix the bug that downloadin idlist is broken if api is not provided from StatsigOptions.

[release] 1.10.1 - Fix memory leak from internal logging system

22 Jan 20:36
c3c18a1

Choose a tag to compare

Internal

  • Fix diagnostics (internal logging system) do not clear out log events when it's not sampled, or diagnostics disabled.
  • Log getClientInitializationResponse returns null

[release] 1.10.0 - Custom Logger, [Internal] Initialization logging, SDK Key verification

10 Jan 19:39
b7b8ff5

Choose a tag to compare

  • New Feature

    • Custom Logger: A new callback interface can be define how to log warning / info. The default behavior is println (System.out.println). If custom logger is provided, call back function will be called instead of printout to console
  • Internal

    • Always log initialization diagnostics data, so we can better monitor and debug the health of sdk
    • SDK Key verification: check if server response is the same sdk key. If sdk key mismatched between sdk and server response, response will be disregarded.
      -Fix a concurrency bug on internal logging class

[release] v1.9.0 - [Internal] Migrate initialize to CDN, Log sdk performance data, Manually Close network response

07 Dec 18:18
67abcae

Choose a tag to compare

All changes are internal

Migrating download_config_spec request to GET from CDN
Log more information about sdk performance, including options passed in, configName, and initialize, config sync performance
Manually close http network body to prevent potential memory leak

v1.8.0 - Pull in IP3Country Update

16 Nov 23:28
e7580dd

Choose a tag to compare

Included In This Release

  • f6c4b67 Daniel
    • Update IPCountry to 0.1.5 (#194)

v1.7.0 - Unhandled interrupted exception handler and change type of Tier

16 Nov 18:21

Choose a tag to compare

  • Added a new exception handler for unhandle exceptions from the same thread. Handler will shutdown Statsig and throw the exception. This is to prevent Statsig keeps JVM from shutting down
  • [Breaking Change] Change tier from Tier Enum to be String so custom tiers can be supported.

v1.6.3 - Update UA-Parser Dependency, Bootstrap user hash

09 Nov 07:49

Choose a tag to compare

  • Upgrade ua-parser dependency to the version which fixes security vulnerability CVE-2022-1471: Older versions are not vulnerable because our usage of ua parser doesn't expose the SDK to this vulnerability, but this will stop vuln scanners from generating notifications
  • Bootstrap User Hash