Releases: PostHog/posthog-python
Releases · PostHog/posthog-python
Release list
7.21.1
Immutable
release. Only release title and notes can be modified.
Patch changes
- cd86110 Fall back to uncompressed uploads when gzip compression fails — Thanks @marandaneto!
7.21.0
Immutable
release. Only release title and notes can be modified.
Minor changes
- 888a725 Add
posthog.mcp, a Python SDK for PostHog MCP analytics (justpip install posthog; the MCP SDK is a peer dependency ofinstrument(), not bundled).instrument(server, posthog_client)wraps aFastMCPor low-levelmcp.server.Serverso every tool call, agent intent, tools/list, initialize, and failure is captured to PostHog as a$mcp_*event. Also addsPostHogMCP, aClientsubclass for custom dispatchers (needs nothing beyond posthog), plus opt-incontextintent capture,identify,report_missing(get_more_tools), andconversation_id. Beta. — Thanks @lucasheriques for your first contribution 🎉!
7.20.5
Immutable
release. Only release title and notes can be modified.
Patch changes
- cdd878c Clear feature flag called cache on shutdown — Thanks @marandaneto!
7.20.4
Immutable
release. Only release title and notes can be modified.
Patch changes
- 89adb2f Fix internal imports for posthoganalytics mirror — Thanks @hpouillot!
7.20.3
Immutable
release. Only release title and notes can be modified.
Patch changes
- 42ff4ca Detect and redact high-entropy secrets (API keys, tokens, passwords) in exception code variables. Adds the
code_variables_detect_secretsoption (defaultTrue). — Thanks @ablaszkiewicz!
7.20.2
Immutable
release. Only release title and notes can be modified.
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
passwordare redacted by attribute name instead of leaking viarepr(), and credentials embedded in connection strings are scrubbed. Adds thecode_variables_mask_url_credentialsoption (defaultTrue). — Thanks @ablaszkiewicz! - c359f93 Improve strict Pyright coverage for public PostHog APIs. — Thanks @ablaszkiewicz!
7.20.1
Immutable
release. Only release title and notes can be modified.
Patch changes
- 09c8fba Warn on duplicate async PostHog clients and document client lifecycle guidance — Thanks @marandaneto!
7.20.0
Immutable
release. Only release title and notes can be modified.
Minor changes
- bc8e531 Add a default timeout for flushing queued events. — Thanks @marandaneto!
7.19.2
Immutable
release. Only release title and notes can be modified.
Patch changes
- 98a305a Increase the default background flush interval to 5 seconds — Thanks @marandaneto!
7.19.1
Immutable
release. Only release title and notes can be modified.
Patch changes
- 8d416ae Add missing return type annotations to improve typing coverage without changing runtime behavior. — Thanks @miachillgood for your first contribution 🎉!