releases.shpreview

Autocapture stays off when remote config omits autocapture_opt_out

posthog-js@1.406.0

July 21, 2026PostHog JSView original ↗
1 enhancement1 fixThis release1 enhancementImprovements to existing features1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

1.406.0

Minor Changes

  • #4194 d39b903 Thanks @dustinbyrne! - Move shared browser utility implementations into @posthog/browser-common and consume them directly from posthog-js. (2026-07-21)

Patch Changes

  • #4204 ba977d0 Thanks @turnipdabeets! - Keep autocapture off when a remote config response omits autocapture_opt_out. The SDK now retains the last known server value for the missing-field case, the same as when the config fetch fails, instead of enabling autocapture. Values persisted by earlier SDK versions are still trusted; a browser holding a stale value corrects itself on the first config response that includes the field. (2026-07-21)
  • Updated dependencies [d39b903]:
    • @posthog/browser-common@0.2.0

Fetched July 21, 2026