Skip to content

Releases: statsig-io/python-sdk

0.45.1 - More robust config sync path

08 Oct 01:32
12404b8
Compare
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
Compare
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
Compare
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
Compare
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

0.43.1 - Fix get_id_lists fallback when proxy fails

14 Sep 17:52
3941205
Compare
Choose a tag to compare

Fixes

  • Fix bug that get_id_lists does not always fallback when proxy fails.

Included In This Release

  • 518db9a Xin Li
    • fix idlists fallback behavior (#315)

Full Changelog: 0.43.0...0.43.1

0.43.0 - New log dynamic config API, widen retry logic for GRPC streaming

12 Sep 16:56
61e6d04
Compare
Choose a tag to compare

New Features

  • new API log_exposure_for_config to log an exposure given a dynamic config without evaluation

Fixes

  • widen retry logic for grpc to retry on all error and not just rpc errors

Included In This Release

  • f8cf75d kat-statsig
    • widen retry logic (#313)
  • ff1d4f1 kat-statsig
    • add new log exposure, move around logging, and doc string (#309)

Full Changelog: 0.42.0...0.43.0

0.42.0 - Support array operation in evaluator, group name in clientInitializeResponse, and other improvements

11 Sep 01:21
76155fe
Compare
Choose a tag to compare

New Features

  • Support array operator
  • Add group name to getClientInitializeResponse response

Improvements

  • Import and load grpc worker when it's needed

Fixes

  • Wrap error from get stream metatadata, so it does not interrupt streaming
  • Network worker assignment logic

Included In This Release

  • 8360c54 Xin Li
    • wrap error (#311)
  • 82189f2 kat-statsig
    • selectively import and load grpc workers (#304)
  • b59b31d sroyal-statsig
    • Add Group Name to GCIR (#307)
  • 58b1e2e kat-statsig
    • Support array operators (#306)
  • 1ab74be Xin Li
    • fix: fix network worker assignment logic (#302)
  • be2f6dc sroyal-statsig
    • Make Python Eval Condition Default to False (#305)
  • fcddbdc kat-statsig
    • array contains any/none operators support (#303)

Full Changelog: 0.41.0...0.42.0

0.41.0 - Remove dependency version enforcement, upgrading minimum python version

19 Aug 21:38
fc618c5
Compare
Choose a tag to compare

Improvements

  • Upgraded minimum required python version to 3.7
  • Removed dependency version enforcement for protobuf and grpcio

Included In This Release

  • 4b6e51c kat-statsig
    • remove pin (#300)

Full Changelog: 0.40.0...0.41.0

0.40.0 - Enforce dependency packages version, get_feature_gate new option

14 Aug 15:39
c14031c
Compare
Choose a tag to compare

New Features

  • New option to disable get_feature_gate exposure logging

Improvements

  • Downgrad grpcio and protobuf package. Enforce dependency packages versions

Included In This Release

  • 244ac26 kat-statsig
    • downgrade packages to support py 3.7 (#298)
  • 26db0d8 kenny-statsig
    • [SDK-489] option to disable exposure logging in get_feature_gate (#277)
  • 1e15632 kat-statsig
    • try catch get queue size (#297)

Full Changelog: 0.39.0...0.40.0

0.39.0 - GRPC Integration + Event logging rework

06 Aug 21:52
707ac76
Compare
Choose a tag to compare

New Features

  • Support grpc and grpc streaming for download_config_specs, see docs. New option to pass in proxy_configs and use grpc streaming to update config values
  • Reworked background flushing. New option retry_queue_size which allows you to adjust the memory allocated for handling retries. Deprecated the option logging_interval.

Included In This Release

  • de5dabb kat-statsig
    • Log event worker fixes (#295)
  • 5772f30 kat-statsig
    • Rework log event to use worker + event queue (#282)
  • 372a8e7 kat-statsig
    • GRPC Integration (#264)

Full Changelog: 0.38.0...0.39.0