Releases: statsig-io/android-sdk
4.23.2 - Fix multi client retry failed log event bug
Bug fix:
- Fix bug when there are multiple projects in one device, retry failed log events will send events to wrong project
- Add retry log_event logic when server return error codes.
Internal
- Add event count header
Included In This Release
Full Changelog: 4.23.1...4.23.2
4.23.1 - Fix internal logging
Use thread-safe collection for internal logging
Included In This Release
- 6ae4b4d Xin Li
- Use thread safe collections for markers (#187)
Full Changelog: 4.23.0...4.23.1
4.23.0 - Increase default initialization timeout value
Increasing initialization timeout default value from 3 seconds to 5 seconds
Internal
- Log if the device has network connection for better debugging
Included In This Release
Full Changelog: 4.22.0...4.23.0
4.22.0 - Bug fix Initialize Success logic and More internal logging
Bug fix
- Fix a bug that we set InitializationDetails.success to be false if the SDK is successfully initialized but no update/changes to the project since last time.
Internal Logging
- Log update user performance
- Log bootstrap success or not
Included In This Release
Full Changelog: v4.21.0...4.22.0
v4.21.0 - Override log-event endpoint api, Fix Initialization bugs and Internal logging changes
Initialization Improvement
- Before this version, for initialize and initializeAsync functions, if exceptions happen within setup() we swallow the exceptions and do not inform (return InitializeDetails with failureDetails).
- Improvement:
- Expose isInitialized() function, isInitialized() == true, means the SDK is usable now, but does not mean successful network response. This function is being used to enforce SDK to be initialized before any other calls
- Set SDK as initialized to the minimum requirement point, so initialize / initializeAsync will return the details about initialization.
- SDK still returns null or not call back if the SDK fails before it becomes "usable"
Recommendation: Use isInitialized() to check if the SDK is usable. And keep using evaluationReason to see if the network request has been successful.
New Feature
- Add a new option to override log-event endpoint api, default api is still https://api.statsig.com/v1
Internal
- Exception logging changes: not reporting network exception if there is no network connection
- Change implementation on appIdentifier
Included In This Release
- 51fc189 Xin Li
- Expose is initialized and refactor setup() function (#177)
- d16b34d Xin Li
- Override log event api (#170)
- fbb3b9f Xin Li
- Refactor initialize and initializeAsync code (#173)
- 51319cb Xin Li
- Fix implementation for appIdentifier logging (#175)
- f9b2359 Daniel
- Network connection (#174)
- 56b8187 Daniel
- Extract StatsigActivityLifecycleListener (#171)
- c2a4c65 tore-statsig
- Revert "Fix potential NPE and refactor exception handling" (#172)
- 8ada64e tore-statsig
- Fix potential NPE and refactor exception handling
Full Changelog: v4.20.0...v4.21.0
v4.20.0 - [Internal] Add GZIP Compression for Network Request and Log SDK initialize data
Internal
- Add GZIP compression to Network Request: Response body from server will be gzipped
- Always send SDK initialization performance logging so we can better debug and monitor
Included In This Release
Full Changelog: v4.19.1...v4.20.0
v4.19.1 - Expose onDebugView function if using StatsigClient
Expose onDebugView function for external usage
Included In This Release
- 3df2e54 Xin Li
- expose open debug (#164)
Full Changelog: v4.19.0...v4.19.1
v4.19.0 - Support Multiple SDK Instances
Adds the ability to have multiple SDK instances running with different SDK keys
Exposes the previously internal StatsigClient class
Updates the Cache Key to include SDK key
Included In This Release
- e279a33 Xin Li
- Multi client (#156)
Full Changelog: v4.18.0...v4.19.0
v4.18.0 - New option to initialize offline and inline documentation for StatsigOption
- Provide a new option initializeOffline, defaulting to be false. Setting the option to true will initialize SDK without making a network request and SDK will load from the cache, using cached value for further evaluation (checkGate/getDynamicConfig/...)
- Add inline documentation for StatsigOption
Included In This Release
Full Changelog: v4.17.0...v4.18.0
v4.17.0 - Rollback OkHttp Network to Android HttpURLConnection data, Add Android Debugger
External
- Add debugger feature
Internal
- We are rolling-back Network Framework used internally from OKHttp which is introduced in v14.4.0 back to what we used before: Android HTTPUrlConnection framework
- Due to some regression we are seeing since the new version
- Modify error logging sent back to server
Included In This Release
Full Changelog: v4.16.0...v4.17.0