Skip to content

Releases: statsig-io/java-server-sdk

1.23.2 - remove privateAttributes from getClientInitializeResponse user

07 Aug 21:30
1f9c477
Compare
Choose a tag to compare

Fixes

Removes the privateAttributes field from the user that is appended to the getClientInitializeResponse

1.23.1 - Hash secondary exposures in getClientInitializeResponse.

29 Jul 15:11
618118a
Compare
Choose a tag to compare

New Features

Improvements

Fixes

  • Hashed Secondary exposures and Undelegated Secondary exposures in getClientInitializeResponse

Included In This Release

  • ba6bcb6 andyphan-statsig
    • move private functions after public in SpecStore.kt (#328)
  • 8881769 Weihao Ding
    • feat: hash gcir secondary & delegate secondary exposures (#325)

Full Changelog: 1.23.0...1.23.1

1.23.0 - Target app condition

25 Jul 06:40
1ca58fd
Compare
Choose a tag to compare

New Features

  • Support a new target app condition for evaluations

Fixes

  • Fixed a bug where some events in flight were being dropped on shutdown.

Included In This Release

  • a2d4052 kenny-statsig
    • target app condition (#321)
  • f03d71f tore-statsig
    • fix: dont overwrite values if lcut is older (#315)
  • 3866984 Weihao Ding
    • fix: do not cancel ongoing request when we shutdown (#319)
  • bb27ffc Weihao Ding
    • Revert "fix: event-flushing when shutdown" (#318)
  • b565b18 Weihao Ding
    • fix: event-flushing when shutdown (#316)

Full Changelog: 1.22.0...1.23.0

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