Releases: statsig-io/python-sdk
v0.21.2 - Fix local mode with DataStore
Fixed a bug that prevented initialization from data store.
Included In This Release
Full Changelog: v0.21.1...v0.21.2
v0.21.1 - Expose Remove Layer Override
Pipes remove_layer_override through to the top level statsig.py file.
What's Changed
- Expose
remove_layer_override()
in statsig by @cam-matsui in #20
New Contributors
- @cam-matsui made their first contribution in #20
Full Changelog: v0.21.0...v0.21.1
v0.21.0 - Add Layer Override APIs
- Adds ability to override layers in test.
- Adds
user_hash
to get client initialize response
Included In This Release
Full Changelog: v0.20.0...v0.21.0
v0.20.0 - Remove server fallback and guarantee checks dont issue network request
When we first wrote local evaluation SDKs, we were worried about backwards compatibility for new conditions and operators, so we introduced a way to ensure backwards compatibility to old SDKs: issue a network request if the evaluation is inconclusive.
Fast forward, and we've realized this was a poor design decision. Good for backwards compatibility, but not worth the tradeoff and risk of potentially introducing a network round trip to every request.
We also now have evaluation metadata to surface if you try to evaluate something that is not supported on your SDK version to communicate the incompatibility in console.
Moving forward, our API will make a strong guarantee - all checks will be evaluated locally and will not issue a network request for evaluation.
Full Changelog: v0.19.1...v0.20.0
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