Skip to content

Releases: PostHog/posthog-python

posthog-v7.22.4

Choose a tag to compare

@github-actions github-actions released this 14 Jul 22:02
Immutable release. Only release title and notes can be modified.
e2310c5

Patch changes

  • eb025c8 Django middleware also sends the request user agent as $raw_user_agent, the standardized property PostHog's server-side classification (e.g. bot detection) reads — Thanks @lricoy!

posthog-v7.22.3

Choose a tag to compare

@github-actions github-actions released this 14 Jul 19:36
Immutable release. Only release title and notes can be modified.
6042885

Patch changes

  • ae3c4e5 Malformed flag-dependency conditions (missing key, null value, or wrong operator) now evaluate locally as no-match (false), matching the server, instead of falling back to the /flags endpoint on every evaluation. 7.22.1 made these conditions fall back to the server, which could massively increase billable /flags request volume for flag definitions containing legacy/malformed dependency conditions. — Thanks @patricio-posthog!

openfeature-provider-posthog-v0.1.9

Choose a tag to compare

@github-actions github-actions released this 14 Jul 22:03
Immutable release. Only release title and notes can be modified.
e2310c5

Patch changes

  • Updated dependencies: posthog@7.22.4

openfeature-provider-posthog-v0.1.8

Choose a tag to compare

@github-actions github-actions released this 14 Jul 19:37
Immutable release. Only release title and notes can be modified.
6042885

Patch changes

  • Updated dependencies: posthog@7.22.3

posthog-v7.22.2

Choose a tag to compare

@github-actions github-actions released this 13 Jul 09:01
Immutable release. Only release title and notes can be modified.
b8bd5c8

Patch changes

  • 4d61b18 Capture pre-calculated total cost from OpenAI Agents Responses API usage. — Thanks @fuchengwarrenzhu for your first contribution 🎉!

openfeature-provider-posthog-v0.1.7

Choose a tag to compare

@github-actions github-actions released this 13 Jul 09:02
Immutable release. Only release title and notes can be modified.
b8bd5c8

Patch changes

  • Updated dependencies: posthog@7.22.2

posthog-v7.22.1

Choose a tag to compare

@github-actions github-actions released this 10 Jul 14:38
Immutable release. Only release title and notes can be modified.
b326113

Patch changes

  • 650d107 Fix local evaluation of flag dependencies with a flag_evaluates_to: false condition: such conditions never matched, forcing the dependent flag to false for every locally-evaluated user. — Thanks @matheus-vb!

openfeature-provider-posthog-v0.1.6

Choose a tag to compare

@github-actions github-actions released this 10 Jul 14:45
Immutable release. Only release title and notes can be modified.
b326113

Patch changes

  • Updated dependencies: posthog@7.22.1

openfeature-provider-posthog-v0.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Jul 14:04
Immutable release. Only release title and notes can be modified.
fa21690

Patch changes

posthog-v7.22.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 21:44
Immutable release. Only release title and notes can be modified.
d9f0d4f

Minor changes

  • d459b57 Add an opt-in capture_mode for the Capture V1 ingestion protocol (POST /i/v1/analytics/events). Set capture_mode="v1" on the client (or the POSTHOG_CAPTURE_MODE=v1 environment variable) to use Bearer auth, per-event results, and partial retry. Defaults to "v0" (the legacy /batch/ endpoint), so existing setups are unaffected.

    When using capture_mode="v1", request bodies can be compressed via capture_compression (or POSTHOG_CAPTURE_COMPRESSION): "gzip", "deflate", "zstd" (requires the optional posthog[zstd] extra), or "none" (default). The legacy gzip=True flag is honored as a fallback.

    Per-event server verdicts are surfaced through the existing on_error handler: events the backend explicitly drops, or fails to accept after retries, raise a CaptureV1Error carrying the affected event UUIDs — so a rejection is never silently lost, even when the HTTP request itself succeeded. — Thanks @eli-r-ph for your first contribution 🎉!