From b12cac485a81da7a92d33454e5294db0c96f1719 Mon Sep 17 00:00:00 2001 From: Oliver Browne Date: Tue, 1 Jul 2025 14:29:28 +0300 Subject: [PATCH 1/2] whoops --- posthog/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/client.py b/posthog/client.py index 147c885b..a3b89c9a 100644 --- a/posthog/client.py +++ b/posthog/client.py @@ -351,7 +351,7 @@ def capture( (distinct_id, personless) = get_identity_state(distinct_id) - if personless: + if personless and "$process_person_profile" not in properties: properties["$process_person_profile"] = False msg = { From d71200f9f2588214d0729658bc64b0bce9786ca7 Mon Sep 17 00:00:00 2001 From: Oliver Browne Date: Tue, 1 Jul 2025 15:14:18 +0300 Subject: [PATCH 2/2] bump version --- CHANGELOG.md | 4 ++++ posthog/version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5fd6ff0..b37aaef0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 6.0.1 + +- fix: response `$process_person_profile` property when passed to capture + # 6.0.0 This release contains a number of major breaking changes: diff --git a/posthog/version.py b/posthog/version.py index 66793a7e..6c616acf 100644 --- a/posthog/version.py +++ b/posthog/version.py @@ -1,4 +1,4 @@ -VERSION = "6.0.0" +VERSION = "6.0.1" if __name__ == "__main__": print(VERSION, end="") # noqa: T201