Skip to content

Commit 4739945

Browse files
authored
fix: default send_feature_flags false for capture_exception (#278)
* default send_feature_flags false * bump version
1 parent 50ab10c commit 4739945

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 6.0.2 - 2025-07-02
2+
3+
- fix: send_feature_flags changed to default to false in `Client::capture_exception`
4+
15
# 6.0.1
26

37
- fix: response `$process_person_profile` property when passed to capture

posthog/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class OptionalCaptureArgs(TypedDict):
2222
error ID if you capture an exception).
2323
groups: Group identifiers to associate with this event (format: {group_type: group_key})
2424
send_feature_flags: Whether to include currently active feature flags in the event properties.
25-
Defaults to True
25+
Defaults to False
2626
disable_geoip: Whether to disable GeoIP lookup for this event. Defaults to False.
2727
"""
2828

posthog/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def capture_exception(
522522
):
523523
distinct_id = kwargs.get("distinct_id", None)
524524
properties = kwargs.get("properties", None)
525-
send_feature_flags = kwargs.get("send_feature_flags", True)
525+
send_feature_flags = kwargs.get("send_feature_flags", False)
526526
disable_geoip = kwargs.get("disable_geoip", None)
527527
# this function shouldn't ever throw an error, so it logs exceptions instead of raising them.
528528
# this is important to ensure we don't unexpectedly re-raise exceptions in the user's code.

posthog/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "6.0.1"
1+
VERSION = "6.0.2"
22

33
if __name__ == "__main__":
44
print(VERSION, end="") # noqa: T201

0 commit comments

Comments
 (0)