Skip to content

Bump posthog from 7.21.2 to 7.33.0 - #52

Merged
chennes merged 1 commit into
mainfrom
dependabot/pip/posthog-7.33.0
Aug 1, 2026
Merged

Bump posthog from 7.21.2 to 7.33.0#52
chennes merged 1 commit into
mainfrom
dependabot/pip/posthog-7.33.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps posthog from 7.21.2 to 7.33.0.

Release notes

Sourced from posthog's releases.

posthog-v7.33.0

Minor changes

  • 170f4e2 feat(mcp): emit $mcp_protocol_version on MCP analytics events — the MCP spec version, recovered from the session token across stateless pods (parity with the TypeScript SDK). PostHogMCP capture methods gain a protocol_version argument. — Thanks @​gesh for your first contribution 🎉!

posthog-v7.32.0

Minor changes

  • cdc0825 Preserve Anthropic cache-write TTL breakdowns across Python SDK AI integrations. — Thanks @​gouveags!

posthog-v7.31.1

Patch changes

posthog-v7.31.0

Minor changes

  • 5535ecd fix(errors): emit $exception_list in canonical order — index 0 is the caught/outermost exception, causes follow in unwrap order, and the root cause is last (previously the list was reversed with the root cause first). This aligns posthog-python with the cross-SDK exception ordering spec. Frame order within each stacktrace is unchanged. — Thanks @​cat-ph!

posthog-v7.30.1

Patch changes

  • 4c8a85a AI capture now records multimodal and structured content (thinking blocks, tool calls, media, and Responses API output items) faithfully across all providers and streaming paths, and redacts base64 media structurally without leaking raw bytes or over-redacting legitimate values. — Thanks @​carlos-marchal-ph!

posthog-v7.30.0

Minor changes

  • 37aafd3 feat(mcp): stateless and multi-pod server support — carry $session_id and the client identity (harness) across pods via a self-encoded Mcp-Session-Id token minted at initialize and replayed on every request. Auto-wired on the instrument() FastMCP path (stateless_http=True); custom PostHogMCP dispatchers add PostHogMcpStatelessSessionMiddleware and read get_mcp_session(). — Thanks @​gesh!

posthog-v7.29.0

Minor changes

  • f9a163c Refactored capture internals to support multiple delivery lanes per client. Added an internal test lane for heavy AI events.

    Events captured after shutdown() are now dropped with a warning instead of being silently queued with no consumer to deliver them. — Thanks @​carlos-marchal-ph!

posthog-v7.28.0

Minor changes

  • 2d7f8cc The client.metrics config can now be set through module-level settings: assign posthog.metrics = {"service_name": ..., ...} alongside posthog.api_key and the dict is applied when setup() builds the global client. Previously module-configured apps had no way to pass the metrics config, so every series recorded through the global client shipped service.name='unknown_service'. Late assignment (e.g. a Django ready() hook running after an early setup()) still applies on the next setup() call, as long as the metrics API hasn't been used yet. — Thanks @​DanielVisca!

Patch changes

  • 6766309 Harden the alpha posthog.metrics client based on review follow-ups.

    • Metric attributes are now deep-snapshotted at capture time, so mutating a nested list/dict value after count()/gauge()/histogram() can no longer rewrite an already-recorded series' attributes on the wire.
    • Failed metric flushes now retry with exponential backoff (first retry at the base interval, then doubling per consecutive failure, capped at 64x the flush interval — the shared JS logs ramp) instead of the fixed cadence, and the buffered window is dropped loudly after 8 consecutive failed flushes — previously documented as 3 but effectively 4.
    • Invalid metrics client config (non-dict config or resource_attributes, non-numeric flush_interval, non-integer max_series_per_flush, non-callable before_send) now degrades to defaults with a warning instead of raising from the first client.metrics.count() call, matching the client's no-throw contract. — Thanks @​DanielVisca!

... (truncated)

Commits
  • c7d6377 chore: Release v7.33.0 [skip ci]
  • 170f4e2 feat(mcp): emit $mcp_protocol_version on events (#795)
  • 5b79479 Update generated references
  • 168f304 chore: Release v7.32.0 [skip ci]
  • cdc0825 fix(ai): preserve Anthropic cache-write TTL breakdowns (#746)
  • 7a22410 Update generated references
  • 7139b4a chore: Release v7.31.1 [skip ci]
  • 13de879 fix: propagate module-level settings to default client (#793)
  • d167d4a Update generated references
  • 21b298e chore: Release v7.31.0 [skip ci]
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [posthog](https://github.com/posthog/posthog-python) from 7.21.2 to 7.33.0.
- [Release notes](https://github.com/posthog/posthog-python/releases)
- [Changelog](https://github.com/PostHog/posthog-python/blob/main/CHANGELOG.md)
- [Commits](PostHog/posthog-python@posthog-v7.21.2...posthog-v7.33.0)

---
updated-dependencies:
- dependency-name: posthog
  dependency-version: 7.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 1, 2026
@chennes
chennes merged commit 4f97303 into main Aug 1, 2026
3 checks passed
@chennes
chennes deleted the dependabot/pip/posthog-7.33.0 branch August 1, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant