Skip to content

Releases: statsig-io/python-sdk

0.24.0 - Fix race condition on background event retry, Internal logging and SDK Key verification

04 Jan 17:15
9feaf07
Compare
Choose a tag to compare

Bug fix:

  • Fix a customer-reported race condition bug, remove an already removed future

Internal changes:

  • Track event count and log log_event request failure to sdk_exception so we can track the event loss
  • More internal logging on SDK metadata, core apis (checkGate, getExperiment...) call, and always log sdk initialization data
  • SDK Key verification -- Ensure initialization data and sdk key matches

Included In This Release

  • 670b549 Xin Li
    • Alway log init diag (#221)
  • 8f4f523 kenny-statsig
    • remove futures if not already removed (#219)
  • 91e2a22 sroyal-statsig
    • SDK Key Verification (#220)
  • e5672e9 Daniel
    • Failed events to eb (#215)

Full Changelog: v0.22.0...0.24.0

v0.22.1 - Hashed SDK keys for target apps

15 Nov 01:50
Compare
Choose a tag to compare

Reverts log event gzip functionality due to an introduced regression.

Included In This Release

  • 9a05006 sroyal-statsig
    • Hashed SDK Keys to Target Apps (#208)
  • 6bbbde0 Jacob O'Quinn
    • Surface Network Errors (#207)

Full Changelog: v0.21.2...v0.22.1

v0.22.0 - Add GZIP to LogEvent Requests

14 Nov 00:48
8da1bf4
Compare
Choose a tag to compare

Adds compression to log_event requests

Included In This Release

  • 4388fc6 Vijaye Raji
    • Compress all outgoing log events by default. Allow developers to turn it off if necesssary
  • 9a05006 sroyal-statsig
    • Hashed SDK Keys to Target Apps (#208)
  • 6bbbde0 Jacob O'Quinn
    • Surface Network Errors (#207)

Full Changelog: v0.21.2...v0.22.0

v0.23.0 - Group Name for Layers, Log Event Compression

28 Nov 18:33
0ec9ebd
Compare
Choose a tag to compare
  • Decreases egress costs by compressing log_event requests.
  • Adds ability to check which Experiment is controlling values in a Layer with layer.group_name

Included In This Release

Full Changelog: v0.21.1...v0.23.0

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