Releases: statsig-io/android-sdk
Releases · statsig-io/android-sdk
4.45.1 - improved Gson performance
Improvements
- Updated Gson calls to use a single instance - should improve overall sdk memory usage and reduce latency
- Additional data included in network calls for better diagnosing a specific endpoint problem
Fixes
- Updated visibility of some members that were intended to be private
- Adjusted property name to not apply
@VisibleForTestingto a getter intended for public use.
Included In This Release
- d084793 kevin-statsig
- onDeviceEvalAdapter is public and should not need external gson (#422)
- 4e6d4c6 kevin-statsig
- Ensure only single Gson instance is used throughout the SDK (#420)
- ab3f2d6 kevin-statsig
- keep a reference to sharedPrefs (#419)
- 6ac7d95 kevin-statsig
- include stableID in init headers (#418)
- 9e0b102 kevin-statsig
- suppress deprecation warning (#417)
- 81c406d kevin-statsig
- privatize companion objects/tags (#416)
- b6e92c6 kevin-statsig
- hide statsigclient companion object/tag
- e878b46 kevin-statsig
- rename backing property
Full Changelog: 4.45.0...4.45.1
4.45.0 - getStatsigMetadata() and IStatsigLifetimeCallback
New Features
- Added
getStatsigMetadata()to provide external visibility of metadata used by the SDK - Added
IStatsigLifetimeCallbacktoStatsigOptions- it holds callback functions that may occur over the lifetime of the SDK. IStatsigLifetimeCallbackoffersonValuesUpdated()which fires in situations where gate, experiment, or config values have changed for the current user.
Improvements
- Code cleanups
Included In This Release
Full Changelog: 4.44.4...4.45.0
4.44.4 - lower kotlin requirements
Fixes
- kotlin version set back to 1.9.x (increased kotlin version requirements will come in a later, breaking change)
Included In This Release
Full Changelog: 4.44.3...4.44.4
4.44.3 - lower compileSDK requirements
Fixes
- v4.44.2 included a dependency that required a higher compileSDK target (36) than intended (34).
Included In This Release
Full Changelog: 4.44.2...4.44.3
4.44.2 - fix: handling empty Dynamic Configs
Improvements
- Additional debugging info in logcat (particularly for initialization paths)
- Reworked gradle configuration (now in Kotlin)
- Updated Android SDK minimums to current Play Store recommendations (min sdk 21)
- Linted and reformatted Kotlin code
Fixes
- Mitigations to decrease potential for ANR's
- Corrected handling of empty dictionaries when getting Dynamic Configs
Included In This Release
- 08e6d73 kevin-statsig
- coroutine cleanup (#399)
- 9a8999b Kevin Maurin
- coroutine cleanup
- fb3cf9e kevin-statsig
- include loggingEnabled in diagnostic logs (#397)
- adb9cc3 Kevin Maurin
- include loggingEnabled in diagnostic logs
- 93ca6e4 kevin-statsig
- fix no-such-element exception (#396)
- 05a7d7a Kevin Maurin
- fix android kong performance test
- 5123b04 kevin-statsig
- more informative init logging (#395)
- e72dbfa Kevin Maurin
- more informative init logging
- 58ff21a kevin-statsig
- apply ktLint formatter (#394)
- 0fb5b56 Kevin Maurin
- apply ktLint formatter
- c162087 kevin-statsig
- API and test cleanup (#393)
- 45c719e Kevin Maurin
- API and test cleanup
- 5bbe42f kevin-statsig
- finishing touches for android build migration (#392)
- a32ac4f Kevin Maurin
- finishing touch for kong
- 556c61a kevin-statsig
- Merge pull request #389 from statsig-io/10-10-sanitize_autovalueupdateinterval_on_entry
- 93e6c9d kevin-statsig
- re-sync lint baseline (#391)
- 19edc52 Kevin Maurin
- re-sync lint baseline
- 22f4a69 kevin-statsig
- update gradle and dependencies (#387)
- 7854475 Kevin Maurin
- update gradle and dependencies
- 4a1fadf kevin-statsig
- dependency inject url connection creation (#390)
- a644138 Kevin Maurin
- sanitize autoValueUpdateInterval on entry
- 243698e Kevin Maurin
- dependency inject url connection creation
- cf2bbd8 kevin-statsig
- warning logs for re-initializing StatsigClient (#388)
- 7403855 Kevin Maurin
- warning logs for re-initializing StatsigClient
- 333240f kevin-statsig
- add a test manifest and update targetSdk (#386)
- 73c1114 Kevin Maurin
- add a test manifest and update targetSdk
- 8a5cf05 kevin-statsig
- misc cleanup (#385)
- cd23cbb Kevin Maurin
- misc cleanup
- 276d876 kevin-statsig
- broader logs for android-sdk (#384)
- 466f808 kevin-statsig
- update debug logging (#383)
Full Changelog: 4.44.1...4.44.2
4.44.1 - tighter consumer ProGuard rules
Improvements
- Stopped com.statsig.android-sdk consumer ProGuard rules from applying outside of Statsig libraries
Fixes
- Prevented unwarranted consumer binary size increases
Included In This Release
- 1fbb199 kevin-statsig
- adjust proguard consumer config (#381)
- 4a18ac3 Kevin Maurin
- adjust proguard config
- 85bd82c kevin-statsig
- even more test instrumentation (#379)
- 323eb34 Kevin Maurin
- even more test instrumentation
- 28c63b0 kevin-statsig
- more tests using Robolectric (#376)
- 82fe5a4 Kevin Maurin
- more tests using Robolectric
Full Changelog: 4.44.0...4.44.1
4.44.0 - expose sessionID
New Features
getSessionID()is available inStatsigandStatsigClient
Included In This Release
Full Changelog: 4.43.0...4.44.0
4.43.0 - Update StatsigOptions at runtime: enable or disable logging
New Features
- Add new option to enable/disable logging during runtime.
Improvements
- Deprecation warning for
StatsigOptions.disableDiagnosticsLogging(reflecting that it is no longer used)
Included In This Release
- dc17890 kevin-statsig
- mark disableDiagnosticsLogging as deprecated (#372)
- ba502df kevin-statsig
- tweak StatsigRuntimeMutableOptions property inheritance (#371)
- 7889f60 kevin-statsig
- Add runtime mutable option to enable/disable logging (#370)
- 304b9be kevin-statsig
- Merge pull request #369 from statsig-io/09-17-fixing_a_comment_typo
- a90bc6f Kevin Maurin
- Fixing a comment typo.
Full Changelog: 4.42.2...4.43.0
4.42.2 - fix: proguard rules for lambdas, reduce error boundary calls
Included In This Release
Full Changelog: 4.42.1...4.42.2
4.42.1 - fix - update proguard to keep kotlin lambdas
Fixes
- computeIfAbsent uses a lambda for mappingFunction. Kotlin compiles that lambda into a synthetic class, which is missing due to proguard. this fixes that
Included In This Release
- fb9f548 tore-statsig
- Update consumer-rules.pro (#360)
Full Changelog: 4.42.0...4.42.1