Releases: statsig-io/java-server-sdk
Releases · statsig-io/java-server-sdk
1.30.0 - Support TLS for GRPC
New Features
- Support TLS for GRPC, see instructions here https://docs.statsig.com/server/concepts/forward_proxy#statsig-forward-proxy
Fixes
- Remove manually append v1 in the path
Included In This Release
Full Changelog: 1.29.0...1.30.0
1.29.0 - Enforce targeting for persisted assignments & Improved formatting for SSR
Improvements
- Allow checking targeting gate before serving persisted assignment via the option
enforceTargetingonPersistentAssignemntOptions - Support new client initialize format for SSR
getEvaluationsForUser. Not yet compatible with all client SDKs
Included In This Release
Full Changelog: 1.28.0...1.29.0
1.28.0 - [Breaking Change] getFeatureGate Api for Multi-instance usage, Better logging
New Features
- Exposed
getFeatureGateapi to multi-instance Java/kotlin usage.
Breaking change
- Custom Logger Integration Update:
If you're using a custom logger via theStatsigOptionsconfiguration, this release introduces breaking changes in how logging is handled.
Specific Changes:
New methods:
debug(String message)
info(String message)
setLogLevel(LogLevel level)
enum LogLevel { NONE, DEBUG, INFO, WARN, ERROR};
Renamed method:
warning(String message) → warn(String message)
Included In This Release
Full Changelog: 1.27.4...1.28.0
1.27.4 - Remove unnecessary grpc java dependency
Improvements
- Remove grpc java dependency which is already imported with grpc depednecy
Included In This Release
- 33abeff Xin Li
- remove explicitly set protobuf java dependency (#368)
Full Changelog: 1.27.3...1.27.4
⚠️1.27.3 - [Bug fix]Fix that exception will interrupt config sync and fallback behavior
Fixes
- Fix the bug that network exception will interrupt config sync and fallback behavior. Try catch more aggressively on network requests, so failure will not interrupt fallback behavior
Included In This Release
- 73c0f25 Xin Li
- Try catch on upper call stack for network request (#370)
Full Changelog: 1.27.2...1.27.3
1.27.2 - Evaluation process optimization
Improvements
- Optimized the evaluation process and enhanced the performance.
Included In This Release
- f7284a0 Weihao Ding
- optimize: eval rule logic (#367)
Full Changelog: 1.27.1...1.27.2
1.27.1 - Fixed Connection Leak
New Features
- N/A
Improvements
- N/A
Fixes
- Addressed a connection leak issue that occurred when HTTP responses were not properly closed after being processed.
Included In This Release
- 967148b Weihao Ding
- fix: connection leak (#365)
Full Changelog: 1.27.0...1.27.1
1.27.0 - Persistent storage
New Features
- Added support for persistent storage
Improvements
- Return group name with getClientInitializeResponse
- Log grpc error to custom logger
- GRPC Websocket streaming: retry on all exceptions
Included In This Release
Full Changelog: 1.26.1...1.27.0
1.26.1 - Create StatsigUser with UserID and CustomIDs
Improvements
- Exposed another constructor on
StatsigUserobject so that now, end user can create aStatsigUserwith 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