Skip to content

Releases: statsig-io/android-sdk

4.23.2 - Fix multi client retry failed log event bug

28 Feb 18:51
8e7780d
Compare
Choose a tag to compare

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

  • 249121e Xin Li
    • add failed log for other error code (#192)
  • 9227939 Xin Li
    • Update cache key for failed log events (#191)
  • 3324b76 weihao-statsig
    • Add Event Count to Header (#190)

Full Changelog: 4.23.1...4.23.2

4.23.1 - Fix internal logging

09 Feb 01:37
4a4a839
Compare
Choose a tag to compare

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

10 Jan 22:07
c2d91b9
Compare
Choose a tag to compare

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

  • 07a93a4 Xin Li
    • Increase Init timeout threshold (#182)
  • 8fb2217 Xin Li
    • Log if client has network or not (#184)

Full Changelog: 4.22.0...4.23.0

4.22.0 - Bug fix Initialize Success logic and More internal logging

06 Jan 00:49
f5e62c5
Compare
Choose a tag to compare

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

  • ff393c6 Xin Li
    • Log diagnostics update user (#181)
  • a8b4164 Xin Li
    • Initialization success logic (#180)
  • 32b5da5 Xin Li
    • Log bootstrap success (#179)

Full Changelog: v4.21.0...4.22.0

v4.21.0 - Override log-event endpoint api, Fix Initialization bugs and Internal logging changes

20 Dec 20:47
e618b4e
Compare
Choose a tag to compare

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

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

15 Dec 22:34
ebd0491
Compare
Choose a tag to compare

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

  • d73cf38 Xin Li
    • Always log init diagnostics (#166)
  • 79ceba3 Daniel
    • Adding GZIP compression to Networking (#168)

Full Changelog: v4.19.1...v4.20.0

v4.19.1 - Expose onDebugView function if using StatsigClient

31 Oct 19:46
1f14829
Compare
Choose a tag to compare

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

25 Oct 16:48
d96ff1c
Compare
Choose a tag to compare

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

18 Oct 18:01
d39b7b2
Compare
Choose a tag to compare
  • 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

  • f1585c2 Xin Li
    • offline initialize (#160)
  • ec45bb7 Xin Li
    • Add inline documents to statsig options (#159)

Full Changelog: v4.17.0...v4.18.0

v4.17.0 - Rollback OkHttp Network to Android HttpURLConnection data, Add Android Debugger

12 Oct 16:43
cd329d3
Compare
Choose a tag to compare

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

  • 2b4b418 Daniel
    • Add Client Debugger (#157)
  • 6f79bd7 Daniel
    • Make Diagnostics report the same as other SDKs (#154)
  • 71d5f5b Xin Li
    • roll back okhttp network change (#155)

Full Changelog: v4.16.0...v4.17.0