Skip to content

Releases: statsig-io/python-sdk

v0.19.1 - Disable debug logging by default

19 Sep 20:47
b50635e
Compare
Choose a tag to compare
  • Make debug logs disabled by default. To enable, pass the option enable_debug_logs on initialize
  • Move print during ErrorBoundary error handling inside try/catch

Full Changelog: v0.19.0...v0.19.1

v0.19.0 - Type annotations

12 Sep 20:13
7fb8177
Compare
Choose a tag to compare
  • Added type annotations to API
  • Added support for evaluating multiple gate condition

Full Changelog: v0.18.0...v0.19.0

v0.18.0 - Custom output logger

06 Sep 17:17
29493bb
Compare
Choose a tag to compare

Option to provide a custom output logger to redirect stdout/stderr messages sent from the SDK.

Full Changelog: v0.17.1...v0.18.0

v0.17.1 - Internal Diagnostics Patch

14 Aug 16:06
43da2fe
Compare
Choose a tag to compare

Internal Diagnostic:

  • Fix a bug which resulted in all diagnostics timestamps being set to the same value.

Background threads:

  • Added descriptive names to each background thread the SDK spawns.

Full Changelog: v0.17.0...v0.17.1

v0.17.0 - Improved Client Bootstrap, Network Fallback, and Internal Diagnostics Updates

01 Aug 21:38
83b99fc
Compare
Choose a tag to compare

Target Apps for client bootstrap:

  • get_client_initialize_response now accepts client_sdk_key as a parameter. This allows responses to respect Target Apps assigned to a client key.

Bootstrap/Datastore falls back to network:

  • In the event that bootstrap or datastore fails during initialization a network request to /download_config_specs will be sent immediately. Previously the SDK would be left uninitialized until the next background sync

Internal Diagnostics Changes:

  • Convert Diagnostics into a static class which can be used throughout the code base.
  • This required the _ConfigEvaluation() class be moved into its own folder to prevent a circular dependency issues

Full Changelog: v0.16.13...v0.17.0

v0.16.13 - Addressing issues around Bootstrap Init

16 Jun 14:52
Compare
Choose a tag to compare
  • Move SpecStore network calls out of SpecStore.init
  • Move /download_config_specs retry to background sync thread
  • Fix bug where init_timeout was not gracefully timing out

Full Changelog: v0.16.12...v0.16.13

v0.16.12 - Fix memory leak & retry DCS

16 May 20:15
5bbd448
Compare
Choose a tag to compare
  • Kick off immediate async retry of download_config_specs if failed during initialize
  • Fix memory leak related to async event logging
  • Log diagnostics

v0.16.11 - Fix Threading Bug v2

17 Apr 18:06
5152915
Compare
Choose a tag to compare

Fixes a bug where events could be flushed on the main thread

Also removes an error that was thrown in the previous attempt, which was caught and handled but can be avoided

v0.16.10 - Fix Threading Bug

13 Apr 21:13
Compare
Choose a tag to compare

Fixes a bug where events could be flushed on the main thread.

v0.16.9 - Expose group_name, init diagnostics, top-level flush, & more

31 Mar 21:53
336acef
Compare
Choose a tag to compare
  • Can now read group_name from get_config and get_experiment evaluations
  • Log diagnostics for initialize
  • New top-level flush() API
  • Local exposure deduping