Skip to content

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

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

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

Conversation

@renovate

@renovaterenovateBot commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageTypeUpdateChangeOpenSSF
posthog-js (source)dependenciesminor1.312.01.374.3OpenSSF Scorecard

Release Notes

PostHog/posthog-js (posthog-js)

v1.374.3

Compare Source

1.374.3

Patch Changes

v1.374.2

Compare Source

1.374.2

Patch Changes
  • #​3550df91995 Thanks @​TueHaulund! - Preserve session-recording remote config across posthog.reset().

    posthog.reset() was clearing the entire persistence store, which wiped
    $session_recording_remote_config along with user state. On the next session
    rotation triggered by the reset, start('session_id_changed') would early-return
    because the remote config was missing — leaving rrweb torn down and the new
    session opening with no Meta + FullSnapshot until the next periodic 5-minute
    checkout.

    This affected any flow where an app calls posthog.reset() mid-session
    (e.g. on sign-out / sign-in) and was particularly visible on Flutter Web
    recordings that depend on a fresh FullSnapshot to anchor the CanvasKit DOM. (2026-05-18)

  • Updated dependencies []:

v1.374.1

Compare Source

v1.374.0

Compare Source

1.374.0

Minor Changes
  • #​3620594ea11 Thanks @​pauldambra! - Dead clicks: add a .ph-no-deadclick CSS class (and capture_dead_clicks.css_selector_ignorelist config option) to exclude specific elements from dead-click detection without affecting autocapture, session replay, or heatmaps. Mirrors the existing .ph-no-rageclick pattern.
    (2026-05-18)
Patch Changes
  • #​36213c0a09f Thanks @​pauldambra! - Dead clicks: a click on an <a> (or any element inside an <a>, including across shadow DOM) is no longer flagged as a dead click — the browser navigates / downloads / opens a new window and we can't observe that. Reuses autocapture's existing DOM walker for the ancestor walk. Direct clicks on <button>, <input>, <select>, <textarea>, <label>, and <form> (previously all skipped) are now eligible for dead-click detection: if their JS handler ran, the existing mutation / scroll / selection observers see the effect; if it didn't, dead-click correctly surfaces the bug. A broken <button> with no handler, or an <svg> icon inside one, will now flag — which is exactly the dead-click case we want to catch.
    (2026-05-18)
  • Updated dependencies [594ea11]:

v1.373.5

Compare Source

1.373.5

Patch Changes
  • #​3613221973e Thanks @​lucasheriques! - Surveys: submit open text questions with Cmd/Ctrl+Enter. The textarea still inserts a newline on plain Enter (native behaviour), matching the convention used by Slack, GitHub, Discord, and ChatGPT for multi-line inputs. Single-line "Other:" inputs continue to submit on plain Enter as before.
    (2026-05-15)
  • Updated dependencies []:

v1.373.4

Compare Source

1.373.4

Patch Changes

v1.373.3

Compare Source

1.373.3

Patch Changes

v1.373.2

Compare Source

1.373.2

Patch Changes

v1.373.1

Compare Source

1.373.1

Patch Changes

v1.373.0

Compare Source

1.373.0

Minor Changes
Patch Changes

v1.372.10

Compare Source

1.372.10

Patch Changes
  • #​3544d120042 Thanks @​ksvat! - fix: stop session recording before destroying sessionManager in opt_out_capturing() with cookieless_mode: "on_reject". Previously, queued/throttled rrweb events (e.g. mousemove) could fire after the sessionManager was set to undefined and throw [SessionRecording] must be started with a valid sessionManager. Also adds a defensive early-return in onRRwebEmit so any remaining late events bail out instead of throwing.
    (2026-05-07)

  • #​354294a5ba0 Thanks @​TueHaulund! - Preserve <style> textContent when the browser's CSSOM serialization would
    emit empty longhands from var() inside a shorthand. When a stylesheet has
    e.g. padding: var(--p); padding-bottom: var(--pb);, browsers store the
    shorthand's longhands with empty token lists per the CSS Custom Properties
    spec, and CSSStyleRule.cssText re-emits them as padding-top: ; padding-right: ; padding-left: ;. The previous behavior replaced the
    <style> text with that corrupted output, silently dropping layout rules
    on replay. We now detect the empty-longhand pattern and keep the original
    textContent in that case. Affects users of any CSS-in-JS framework that
    combines var() with shorthands (Chakra UI v3, Panda CSS, Emotion, etc.).
    Same class of bug as rrweb-io/rrweb#1667. (2026-05-07)

  • Updated dependencies []:

v1.372.9

Compare Source

1.372.9
Patch Changes
  • #​3537026e09d Thanks @​TueHaulund! - Pull in the canvas-manager fix from @posthog/rrweb 0.0.61: skip canvas
    snapshots while the WebGL context is lost so transparent bitmaps don't
    poison the worker's fingerprint dedup map and silently kill canvas
    recording for the rest of the session. Also wraps getCanvas() in
    try/catch so DOM/shadow-root traversal errors can't cancel the rAF
    loop. See PR #​3527 for context. (2026-05-05)
  • Updated dependencies []:

v1.372.8

Compare Source

1.372.8
Patch Changes

v1.372.7

Compare Source

1.372.7
Patch Changes

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
  • #​345396f19b7 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
  • #​34252da17e8 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
  • #​34321a8b727 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
  • #​339385ae4d9 Thanks @​haacked! - Exclude active feature flag payloads from event properties
    (2026-04-16)

  • #​339200cd1ce 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
  • #​3379d7c71b1 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
  • #​33533939856 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
  • #​3323c387f6d 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
  • #​328500a5079 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

[Compar

Note

PR body was truncated to here.


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.

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

@cubic-dev-aicubic-dev-aiBot left a comment

Copy link
Copy Markdown

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
renovateBotforce-pushed the renovate/posthog-js-1.x branch from fd85dfa to 9f14241CompareJanuary 6, 2026 06:04
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.313.0chore(deps): update dependency posthog-js to v1.314.0Jan 6, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 9f14241 to e9d4e21CompareJanuary 6, 2026 22:47
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.314.0chore(deps): update dependency posthog-js to v1.315.0Jan 6, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from e9d4e21 to 482668eCompareJanuary 7, 2026 18:44
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.315.0chore(deps): update dependency posthog-js to v1.315.1Jan 7, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 482668e to 2ef3595CompareJanuary 8, 2026 14:53
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.315.1chore(deps): update dependency posthog-js to v1.316.0Jan 8, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 2ef3595 to 9037ecbCompareJanuary 9, 2026 18:44
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.316.0chore(deps): update dependency posthog-js to v1.316.1Jan 9, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 9037ecb to a0637b2CompareJanuary 9, 2026 22:29
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.316.1chore(deps): update dependency posthog-js to v1.317.0Jan 9, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from a0637b2 to ef53804CompareJanuary 10, 2026 02:04
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.317.0chore(deps): update dependency posthog-js to v1.318.0Jan 10, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from ef53804 to c94fb8eCompareJanuary 10, 2026 06:02
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.318.0chore(deps): update dependency posthog-js to v1.318.1Jan 10, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from c94fb8e to a51ef35CompareJanuary 12, 2026 10:51
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.318.1chore(deps): update dependency posthog-js to v1.318.2Jan 12, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from a51ef35 to 961e78eCompareJanuary 12, 2026 22:35
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.318.2chore(deps): update dependency posthog-js to v1.319.0Jan 12, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 961e78e to 0c3ccf9CompareJanuary 13, 2026 18:54
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.319.0chore(deps): update dependency posthog-js to v1.319.2Jan 13, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 0c3ccf9 to 08523c3CompareJanuary 13, 2026 22:38
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.326.0chore(deps): update dependency posthog-js to v1.327.0Jan 17, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 4186e19 to 7212c1aCompareJanuary 17, 2026 22:32
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.327.0chore(deps): update dependency posthog-js to v1.328.0Jan 17, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 7212c1a to 9b91f71CompareJanuary 19, 2026 16:59
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.328.0chore(deps): update dependency posthog-js to v1.330.0Jan 19, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 9b91f71 to bf709bdCompareJanuary 20, 2026 02:27
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.330.0chore(deps): update dependency posthog-js to v1.331.0Jan 20, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from bf709bd to 2331b1fCompareJanuary 20, 2026 15:32
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.331.0chore(deps): update dependency posthog-js to v1.331.1Jan 20, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 2331b1f to 9be6e4aCompareJanuary 20, 2026 18:44
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.331.1chore(deps): update dependency posthog-js to v1.331.2Jan 20, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 9be6e4a to 8de1f09CompareJanuary 20, 2026 22:50
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.331.2chore(deps): update dependency posthog-js to v1.332.0Jan 20, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 8de1f09 to 0828d86CompareJanuary 21, 2026 14:52
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.332.0chore(deps): update dependency posthog-js to v1.333.0Jan 21, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 0828d86 to bb384e6CompareJanuary 22, 2026 14:54
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.333.0chore(deps): update dependency posthog-js to v1.334.0Jan 22, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from bb384e6 to 2c64952CompareJanuary 22, 2026 18:36
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.334.0chore(deps): update dependency posthog-js to v1.334.1Jan 22, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 2c64952 to 0b89ff1CompareJanuary 23, 2026 15:04
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.334.1chore(deps): update dependency posthog-js to v1.335.0Jan 23, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from 0b89ff1 to ac4098bCompareJanuary 23, 2026 20:49
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.335.0chore(deps): update dependency posthog-js to v1.335.1Jan 23, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from ac4098b to bee73f9CompareJanuary 24, 2026 02:54
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.335.1chore(deps): update dependency posthog-js to v1.335.2Jan 24, 2026
@renovate
renovateBotforce-pushed the renovate/posthog-js-1.x branch from bee73f9 to b01af85CompareJanuary 26, 2026 19:08
@renovaterenovateBot changed the title chore(deps): update dependency posthog-js to v1.335.2chore(deps): update dependency posthog-js to v1.335.3Jan 26, 2026
@socket-security

socket-securityBot commented Mar 31, 2026

Copy link
Copy Markdown

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

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedposthog-js@​1.312.0 ⏵ 1.372.199+510085-13100+1100

View full report

@socket-security

socket-securityBot commented Mar 31, 2026

Copy link
Copy Markdown

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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesDependency updatesqa:runningQA workflow is currently runningstatus:approvedPull request has been approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants