Skip to content

Commit 962ca8f

Browse files
chore(main): release 4.0.0 (#155)
* chore(main): release 4.0.0 * ci: run Build on pull requests and on pushes to main release-please pushes its release branch with GITHUB_TOKEN, which doesn't start push workflows, so the push-only trigger left release PRs without CI. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Andy White <andywhite441@gmail.com>
1 parent 6a9b3fd commit 962ca8f

5 files changed

Lines changed: 27 additions & 4 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Build
2-
on: [push]
2+
3+
# Pull requests get CI from the pull_request event; release-please's pushes to its release branch
4+
# don't start push workflows, so a push-only trigger left release PRs untested
5+
on:
6+
push:
7+
branches: [main]
8+
pull_request:
39
jobs:
410
build:
511
runs-on: ubuntu-22.04

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "3.2.2"
2+
".": "4.0.0"
33
}

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## [4.0.0](https://github.com/growthbook/growthbook-python/compare/v3.2.2...v4.0.0) (2026-10-30)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* 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.
9+
10+
### Features
11+
12+
* add GrowthBookClient.reduce_payload and core.reduce_payload to shrink a payload to what one user needs ([6a9b3fd](https://github.com/growthbook/growthbook-python/commit/6a9b3fdd2a6b9d4ad985466ed736ffc9cbe3642a))
13+
* align with spec 0.12.0 (strict types, condition edge cases, bucketing, payload reduction) ([#153](https://github.com/growthbook/growthbook-python/issues/153)) ([6a9b3fd](https://github.com/growthbook/growthbook-python/commit/6a9b3fdd2a6b9d4ad985466ed736ffc9cbe3642a))
14+
15+
16+
### Bug Fixes
17+
18+
* ignore non-ASCII digits in query string overrides ([#154](https://github.com/growthbook/growthbook-python/issues/154)) ([cbbd34b](https://github.com/growthbook/growthbook-python/commit/cbbd34bd4304111a88faf98593630edd11231ad7))
19+
320
## [3.2.2](https://github.com/growthbook/growthbook-python/compare/v3.2.1...v3.2.2) (2026-10-19)
421

522

‎growthbook/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@
111111
]
112112

113113
# x-release-please-start-version
114-
__version__ = "3.2.2"
114+
__version__ = "4.0.0"
115115
# x-release-please-end

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.2.2
2+
current_version = 4.0.0
33
commit = True
44
tag = True
55

0 commit comments

Comments
 (0)