Skip to content

Releases: statsig-io/python-sdk

0.49.0 -⚠️ Environment Tier Default Changes, New Observability Integration, logging and overall timeout

12 Nov 17:51
b02cd75

Choose a tag to compare

New Features

  • new option observability_client for metrics collection
  • new option overall_init_timeout for timing entire sdk initialization

Improvements

  • now log data source url
    -⚠️ added support for default environment tier, highly recommend to set environment tier within statsigOptions if possible
    • If statsig environment.tier is not being set, then we will use fallback to set environment for evaluation as
      • SDK key environment tier if being set
      • Otherwise production

Fixes

  • version in the event metadata is now a string

Included In This Release

  • 59edbd8 kat-statsig
    • observability integration (#369)
  • 336f450 sroyal-statsig
    • Fallback to Default Env from Server (#368)
  • ba9d4ee kat-statsig
    • logging dcs api with context (#366)
  • afb7486 kat-statsig
    • strict init timeout and some other fixes (#363)
  • 33e8166 sroyal-statsig
    • Switch Version Metadata to String (#367)
  • 34a6241 sroyal-statsig
    • Add Config Version to Exposure Metadata (#365)
  • 1a92749 Xin Li
    • Create LRS.yml (#362)

Full Changelog: 0.48.0...0.49.0

0.48.0 - Initialization details, remove noisy logging, fallback bug fixes

18 Oct 21:27
0b80354

Choose a tag to compare

New Features

  • Initialize now return initializationDetails which has information on data source, is initialize successful, is the store populate, duration and error

Improvements

  • remove noisy logging

Fixes

  • fix a bug where fallback behavioral is triggered for id list no matter the option

Included In This Release

  • 76e1279 kat-statsig
    • Some bug fixes (#359)
  • 50910bb kat-statsig
    • Add Initialization Details + context (#347)
  • badb04c kat-statsig
    • fix flag (#358)

Full Changelog: 0.47.2...0.48.0

0.47.2 - add float type to statsig event value

16 Oct 16:22
cab7517

Choose a tag to compare

Fixes

  • fix a bug with typing to allow float type for statsig event value

Included In This Release

  • ae944c4 kat-statsig
    • add float type to statsig event value (#355)

Full Changelog: 0.47.1...0.47.2

0.47.1 - Add lock on logging interval

16 Oct 00:10
f343c57

Choose a tag to compare

Fixes

  • Avoid race condition by locking log interval

Included In This Release

  • eac2abf kat-statsig
    • lock logging interval access (#351)

Full Changelog: 0.47.0...0.47.1

0.47.0 - Remove output logger handler, extra logging thread, and more unit tests

15 Oct 22:30
49cd81e

Choose a tag to compare

Improvements

  • more unit tests around different dcs failure cases
  • one extra event logging thread to increase events throughput
  • removed output logger handler and formatter. the user will now need to have application level handler to see the logs

Included In This Release

  • c388271 kat-statsig
    • sampling fixes and do not attach shadow sample when not needed (#352)
  • a7b371c kat-statsig
    • dcs fallback unit tests (#350)
  • 8e8a7dd kat-statsig
    • Simplify logger logic more (#349)
  • aed9e2e kat-statsig
    • remove handler and formatter from output logger (#348)
  • f91809f kat-statsig
    • 2 log event threads (#346)

Full Changelog: 0.46.0...0.47.0

0.46.0 - new option to fallback to statsig network if config is out of sync, bug fix on log_exposure_for_config

10 Oct 16:49
2501581

Choose a tag to compare

New Features

  • new option to enforce fallback to statsig network if config is out of sync for x amount of time

Improvements

  • more logging around last updated time when processing config specs

Fixes

  • normalize user in log_exposure_for_config

Included In This Release

  • 692c50a kat-statsig
    • sample more special cases (#340)
  • 77d8c9f kat-statsig
    • fix not normalize user bug (#341)
  • 06844f1 Xin Li
    • Options to enforce fallback if config is out of sync (#344)
  • ec0d0d4 Xin Li
    • log lcut to process (#343)
  • 534113c sroyal-statsig
    • Add IDType to GCIR (#342)

Full Changelog: 0.45.1...0.46.0

0.45.1 - More robust config sync path

08 Oct 01:32
12404b8

Choose a tag to compare

Improvements

  • Add more fallback behavior to statsig network endpoint if any exceptions happened

Included In This Release

  • 94e5c44 Xin Li
    • more try catch on initialization path (#338)

Full Changelog: 0.45.0...0.45.1

0.45.0 - TLS support for forward proxy, logging changes, non analytic exposure sampling

05 Oct 01:05
9c1a5bd

Choose a tag to compare

New Features

  • new option to set logging level output_logger_level
  • tls support for forward proxy grpc channel

Improvements

  • apply sampling to non-analytic exposures

Fixes

  • try catch around get dcs

Included In This Release

  • 7b3d521 kat-statsig
    • default sample (#333)
  • 80dc792 kat-statsig
    • catch logger (#336)
  • 6f012c7 Xin Li
    • more try catch (#335)
  • 7f124fd kat-statsig
    • tls support (#331)
  • 729fa99 kat-statsig
    • use sha (#334)
  • 6722a2e kat-statsig
    • Logging changes (#330)
  • 71d4d6e kat-statsig
    • shadow sampling (#329)
  • 3e3446e kat-statsig
    • support sampling rate (#308)

Full Changelog: 0.44.1...0.45.0

0.44.1 - Update logging copy when StatsigOptions is updated

25 Sep 16:55
69a4952

Choose a tag to compare

Fixes

  • Set logging copy when statsig options is updated instead of just when it's initiated.

Included In This Release

  • 6b2e4f5 kat-statsig
    • set logging copy when properties are changed (#327)

Full Changelog: 0.44.0...0.44.1

0.44.0 - Bug fixes on initialization timeout and api fallback, new is_initialized api

24 Sep 22:50
8f84d51

Choose a tag to compare

New Features

  • new api Is_initialized -> bool

Improvements

  • reduce thread usage in background logging
  • add error message to diagnostics
  • make custom error message more clear
  • perf optimization on 100/0 pass percentage rules evaluation

Fixes

  • fix initialization timeout not being obeyed in special http request cases
  • fix get dcs fall back to statsig network when 204
  • fix sdk config key name

Included In This Release

  • 47ca4b1 Xin Li
    • fix: network request in another thread (#322)
  • c942b5e Weihao Ding
    • optimize: eval pass percent process (#325)
  • f88cefa kat-statsig
    • fix import err (#324)
  • 0d617b8 kat-statsig
    • Add override with proxy config address (#319)
  • 6f59e18 kat-statsig
    • is initialized method (#323)
  • 798f3aa kat-statsig
    • add has update and parse success to spec store (#321)
  • a912ac0 kat-statsig
    • some error logging rework (#320)
  • dc13798 kat-statsig
    • fix sdk config key name (#317)
  • 598b088 Xin Li
    • add diagnostics error message (#318)
  • a371464 kat-statsig
    • move dropped event logging to logger and add logging interval (#310)

Full Changelog: 0.43.1...0.44.0