Skip to content

build(deps): update dependency posthog-js to v1.418.4 - #472

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

build(deps): update dependency posthog-js to v1.418.4#472
jonahsnider[bot] wants to merge 1 commit into
mainfrom
renovate/posthog-js-1.x

Conversation

@jonahsnider

@jonahsnider jonahsnider Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

PostHog/posthog-js (posthog-js)

v1.418.4

Compare Source

1.418.4

Patch Changes
  • #​4309 b564d61 Thanks @​posthog! - Fix session recording in the full browser bundles. array.full.js and module.full.es.js only inlined rrweb, so they still fetched the recorder script at runtime - the request the full bundles exist to avoid. They now inline the whole recorder. Also flags the session with $sdk_debug_recording_script_not_loaded when the recorder script fails to load, so a blocked recorder is visible in analytics rather than only in the console.
    (2026-08-19)

v1.418.3

Compare Source

1.418.3

Patch Changes
  • #​4558 3f9ba71 Thanks @​posthog! - Fall back to the synthetic exception stack when a captured Error has no stack, so frameless failures (such as a Firefox network fetch TypeError) keep their call-site frames and group per call site instead of merging into one issue.
    (2026-08-19)
  • Updated dependencies [3f9ba71]:

v1.418.2

Compare Source

1.418.2

Patch Changes
  • #​4555 3e0edff Thanks @​HaynesPostHog! - Fix a Chrome renderer crash (grey "Aw, Snap" tab, "Error code: 5") that could still occur when closing an in-app survey on a heavy page such as a large dashboard.

    Closing a survey animated the fade-out with document.startViewTransition, which snapshots the entire page viewport. The survey applied no view-transition-name scoping, so on a heavy host page capturing that whole-page snapshot could exhaust renderer memory and crash the tab. A previous fix addressed a related crash (a snapshot pointing at a removed node) but left the document-level transition — and its whole-page snapshot cost — in place.

    The survey renders in an isolated shadow root, so it never needed a document-level transition. The close now fades the popup out with a plain CSS opacity transition scoped to the survey's own container, then unmounts it once the fade has run. No whole-page snapshot, no crash, same fade-out UX. (2026-08-19)

v1.418.1

Compare Source

1.418.1

Patch Changes
  • #​4549 0599fe0 Thanks @​ablaszkiewicz! - Recognise Firefox and Safari extension frames when filtering extension exceptions, and stop counting Safari's masked webkit-masked-url:// frames as in-app code.
    (2026-08-18)
  • Updated dependencies [0599fe0]:

v1.418.0

Compare Source

1.418.0

Minor Changes
  • #​4496 1ade666 Thanks @​marandaneto! - Add cookieWinsOnConflict to keep shared cross-subdomain identity and session state ahead of stale per-origin localStorage, deprecate __preview_cookie_wins_on_conflict, and enable the new behavior for the 2026-08-29 defaults.
    (2026-08-18)
Patch Changes

v1.417.4

Compare Source

1.417.4

Patch Changes
  • #​4509 8d74821 Thanks @​ksvat! - Take a full snapshot when session recording wakes from idle if DOM mutations were dropped while idle, so replay no longer shows duplicated or overlapping DOM after an idle period.
    (2026-08-17)

v1.417.3

Compare Source

1.417.3

Patch Changes

v1.417.2

Compare Source

1.417.2

Patch Changes
  • #​4413 7b61aa4 Thanks @​posthog! - Fix error tracking coercion reporting the wrong exception type for non-Error objects (e.g. TypeError, ReferenceError) that are thrown by browser extensions or other cross-realm code. Previously these always reported as type Error, burying the real type in the message string. Also fixed a local isError helper shadowing the more robust cross-realm-aware implementation, which caused some errors thrown from iframes or extension isolated worlds to be misclassified.
    (2026-08-17)
  • Updated dependencies [7b61aa4]:

v1.417.1

Compare Source

1.417.1

Patch Changes
  • #​4521 0a0206f Thanks @​marandaneto! - Normalize capture timestamp overrides to equivalent UTC ISO strings in the browser and Node.js SDKs and shared core.
    (2026-08-14)

  • #​4523 6230b5b Thanks @​marandaneto! - Prevent swallowed rrweb observer initialization errors from breaking session replay teardown and subsequent recorder restarts.
    (2026-08-14)

  • #​4503 eb05237 Thanks @​pauldambra! - fix(dead-clicks): treat visibility and focus changes as liveness signals, not dead-click evidence

    The dead-click detector treated a visibilitychange as evidence a click was dead: it measured Math.abs(clickTimestamp - lastVisibilityChange) and, once that exceeded the threshold, timed the click out as dead. Because it only recorded the tab becoming visible, any click in a session where the tab had ever been backgrounded (median gap ~1 minute) was flagged.

    A visibility or focus change near a click is the opposite — a sign the click did something (it woke/focused the tab, opened a new tab, or opened a new window/popup) — so these signals now only ever suppress a dead click, never cause one:

    • Visibility changes are recorded in both directions (a click that opens a new tab sends the current tab to hidden), and a window focus/blur observer is added, since a click that opens a new window/popup may leave the tab visible and only surface as the current window losing focus.
    • A click within a wake-up/interaction window (1s, wide enough for a real "tab back, then click" gesture) of any such change is suppressed.
    • The visibility signal no longer feeds the dead-marking path at all. $dead_click_visibility_changed_timeout stays in the payload (always false) for shape compatibility, and a new $dead_click_focus_changed_delay_ms is emitted for observability.
    • Visibility/focus changes are now recorded onto each queued candidate the instant they fire (like scroll), instead of being read from a single shared timestamp when the click is checked ~1s later. A click that hides or blurs the tab (opening a new tab/window) suspends that check while the tab is backgrounded; by the time it resumes the tab has usually returned, and the shared timestamp would have been overwritten by that later transition — losing the click-correlated one and wrongly flagging the click dead. Stamping the candidate as the event fires makes delayed hide→show and blur→focus sequences suppress correctly. (2026-08-14)
  • Updated dependencies [0a0206f, eb05237]:

v1.417.0

Compare Source

1.417.0

Minor Changes
  • #​4485 8bc63c3 Thanks @​dustinbyrne! - Default external dependency loading to versioned asset paths with automatic fallback to legacy paths, and add a strict_script_versioning: 'fallback' mode.
    (2026-08-13)
Patch Changes

v1.416.1

Compare Source

1.416.1

Patch Changes
  • #​4443 b2c6830 Thanks @​arnohillen! - Harden the session replay stylesheet inlining budget (inlineStylesheetBudgetRules):

    • The default budget (10,000 rules) moves from the recorder chunk into posthog-js session recording options, so npm-pinned or cached bundles keep their configured override (including 0 to disable) and direct rrweb.record() consumers keep unbounded inlining unless they opt in.
    • Deferred inlining is bounded inside a sheet: a resumable cursor stringifies 200 rules per idle slice and emits a sheet's _cssText atomically, so monolithic sheets no longer produce one long task and partial CSS never reaches the wire.
    • Deferred sheets are flushed synchronously when recording stops and on pagehide; residual failure modes are counted via $sdk_debug_replay_deferred_stylesheets_failed / _abandoned.
    • CSSOM-only styles (insertRule output, adoptedStyleSheets) no longer charge the budget, since deferring <link> sheets buys those pages nothing.
    • Telemetry fixes: full-snapshot duration wraps the whole synchronous task, deferred counts are cumulative per session, new gauges cover non-deferrable rules and idle stringification cost, and duration samples straddling tab suspension are discarded ($sdk_debug_replay_discarded_duration_samples). (2026-08-13)
  • Updated dependencies [c9086de, b2c6830]:

v1.416.0

Compare Source

1.416.0

Minor Changes
  • #​4495 e4b9947 Thanks @​marandaneto! - feat(browser): add rewriteRequestPath to customize API, feature flag, and asset paths for reverse proxies
    (2026-08-12)

  • #​4493 e34ebf9 Thanks @​marandaneto! - Add reset options for applying bootstrapped identity, feature flag, and session values after posthog.reset() while preserving the legacy boolean argument.
    (2026-08-12)

Patch Changes

v1.415.7

Compare Source

1.415.7

Patch Changes
  • #​4318 847d963 Thanks @​dustinbyrne! - Migrate browser feature flags to the shared extension lifecycle while preserving the public feature flag facade, persistence compatibility, request behavior, and event enrichment.
    (2026-08-12)

v1.415.6

Compare Source

1.415.6

Patch Changes
  • #​4500 d773405 Thanks @​ksvat! - Fix session recording starting from arbitrarily old persisted configs.

    Recording configs persisted by SDK versions before 1.347.2 carry no cache_timestamp. The core freshness check treated these undated configs as always fresh, so the recorder started immediately under their settings. A device whose stored config predated a customer's config change kept recording under the old triggers, sample rate, and masking settings indefinitely.

    The core now treats undated persisted configs as stale. Recording waits for a fresh remote config before it starts, the same path every dated config older than one hour already takes. The lazy recorder bundle is unchanged: it still accepts undated configs, because old cores that load the latest bundle cannot recover from a rejected config (INC-749). (2026-08-11)

v1.415.5

Compare Source

1.415.5

Patch Changes
  • #​4497 d62e42e Thanks @​hpouillot! - Fix a Chrome renderer crash (grey "Aw, Snap" tab) that could occur when closing an in-app survey.

    The survey close path wrapped the survey container's DOM removal in document.startViewTransition. Removing the element inside the transition callback left the captured snapshot pointing at a removed node, which on heavy SPAs triggered a Chromium renderer crash and took down the whole tab.

    The close path now only animates a fade-out inside the transition and lets React tear the container down once the transition settles. It also guards against overlapping transitions (a second close while one is animating) and always settles the popup state if the transition is skipped or interrupted, so the survey can never be left visible with a stale reference. (2026-08-11)

v1.415.4

Compare Source

1.415.4

Patch Changes

v1.415.3

Compare Source

1.415.3

Patch Changes
  • #​4488 23db844 Thanks @​TueHaulund! - fix(replay): never ship a buffer swapped in by a re-entrant session rotation mid-flush
    (2026-08-11)

  • #​4474 e06bf52 Thanks @​dependabot! - dependencies updates: - Updated dependency dompurify@^3.4.13 ↗︎ (from ^3.4.12, in dependencies) (2026-08-11)

  • #​4435 1cbbe6a Thanks @​arnohillen! - fix(replay): stop dropping adopted stylesheets that arrive before the host's shadow root is attached. When the recorder's full snapshot races a web component's hydration, the AdoptedStyleSheet event can be recorded before the mutation that attaches the host's shadow root. The replayer silently dropped those styles for the rest of the page view, so components styled via shadowRoot.adoptedStyleSheets (Stencil, Lit) rendered completely unstyled. The replayer now constructs the stylesheet even when the shadow root does not exist yet and keeps retrying adoption until it is attached.
    (2026-08-11)

v1.415.2

Compare Source

1.415.2

Patch Changes

v1.415.1

Compare Source

1.415.1

Patch Changes

v1.415.0

Compare Source

1.415.0

Minor Changes
  • #​4436 80f15a3 Thanks @​jakesciotto! - feat(surveys): optional intro screen shown before the first question

    Surveys can now display an intro screen before question 1, configured via the new
    displayIntroScreen, introScreenHeader, introScreenDescription,
    introScreenDescriptionContentType, and introScreenButtonText appearance fields.
    The intro is dismissed with a button and records no response, does not affect
    completion or partial-response metrics, does not re-fire "survey shown", and is
    skipped when a survey is resumed with answers in progress. Intro copy is
    translatable like the thank-you message. renderSurveysPreview accepts
    previewPageIndex: -1 (exported as INTRO_SCREEN_PREVIEW_INDEX) to preview the
    intro screen. (2026-08-10)

Patch Changes

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

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

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate CLI.

@jonahsnider
jonahsnider Bot enabled auto-merge (squash) August 11, 2026 09:05
@jonahsnider

jonahsnider Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/usr/local/bin/node: line 18: 178525 Killed                  /opt/containerbase/tools/node/24.19.0/bin/node "$@"

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
interval.so Ignored Ignored Aug 20, 2026 8:04pm

Request Review

@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from abd88b9 to 675c521 Compare August 11, 2026 10:05
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.0 build(deps): update dependency posthog-js to v1.415.1 Aug 11, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 675c521 to cc39bed Compare August 12, 2026 07:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.1 build(deps): update dependency posthog-js to v1.415.2 Aug 12, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from cc39bed to a5e0abb Compare August 12, 2026 14:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.2 build(deps): update dependency posthog-js to v1.415.3 Aug 12, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from a5e0abb to 1343687 Compare August 12, 2026 15:05
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.3 build(deps): update dependency posthog-js to v1.415.4 Aug 12, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 1343687 to cce9ff9 Compare August 12, 2026 18:12
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.4 build(deps): update dependency posthog-js to v1.415.5 Aug 12, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from cce9ff9 to 2cea78b Compare August 14, 2026 19:47
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.415.5 build(deps): update dependency posthog-js to v1.417.0 Aug 14, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch 4 times, most recently from a6ce120 to d546bae Compare August 15, 2026 15:06
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.417.0 build(deps): update dependency posthog-js to v1.417.1 Aug 15, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from d546bae to b13681d Compare August 18, 2026 12:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.417.1 build(deps): update dependency posthog-js to v1.417.2 Aug 18, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch 2 times, most recently from 359bda7 to 8766c33 Compare August 18, 2026 17:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.417.2 build(deps): update dependency posthog-js to v1.417.3 Aug 18, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 8766c33 to ac39a14 Compare August 18, 2026 22:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.417.3 build(deps): update dependency posthog-js to v1.417.4 Aug 18, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from ac39a14 to 163c5e1 Compare August 19, 2026 12:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.417.4 build(deps): update dependency posthog-js to v1.418.0 Aug 19, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 163c5e1 to eae03e2 Compare August 19, 2026 16:08
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.418.0 build(deps): update dependency posthog-js to v1.418.1 Aug 19, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from eae03e2 to 0aa91e1 Compare August 20, 2026 16:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.418.1 build(deps): update dependency posthog-js to v1.418.2 Aug 20, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 0aa91e1 to 47e851c Compare August 20, 2026 18:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.418.2 build(deps): update dependency posthog-js to v1.418.3 Aug 20, 2026
@jonahsnider
jonahsnider Bot force-pushed the renovate/posthog-js-1.x branch from 47e851c to cd6c03c Compare August 20, 2026 20:04
@jonahsnider jonahsnider Bot changed the title build(deps): update dependency posthog-js to v1.418.3 build(deps): update dependency posthog-js to v1.418.4 Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants