Skip to content

Releases: statsig-io/python-sdk

v0.21.2 - Fix local mode with DataStore

25 Oct 17:27
0ec9ebd
Compare
Choose a tag to compare

Fixed a bug that prevented initialization from data store.

Included In This Release

  • f48ceb2 kenny-statsig
    • Merge pull request #205 from statsig-io/fix-local-mode
  • 2a30abd Kenny Yi
    • allow initialize from adapter in local mode

Full Changelog: v0.21.1...v0.21.2

v0.21.1 - Expose Remove Layer Override

18 Oct 22:16
e98067d
Compare
Choose a tag to compare

Pipes remove_layer_override through to the top level statsig.py file.

What's Changed

New Contributors

Full Changelog: v0.21.0...v0.21.1

v0.21.0 - Add Layer Override APIs

10 Oct 23:32
fdac0cb
Compare
Choose a tag to compare
  • Adds ability to override layers in test.
  • Adds user_hash to get client initialize response

Included In This Release

  • b5f0dcc Daniel
    • Add Layer Override APIs (#201)
  • 303665f sroyal-statsig
    • Bootstrap User Hash (#200)

Full Changelog: v0.20.0...v0.21.0

v0.20.0 - Remove server fallback and guarantee checks dont issue network request

21 Sep 21:23
601b546
Compare
Choose a tag to compare

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

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