Skip to content

Releases: statsig-io/java-server-sdk

1.25.0 - refac: Refactor grpc with generated java

21 Aug 04:42
7443c35
Compare
Choose a tag to compare

Improvements

  • Refactor grpc using generated java file instead of kotlin since java is better maintained.

Included In This Release

  • bb49206 Xin Li
    • refactor: Use java generated file instead of kotlin to remove dependency (#349)

Full Changelog: 1.24.1...1.25.0

1.24.1 - Remove unsupported dependency for Java 17

13 Aug 19:54
e15176e
Compare
Choose a tag to compare

Fixes

  • Remove javax.annotations dependency

Included In This Release

  • 6991504 Xin Li
    • Remove annotaions for now (#347)

Full Changelog: 1.24.0...1.24.1

1.24.0 - Support Config Specs Streaming through GRPC

10 Aug 01:11
e2d2708
Compare
Choose a tag to compare

New Features

Improvements

  • Prevent bad config value for event queue size

Included In This Release

  • 1a2f90a andyphan-statsig
    • Customize sources to get for initialization and config sync behavior (#336)
  • f218853 Xin Li
    • safe get event q size (#344)
  • a307292 Xin Li
    • remove println (#342)
  • dd19ed1 Xin Li
    • Retry 3 times failed test (#341)
  • b2ac1a5 Weihao Ding
    • fix: remove private attributes from gcir (#340)
  • b85eb64 andyphan-statsig
    • gRPC forward proxy integration (#271)
  • 6bef5e9 Xin Li
    • Update kong.yml (#339)
  • dd71f72 andyphan-statsig
    • chore: move GsonBuilder to Utils (#331)

Full Changelog: 1.23.1...1.24.0

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