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.35.0 #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.35.0 age adoption passing confidence

Release Notes

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

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 force-pushed the renovate/com.statsig-serversdk-1.x branch 7 times, most recently from 6b055e7 to ff62c8e Compare December 5, 2024 18:51
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 5 times, most recently from c17f7bb to 32f3ab6 Compare December 11, 2024 06:24
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.32.1 fix(deps): update dependency com.statsig:serversdk to v1.32.2 Dec 11, 2024
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch from 32f3ab6 to 5340ab9 Compare December 12, 2024 03:19
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.32.2 fix(deps): update dependency com.statsig:serversdk to v1.33.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 2 times, most recently from 7f8e121 to f4fd6c0 Compare December 14, 2024 04:00
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.33.0 fix(deps): update dependency com.statsig:serversdk to v1.34.0 Dec 14, 2024
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch 9 times, most recently from 68e32c2 to 7de5cdb Compare December 20, 2024 01:55
@renovate renovate bot changed the title fix(deps): update dependency com.statsig:serversdk to v1.34.0 fix(deps): update dependency com.statsig:serversdk to v1.35.0 Dec 20, 2024
@renovate renovate bot force-pushed the renovate/com.statsig-serversdk-1.x branch from 7de5cdb to 8349966 Compare December 23, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant