Skip to content

posthog-js@1.455.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 15:29
Immutable release. Only release title and notes can be modified.
896b4b3

1.455.0

Minor Changes

  • #5729 6cd9664 Thanks @andehen! - Send $experiment_exposure for config version 2 experiment splits, and send the reason code and rule attribution on $feature_flag_called for config version 2 flags in place of $feature_flag_reason.
    (2026-11-25)

  • #5729 6cd9664 Thanks @andehen! - Request /flags/?v=4 instead of /flags/?v=2 and read its typed flag records. For a well-formed response, flag getters, payloads, onFeatureFlags callbacks and $feature_flag_called events return and send the same values as before, and older posthog-js versions can still read the stored flags. A PostHog server that does not serve v=4 answers as it does for v=2, and that response is read as before.

    A v=4 flag record with a field of the wrong JSON type, such as a string metadata.version, reads as a disabled flag without a payload. Other flags in the same response are not affected. Tests that mock /flags may need to match the new URL. (2026-11-25)

Patch Changes

  • Updated dependencies [6cd9664, 6cd9664]:
    • @posthog/browser-common@0.14.1