Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Aug 22:57
c5fdfbd

3.0.0 (2026-08-26)

Breaking

  • Requires Python 3.9+ and typing_extensions>=4.5.
  • GrowthBookClient calls tracking callbacks with keyword arguments — parameters must be named experiment, 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.codegen turns 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