github PostHog/posthog-js @posthog/types@1.400.1

2 hours ago

1.400.1

Patch Changes

  • #4314 feb9e2a Thanks @posthog! - fix: warn when reset() silently opts the user back out

    reset() clears stored consent along with the rest of the user's state. With opt_out_capturing_by_default, this returns the instance to the opted-out default, so calling reset() after opt_in_capturing() would stop capturing without warning. It now logs a warning when that happens and documents the required ordering. (2026-08-04)

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.