Releases: statsig-io/python-sdk
Releases · statsig-io/python-sdk
v0.19.1 - Disable debug logging by default
- 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
- 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
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
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
Target Apps for client bootstrap:
get_client_initialize_response
now acceptsclient_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
- 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
- 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
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
Fixes a bug where events could be flushed on the main thread.
v0.16.9 - Expose group_name, init diagnostics, top-level flush, & more
- Can now read
group_name
fromget_config
andget_experiment
evaluations - Log diagnostics for initialize
- New top-level
flush()
API - Local exposure deduping