---
name: PostHog
slug: posthog
domain: posthog.com
category: observability
sources: 5
total_releases: 2403
releases_last_30d: 543
avg_releases_per_week: 125.9
last_updated: 2026-07-20
tracking_since: 2020-01-01
canonical: https://releases.sh/posthog
overview_url: https://releases.sh/posthog/overview.md
accounts:
  github: "PostHog"
  x: "PostHog"
  youtube: "@PostHog"
---

## Overview

Added dead swipe detection to autocapture, shipped the `createPostHog()` factory for Next.js, and added experiment flag metadata to `$feature_flag_called` events.

**Feature flag called events now carry experiment metadata** — `$feature_flag_called` events across `posthog-js`, `posthog-node`, and `posthog-python` include a `$feature_flag_has_experiment` boolean when the server provides it. Python SDKs now minimize event properties for non-experiment flags when the server enables `minimalFlagCalledEvents`, stripping super properties and custom event properties.

**Next.js SDK replaced singleton exports with a factory function** — `createPostHog()` replaces `getPostHog` and `getServerSidePostHog`. Configure once in a shared module with an optional `getDistinctId` resolver that attributes server-side events to the authenticated user.

**`posthog-js` added dead swipe detection to autocapture** — Touch swipe gestures that produce no observable screen change are now captured as `$dead_swipe` events. Configurable via `capture_dead_swipes`, `swipe_threshold_px`, and `max_dead_swipes_per_page_load`. Skips surfaces like canvas and video.

**Error Tracking added issue-based rate limits and deeper React Native support** — Apply rate limits to individual error issues to prevent exploding errors from overwhelming ingestion. React Native Error Tracking now supports native crash capture for iOS and Android with symbol upload for readable stack traces.

**Surveys gained a dedicated dashboard and more flexible response handling** — A new top-level Surveys dashboard shows aggregate metrics. Surveys now support an opt-in back button for multi-question flows, and `posthog.surveys.markSurveyAsSeen()` lets custom integrators respect already-seen checks.

**Mobile SDKs caught up on feature flags, surveys, and macOS** — The React Native plugin now supports macOS targets. The survey modal gained a dimmed backdrop. The Android SDK ships a default Jetpack Compose Surveys UI module.

**`posthog-node` added Capture V1 opt-in and person properties** — Set `POSTHOG_CAPTURE_MODE=v1` to submit events to the new ingestion endpoint. Also added `setPersonProperties()` and `unsetPersonProperties()`. The `secretKey` config is now the canonical alias for `personalApiKey`.

**MCP SDK gained stable sessions for stateless servers** — The `@posthog/mcp` package now mints `Mcp-Session-Id` headers at `initialize` so any pod recovers the session without server-side storage.

**Python SDK fixed flag dependency evaluation** — Local evaluation of `flag_evaluates_to: false` conditions now works correctly. Also gained opt-in `capture_mode="v1"`.

**OpenFeature integration shipped for web** — The `@posthog/openfeature-web-provider` package is available as the official provider for OpenFeature on the web. The `@posthog/ai` package added optional error callback support to the OpenAI Agents tracing processor.

**`posthog-cli` dotenv file now configurable via environment variable** — `POSTHOG_CLI_DOTENV_FILE` accepted for callers that control the environment but not the command line (e.g., Xcode build phases).

**`posthog-js` prevents silent data loss and stack overflow crashes** — Uncompressed `sendBeacon` bodies are now base64-encoded as form data to avoid CORS drops. `jsonStringify` is now circular-safe. Autocapture enforces a 1000-ancestor walk limit to prevent infinite loops on abnormal DOM trees.

**`@posthog/ai` and Python `Prompts.get()` accept labels** — Fetch the prompt version a label (e.g. `production`) currently points to. Labeled fetches are cached separately, results carry the resolved `label`.

**Autocapture honors opt-out on failed config fetch** — Previously a network error enabled autocapture on opted-out projects. Autocapture now keeps the last successfully received server value and stays off.

**`@posthog/browser-common` published as a new package** — Initial release at 0.1.0.

<Source name="PostHog" slug="posthog" type="github" releases="667" latest-version="agent-skills-v0.536.0" latest-date="2026-07-20T20:00:14.000Z" url="https://releases.sh/posthog/posthog" />
<Source name="PostHog Changelog" slug="posthog-changelog" type="agent" releases="113" latest-date="2026-07-10T00:00:00.000Z" url="https://releases.sh/posthog/posthog-changelog" />
<Source name="PostHog JS" slug="posthog-js" type="github" releases="1357" latest-version="posthog-js@1.404.1" latest-date="2026-07-17T20:06:49.000Z" url="https://releases.sh/posthog/posthog-js" />
<Source name="PostHog Node" slug="posthog-node" type="github" releases="9" latest-version="v1.3.0" latest-date="2021-11-24T15:39:02.000Z" url="https://releases.sh/posthog/posthog-node" />
<Source name="PostHog Python" slug="posthog-python" type="github" releases="235" latest-version="openfeature-provider-posthog-v0.1.14" latest-date="2026-07-18T16:41:09.000Z" url="https://releases.sh/posthog/posthog-python" />

## Recent Releases

_Summaries below — fetch the release's `canonical` URL for full content, or `url` for the original source._

<Release source="posthog" version="agent-skills-v0.536.0" date="July 20, 2026" published="2026-07-20T20:00:14.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.536.0" canonical="https://releases.sh/release/rel_i54KN_xqwwsZrkAoPEC5D" truncated="true">
### Agent skills agent-skills-v0.536.0

Build from 6ef8ccdd828ad11811dd5597d26ba58d56452908
</Release>

<Release source="posthog" version="agent-skills-v0.535.0" date="July 20, 2026" published="2026-07-20T15:59:11.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.535.0" canonical="https://releases.sh/release/rel_nk-Jd3RgXrBHmpSoMbrZ4" truncated="true">
### Agent skills agent-skills-v0.535.0

Build from fb922f3934b48cbb9c8beaa0971c7617f0bd7e65
</Release>

<Release source="posthog" version="agent-skills-v0.534.0" date="July 20, 2026" published="2026-07-20T15:03:45.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.534.0" canonical="https://releases.sh/release/rel_6JssttNuFNnjrvYF2iy0z" truncated="true">
### Agent skills agent-skills-v0.534.0

Build from 42830b48409d85c1a06d354b57d45cde8d1a0f03
</Release>

<Release source="posthog" version="agent-skills-v0.533.0" date="July 20, 2026" published="2026-07-20T14:40:01.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.533.0" canonical="https://releases.sh/release/rel_5l34ERMb-Xg2Jv89BvmK5" truncated="true">
### Agent skills agent-skills-v0.533.0

Build from fe9629385870f927c3dcef0e1ead8ab8ba3033be
</Release>

<Release source="posthog" version="agent-skills-v0.532.0" date="July 20, 2026" published="2026-07-20T08:38:09.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.532.0" canonical="https://releases.sh/release/rel_hHKFcc51K5Yc8ZwZZMzLZ" truncated="true">
### Agent skills agent-skills-v0.532.0

Build from f22bf81ee40b3560b52789288fe3e17fe2a0563f
</Release>

<Release source="posthog" version="agent-skills-v0.531.0" date="July 20, 2026" published="2026-07-20T07:52:40.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.531.0" canonical="https://releases.sh/release/rel_6Nx-I2FgBw5sZYYfn9irg" truncated="true">
### Agent skills agent-skills-v0.531.0

Build from cfe17ed62f25e6b1b1f8a38db89a84d6571b922f
</Release>

<Release source="posthog" version="agent-skills-v0.530.0" date="July 20, 2026" published="2026-07-20T07:00:16.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.530.0" canonical="https://releases.sh/release/rel_70hWHXMbd5OofDu45YNXd" truncated="true">
### Agent skills agent-skills-v0.530.0

Build from 6b1a875925f88086931ce3058c6e193fc7f28818
</Release>

<Release source="posthog" version="agent-skills-v0.529.0" date="July 20, 2026" published="2026-07-20T05:02:14.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.529.0" canonical="https://releases.sh/release/rel_pD3joxx_I5a1AT2qEQIwt" truncated="true">
### Agent skills agent-skills-v0.529.0

Build from da1bd5289e4c74882a07bbf0c51f07107f2fccf7
</Release>

<Release source="posthog" version="agent-skills-v0.528.0" date="July 19, 2026" published="2026-07-19T21:50:44.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.528.0" canonical="https://releases.sh/release/rel_BTbJPlwNy3Q_ktajrZszn" truncated="true">
### Agent skills agent-skills-v0.528.0

Build from 6f8208e93ef6e34e8cd499fca7ba59f9ea8d0076
</Release>

<Release source="posthog" version="agent-skills-v0.527.0" date="July 19, 2026" published="2026-07-19T21:17:11.000Z" url="https://github.com/PostHog/posthog/releases/tag/agent-skills-v0.527.0" canonical="https://releases.sh/release/rel_YBYLf0b2Jt_eoLdAgpoHp" truncated="true">
### Agent skills agent-skills-v0.527.0

Build from 8725467b99209d074537924bab2c99d9a181e3da
</Release>

## Fetching more

Append `.md` (markdown), `.json` (raw data), or `.atom` (feed) to any URL on this page.

- Per-source history: `https://releases.sh/posthog/{source-slug}`
- Atom feed: `https://releases.sh/posthog.atom`
- Individual release: `https://releases.sh/release/{release-id}`
