3.0.0 (2026-08-26)
Breaking
- Requires Python 3.9+ and
typing_extensions>=4.5. GrowthBookClientcalls tracking callbacks with keyword arguments — parameters must be namedexperiment,result,user_context.- Package root exports only documented API names (no more leaked names like
growthbook.PoolManager).
Type safety
- Precise type hints across the public API: return types inferred from fallbacks and variations, callback signatures and kwargs typos caught by mypy/pyright.
- New typed-client generator:
python -m growthbook.codegenturns your features JSON into a client with checked feature keys and per-key value types. Supports encrypted payloads via--decryption-key. - snake_case aliases for remaining camelCase APIs; camelCase marked
@deprecated(still works, warns).
No runtime behavior changes beyond the callback invocation above. Docs: [Type Safety section](https://docs.growthbook.io/lib/python#type-safety).
Full Changelog: v2.4.0...v3.0.0