Session replay is now kept active across identify() and reset() calls. Project-level remote config and survey definitions are preserved, and replay is re-evaluated whenever feature flags load or reload, ensuring replay starts or pauses based on linked flags without requiring an app restart.
PostHog JS
Fixed an issue where session replay configuration was not persisted before emitting the featureflags event, ensuring listeners read a consistent recording config. This reorders synchronous writes in the stateful core client.
The PostHog JS @posthog/rollup-plugin package now includes missing MIT license metadata in its published manifests.
Added MIT license metadata to the published plugin package manifests.
Fixed an issue where a stopSessionRecording() → reset() → identify(newUser) → startSessionRecording() sequence could result in recordings showing the previous user's identity due to stale snapshots being flushed under the old session ID. The start() function now clears that stale buffer.
Added missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests. Updated @posthog/plugin-utils to v1.1.2 and @posthog/webpack-plugin to v1.5.23.
Surveys now guard remaining unprotected localStorage accesses to swallow SecurityErrors in cross-origin iframes, and bugs metadata has been added to package manifests.
Adds missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests. Dependencies were updated.
Added missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests. This release also includes dependency updates for @posthog/types@1.386.4.
Added missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests. Also updated dependencies.
Added missing bugs metadata to package manifests. Dependencies were also updated.
Adds missing bugs metadata to package manifests. Updated dependencies.
Added missing bugs metadata to package manifests.
Added missing bugs metadata to package manifests.
Local evaluation of feature flags now supports the early_exit condition option, stopping evaluation and returning false as soon as a condition group's property filters match but the rollout percentage excludes the user. This change aligns local evaluation with server-side behavior.
