Skip to content

Releases: statsig-io/python-sdk

v0.12.2 - cleanup: patches caught exception in shutdown

19 Sep 22:12
407055b
Compare
Choose a tag to compare

shutdown tried to join on a phantom thread. The exception was caught and logged, but this cleans it up

v0.12.1 - Fixes event timestamp

19 Sep 20:08
ca61d25
Compare
Choose a tag to compare

Event timestamp was incorrectly statically set. So every event from the python SDK had the same timestamp. This fixes that bug

v0.12.0 - Adds clientInitializeResponse

16 Sep 18:15
47d48a1
Compare
Choose a tag to compare

Adds get_client_initialize_response(StatsigUser). This can be used to generate the initialize response for a given user to be used in a client SDK. If you compute this using the python server SDK, you can bootstrap a statsig client SDK with the result and remove a network round trip to statsig

Also ID list updates to improve reliability and monitoring

v0.11.0 - Adds event_queue_size to statsigoptions and wraps exceptions

06 Jul 20:40
Compare
Choose a tag to compare

Adds event_queue_size parameter to StatsigOptions to make the number of events to batch before flushing to Statsig configurable. Defaults to 500 as before.

Also, internally, wraps, catches, and logs exceptions to statsig via ErrorBoundary so we can debug errors

v0.10.3 - [internal] lower log level to warn

05 Jul 15:57
5490acd
Compare
Choose a tag to compare

Rather than logging as exception, log internal SDK messages as warn

v0.10.2 - Fix Layer secondary exposure logging

12 May 20:02
Compare
Choose a tag to compare

We were logging the wrong secondary_exposure array on statsig::layer_exposure

v0.10.1 - typing updates continued

04 May 21:54
d2b5ddd
Compare
Choose a tag to compare

Type the singleton statsig methods

v0.10.0 - Updated SDK typing

04 May 00:53
f5f7fdf
Compare
Choose a tag to compare

Typing input as StatsigUser instead of object, typing log events, the value of log events as number or string, and optional types for nullable fields across StatsigOptions, StatsigUser, and StatsigEvent

v0.9.3 - fix time based operator

26 Apr 04:35
433440a
Compare
Choose a tag to compare

fixed "before" and "after" operator for Time based conditions

v0.9.2- remove userID requirement if customID is present

23 Apr 00:06
2b6c4aa
Compare
Choose a tag to compare

Now the SDK only requires either a userID or any customID