Skip to content

Releases: statsig-io/python-sdk

0.32.0 - Evaluation Performance Improvements, Typing

08 May 21:45
554700a
Compare
Choose a tag to compare
  • GetClientInitialization Improvements. This release adds debugging information for which server SDK generated the values, and includes the full user object used to generate the values. Internal logging for failures on this method
  • Performance improvements for evaluations
  • Added type hints to be PEP 561 compatible
  • Update ip library version

Included In This Release

  • 2b9f239 kat-statsig
    • upadte ip lib version (#256)
  • 0da71c6 Alex Coleman
    • Create py.typed to share types (#238)
  • 4724828 kat-statsig
    • Sdk 335 (#253)
  • 287f374 kat-statsig
    • gcir improvements (#255)
  • 63ecc81 kat-statsig
    • delete unsupported field and aggregated exposure (#252)
  • d3a1bc7 kat-statsig
    • error logging (#250)
  • 9cfd7ab kat-statsig
    • Python sdk performance improvements (#248)

Full Changelog: 0.31.0...0.32.0

0.31.0 - Support for polling from adapter

01 May 19:54
72f9960
Compare
Choose a tag to compare

Add support for polling directly from the data adapter.
To enable, you can override the should_be_used_for_querying_updates interface to return true for the key statsig.cache

Included In This Release

  • 23901b2 kat-statsig
    • add support for polling data adapter (#244)

Full Changelog: 0.30.0...0.31.0

0.30.0 - [Bug Fix] error boundary synchronously sends request

29 Apr 20:29
8ab7e96
Compare
Choose a tag to compare

In cases where an exception was thrown within the core API methods for the first time in a session, we attempt to notify the statsig backend. This was a blocking network call, which shouldn’t have been.

Other changes:
Adds diagnostics for log event requests
Refactors diagnostics to support multiple instances of the StatsigServer
Exposes the value on a layer object

Included In This Release

  • 23c9e00 tore-statsig
    • fix: make error boundary non-blocking (#246)
  • 74d4197 kat-statsig
    • expose value on layer (#243)
  • 98d8ffb Xin Li
    • Update kong.yml (#240)
  • d5804ae Xin Li
    • Log event diag impl (#242)
  • 5d63e25 Xin Li
    • Refactor diagnostics to support multi-instances (#241)

Full Changelog: 0.29.1...0.30.0

0.29.1 - [Internal] Log failed log event count

13 Mar 21:29
1149712
Compare
Choose a tag to compare

Log count of failed log event

Included In This Release

  • 251a86d Xin Li
    • Failed log event count (#233)

Full Changelog: 0.29.0...0.29.1

0.29.0 - Add Option for Evaluation Callback

08 Mar 21:10
e3013d3
Compare
Choose a tag to compare

Adds an optional parameter to the statsig options which specifies a callback to be called whenever a config is checked

Included In This Release

  • 6b90b08 sroyal-statsig
    • Add Eval Callback Option (#234)

Full Changelog: 0.28.0...0.29.0

0.28.0 - Download config specs from CDN

27 Feb 22:48
0b455f2
Compare
Choose a tag to compare

Replace the download_config_specs API with a CDN
Benefit to this change is lower latency and higher reliability.

Included In This Release

  • f383722 kenny-statsig
    • migrate dcs to cloudflare cdn (#214)

Full Changelog: 0.27.1...0.28.0

0.27.1 - Fix unexpected exception thrown in Diagnostics

13 Feb 03:36
2d819a0
Compare
Choose a tag to compare

Fix unexpected exception block usage of core APIs

Included In This Release

  • eb19252 Xin Li
    • wrap exception for diagnostics (#230)

Full Changelog: 0.27.0...0.27.1

0.27.0 - Add Hash Parameter to get_client_initialize_response

02 Feb 19:33
899affa
Compare
Choose a tag to compare

If you want to use the unhashed (HashingAlgorithm.NONE) or the minimized payload (HashingAlgorithm.DJB2) for get_client_intialize_response, you can now pass that as a parameter. By default, get_client_intialize_response will use HashingAlgorithm.SHA256 to hash the gate/experiment names.

NOTE: HashingAlgorithm.NONE hashing option requires opt in on the Statsig backend. Reach out to support for help with this.

Included In This Release

  • 1fbf0fa tore-statsig
    • Implement hash algorithm parameter for get_client_initialize_response (#227)

Full Changelog: 0.26.0...0.27.0

0.26.0 - Disable all logging option

30 Jan 22:34
3e6f121
Compare
Choose a tag to compare

New option:

  • disableAllLogging - Disables all logging requests (exposures, custom events, diagnostics, errors)

Included In This Release

  • bbd16fd kenny-statsig
    • disable error logging (#226)
  • 9057087 kenny-statsig
    • disable event logging (#225)

Full Changelog: 0.25.0...0.26.0

0.25.0 - Aggregate exposures for non analytics gates

24 Jan 21:20
329d3e2
Compare
Choose a tag to compare

Adding aggregation for exposures from non analytics gates

Included In This Release

  • e9b8684 tore-statsig
    • Prototype exposure aggregation (#222)

Full Changelog: 0.24.0...0.25.0