Skip to content

Releases: statsig-io/java-server-sdk

1.28.0 - [Breaking Change] getFeatureGate Api for Multi-instance usage, Better logging

01 Oct 20:25
0426fb1
Compare
Choose a tag to compare

New Features

  • Exposed getFeatureGate api to multi-instance Java/kotlin usage.

Breaking change

  • Custom Logger Integration Update:
    If you're using a custom logger via the StatsigOptions configuration, 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

  • 5f918e2 Weihao Ding
    • refac: add debug loggings and refactor outputLogger (#377)
  • e0595a5 Weihao Ding
    • fix: expose getFeatureGate to java (#379)
  • 5d364ed Xin Li
    • add unit test for get dcs failure (#372)

Full Changelog: 1.27.4...1.28.0

1.27.4 - Remove unnecessary grpc java dependency

26 Sep 00:05
24b4537
Compare
Choose a tag to compare

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

24 Sep 20:59
ee10e5b
Compare
Choose a tag to compare

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

24 Sep 20:09
11217e9
Compare
Choose a tag to compare

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

23 Sep 23:24
63d9217
Compare
Choose a tag to compare

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

18 Sep 19:38
9436ec3
Compare
Choose a tag to compare

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

  • 1af76f0 kenny-statsig
    • Persistent storage (#359)
  • 896d795 Xin Li
    • GRPC Websocket retry more aggresively (#362)
  • 33d7d58 Xin Li
    • Log grpc error to custom logger (#356)
  • 1e19505 sroyal-statsig
    • Add Group Name to GCIR (#352)

Full Changelog: 1.26.1...1.27.0

1.26.1 - Create StatsigUser with UserID and CustomIDs

12 Sep 17:59
4449b1f
Compare
Choose a tag to compare

Improvements

  • Exposed another constructor on StatsigUser object so that now, end user can create a StatsigUser 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

10 Sep 19:38
51c9206
Compare
Choose a tag to compare

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

  • 1b44a79 Xin Li
    • feat:Return initialization details as part of initialization details (#355)
  • 927e9dc Xin Li
    • Update kong.yml (#357)
  • a3fc542 Weihao Ding
    • feat: arr contains all eval condition (#354)
  • 3a98007 Weihao Ding
    • feat: add array operation support in evaluator (#351)

Full Changelog: 1.25.0...1.26.0

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