Skip to content

chore(deps): update dependency posthog-js to v1.372.3#1052

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

chore(deps): update dependency posthog-js to v1.372.3#1052
renovate[bot] wants to merge 1 commit intomainfrom
renovate/posthog-js-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 1, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change OpenSSF
posthog-js (source) dependencies minor 1.312.01.372.3 OpenSSF Scorecard

Release Notes

PostHog/posthog-js (posthog-js)

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

1.357.2

Patch Changes

v1.357.1

Compare Source

1.357.1

Patch Changes

v1.357.0

Compare Source

1.357.0

Minor Changes
Patch Changes
  • #​3179 0dce119 Thanks @​TueHaulund! - Bump @​posthog/rrweb-* to 0.0.45 — reuses a single OffscreenCanvas in the canvas recording worker instead of allocating a new one per frame, fixing a memory leak in Safari where GPU-backed canvas resources were not being garbage collected promptly
    (2026-03-02)
  • Updated dependencies [4f885c0]:

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate Bot added the dependencies Dependency updates label Jan 1, 2026
@renovate renovate Bot enabled auto-merge (squash) January 1, 2026 23:03
@github-actions github-actions Bot added qa:running QA workflow is currently running status:approved Pull request has been approved labels Jan 1, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from fd85dfa to 9f14241 Compare January 6, 2026 06:04
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.313.0 chore(deps): update dependency posthog-js to v1.314.0 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 9f14241 to e9d4e21 Compare January 6, 2026 22:47
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.314.0 chore(deps): update dependency posthog-js to v1.315.0 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from e9d4e21 to 482668e Compare January 7, 2026 18:44
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.315.0 chore(deps): update dependency posthog-js to v1.315.1 Jan 7, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 482668e to 2ef3595 Compare January 8, 2026 14:53
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.315.1 chore(deps): update dependency posthog-js to v1.316.0 Jan 8, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 2ef3595 to 9037ecb Compare January 9, 2026 18:44
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.316.0 chore(deps): update dependency posthog-js to v1.316.1 Jan 9, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 9037ecb to a0637b2 Compare January 9, 2026 22:29
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.316.1 chore(deps): update dependency posthog-js to v1.317.0 Jan 9, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from a0637b2 to ef53804 Compare January 10, 2026 02:04
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.317.0 chore(deps): update dependency posthog-js to v1.318.0 Jan 10, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from ef53804 to c94fb8e Compare January 10, 2026 06:02
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.318.0 chore(deps): update dependency posthog-js to v1.318.1 Jan 10, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from c94fb8e to a51ef35 Compare January 12, 2026 10:51
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.318.1 chore(deps): update dependency posthog-js to v1.318.2 Jan 12, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from a51ef35 to 961e78e Compare January 12, 2026 22:35
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.318.2 chore(deps): update dependency posthog-js to v1.319.0 Jan 12, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 961e78e to 0c3ccf9 Compare January 13, 2026 18:54
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.319.0 chore(deps): update dependency posthog-js to v1.319.2 Jan 13, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 0c3ccf9 to 08523c3 Compare January 13, 2026 22:38
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.326.0 chore(deps): update dependency posthog-js to v1.327.0 Jan 17, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 4186e19 to 7212c1a Compare January 17, 2026 22:32
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.327.0 chore(deps): update dependency posthog-js to v1.328.0 Jan 17, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 7212c1a to 9b91f71 Compare January 19, 2026 16:59
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.328.0 chore(deps): update dependency posthog-js to v1.330.0 Jan 19, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 9b91f71 to bf709bd Compare January 20, 2026 02:27
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.330.0 chore(deps): update dependency posthog-js to v1.331.0 Jan 20, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from bf709bd to 2331b1f Compare January 20, 2026 15:32
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.331.0 chore(deps): update dependency posthog-js to v1.331.1 Jan 20, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 2331b1f to 9be6e4a Compare January 20, 2026 18:44
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.331.1 chore(deps): update dependency posthog-js to v1.331.2 Jan 20, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 9be6e4a to 8de1f09 Compare January 20, 2026 22:50
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.331.2 chore(deps): update dependency posthog-js to v1.332.0 Jan 20, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 8de1f09 to 0828d86 Compare January 21, 2026 14:52
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.332.0 chore(deps): update dependency posthog-js to v1.333.0 Jan 21, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 0828d86 to bb384e6 Compare January 22, 2026 14:54
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.333.0 chore(deps): update dependency posthog-js to v1.334.0 Jan 22, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from bb384e6 to 2c64952 Compare January 22, 2026 18:36
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.334.0 chore(deps): update dependency posthog-js to v1.334.1 Jan 22, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 2c64952 to 0b89ff1 Compare January 23, 2026 15:04
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.334.1 chore(deps): update dependency posthog-js to v1.335.0 Jan 23, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from 0b89ff1 to ac4098b Compare January 23, 2026 20:49
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.335.0 chore(deps): update dependency posthog-js to v1.335.1 Jan 23, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from ac4098b to bee73f9 Compare January 24, 2026 02:54
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.335.1 chore(deps): update dependency posthog-js to v1.335.2 Jan 24, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x branch from bee73f9 to b01af85 Compare January 26, 2026 19:08
@renovate renovate Bot changed the title chore(deps): update dependency posthog-js to v1.335.2 chore(deps): update dependency posthog-js to v1.335.3 Jan 26, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Mar 31, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedposthog-js@​1.312.0 ⏵ 1.372.199 +510085 -13100 +1100

View full report

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Mar 31, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates qa:running QA workflow is currently running status:approved Pull request has been approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants