Skip to content

Bump posthog from 7.20.4 to 7.21.0#2073

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/posthog-7.21.0
Open

Bump posthog from 7.20.4 to 7.21.0#2073
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/posthog-7.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 26, 2026

Copy link
Copy Markdown
Contributor

Bumps posthog from 7.20.4 to 7.21.0.

Release notes

Sourced from posthog's releases.

7.21.0

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

Patch changes

Changelog

Sourced from posthog's changelog.

7.21.0 — 2026-06-26

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 — 2026-06-24

Patch changes

Commits
  • 4bffd7e chore: Release v7.21.0 [skip ci]
  • 888a725 feat(mcp): PostHog MCP analytics SDK for Python (posthog.mcp) (#691)
  • 98b3b19 Update generated references
  • 9ad4c26 chore: Release v7.20.5 [skip ci]
  • cdd878c fix: Clear feature flag called cache on shutdown (#694)
  • 97c52b2 Update generated references
  • See full diff 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.20.4 to 7.21.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@7.20.4...7.21.0)

---
updated-dependencies:
- dependency-name: posthog
  dependency-version: 7.21.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 Jun 26, 2026
@claude

claude Bot commented Jun 26, 2026

Copy link
Copy Markdown

Code Review

PR Summary: Bumps the posthog Python SDK from 7.20.4 to 7.21.0 (single line in requirements/base.txt). Two releases between the pinned version and this one: a patch (7.20.5) that fixes a feature-flag cache leak on shutdown, and a minor (7.21.0) that adds a new opt-in posthog.mcp analytics module.

Assessment: safe to merge, no findings.

This project's posthog surface (config/telemetry.py, opencontractserver/users/apps.py) uses only:

  • from posthog import Posthog (class instantiation)
  • .capture() and .shutdown() instance methods
  • Module-level posthog.api_key, posthog.host, posthog.disable_geoip

None of these APIs changed in either intermediate release. The 7.20.5 shutdown fix is a net positive — the project registers _shutdown_posthog_client via atexit, so the upstream fix for leaking the feature-flag called-cache on shutdown directly benefits this codebase. The new posthog.mcp module is purely additive and not imported anywhere here.

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.

0 participants