Contents

@posthog/browser

0.6.0

Minor Changes

  • #5789 6715a04 Thanks @dustinbyrne! - Add local flag property overrides, flag read controls, early-access features and onActiveMatchingSurveysChanged to @posthog/browser, and load its feature flags while capture is opted out as posthog-js does. (2026-11-25)

  • #5788 18aa40f Thanks @dustinbyrne! - Add explicit consent status and clearing, a setup bootstrap option, reset options with device-ID replacement and bootstrap, onSessionId subscriptions, and opt-in cookie persistence for cross-subdomain identity. reset() now also forgets the stored consent choice, as posthog-js does.

    Session and window IDs are now UUIDv7, as in posthog-js. (2026-11-25)

  • #5787 c17ad19 Thanks @dustinbyrne! - Add setConfig() and debug(), immediate per-event delivery, and getPageViewId() to @posthog/browser. (2026-11-25)

Patch Changes

0.5.0

Minor Changes

  • #5786 45ddd74 Thanks @dustinbyrne! - Make the client the single extension host: analytics operations, including the group and person methods, move onto the client.

    Breaking for 0.4.x users: the @posthog/browser/analytics export, posthog.analytics, the analytics: false option and the IPostHogInternal type are removed. Call capture(), identify(), register() and the other analytics methods on the client, configure scheduling and person profiles through the analytics option, and type extension hosts as IPostHog. Capture can no longer be left out: both entrypoints, including /core with only flags and root analytics: false, now send the initial $pageview (unless capturePageview: false) and $feature_flag_called on flag reads. Registered super properties, person-profile enablement and flag and survey caches persisted by 0.4.x are not carried over. See the package README's "Migrating from the analytics extension" section. (2026-11-24)

0.4.2

Patch Changes

0.4.1

Patch Changes

  • #5668 6b5843e Thanks @dustinbyrne! - Reorganize browser SDK modules while retaining supported package import paths. (2026-11-16)

0.4.0

Minor Changes

  • #5693 d8389d7 Thanks @marandaneto! - Treat failed flag evaluations as unavailable: Node getFeatureFlag()/isFeatureEnabled() return undefined, getAllFlags() omits failed keys, and no failed values or payloads are exposed. (2026-11-15)

Patch Changes

0.3.0

Minor Changes

  • #5656 54908e4 Thanks @dustinbyrne! - Add persistent event properties through analytics register, registerOnce, unregister, and getProperty, with snapshot isolation and per-event override precedence. (2026-11-14)

  • #5657 52e926e Thanks @dustinbyrne! - Add tab-scoped session event properties through registerForSession and unregisterForSession, with reload persistence and scope transitions tied to admitted Core sessions. (2026-11-14)

Patch Changes

  • #5657 52e926e Thanks @dustinbyrne! - Keep fresh session properties through expiry and omit root-level event serializer functions. (2026-11-14)

0.2.0

Minor Changes

  • #5641 8f7a250 Thanks @dustinbyrne! - Move analytics operations to the analytics extension; see the migration guide for API and type replacements. (2026-11-13)

  • #5655 110e377 Thanks @dustinbyrne! - Add alias, groupIdentify, and resetGroups analytics helpers, including group-only cleanup of membership and feature-flag context. (2026-11-13)

  • #5651 fbab154 Thanks @dustinbyrne! - Add configurable person processing, defaulting to identified_only, and helpers for creating profiles, setting and unsetting person properties, and marking internal or test users. (2026-11-13)

  • #5651 fbab154 Thanks @dustinbyrne! - Separate person-property changes from identification notifications and fix person-update deduplication. (2026-11-13)

  • #5650 7552cce Thanks @dustinbyrne! - Acquire browser products on demand and require explicit products for manual Core composition. (2026-11-13)

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.4

Patch Changes

0.0.3

Patch Changes

0.0.2

Patch Changes

0.0.1

Patch Changes