Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency com.statsig:serversdk to v1.36.2 #857

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.statsig:serversdk 1.18.1 -> 1.36.2 age adoption passing confidence

Release Notes

statsig-io/java-server-sdk (com.statsig:serversdk)

v1.36.2: - Fix evaluator version parsing with space

Compare Source

Fixes
  • String.toInt() cannot parse " 23" which can cause evaluator failed to compare version. Improve SDK to be more resilient on such case
Improvements

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.36.1...1.36.2

v1.36.1: - Avoid calling lateinit property before Initialize

Compare Source

Fixes
  • Avoid calling outputLogger before Init setup completed

Included In This Release

  • b56c606 Weihao Ding
    • fix: using options.logger if init set up failed (#​443)

Full Changelog: statsig-io/java-server-sdk@1.36.0...1.36.1

v1.36.0: - Using withContext when deserializing network responses

Compare Source

Improvements
  • Reading network response body in a nonblocking context
  • When restarting a new background polling job, changed the log level from debug to be warn

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.35.9...1.36.0

v1.35.9: - Resume Background Job If Exception Happened

Compare Source

Improvements
  • Added periodic health check around background job
Fixes
  • Fix the issue that when exception happened, resume the background job

Included In This Release

  • 27bb9cc Weihao Ding
    • fix: ensure background job will not be cancalled if throw exception (#​432)

Full Changelog: statsig-io/java-server-sdk@1.35.8...1.35.9

v1.35.8: - Change StatsigLogger deduper to use ConcurrentHashMap

Compare Source

Improvements
  • We were using synchronized set which will lock in both read and write. Swap to use ConcurrentHashMap which only locks in write.

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.35.7...1.35.8

v1.35.7: - Add IsActive for Experiments

Compare Source

New Features
  • Adds isActive to DynamicConfigs and isExperimentActive to Layers to make it easy to tell if an experiment is active

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.35.6...1.35.7

v1.35.6: - Log caught exception to CustomLogger

Compare Source

Fixes
  • Log exceptions to CustomLogger

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.35.5...1.35.6

v1.35.5: - More detailed Loggings around Network Requests

Compare Source

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: statsig-io/java-server-sdk@1.35.4...1.35.5

v1.35.4: - Add more debug Level Loggings

Compare Source

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: statsig-io/java-server-sdk@1.35.3...1.35.4

v1.35.2: - Optimize Hashing with ThreadLocal

Compare Source

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: statsig-io/java-server-sdk@1.35.1...1.35.2

v1.35.1: - Fix persistent assignment enforceTargeting/enforceOverrides

Compare Source

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: statsig-io/java-server-sdk@1.35.0...1.35.1

v1.35.0: - Persisted evaluation with experiment filtering Disable OkHttp Library level retry

Compare Source

New Features
  • Persisted evaluation with experiment filtering
Fixes
  • Avoid memory leak by disable OkHttp level retry

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.34.0...1.35.0

v1.34.0: - Support Override-related APIs with UserID and CustomIDs, Add Sampling to Exposure Events

Compare Source

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
  • dd147ff Weihao Ding
    • feat: support overrides with user/custom IDs (#​405)

Full Changelog: statsig-io/java-server-sdk@1.32.2...1.34.0

v1.33.0: - Support Override-related APIs with UserID and CustomIDs

Compare Source

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: statsig-io/java-server-sdk@1.32.2...1.33.0

v1.32.2: - Changed LockableArray into ConcurrentQueue to Prevent Blocking Issue

Compare Source

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

Full Changelog: statsig-io/java-server-sdk@1.32.1...1.32.2

v1.32.1: - Add More Info into Exposure Metadata, Fix the returnType for getOnDeviceEvalInitializeResponse

Compare Source

Improvements
  • Added downloadConfigSpec version and the passed rule id into Exposure Metadata
Fixes
  • Fixed the return type for api getOnDeviceEvalInitializeResponse when bootstrap local-eval SDK.

Included In This Release

  • c118cb7 Weihao Ding
    • fix: serialization for onDeviceEval (#​399)
  • ebf46f4 sroyal-statsig
    • Add Config Version and Rule Passed to Exposure Metadata (#​400)

Full Changelog: statsig-io/java-server-sdk@1.32.0...1.32.1

v1.32.0: - Manually Sync Config Spec

Compare Source

New Features
  • New api syncConfigSpecs allows users to manually trigger the synchronization of config specs in cases where the initial SDK initialization has failed and you want to retry.

Return Type: CompletableFuture<ConfigSyncDetails>

Example usage:


        CompletableFuture<ConfigSyncDetails> future = Statsig.syncConfigSpecs();
        ConfigSyncDetails configSyncDetails = future.get();
        configSyncDetails.getDuration();  
        configSyncDetails.getConfigSpecReady();  
        configSyncDetails.getFailureDetails();
        configSyncDetails.getLcut();  

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.31.0...1.32.0

v1.31.0: - New Api getOnDeviceEvalInitializeResponse, Add IDType to GCIR Response and Option to Enforce Overrides for Persistent Evaluations

Compare Source

New Features
  • New api getOnDeviceEvalInitializeResponse returns a Map<String, Any> for bootstrapping on-device evaluation sdk
Improvements
  • Update the getEvaluations format
  • Adds idType to the gcir response
  • Adds options to enforce overrides for persistent evaluations

Included In This Release

  • b6c1c1c Weihao Ding
    • feat: get on device eval client initialize response (#​386)
  • aca24e1 kenny-statsig
    • option to enforce overrides for persistent evaluation (#​388)
  • 8eaab77 sroyal-statsig
  • 1a49e51 sroyal-statsig
    • Update Get Evaluations Format (#​387)

Full Changelog: statsig-io/java-server-sdk@1.30.0...1.31.0

v1.30.0: - Support TLS for GRPC

Compare Source

New Features
Fixes
  • Remove manually append v1 in the path

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.29.0...1.30.0

v1.29.0: - Enforce targeting for persisted assignments & Improved formatting for SSR

Compare Source

Improvements
  • Allow checking targeting gate before serving persisted assignment via the option enforceTargeting on PersistentAssignemntOptions
  • Support new client initialize format for SSR getEvaluationsForUser. Not yet compatible with all client SDKs

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.28.0...1.29.0

v1.28.0: - [Breaking Change] getFeatureGate Api for Multi-instance usage, Better logging

Compare Source

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

Full Changelog: statsig-io/java-server-sdk@1.27.4...1.28.0

v1.27.4: - Remove unnecessary grpc java dependency

Compare Source

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: statsig-io/java-server-sdk@1.27.3...1.27.4

v1.27.3: ⚠️1.27.3 - [Bug fix]Fix that exception will interrupt config sync and fallback behavior

Compare Source

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: statsig-io/java-server-sdk@1.27.2...1.27.3

v1.27.2: - Evaluation process optimization

Compare Source

Improvements
  • Optimized the evaluation process and enhanced the performance.

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.27.1...1.27.2

v1.27.1: - Fixed Connection Leak

Compare Source

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

Full Changelog: statsig-io/java-server-sdk@1.27.0...1.27.1

v1.27.0: - Persistent storage

Compare Source

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: statsig-io/java-server-sdk@1.26.1...1.27.0

v1.26.1: - Create StatsigUser with UserID and CustomIDs

Compare Source

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: statsig-io/java-server-sdk@1.26.0...1.26.1

v1.25.0: - refac: Refactor grpc with generated java

Compare Source

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: statsig-io/java-server-sdk@1.24.1...1.25.0

v1.24.1: - Remove unsupported dependency for Java 17

Compare Source

Fixes
  • Remove javax.annotations dependency

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.24.0...1.24.1

v1.24.0: - Support Config Specs Streaming through GRPC

Compare Source

New Features
Improvements
  • Prevent bad config value for event queue size

Included In This Release

Full Changelog: statsig-io/java-server-sdk@1.23.1...1.24.0

v1.23.2: - remove privateAttributes from getClientInitializeResponse user

Compare Source

Fixes

Removes the privateAttributes field from the user that is appended to the getClientInitializeResponse

v1.22.0: - API Override options for download_config_specs and get_id_lists

Compare Source

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
  • 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: statsig-io/java-server-sdk@1.21.0...1.22.0

v1.21.0: - Option to disable ip3 country and fix potential memory leaks

Compare Source

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: statsig-io/java-server-sdk@1.20.0...1.21.0

v1.20.0: - Fallback to Statsig Endpoint if no proxy failed

Compare Source

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: statsig-io/java-server-sdk@1.19.0...1.20.0

v1.19.0: - Expose Evaluation Details, Fix DataStore Resetting

Compare Source

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: statsig-io/java-server-sdk@1.18.1...1.19.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 2, 2024 14:27
@github-actions github-actions bot requested a review from liran2000 July 2, 2024 14:36
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 20 times, most recently from 0cc5317 to 3d77576 Compare July 8, 2024 19:34
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 6 times, most recently from 6f3621f to 6c593ca Compare July 16, 2024 04:33
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch from 6c593ca to 07b8d8d Compare July 17, 2024 22:49
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.35.9 fix(deps): update dependency com.statsig:serversdk to v1.36.0 Feb 19, 2025
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 5 times, most recently from 57ffbd3 to 58d293b Compare February 20, 2025 14:33
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.36.0 fix(deps): update dependency com.statsig:serversdk to v1.36.1 Feb 20, 2025
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 20 times, most recently from 170a41b to b87302c Compare March 3, 2025 09:40
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch from b87302c to bad7364 Compare March 4, 2025 03:21
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.36.1 fix(deps): update dependency com.statsig:serversdk to v1.36.2 Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant