Skip to content

Update dependency posthog-js to v1.372.6#3547

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/posthog-js-1.x-lockfile
Open

Update dependency posthog-js to v1.372.6#3547
renovate[bot] wants to merge 1 commit intomainfrom
renovate/posthog-js-1.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 4, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
posthog-js (source) 1.239.01.372.6 age confidence

Release Notes

PostHog/posthog-js (posthog-js)

v1.372.6

Compare Source

1.372.6
Patch Changes

v1.372.5

Compare Source

1.372.5

Patch Changes

v1.372.4

Compare Source

1.372.4

Patch Changes

v1.372.3

Compare Source

1.372.3
Patch Changes

v1.372.2

Compare Source

1.372.2
Patch Changes

v1.372.1

Compare Source

1.372.1

Patch Changes

v1.372.0

Compare Source

1.372.0

Minor Changes
Patch Changes

v1.371.4

Compare Source

1.371.4

Patch Changes

v1.371.3

Compare Source

1.371.3

Patch Changes

v1.371.2

Compare Source

1.371.2

Patch Changes
  • #​3453 96f19b7 Thanks @​turnipdabeets! - Lift OTLP log serialization helpers from posthog-js into @​posthog/core so the
    upcoming React Native logs feature consumes the same builders. Browser gains
    two fixes as a side effect: NaN and ±Infinity attribute values no longer get
    silently dropped during JSON encoding, and the scope.version OTLP field is
    now populated with the SDK version (changes the server's instrumentation_scope
    column from "posthog-js@" to "posthog-js@"). (2026-04-23)
  • Updated dependencies [96f19b7]:

v1.371.1

Compare Source

1.371.1

Patch Changes
  • #​3425 2da17e8 Thanks @​marandaneto! - Classify SDK-owned persistence keys with an explicit event exposure policy so new internal persistence state must be intentionally marked as event-visible, hidden, or derived.
    (2026-04-23)
  • Updated dependencies []:

v1.371.0

Compare Source

1.371.0

Patch Changes
  • #​3432 1a8b727 Thanks @​richardsolomou! - refactor: rename __add_tracing_headers to addTracingHeaders. The __ prefix signalled an internal/experimental option, but the config is a public API (documented for linking LLM traces to session replays). __add_tracing_headers continues to work as a deprecated alias on the browser SDK.

    Also exposes patchFetchForTracingHeaders from @posthog/core so non-browser SDKs can reuse the implementation. (2026-04-23)

  • Updated dependencies [1a8b727]:

v1.370.1

Compare Source

1.370.1

Patch Changes

v1.370.0

Compare Source

1.370.0

Minor Changes
Patch Changes

v1.369.5

Compare Source

1.369.5

Patch Changes

v1.369.4

Compare Source

1.369.4

Patch Changes

v1.369.3

Compare Source

1.369.3

Patch Changes

v1.369.2

Compare Source

1.369.2

Patch Changes

v1.369.1

Compare Source

1.369.1

Patch Changes
  • #​3393 85ae4d9 Thanks @​haacked! - Exclude active feature flag payloads from event properties
    (2026-04-16)

  • #​3392 00cd1ce Thanks @​haacked! - Fix unnecessary persisted config and activation properties (including product tours, surveys, and session recording config) added to captured events
    (2026-04-16)

  • Updated dependencies []:

v1.369.0

Compare Source

1.369.0

Minor Changes
Patch Changes

v1.368.2

Compare Source

1.368.2

Patch Changes

v1.368.1

Compare Source

1.368.1

Patch Changes
  • #​3379 d7c71b1 Thanks @​dmarticus! - Fix bootstrapped feature flags being overwritten by partial /flags response when advanced_only_evaluate_survey_feature_flags is enabled
    (2026-04-14)
  • Updated dependencies []:

v1.368.0

Compare Source

1.368.0

Minor Changes
Patch Changes

v1.367.0

Compare Source

1.367.0

Minor Changes
Patch Changes

v1.366.2

Compare Source

1.366.2

Patch Changes

v1.366.1

Compare Source

1.366.1

Patch Changes

v1.366.0

Compare Source

1.366.0

Minor Changes
Patch Changes

v1.365.5

Compare Source

1.365.5

Patch Changes

v1.365.4

Compare Source

1.365.4

Patch Changes
  • #​3353 3939856 Thanks @​lucasheriques! - Expose the current question index on .survey-box via a data-question-index attribute. This gives consumers rendering surveys via the API a reliable way to know which question is currently displayed without parsing input ids or class names — works for every question type, including link questions which render no input or rating element.
    (2026-04-08)
  • Updated dependencies []:

v1.365.3

Compare Source

1.365.3

Patch Changes

v1.365.2

Compare Source

1.365.2

Patch Changes
  • #​3323 c387f6d Thanks @​pauldambra! - perf(replay): reduce memory and CPU cost of event compression by caching gzipped empty arrays and eliminating redundant JSON.stringify for size estimation
    (2026-04-08)
  • Updated dependencies [c387f6d]:

v1.365.1

Compare Source

1.365.1

Patch Changes

v1.365.0

Compare Source

1.365.0

Minor Changes
Patch Changes

v1.364.7

Compare Source

1.364.7

Patch Changes

v1.364.6

Compare Source

1.364.6

Patch Changes

v1.364.5

Compare Source

1.364.5

Patch Changes

v1.364.4

Compare Source

1.364.4

Patch Changes

v1.364.3

Compare Source

1.364.3

Patch Changes

v1.364.2

Compare Source

1.364.2

Patch Changes

v1.364.1

Compare Source

1.364.1

Patch Changes

v1.364.0

Compare Source

1.364.0

Minor Changes
  • #​3285 00a5079 Thanks @​pauldambra! - Reject the strings "undefined" and "null" in posthog.identify(). All invalid distinct IDs now log a critical console error (always visible, not debug-only).
    (2026-03-27)
Patch Changes

v1.363.6

Compare Source

1.363.6

Patch Changes

v1.363.5

Compare Source

1.363.5

Patch Changes

v1.363.4

Compare Source

1.363.4

Patch Changes

v1.363.3

Compare Source

1.363.3

Patch Changes
  • #​3253 42fbd41 Thanks @​marandaneto! - Reduce browser SDK bundle size by ~6.6 KB (-3.7%) through code modernization, build config tuning, string deduplication, enum-to-const conversions, and property access shorthand getters.
    (2026-03-23)
  • Updated dependencies []:

v1.363.2

Compare Source

1.363.2

Patch Changes

v1.363.1

Compare Source

1.363.1

Patch Changes

v1.363.0

Compare Source

1.363.0

Minor Changes
Patch Changes

v1.362.0

Compare Source

1.362.0

Minor Changes
  • #​3244 ff8a93e Thanks @​sampennington! - Fixed $set_once initial person properties (e.g. $initial_current_url) not being included with $identify calls when they had already been sent with a prior event. This ensures initial properties are reliably set when identifying users across subdomains, even if an anonymous event was captured first.
    (2026-03-18)
Patch Changes

v1.361.1

Compare Source

1.361.1

Patch Changes

v1.361.0

Compare Source

1.361.0

Minor Changes
  • #​3201 552c018 Thanks @​frankh! - Add a serviceName config option to logs config
    (2026-03-18)

  • #​3240 e4a58d0 Thanks @​marandaneto! - Add internal _overrideSDKInfo method to allow wrapper SDKs to override $lib and $lib_version event properties
    (2026-03-18)

  • #​3241 fe1fd7b Thanks @​dustinbyrne! - feat: add advanced_feature_flags_dedup_per_session config option to scope $feature_flag_called deduplication to the current session
    (2026-03-18)

Patch Changes

v1.360.2

Compare Source

1.360.2

Patch Changes

v1.360.1

Compare Source

1.360.1

Patch Changes

v1.360.0

Compare Source

1.360.0

Patch Changes
  • #​3213 db089fd Thanks @​TueHaulund! - fix(replay): treat legacy configs without cache_timestamp as fresh

    Configs persisted by older SDK versions never include a cache_timestamp.
    Defaulting to 0 treats them as always stale, causing the persisted config
    to be cleared before start() runs — so recording never starts for
    customers on older core SDK versions paired with the latest CDN recorder. (2026-03-09)

  • #​3207 c5a37cb Thanks @​dustinbyrne! - fix: PostHogFeatureFlags uses a TreeShakeable type
    (2026-03-09)

  • Updated dependencies [c5a37cb]:

v1.359.1

Compare Source

1.359.1
Patch Changes

v1.359.0

Compare Source

1.359.0

Minor Changes
Patch Changes

v1.358.1

Compare Source

1.358.1

Patch Changes
  • #​3191 9f41d26 Thanks @​TueHaulund! - fix(replay): fall back to persisted config when remote config fetch fails

    When the remote config fetch failed (network error, ad blocker, CDN outage), the SDK received an empty {} response with no sessionRecording key. The onRemoteConfig handler returned early without ever setting _receivedFlags = true, leaving the recording permanently stuck in pending_config status for the entire page session.

    This removes the _receivedFlags gate entirely. The 1-hour TTL on persisted config (added in #​3051, increased from 5 minutes) and the stale-config retry in _onScriptLoaded (added in #​3093) already prevent recording from starting with outdated config. The additional gate was redundant and created a deadlock when the config fetch failed.

    Now when the config fetch fails, startIfEnabledOrStop() is called and falls back to persisted config from a previous page load. If no persisted config exists (first-ever visit), recording is correctly disabled rather than silently stuck. (2026-03-04)

  • #​3198 9d0df0e Thanks @​TueHaulund! - Reduce session replay memory pressure by tracking per-event sizes in SnapshotBuffer, eliminating redundant JSON.stringify calls during buffer operations. Also bumps @​posthog/rrweb to 0.0.46 which uses FNV-1a hash-based canvas frame deduplication instead of storing full base64 strings.
    (2026-03-04)

  • Updated dependencies []:

v1.358.0

Compare Source

1.358.0

Minor Changes
Patch Changes

v1.357.2

[Compare Source](https://redirect.github.co

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone US/Eastern)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

OpenAPI Changes

Show/hide ## Changes for v0.yaml:
## Changes for v0.yaml:
No changes detected

## Changes for v1.yaml:
No changes detected

## Changes for v2.yaml:
No changes detected

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

@renovate renovate Bot force-pushed the renovate/posthog-js-1.x-lockfile branch 8 times, most recently from 15ab78a to 8dfdc89 Compare May 6, 2026 13:38
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x-lockfile branch from 8dfdc89 to 381de3e Compare May 6, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants