Skip to content

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 17:15
962ca8f

4.0.0 (2026-10-30)

⚠ BREAKING CHANGES

  • Targeting conditions are strict about types: values are no longer converted between types, negated operators always give the opposite result of their positive form, booleans are not ordered, and version operators need two strings or two numbers. Conditions that use an operator or saved group type the SDK does not support always fail, even under $not or $nor. Only strings and numbers can be hash attributes; other values (booleans, arrays, objects, 0 and "") count as missing. Percentage rollouts no longer include one extra hash bucket. Hashing uses UTF-16 code units, like the JavaScript SDK, which changes bucketing only for ids and experiment or feature keys that contain characters outside the Basic Multilingual Plane, such as emoji. Experiments use fallbackAttribute only when sticky bucketing is enabled.

Features

  • add GrowthBookClient.reduce_payload and core.reduce_payload to shrink a payload to what one user needs (6a9b3fd)
  • align with spec 0.12.0 (strict types, condition edge cases, bucketing, payload reduction) (#153) (6a9b3fd)

Bug Fixes

  • ignore non-ASCII digits in query string overrides (#154) (cbbd34b)