Skip to content

Releases: statsig-io/java-server-sdk

1.35.6 - Log caught exception to CustomLogger

07 Feb 19:57
02eb5f5
Compare
Choose a tag to compare

Fixes

  • Log exceptions to CustomLogger

Included In This Release

  • 4949751 Xin Li
    • Log exceptions to custom logger (#430)

Full Changelog: 1.35.5...1.35.6

1.35.5 - More detailed Loggings around Network Requests

07 Feb 02:10
8d917c4
Compare
Choose a tag to compare

Improvements

  • Added more detailed loggings around network requests process so that end user can know which url they are hitting

Included In This Release

  • 044d217 Weihao Ding
    • chore: add safe url loggings around network request (#426)
  • 5da7a42 Weihao Ding
    • chore: removing validating step for testing (#428)
  • aefdc7c Weihao Ding
    • chore: upgrade java8 to java11 (#427)
  • beb37be Weihao Ding
    • chore: update statsigoptions when logging (#423)

Full Changelog: 1.35.4...1.35.5

1.35.4 - Add more debug Level Loggings

06 Feb 05:15
60dbc95
Compare
Choose a tag to compare

New Features

  • New StatsigOptions logLevel which contains 4 different logLevel

Improvements

  • More debug level loggings

Included In This Release

  • bf93c30 Weihao Ding
    • chore: improve log levels and add more debug loggings (#424)

Full Changelog: 1.35.3...1.35.4

1.35.3 - Add pulse for Dynamic Configs for GCIR

21 Jan 19:10
55ba377
Compare
Choose a tag to compare

New Features

  • Added a new field passed into dynamic configs for getClientInitializeResponse for pulse result

Included In This Release

  • 38acf09 Weihao Ding
    • feat: add DC passed field for GCIR (#421)

Full Changelog: 1.35.2...1.35.3

1.35.2 - Optimize Hashing with ThreadLocal

10 Jan 21:02
85af20a
Compare
Choose a tag to compare

Improvements

  • The sha256ToLong method in the Hashing class has been optimized to use ThreadLocal for MessageDigest instances. This ensures thread safety and improves performance in multi-threaded environments.

Included In This Release

  • d4aa1cf Weihao Ding
    • fix: Optimize sha256ToLong with ThreadLocal (#419)

Full Changelog: 1.35.1...1.35.2

1.35.1 - Fix persistent assignment enforceTargeting/enforceOverrides

06 Jan 18:54
c4caf6d
Compare
Choose a tag to compare

Fixes

  • Fix enforceTargeting/enforceOverrides option when using persistent assignment. Previously did not correctly apply the persisted assignment when there were no targeting rules or no overrides.

Included In This Release

  • 4d04fa2 kenny-statsig
    • expose persisted values API in Java (#416)
  • 41302d8 kenny-statsig
    • prevent overwriting sticky values (#417)
  • 28f18e0 kenny-statsig
    • Fix persistent assignment enforce targeting/overrides when no rules apply (#415)

Full Changelog: 1.35.0...1.35.1

1.35.0 - Persisted evaluation with experiment filtering Disable OkHttp Library level retry

19 Dec 23:19
29d9d73
Compare
Choose a tag to compare

New Features

  • Persisted evaluation with experiment filtering

Fixes

  • Avoid memory leak by disable OkHttp level retry

Included In This Release

  • 9e8924b Xin Li
    • disable library retry (#413)
  • 5855c96 kenny-statsig
    • Persisted evaluation with experiment filtering (#412)

Full Changelog: 1.34.0...1.35.0

1.34.0 - Support Override-related APIs with UserID and CustomIDs, Add Sampling to Exposure Events

14 Dec 00:19
d489be1
Compare
Choose a tag to compare

New Features

  • Added Sampling to Gate/Config/Layer non-analytical exposure events
  • We now support overrideGate, overrideLayer, overrideConfig, removeGateOverride, removeConfigOverride removeLayerOverride with a new parameter called forID so that end users can override / remove a override for a specific user.
    • forID can be userID field on the StatsigUser object or customIDs on the StatsigUser Object

Example

        StatsigUser sampleUser = new StatsigUser("userId123");
        Statsig.overrideGate("test_gate", false, sampleUser.getUserID());
        Map<String, String> customIDs = Map.of("customid", "1017");
        sampleUser.setCustomIDs(customIDs);
        Statsig.overrideGate("test_gate", false, "1017");

Improvements

  • N / A

Fixes

  • N / A

Included In This Release

  • a8d349e tore-statsig
    • Revert "persisted evaluation with experiment filtering" (#410)
  • 7a2893a kenny-statsig
    • persisted evaluation with experiment filtering (#402)
  • da8a561 Weihao Ding
    • feat: sampling (#406)
  • dd147ff Weihao Ding
    • feat: support overrides with user/custom IDs (#405)

Full Changelog: 1.32.2...1.34.0

1.33.0 - Support Override-related APIs with UserID and CustomIDs

11 Dec 23:19
56978d8
Compare
Choose a tag to compare

New Features

  • We now support overrideGate, overrideLayer, overrideConfig, removeGateOverride, removeConfigOverride removeLayerOverride with a new parameter called forID so that end users can override / remove a override for a specific user.
    - forID can be userID field on the StatsigUser object or customIDs on the StatsigUser Object

Example

        StatsigUser sampleUser = new StatsigUser("userId123");
        Statsig.overrideGate("test_gate", false, sampleUser.getUserID());
        Map<String, String> customIDs = Map.of("customid", "1017");
        sampleUser.setCustomIDs(customIDs);
        Statsig.overrideGate("test_gate", false, "1017");

Included In This Release

  • dd147ff Weihao Ding
    • feat: support overrides with user/custom IDs (#405)

Full Changelog: 1.32.2...1.33.0

1.32.2 - Changed LockableArray into ConcurrentQueue to Prevent Blocking Issue

11 Dec 00:59
7b1e9ab
Compare
Choose a tag to compare

New Features

  • N / A

Improvements

  • Changed lockableArray into ConcurrentQueue to prevent potential blocking issue when flushing exposure events

Fixes

  • N / A

Included In This Release

  • 2a23c30 Weihao Ding
    • fix: change lockableArray into ConcurrentQueue (#404)
  • 1b7132d Xin Li
    • update submodule (#403)

Full Changelog: 1.32.1...1.32.2