Skip to content

Releases: statsig-io/java-server-sdk

1.22.0 - API Override options for download_config_specs and get_id_lists

27 Jun 01:46
540a3d3
Compare
Choose a tag to compare

New Features

  • Provide API overrides option for download_config_specs and get_id_lists
    • In addition to api option, provide option to override specific endpoint, for download_config_specs request will be apiForDownloadConfigSpecs and for get_idlists apiForGetIDLists.
    • If both api and endpoint api is presented, e.g. StatsigOptions(api = "endpoint1/v1", apiForDownloadConfigSpecs = "endpoint2/v1") SDK will use endpoint1/v1 for log_events and get_idlists, endpoint2/v1 for download_config_specs

Fixes

  • Clear log event deduper
  • exposure dedupe inverted unique check

Included In This Release

  • 217838c Xin Li
    • feat: Api overrides for download config sepcs and idlists (#293)
  • 53714c4 tore-statsig
    • fix: exposure dedupe inverted unique check (#311)
  • 909b26c tore-statsig
    • fix: deduper clear (#310)
  • 778f250 tore-statsig
    • feat: automatically release from publish action (#309)
  • c359639 Weihao Ding
    • Revert "Fix publishing - use user token" (#308)
  • 4d43995 tore-statsig
    • Fix publishing - use user token (#307)

Full Changelog: 1.21.0...1.22.0

1.21.0 - Option to disable ip3 country and fix potential memory leaks

21 Jun 23:40
9764cb2
Compare
Choose a tag to compare

New feature:

  • Add option to disable ip3 country library

Fix memory leak:

  • Properly close network request in multiple places
  • append to existing set for exposure deduping
  • Cancel coroutine work in errorBoundary when shutdown

Included In This Release

  • f016f9a Weihao Ding
    • revert: delete inline ip3 country look up files (#305)
  • a7fa62e tore-statsig
    • revert: use ip3country library instead of inlined version (#304)
  • e22c18f Weihao Ding
    • fix: cancel eb coroutine job when we shutdown (#303)
  • d042c77 Weihao Ding
    • optimize: lazy init eb http client (#302)
  • 02d3e71 Weihao Ding
    • clear set not re-assign the set (#299)
  • 78d28c2 tore-statsig
    • fix: optimistically set initialized (#298)
  • bf3f1fe tore-statsig
    • feat: add option to disable ip->country resolution (#301)
  • dea4315 tore-statsig
    • feat: cleanup ip/country tables (#297)
  • 64c667f tore-statsig
    • feat: inline ip3country to test fix (#296)
  • 430cc16 Weihao Ding
    • fix: close external http client when we shutdown (#294)
  • ddc4d3e andyphan-statsig
    • use runTest instead of runBlocking for testLogEventRetry (#292)

Full Changelog: 1.20.0...1.21.0

1.20.0 - Fallback to Statsig Endpoint if no proxy failed

13 Jun 17:25
0ddd5ee
Compare
Choose a tag to compare

New feature:

  • New option to fallback to statsig api if overrided api failed, for config spec and idlist sync only.

Fix:

  • Potential memory leak fix, explicitly cancel non active background jobs

Included In This Release

  • 2ff975d Xin Li
    • feat:Fallback to statsig endpoint if proxy server fails (#284)
  • ddb5aa0 tore-statsig
    • feat: explicitly cancel non active background jobs (#288)

Full Changelog: 1.19.0...1.20.0

1.19.0 - Expose Evaluation Details, Fix DataStore Resetting

11 Jun 22:49
f139530
Compare
Choose a tag to compare

New:

  • We now supported exposing evaluationDetails on some core apis.
    • getFeatureGate
    • getLayerSync
    • getExperimentSync

Fix

  • Fixed the issue that we were resetting dataStore every time we poll updates from the dataStore
  • Some memory usage fixes

Included In This Release

  • c9b4ab8 Weihao Ding
    • feat: Expose eval details on core apis (#286)
  • 4fd1766 Weihao Ding
    • fix: remove reset datastore after poll from dataStore (#285)
  • 0b016e0 Weihao Ding
    • fix: potential fix for memory leak in java (#283)

Full Changelog: 1.18.1...1.19.0

[Release]1.18.1 - Return map copy of statsigUser with getClientInitializeResponse

04 Jun 19:46
b0dc348
Compare
Choose a tag to compare

Improvement:
-Instead of returning StatsigUser data class with getClientInitializationResponse, return map copy of statsigUser so it is more safe to serialize

  • Context, jackson library cannot properly serialize StatsigUser

Included In This Release

  • edd776f Xin Li
    • fix gcir (#281)
  • 52c1e1b Weihao Ding
    • git: Add push to public workflow (#280)

Full Changelog: 1.18.0...1.18.1

[release] 1.18.0 - getClientInitializeResponse Improvements, concurrent initialization improvements and internal updates

24 May 18:27
67b803e
Compare
Choose a tag to compare
  • GetClientInitialization Improvements. This release adds debugging information for which server SDK generated the values, and includes the full user object used to generate the values. The generated values strip out segment secondary exposures to reduce the payload size
  • improves error messages from download config specs errors
  • Improves initialization logic to prevent potential race condition when initialize concurrently

Internal updates:

trims diagnostic data, adds diagnostics for id list downloads

Included In This Release

  • dabd114 tore-statsig
    • chore: remove !! operators (#277)
  • 61c2fd9 kenny-statsig
    • filter & dedupe exposures during evaluation (#275)
  • 81c362b weihao-statsig
    • fix: potential race condition for init call (#279)

[release] 1.17.3 - Upgrade internal dependency versions

22 May 16:12
2a0b464
Compare
Choose a tag to compare

Upgrade internal dependency versions

Includes:

1a913cd

[release] 1.17.2 - Improve performance of getClientInitializeResponse

01 May 20:08
b0bacb7
Compare
Choose a tag to compare

Optimization in the getClientInitializeResponse API - we are observing up to a 50% decrease in latency

Included In This Release

  • 26b1589 Weihao Ding
    • perf: improve gcir (#258)
  • 36d37dc Weihao Ding
    • Regression Test: Update github action workflow (#262)

[release] 1.17.1 - [Bug Fix] error boundary synchronously sends request

27 Apr 00:31
86c294c
Compare
Choose a tag to compare
  • Bug fix:
  • In cases where an exception was thrown within the core API methods for the first time in a session, we attempt to notify the statsig backend. This was a blocking network call, which shouldn’t have been.

Included In This Release

  • a8fe721 Xin Li
    • remove println (#260)
  • f4dd627 Xin Li
    • fix eb blocking (#259)

[release] 1.17.0 - Introducing Proxy Support

16 Apr 19:01
86c294c
Compare
Choose a tag to compare

New Feature

  • Introduced a new StatsigOption called ProxyConfig, which takes in
    proxyHost, proxyPort, proxySchema and proxyAuth (optional),
    allows you to connect with us using a proxy, enhancing your connectivity
    and security.

Included In This Release