releases.shpreview
PostHog

PostHog

posthog.comObservability
$npx @buildinternet/releases get posthog
Recently Shipped550 releases · updated Jul 17, 2026

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-react-native include a $feature_flag_has_experiment boolean when the server provides it. Omitted entirely when the value is unknown.

Next.js SDK replaced singleton exports with a factory functioncreatePostHog() 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 variablePOSTHOG_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.

AI-generated summaries may contain mistakes.

Sources

Latest releases

See all releases

Activity

2363 releases1h interval537/mo
Mon
Wed
Fri
JulAugSepOctNovDecJanFebMarAprMayJunJul
Less
More