Releases: statsig-io/java-server-sdk
Releases · statsig-io/java-server-sdk
1.26.1 - Create StatsigUser with UserID and CustomIDs
Improvements
- Exposed another constructor on
StatsigUser
object so that now, end user can create aStatsigUser
with both userID and customIDs.
Included In This Release
- 8a1451a Weihao Ding
- chore: expose user obj constructor with both userid and customID (#360)
Full Changelog: 1.26.0...1.26.1
1.26.0 - Array operation support and Return Initialization Details with Initialize functions
New Features
- Return initialization details with initialize() and initializeAsync() function
var duration: Long,
var isSDKReady: Boolean, // If sdk setup finished, SDK can be ready without a valid config spec
var configSpecReady: Boolean, // If sdk is initialized with a valid config spec
var failureDetails: FailureDetails? = null, // If sdk failed or failed to get download config spec, what's the failure details - Support array operation in evaluator
Included In This Release
Full Changelog: 1.25.0...1.26.0
1.25.0 - refac: Refactor grpc with generated java
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
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
New Features
- Support streaming changes from Statsig Forward Proxy to SDK instead of polling config changes. Details can be found here https://docs.statsig.com/server/concepts/forward_proxy
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
Fixes
Removes the privateAttributes
field from the user that is appended to the getClientInitializeResponse
1.23.1 - Hash secondary exposures in getClientInitializeResponse.
New Features
Improvements
Fixes
- Hashed Secondary exposures and Undelegated Secondary exposures in
getClientInitializeResponse
Included In This Release
Full Changelog: 1.23.0...1.23.1
1.23.0 - Target app condition
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
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_idlistsapiForGetIDLists
. - 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
- In addition to api option, provide option to override specific endpoint, for download_config_specs request will be
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
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