Statsig

Latest version: v0.33.0

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

0.16.1

Also limit a single failure to 10 retries

0.16.0

* New StatsigOptions:
`init_timeout` - Maximum number of seconds before initialize will timeout
`logging_interval` - Number of seconds to wait in between logging each batch of events
* New API:

check_gate_with_exposure_logging_disabled
get_config_with_exposure_logging_disabled
get_experiment_with_exposure_logging_disabled
get_layer_with_exposure_logging_disabled

manually_log_gate_exposure
manually_log_config_exposure
manually_log_experiment_exposure
manually_log_layer_parameter_exposure

* Allow passing enums in user fields
* Print logs limited to print every 2 minutes for the same warning/error
* Print initialize and syncing progress with timestamps

0.15.0

Added a few new APIs to help removing local overrides for better testing experiences:


If the user_id is None, the override for all users for the gate/config/experiment will be removed

def remove_gate_override(gate: str, user_id: Optional[str] = None)

def remove_config_override(config: str, user_id: Optional[str] = None)

def remove_experiment_override(experiment: str, user_id: Optional[str] = None)

def remove_all_overrides()

0.14.1

In some cases, the config sync and logger threads were being killed. v0.14.1 Adds a check that respawns threads that have been killed.

0.14.0

Adds EvaluationDetails to exposure events;
- These will be surfaced on console.statsig.com and can be used to diagnose why certain values were given to a user
- Values include (Cache, Network, Unrecognized, Uninitialized, Bootstrap, DataAdapter)

Adds Thread Pool for ID List:
- In resource constrained environment, too many thread calls were leading to issues. To alleviate this, all ID list syncing is now done in a thread pool. Pool size can be configured via StatsigOptions.idlists_thread_limit

0.12.2

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

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.