Releases: statsig-io/python-sdk
Releases · statsig-io/python-sdk
0.67.0 - New API to control DCS polling
New Features
- Added Two new APIs that control DCS polling
def pause_polling_dcs():
"""
Pauses background polling for Download Config Specs (DCS).
"""
__instance.pause_polling_dcs()
def start_polling_dcs():
"""
Resumes background polling for Download Config Specs (DCS).
"""
__instance.start_polling_dcs()
Included In This Release
- 33f0800 Weihao Ding
- feat: pause/start dcs (#474)
Full Changelog: 0.66.2...0.67.0
0.66.2 - Set network request header to be Connection: close
Improvements
- Decrease the chance that SDK faces peer cancellation error
Included In This Release
- ea4e2d0 Xin Li
- update header across request session (#472)
Full Changelog: 0.66.1...0.66.2
0.66.1 - Explicitly set Connection: close headers with log_event request
Fixes
- Seeing increase ennconreset error for logevent since we refactor code to use request.session() instead of request. This is due to request.session() keep connection open by sending extra header Connection: keep-alive
Included In This Release
- 93cc104 Xin Li
- network: explicitly close connection for log event (#469)
Full Changelog: 0.66.0...0.66.1
0.66.0 - Refac: refactor network layer to better support TLS and mTLS
Fixes
- Refactor the network to be:
- If for a individual endpoint, e.g. log_event , dcs, authentication is required, create new HttpWorker which has request session authenticated. Leave other endpoint worker unauthenticated/
Included In This Release
- dfac8a1 Xin Li
- [refac]refactor http worker to support different session (#467)
Full Changelog: 0.65.0...0.66.0
0.65.0 - Using casefold() for string comparison
New Features
- Switching from upper().lower() to casefold() for string comparison, reducing evaluation time
Included In This Release
- 6e10d56 kat-statsig
- merge Switch to casefold from upper lower (#465)
Full Changelog: 0.64.0...0.65.0
0.64.0 - Add support for target app condition evaluation and TLS/mTLS in http proxy
New Features
- support for target app condition in evaluation
- support TLS/mTLS in http proxy
Included In This Release
Full Changelog: 0.63.0...0.64.0
0.63.0 - Options to disable of ua parser and country lookup libraries
New Features
- new option fields disable_ua_parser/disable_country_lookup to disable the loading of the libraries. This can save memory usage if none of the configs require user agent/ ip parsing
Included In This Release
- 5a0340e devin-ai-integration[bot]
- Add disable_ua_parser and disable_country_lookup options to reduce memory usage (#454)
Full Changelog: 0.62.0...0.63.0
0.62.0 - Support brotli and deflate compression, improve initialization reliability
New Features
- Support brotli and deflate compression for DCS
Improvements
- Improve initialization network (/dcs) reliability by removing sinceTime=0
Included In This Release
Full Changelog: 0.61.0...0.62.0
0.61.0 - Add support for global custom field
New Features
- New option
global_custom_fieldto add global fields to be used in evaluation
Included In This Release
- 317001a kat-statsig
- add support for global custom fields (#449)
Full Changelog: 0.60.0...0.61.0
0.60.0 - Change idlists default url and set EB timeout
Improvements
- Change get_id_lists url
- Error boundary timeout to respect options.timeout
Included In This Release
Full Changelog: 0.59.1...0.60.0