Skip to content

Releases: PostHog/posthog-python

7.21.1

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 29 Jun 09:48
Immutable release. Only release title and notes can be modified.
e3345fd

Patch changes

  • cd86110 Fall back to uncompressed uploads when gzip compression fails — Thanks @marandaneto!

7.21.0

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 26 Jun 15:57
Immutable release. Only release title and notes can be modified.
4bffd7e

Minor changes

  • 888a725 Add posthog.mcp, a Python SDK for PostHog MCP analytics (just pip install posthog; the MCP SDK is a peer dependency of instrument(), not bundled). instrument(server, posthog_client) wraps a FastMCP or low-level mcp.server.Server so every tool call, agent intent, tools/list, initialize, and failure is captured to PostHog as a $mcp_* event. Also adds PostHogMCP, a Client subclass for custom dispatchers (needs nothing beyond posthog), plus opt-in context intent capture, identify, report_missing (get_more_tools), and conversation_id. Beta. — Thanks @lucasheriques for your first contribution 🎉!

7.20.5

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 24 Jun 18:21
Immutable release. Only release title and notes can be modified.
9ad4c26

Patch changes

7.20.4

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 24 Jun 15:48
Immutable release. Only release title and notes can be modified.
755b6b8

Patch changes

7.20.3

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 23 Jun 17:19
Immutable release. Only release title and notes can be modified.
a1257bb

Patch changes

  • 42ff4ca Detect and redact high-entropy secrets (API keys, tokens, passwords) in exception code variables. Adds the code_variables_detect_secrets option (default True). — Thanks @ablaszkiewicz!

7.20.2

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 22 Jun 15:36
Immutable release. Only release title and notes can be modified.
9d701ff

Patch changes

  • c359f93 Mask sensitive data held inside objects and in URL/DSN credentials when capturing exception code variables. Custom objects are now traversed so fields like password are redacted by attribute name instead of leaking via repr(), and credentials embedded in connection strings are scrubbed. Adds the code_variables_mask_url_credentials option (default True). — Thanks @ablaszkiewicz!
  • c359f93 Improve strict Pyright coverage for public PostHog APIs. — Thanks @ablaszkiewicz!

7.20.1

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 22 Jun 08:18
Immutable release. Only release title and notes can be modified.
9a3e7e0

Patch changes

  • 09c8fba Warn on duplicate async PostHog clients and document client lifecycle guidance — Thanks @marandaneto!

7.20.0

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 22 Jun 07:58
Immutable release. Only release title and notes can be modified.
ff9ede3

Minor changes

7.19.2

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 17 Jun 14:07
Immutable release. Only release title and notes can be modified.
d19e6ba

Patch changes

7.19.1

Choose a tag to compare

@releaser-posthog-python releaser-posthog-python released this 15 Jun 11:23
Immutable release. Only release title and notes can be modified.
7f50349

Patch changes

  • 8d416ae Add missing return type annotations to improve typing coverage without changing runtime behavior. — Thanks @miachillgood for your first contribution 🎉!