---
title: "posthog 8.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each posthog release removed, renamed or changed: 405 breaking changes in 38 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/posthog
last_updated: 2026-12-04
---

# posthog breaking changes

posthog 8.0.0 (November 17, 2026) is its newest release with breaking changes, 234 of them. The first: Legacy v0 capture path is removed in posthog 8.0.0. Every breaking API change we have recorded in posthog on PyPI: 405 breaking changes in 38 versions. Below, its 38 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.13.0`, released December 4, 2026. [Source repository](https://github.com/posthog/posthog-python)

Its 7.0.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [7.86.6](#v-7-86-6) to [8.0.0](#v-8-0-0): 234 breaking changes in 1 version.
- From [5.0.0](#v-5-0-0) to [8.0.0](#v-8-0-0): 403 breaking changes in 37 versions.

## posthog 8.0.0 breaking changes

posthog 8.0.0, released November 17, 2026: 234 breaking changes.

- **Removed**  

Events and AI events now send only to the capture v1 endpoints. Code relying on the v0 capture path must move to v1. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v8.0.0)
- **Removed** `AI_EVENTS_ENDPOINT`  

Send events through a client instead. [github.com](https://github.com/PostHog/posthog-python/blob/main/docs/migration-7.x-to-8.0.md)
- **Removed** `capture_mode`  

Capture v1 is the only capture path, so capture_mode is gone and must be dropped from calls. [github.com](https://github.com/PostHog/posthog-python/commit/cacdb6f65024e12d648deec7d388c0c414b9d36e)
- **Removed** `CaptureV1Error`  

Import CaptureError from posthog instead. There is no alias. [github.com](https://github.com/PostHog/posthog-python/blob/main/docs/migration-7.x-to-8.0.md)
- **Removed** `EVENTS_ENDPOINT`  

Send events through a client instead. [github.com](https://github.com/PostHog/posthog-python/blob/main/docs/migration-7.x-to-8.0.md)
- **Removed** `gzip`  

The gzip option is removed, so calls passing it must drop it. [github.com](https://github.com/PostHog/posthog-python/commit/cacdb6f65024e12d648deec7d388c0c414b9d36e)
- **Removed** `POSTHOG_CAPTURE_MODE`  

The capture mode environment variable no longer has any effect and is removed. [github.com](https://github.com/PostHog/posthog-python/commit/cacdb6f65024e12d648deec7d388c0c414b9d36e)
- **Removed** `posthog.ai.anthropic.anthropic_async.setup`  

posthog.ai.anthropic.anthropic_async.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.anthropic.anthropic_providers.setup`  

posthog.ai.anthropic.anthropic_providers.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.anthropic.anthropic.setup`  

posthog.ai.anthropic.anthropic.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.claude_agent_sdk.processor.setup`  

posthog.ai.claude_agent_sdk.processor.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.langchain.callbacks.setup`  

posthog.ai.langchain.callbacks.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.openai_agents.processor.setup`  

posthog.ai.openai_agents.processor.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.openai.openai_async.setup`  

posthog.ai.openai.openai_async.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.openai.openai_providers.setup`  

posthog.ai.openai.openai_providers.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.ai.openai.openai.setup`  

posthog.ai.openai.openai.setup was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.capture_mode`  

posthog.capture_mode was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.capture_v1`  

Use posthog.capture_event and posthog.capture_send instead. [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.CaptureMode`  

Capture v1 is now the only capture path, so code that uses CaptureMode must be removed. [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.client.AI_EVENTS_ENDPOINT`  

posthog.client.AI_EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.client.batch_post`  

posthog.client.batch_post was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.Client.capture_mode`  

Client.capture_mode was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.client.Consumer.capture_mode`  

Consumer.capture_mode was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.client.Consumer.gzip`  

Consumer.gzip was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.client.EVENTS_ENDPOINT`  

posthog.client.EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.Client.gzip`  

Client.gzip was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.consumer.APIError`  

posthog.consumer.APIError was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.consumer.batch_post`  

posthog.consumer.batch_post was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.consumer.EVENTS_ENDPOINT`  

posthog.consumer.EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.request.AI_EVENTS_ENDPOINT`  

posthog.request.AI_EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.request.batch_post`  

request.batch_post is removed along with the capture v0 path. [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.request.EVENTS_ENDPOINT`  

posthog.request.EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.ai.claude_agent_sdk.test_processor.test_ai_lane_client_routes_through_capture_ai`  

posthog.test.ai.claude_agent_sdk.test_processor.test_ai_lane_client_routes_through_capture_ai was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.ai.claude_agent_sdk.test_processor.TestCapturePolicy.test_client_without_capture_capability_is_ignored`  

TestCapturePolicy.test_client_without_capture_capability_is_ignored was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.ai.openai_agents.test_processor.test_ai_lane_client_routes_through_capture_ai`  

posthog.test.ai.openai_agents.test_processor.test_ai_lane_client_routes_through_capture_ai was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.ai.openai_agents.test_processor.test_span_error_category_keeps_precedence_and_privacy_summary`  

posthog.test.ai.openai_agents.test_processor.test_span_error_category_keeps_precedence_and_privacy_summary was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.ai.openai_agents.test_processor.test_transcription_privacy_wins_over_full_capture_without_mutating_config`  

posthog.test.ai.openai_agents.test_processor.test_transcription_privacy_wins_over_full_capture_without_mutating_config was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_features_m4.test_event_properties_applied_to_all_event_types`  

posthog.test.mcp.test_features_m4.test_event_properties_applied_to_all_event_types was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_no_crash.test_instrument_relabels_the_host_client`  

posthog.test.mcp.test_no_crash.test_instrument_relabels_the_host_client was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_events_use_mcp_library_identity`  

posthog.test.mcp.test_posthog_mcp.test_mcp_events_use_mcp_library_identity was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_capture_v0_header`  

posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_capture_v0_header was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_capture_v1_header`  

posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_capture_v1_header was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_feature_flag_definition_requests`  

posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_feature_flag_definition_requests was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_feature_flag_requests`  

posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_feature_flag_requests was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_remote_config_requests`  

posthog.test.mcp.test_posthog_mcp.test_mcp_library_identity_reaches_remote_config_requests was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.released_flags_scenarios.ACCEPTED_UUID`  

posthog.test.released_flags_scenarios.ACCEPTED_UUID was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.test_ai_capture_lane.AI_EVENTS_ENDPOINT`  

posthog.test.test_ai_capture_lane.AI_EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.test_ai_capture_lane.EVENTS_ENDPOINT`  

posthog.test.test_ai_capture_lane.EVENTS_ENDPOINT was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.test_ai_capture_lane.TestAiLaneV0Pinned`  

posthog.test.test_ai_capture_lane.TestAiLaneV0Pinned was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)
- **Removed** `posthog.test.test_ai_capture_lane.TestCaptureAiEventHelper.test_client_multimodal_flag_off_keeps_capture`  

TestCaptureAiEventHelper.test_client_multimodal_flag_off_keeps_capture was removed in posthog 8.0.0 [pypi.org](https://pypi.org/project/posthog/8.0.0/)

And 184 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## posthog 7.86.6 breaking changes

posthog 7.86.6, released November 10, 2026: 1 breaking change.

- **Behavior changed**  

Relative date filters evaluated locally now clamp the day after each month or year is subtracted, so a 2m filter on March 31 resolves to January 28 instead of January 31. Check any logic that depends on the previous resolved dates. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.6)

## posthog 7.86.3 breaking changes

posthog 7.86.3, released November 9, 2026: 1 breaking change.

- **Behavior changed** `capture_exception`  

Exceptions passed to capture_exception without being raised now get their synthesized stack in outermost-first order, without the SDK's own capture frames, and with mechanism.synthetic set to true. Code that parses these stacks or the... [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.3)

## posthog 7.86.2 breaking changes

posthog 7.86.2, released November 9, 2026: 2 breaking changes.

- **Signature changed** `posthog.test.test_capture_v1.TestSendV1Batch.test_retryable_status_exhausted_raises`  

Was def test_retryable_status_exhausted_raises(self) -> None; now def test_retryable_status_exhausted_raises(self, \_name, status) -> None. [pypi.org](https://pypi.org/project/posthog/7.86.2/)
- **Signature changed** `posthog.test.test_capture_v1.TestSendV1Batch.test_retryable_status_then_success`  

Was def test_retryable_status_then_success(self) -> None; now def test_retryable_status_then_success(self, \_name, status) -> None. [pypi.org](https://pypi.org/project/posthog/7.86.2/)

## posthog 7.86.1 breaking changes

posthog 7.86.1, released November 9, 2026: 3 breaking changes.

- **Behavior changed** `get_feature_flag_payload`  

A flag the server marks failed reads as disabled, so get_feature_flag_payload() now returns None for it even when metadata.payload is present. Code that relied on the payload for failed flags must handle None. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.1)
- **Behavior changed** `get_feature_flag_result`  

For a failed flag, the payload on the result from get_feature_flag_result() is now None, even when metadata.payload is present. Code reading result.payload for failed flags must handle None. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.1)
- **Behavior changed** `get_flag_payload`  

A snapshot's get_flag_payload() now returns None for a failed flag, and its $feature_flag_called events omit $feature_flag_payload for it. Code that depended on those payloads for failed flags must handle the change. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.1)

## posthog 7.86.0 breaking changes

posthog 7.86.0, released November 6, 2026: 3 breaking changes.

- **Behavior changed**  

Manual capture without a session_id now sends a fresh ses\_ session id and uses it as the distinct_id, instead of sending no $session_id and an anonymous person. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.0)
- **Behavior changed**  

Truncated string properties such as $mcp_tool_name now fit their limit with the ... marker included, so they stop at 256 characters instead of 259. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.0)
- **Behavior changed** `instrument`  

When a tools/call names a tool the server never registered, instrument() now sends $mcp_unknown_tool instead of a failed $mcp_tool_call and $exception. Insights that count failed tool calls will stop counting these. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.86.0)

## Older versions

32 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### posthog 7.85.0 breaking changes

posthog 7.85.0, released November 6, 2026: 4 breaking changes.

- **Behavior changed** `get_more_tools`  

The tool now declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint as false and no longer carries a title. Published tool definitions change, and directory platforms may re-review the server. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.85.0)
- **Behavior changed** `send_feedback`  

The tool now declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint as false and no longer carries a title. Published tool definitions change, and directory platforms may re-review the server. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.85.0)

And 2 more in this version.

### posthog 7.84.1 breaking changes

posthog 7.84.1, released November 5, 2026: 1 breaking change.

- **Behavior changed**  

The descriptions of the injected conversation_id and llm_model arguments and the get_more_tools and send_feedback virtual tools were reworded, which changes your published tool definitions. Servers listed in the ChatGPT or Claude... [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.84.1)

### posthog 7.84.0 breaking changes

posthog 7.84.0, released November 5, 2026: 3 breaking changes.

- **Signature changed** `posthog.Client.__init__`  

Was def \_\_init\_\_(self, project_api_key: str, host=None, debug=False, max_queue_size=10000, send=True, on_error=None, flush_at=100, flush_interval=5.0, gzip=False, max_retries=3, sync_mode=False, timeout: float = 15, thread=1... [pypi.org](https://pypi.org/project/posthog/7.84.0/)
- **Signature changed** `posthog.client.Emails.__init__`  

Was def \_\_init\_\_(self, secret_key: Optional\[str\], \*, host: Optional\[str\] = None, timeout: float = 15, max_retries: int = 2, disabled: bool = False, session: Optional\[requests.Session\] = None) -> None; now def \_\_init\_\_(self, secret_key... [pypi.org](https://pypi.org/project/posthog/7.84.0/)

And 1 more in this version.

### posthog 7.83.0 breaking changes

posthog 7.83.0, released November 3, 2026: 7 breaking changes.

- **Behavior changed**  

The human-readable reason text of a config version 2 flag is now the one the server sends at v4. Code that matches on that text may need updating. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.83.0)
- **Behavior changed**  

A flag record with a known field of the wrong JSON type now reads as a failed flag, instead of being read anyway or failing the whole response. Code that relied on the old handling may behave differently. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.83.0)

And 5 more in this version.

### posthog 7.82.2 breaking changes

posthog 7.82.2, released November 2, 2026: 3 breaking changes.

- **Signature changed** `posthog.ai.gemini.gemini_async.extract_gemini_usage_from_chunk`  

Was def extract_gemini_usage_from_chunk(chunk: Any) -> TokenUsage; now def extract_gemini_usage_from_chunk(chunk: Any, url_context_seen: bool = False) -> TokenUsage. [pypi.org](https://pypi.org/project/posthog/7.82.2/)
- **Signature changed** `posthog.ai.gemini.gemini_converter.extract_gemini_usage_from_chunk`  

Was def extract_gemini_usage_from_chunk(chunk: Any) -> TokenUsage; now def extract_gemini_usage_from_chunk(chunk: Any, url_context_seen: bool = False) -> TokenUsage. [pypi.org](https://pypi.org/project/posthog/7.82.2/)

And 1 more in this version.

### posthog 7.82.1 breaking changes

posthog 7.82.1, released November 2, 2026: 1 breaking change.

- **Behavior changed**  

Non-string properties are now compared as compact JSON in local regex and not_regex flag matching, so results for booleans, lists and objects can differ from before. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.82.1)

### posthog 7.82.0 breaking changes

posthog 7.82.0, released November 2, 2026: 2 breaking changes.

- **Signature changed** `posthog.FeatureFlagEvaluations.get_flag`  

Was def get_flag(self, key: str) -> Optional\[FlagValue\]; now def get_flag(self, key: str, \*, send_feature_flag_events: bool = True) -> Optional\[FlagValue\]. [pypi.org](https://pypi.org/project/posthog/7.82.0/)
- **Signature changed** `posthog.FeatureFlagEvaluations.is_enabled`  

Was def is_enabled(self, key: str, default_value: bool = False) -> bool; now def is_enabled(self, key: str, default_value: bool = False, \*, send_feature_flag_events: bool = True) -> bool. [pypi.org](https://pypi.org/project/posthog/7.82.0/)

### posthog 7.81.0 breaking changes

posthog 7.81.0, released October 30, 2026: 1 breaking change.

- **Signature changed** `posthog.Client.__init__`  

Was def \_\_init\_\_(self, project_api_key: str, host=None, debug=False, max_queue_size=10000, send=True, on_error=None, flush_at=100, flush_interval=5.0, gzip=False, max_retries=3, sync_mode=False, timeout: float = 15, thread=1... [pypi.org](https://pypi.org/project/posthog/7.81.0/)

### posthog 7.79.0 breaking changes

posthog 7.79.0, released October 28, 2026: 5 breaking changes.

- **Behavior changed**  

An inactive flag with experience continuity enabled now resolves to false locally instead of falling back to a remote request. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.79.0)
- **Behavior changed**  

On $feature_flag_called events from an evaluate_flags() snapshot, a flag that local evaluation could not resolve now reports local_evaluation_inconclusive instead of flag_missing. Code that checks for flag_missing must be updated. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.79.0)

And 3 more in this version.

### posthog 7.78.0 breaking changes

posthog 7.78.0, released October 28, 2026: 1 breaking change.

- **Signature changed** `posthog.mcp.MCPAnalyticsOptions.__init__`  

Was def \_\_init\_\_(self, logger: Optional\[LoggerFn\] = None, report_missing: bool = False, missing_capability_tool_name: Optional\[str\] = None, enable_conversation_id: bool = True, enable_exception_autocapture: bool = True, context... [pypi.org](https://pypi.org/project/posthog/7.78.0/)

### posthog 7.77.0 breaking changes

posthog 7.77.0, released October 28, 2026: 1 breaking change.

- **Signature changed** `posthog.mcp.MCPAnalyticsOptions.__init__`  

Was def \_\_init\_\_(self, logger: Optional\[LoggerFn\] = None, report_missing: bool = False, missing_capability_tool_name: Optional\[str\] = None, enable_conversation_id: bool = True, enable_exception_autocapture: bool = True, context... [pypi.org](https://pypi.org/project/posthog/7.77.0/)

### posthog 7.76.1 breaking changes

posthog 7.76.1, released October 28, 2026: 1 breaking change.

- **Signature changed** `posthog.ai.langchain.callbacks.ModelUsage.__init__`  

Was def \_\_init\_\_(self, input_tokens: Optional\[int\], output_tokens: Optional\[int\], cache_write_tokens: Optional\[int\], cache_read_tokens: Optional\[int\], reasoning_tokens: Optional\[int\], cache_write_5m_tokens: Optional\[int\] = None... [pypi.org](https://pypi.org/project/posthog/7.76.1/)

### posthog 7.76.0 breaking changes

posthog 7.76.0, released October 27, 2026: 2 breaking changes.

- **Signature changed** `posthog.ai.evaluations.EvaluationItem.__init__`  

Was def \_\_init\_\_(self, \*, id: str | UUID | None = None, input: JSONValue | \_Unset = \_UNSET, output: JSONValue | \_Unset = \_UNSET, expected_output: JSONValue | \_Unset = \_UNSET, metadata: dict\[str, JSONValue\] | None | \_Unset = \_UNSET... [pypi.org](https://pypi.org/project/posthog/7.76.0/)
- **Signature changed** `posthog.ai.evaluations.EvaluationItem.from_dataset_item`  

Was @classmethod def from_dataset_item(cls, item: DatasetItem, \*, output: JSONValue | \_Unset = \_UNSET, id: str | UUID | None = None, case_key: str | None = None, trial: str | None = None, application_trace_id: str | None = None) ->... [pypi.org](https://pypi.org/project/posthog/7.76.0/)

### posthog 7.75.11 breaking changes

posthog 7.75.11, released October 23, 2026: 7 breaking changes.

- **Behavior changed**  

When privacy mode is on, the LangChain callback handler no longer sends an $exception event for a failed run. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.11)
- **Behavior changed** `$ai_error`  

With privacy mode on, $ai_error now sends a summary of structured fields instead of the exception message. Code that reads the message from this property will get the summary instead. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.11)

And 5 more in this version.

### posthog 7.75.9 breaking changes

posthog 7.75.9, released October 23, 2026: 6 breaking changes.

- **Removed** `posthog.test.mcp.test_v2_lowlevel.test_initialize_and_session_reuse_across_calls`  

posthog.test.mcp.test_v2_lowlevel.test_initialize_and_session_reuse_across_calls was removed in posthog 7.75.9 [pypi.org](https://pypi.org/project/posthog/7.75.9/)
- **Removed** `posthog.test.mcp.test_v2_mcpserver.test_initialize_emitted_once_per_session`  

posthog.test.mcp.test_v2_mcpserver.test_initialize_emitted_once_per_session was removed in posthog 7.75.9 [pypi.org](https://pypi.org/project/posthog/7.75.9/)

And 4 more in this version.

### posthog 7.75.8 breaking changes

posthog 7.75.8, released October 23, 2026: 1 breaking change.

- **Behavior changed**  

Feature flag regex patterns with unsupported syntax are now evaluated by the server instead of locally. End-of-input anchors now match strictly, as the flags service does, so local results for some patterns may differ. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.8)

### posthog 7.75.7 breaking changes

posthog 7.75.7, released October 23, 2026: 3 breaking changes.

- **Signature changed** `posthog.ai.openai.openai_async.accumulate_openai_tool_calls`  

Was def accumulate_openai_tool_calls(accumulated_tool_calls: Dict\[int, Dict\[str, Any\]\], chunk_tool_calls: List\[Dict\[str, Any\]\]) -> None; now def accumulate_openai_tool_calls(accumulated_tool_calls: Dict\[Union\[int, str\], Dict\[str, Any\]\]... [pypi.org](https://pypi.org/project/posthog/7.75.7/)
- **Signature changed** `posthog.ai.openai.openai_converter.accumulate_openai_tool_calls`  

Was def accumulate_openai_tool_calls(accumulated_tool_calls: Dict\[int, Dict\[str, Any\]\], chunk_tool_calls: List\[Dict\[str, Any\]\]) -> None; now def accumulate_openai_tool_calls(accumulated_tool_calls: Dict\[Union\[int, str\], Dict\[str, Any\]\]... [pypi.org](https://pypi.org/project/posthog/7.75.7/)

And 1 more in this version.

### posthog 7.75.5 breaking changes

posthog 7.75.5, released October 22, 2026: 17 breaking changes.

- **Signature changed** `posthog.Client.__init__`  

Was def \_\_init\_\_(self, project_api_key: str, host=None, debug=False, max_queue_size=10000, send=True, on_error=None, flush_at=100, flush_interval=5.0, gzip=False, max_retries=3, sync_mode=False, timeout=15, thread=1, poll_interval=30... [pypi.org](https://pypi.org/project/posthog/7.75.5/)
- **Signature changed** `posthog.client.batch_post`  

Was def batch_post(api_key: str, host: Optional\[str\] = None, gzip: bool = False, timeout: int = 15, path: str = EVENTS_ENDPOINT, \*\*kwargs) -> requests.Response; now def batch_post(api_key: str, host: Optional\[str\] = None, gzip: bool =... [pypi.org](https://pypi.org/project/posthog/7.75.5/)

And 15 more in this version.

### posthog 7.75.3 breaking changes

posthog 7.75.3, released October 22, 2026: 3 breaking changes.

- **Behavior changed**  

Streamed OpenAI, Anthropic and Gemini generations that raise mid-stream are now recorded with $ai_is_error and $ai_error set, instead of as a 200 success. The error is still re-raised to the caller. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.3)
- **Behavior changed**  

A refused non-streamed OpenAI chat completion is now captured with a refusal content block in $ai_output_choices instead of an empty list. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.3)

And 1 more in this version.

### posthog 7.75.1 breaking changes

posthog 7.75.1, released October 22, 2026: 1 breaking change.

- **Behavior changed**  

Local string and regex flag operators now treat an explicit null person or group property as the string "null", matching the flags service. Flag values or selected variants may change for those properties, so check flag conditions that... [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.75.1)

### posthog 7.73.3 breaking changes

posthog 7.73.3, released October 21, 2026: 1 breaking change.

- **Behavior changed**  

Streamed Anthropic calls now take input and cache token counts from the final message_delta usage, which is cumulative, so reported input tokens and cache writes can be higher than before for calls using server tools such as web search. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.73.3)

### posthog 7.73.2 breaking changes

posthog 7.73.2, released October 20, 2026: 1 breaking change.

- **Behavior changed**  

Local evaluation of gt, gte, lt and lte flag filters now compares numeric strings as numbers instead of lexically, so some users may start or stop matching flags targeting numeric-string properties. Only complete, unpadded decimal strings... [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.73.2)

### posthog 7.73.0 breaking changes

posthog 7.73.0, released October 19, 2026: 4 breaking changes.

- **Signature changed** `posthog.ai.evaluations.Scorer.__init__`  

Was def \_\_init\_\_(self, id: str, name: str, description: str, kind: ScorerKind, archived: bool, current_version: int, current_version_id: str, config: \_ConfigT, created_at: datetime, updated_at: datetime, created_by: dict\[str, Any\] | None... [pypi.org](https://pypi.org/project/posthog/7.73.0/)
- **Signature changed** `posthog.ai.evaluations.Scorers.create`  

Was def create(self, \*, name: str, kind: ScorerKind, config: ScorerConfig, description: str | None | \_Omitted = \_OMITTED) -> Scorer\[ScorerConfig\]; now def create(self, \*, name: str, kind: ScorerKind, config: ScorerConfig, description: str... [pypi.org](https://pypi.org/project/posthog/7.73.0/)

And 2 more in this version.

### posthog 7.72.0 breaking changes

posthog 7.72.0, released October 19, 2026: 6 breaking changes.

- **Removed** `posthog.test.mcp.test_lowlevel.test_identify_on_a_resource_read_is_named_by_the_uri`  

posthog.test.mcp.test_lowlevel.test_identify_on_a_resource_read_is_named_by_the_uri was removed in posthog 7.72.0 [pypi.org](https://pypi.org/project/posthog/7.72.0/)
- **Removed** `posthog.test.mcp.test_pipeline.MCPAnalyticsEventType.IDENTIFY`  

posthog.test.mcp.test_pipeline.MCPAnalyticsEventType.IDENTIFY was removed in posthog 7.72.0 [pypi.org](https://pypi.org/project/posthog/7.72.0/)

And 4 more in this version.

### posthog 7.71.0 breaking changes

posthog 7.71.0, released October 16, 2026: 3 breaking changes.

- **Default changed**  

Tracing headers are captured by default once an integration is installed. Users who do not want this must explicitly opt out. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.71.0)
- **Signature changed** `posthog.integrations.asgi.PosthogASGIMiddleware.__init__`  

Was def \_\_init\_\_(self, app: \_ASGIApp, client: Optional\[Client\] = None, capture_exceptions: Optional\[bool\] = None, request_filter: Optional\[\_RequestFilter\] = None, extra_properties: Optional\[\_ExtraProperties\] = None, trust_tracing_headers... [pypi.org](https://pypi.org/project/posthog/7.71.0/)

And 1 more in this version.

### posthog 7.70.0 breaking changes

posthog 7.70.0, released October 14, 2026: 1 breaking change.

- **Behavior changed** `PostHogSpanProcessor`  

PostHogSpanProcessor now adds the distinct ID, session ID and context tags to exported AI spans. Apps already using PostHog contexts will see their AI events attributed to the context's person after upgrading. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.70.0)

### posthog 7.68.0 breaking changes

posthog 7.68.0, released October 12, 2026: 5 breaking changes.

- **Behavior changed**  

Flask and Django no longer accept PostHog tracing identity or session headers unless the user opts in. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.68.0)
- **Default changed**  

ASGI and Flask now default to inheriting the client's exception-autocapture setting. To keep the previous behavior, set an explicit capture override. [github.com](https://github.com/PostHog/posthog-python/releases/tag/posthog-v7.68.0)

And 3 more in this version.

### posthog 7.66.0 breaking changes

posthog 7.66.0, released October 8, 2026: 6 breaking changes.

- **Removed** `posthog.test.mcp.test_features_m4.test_lowlevel_does_not_reuse_a_listed_schema_for_input_names`  

posthog.test.mcp.test_features_m4.test_lowlevel_does_not_reuse_a_listed_schema_for_input_names was removed in posthog 7.66.0 [pypi.org](https://pypi.org/project/posthog/7.66.0/)
- **Removed** `posthog.test.mcp.test_virtual_tools.test_real_tool_named_get_more_tools_keeps_normal_injection`  

posthog.test.mcp.test_virtual_tools.test_real_tool_named_get_more_tools_keeps_normal_injection was removed in posthog 7.66.0 [pypi.org](https://pypi.org/project/posthog/7.66.0/)

And 4 more in this version.

### posthog 7.63.0 breaking changes

posthog 7.63.0, released October 5, 2026: 1 breaking change.

- **Signature changed** `posthog.mcp.MCPAnalyticsOptions.__init__`  

Was def \_\_init\_\_(self, logger: Optional\[LoggerFn\] = None, report_missing: bool = False, missing_capability_tool_name: Optional\[str\] = None, enable_conversation_id: bool = True, enable_exception_autocapture: bool = True, context... [pypi.org](https://pypi.org/project/posthog/7.63.0/)

### posthog 7.0.0 breaking changes

posthog 7.0.0, released November 11, 2025: 2 breaking changes.

- **Removed**  

Python 3.9 is no longer supported in this release. Users on Python 3.9 must upgrade Python before installing it. [github.com](https://github.com/posthog/posthog-python/blob/v7.0.0/CHANGELOG.md)
- **Behavior changed**  

The LLM provider SDK integrations move to new major versions, including openai 2.x, anthropic 0.72.0, and langchain-core 1.0.3. Code relying on those libraries' older APIs may need updating. [github.com](https://github.com/posthog/posthog-python/blob/v7.0.0/CHANGELOG.md)

### posthog 6.0.0 breaking changes

posthog 6.0.0, released June 27, 2025: 59 breaking changes.

- **Removed** `posthog.Client.exception_autocapture_integrations`  

Client.exception_autocapture_integrations was removed in posthog 6.0.0 [pypi.org](https://pypi.org/project/posthog/6.0.0/)
- **Removed** `posthog.client.ExceptionCapture.enabled_integrations`  

ExceptionCapture.enabled_integrations was removed in posthog 6.0.0 [pypi.org](https://pypi.org/project/posthog/6.0.0/)

And 57 more in this version.

### posthog 5.0.0 breaking changes

posthog 5.0.0, released June 16, 2025: 2 breaking changes.

- **Removed**  

The previously deprecated Sentry integration has been removed in this release. Code that uses it must be updated or deleted. [github.com](https://github.com/posthog/posthog-python/blob/v5.0.0/CHANGELOG.md)
- **Removed** `posthog.sentry`  

posthog.sentry was removed in posthog 5.0.0 [pypi.org](https://pypi.org/project/posthog/5.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
