Releases: statsig-io/java-server-sdk
Releases · statsig-io/java-server-sdk
[release] 1.13.0 - Support Multi SDK Instances
New Feature
- Add support for having multiple StatsigServer instances
- CAVEAT: Multi-instances Statsig Server will not be compatible if you are using Data Store, data will override each other among projects
- Add log event dedupe logic, in 1 minute time interval, exposure event will be deduped if the same config, user, and evaluation result is being logged multiple times. Custom events (events called with logEvent) will not be deduped
[release] 1.12.1 - Fix network bugs and add log_event request header changes
[release] 1.12.0 - Synchronous API, getClientInitializeResponse improvements
New API:
checkGateSync- synchronous version of previously checkGategetConfigSync- synchronous version of previously getConfiggetExperimentSync- synchronous version of previously getExperimentSyncgetLayerSync- synchronous version of previously getLayer
Improvements:
- Diagnostics logging for getClientInitializeResponse
- Alternative target app filtering on getClientInitializeResponse (for Statsig on-prem)
[release] 1.11.1 - Disable logging options and fix download idlist
Feature
-
New statsigOptions to disable all loggings from sending out from SDK (including exposures, custom events, diagnostics, errors)
-
Bug fix
Fix the bug that downloadin idlist is broken if api is not provided from StatsigOptions.
[release] 1.10.1 - Fix memory leak from internal logging system
Internal
- Fix diagnostics (internal logging system) do not clear out log events when it's not sampled, or diagnostics disabled.
- Log getClientInitializationResponse returns null
[release] 1.10.0 - Custom Logger, [Internal] Initialization logging, SDK Key verification
-
New Feature
- Custom Logger: A new callback interface can be define how to log warning / info. The default behavior is println (System.out.println). If custom logger is provided, call back function will be called instead of printout to console
-
Internal
- Always log initialization diagnostics data, so we can better monitor and debug the health of sdk
- SDK Key verification: check if server response is the same sdk key. If sdk key mismatched between sdk and server response, response will be disregarded.
-Fix a concurrency bug on internal logging class
[release] v1.9.0 - [Internal] Migrate initialize to CDN, Log sdk performance data, Manually Close network response
All changes are internal
Migrating download_config_spec request to GET from CDN
Log more information about sdk performance, including options passed in, configName, and initialize, config sync performance
Manually close http network body to prevent potential memory leak
v1.8.0 - Pull in IP3Country Update
- Updates ip3country to 0.1.5
-- https://github.com/statsig-io/ip3country-kotlin/releases/tag/v0.1.5
Included In This Release
- f6c4b67 Daniel
- Update IPCountry to 0.1.5 (#194)
v1.7.0 - Unhandled interrupted exception handler and change type of Tier
- Added a new exception handler for unhandle exceptions from the same thread. Handler will shutdown Statsig and throw the exception. This is to prevent Statsig keeps JVM from shutting down
- [Breaking Change] Change tier from Tier Enum to be String so custom tiers can be supported.
v1.6.3 - Update UA-Parser Dependency, Bootstrap user hash
- Upgrade ua-parser dependency to the version which fixes security vulnerability CVE-2022-1471: Older versions are not vulnerable because our usage of ua parser doesn't expose the SDK to this vulnerability, but this will stop vuln scanners from generating notifications
- Bootstrap User Hash