build(deps): update dependency posthog-js to v1.418.4 - #472
Open
jonahsnider[bot] wants to merge 1 commit into
Open
build(deps): update dependency posthog-js to v1.418.4#472jonahsnider[bot] wants to merge 1 commit into
jonahsnider[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 11, 2026 10:05
abd88b9 to
675c521
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 12, 2026 07:04
675c521 to
cc39bed
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 12, 2026 14:04
cc39bed to
a5e0abb
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 12, 2026 15:05
a5e0abb to
1343687
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 12, 2026 18:12
1343687 to
cce9ff9
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 14, 2026 19:47
cce9ff9 to
2cea78b
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
4 times, most recently
from
August 15, 2026 15:06
a6ce120 to
d546bae
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 18, 2026 12:04
d546bae to
b13681d
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
2 times, most recently
from
August 18, 2026 17:04
359bda7 to
8766c33
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 18, 2026 22:04
8766c33 to
ac39a14
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 19, 2026 12:04
ac39a14 to
163c5e1
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 19, 2026 16:08
163c5e1 to
eae03e2
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 20, 2026 16:04
eae03e2 to
0aa91e1
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 20, 2026 18:04
0aa91e1 to
47e851c
Compare
jonahsnider
Bot
force-pushed
the
renovate/posthog-js-1.x
branch
from
August 20, 2026 20:04
47e851c to
cd6c03c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.414.0→1.418.4Release Notes
PostHog/posthog-js (posthog-js)
v1.418.4Compare Source
1.418.4
Patch Changes
b564d61Thanks @posthog! - Fix session recording in the full browser bundles.array.full.jsandmodule.full.es.jsonly 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_loadedwhen 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.3Compare Source
1.418.3
Patch Changes
3f9ba71Thanks @posthog! - Fall back to the synthetic exception stack when a capturedErrorhas no stack, so frameless failures (such as a Firefox networkfetchTypeError) keep their call-site frames and group per call site instead of merging into one issue.(2026-08-19)
3f9ba71]:v1.418.2Compare Source
1.418.2
Patch Changes
#4555
3e0edffThanks @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 noview-transition-namescoping, 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.1Compare Source
1.418.1
Patch Changes
0599fe0Thanks @ablaszkiewicz! - Recognise Firefox and Safari extension frames when filtering extension exceptions, and stop counting Safari's maskedwebkit-masked-url://frames as in-app code.(2026-08-18)
0599fe0]:v1.418.0Compare Source
1.418.0
Minor Changes
1ade666Thanks @marandaneto! - AddcookieWinsOnConflictto 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 the2026-08-29defaults.(2026-08-18)
Patch Changes
1ade666]:v1.417.4Compare Source
1.417.4
Patch Changes
8d74821Thanks @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.3Compare Source
1.417.3
Patch Changes
ce8fc13Thanks @marandaneto! - Restore exception autocapture compatibility for posthog-js clients through version 1.141.0.(2026-08-17)
v1.417.2Compare Source
1.417.2
Patch Changes
7b61aa4Thanks @posthog! - Fix error tracking coercion reporting the wrong exception type for non-Errorobjects (e.g.TypeError,ReferenceError) that are thrown by browser extensions or other cross-realm code. Previously these always reported as typeError, burying the real type in the message string. Also fixed a localisErrorhelper 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)
7b61aa4]:v1.417.1Compare Source
1.417.1
Patch Changes
#4521
0a0206fThanks @marandaneto! - Normalize capture timestamp overrides to equivalent UTC ISO strings in the browser and Node.js SDKs and shared core.(2026-08-14)
#4523
6230b5bThanks @marandaneto! - Prevent swallowed rrweb observer initialization errors from breaking session replay teardown and subsequent recorder restarts.(2026-08-14)
#4503
eb05237Thanks @pauldambra! - fix(dead-clicks): treat visibility and focus changes as liveness signals, not dead-click evidenceThe dead-click detector treated a
visibilitychangeas evidence a click was dead: it measuredMath.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:
hidden), and a windowfocus/blurobserver 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.$dead_click_visibility_changed_timeoutstays in the payload (always false) for shape compatibility, and a new$dead_click_focus_changed_delay_msis emitted for observability.Updated dependencies [
0a0206f,eb05237]:v1.417.0Compare Source
1.417.0
Minor Changes
8bc63c3Thanks @dustinbyrne! - Default external dependency loading to versioned asset paths with automatic fallback to legacy paths, and add astrict_script_versioning: 'fallback'mode.(2026-08-13)
Patch Changes
8bc63c3]:v1.416.1Compare Source
1.416.1
Patch Changes
#4443
b2c6830Thanks @arnohillen! - Harden the session replay stylesheet inlining budget (inlineStylesheetBudgetRules):0to disable) and directrrweb.record()consumers keep unbounded inlining unless they opt in._cssTextatomically, so monolithic sheets no longer produce one long task and partial CSS never reaches the wire.pagehide; residual failure modes are counted via$sdk_debug_replay_deferred_stylesheets_failed/_abandoned.insertRuleoutput,adoptedStyleSheets) no longer charge the budget, since deferring<link>sheets buys those pages nothing.$sdk_debug_replay_discarded_duration_samples). (2026-08-13)Updated dependencies [
c9086de,b2c6830]:v1.416.0Compare Source
1.416.0
Minor Changes
#4495
e4b9947Thanks @marandaneto! - feat(browser): addrewriteRequestPathto customize API, feature flag, and asset paths for reverse proxies(2026-08-12)
#4493
e34ebf9Thanks @marandaneto! - Add reset options for applying bootstrapped identity, feature flag, and session values afterposthog.reset()while preserving the legacy boolean argument.(2026-08-12)
Patch Changes
e4b9947,e34ebf9]:v1.415.7Compare Source
1.415.7
Patch Changes
847d963Thanks @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.6Compare Source
1.415.6
Patch Changes
#4500
d773405Thanks @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.5Compare Source
1.415.5
Patch Changes
#4497
d62e42eThanks @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.4Compare Source
1.415.4
Patch Changes
deb6bb0Thanks @marandaneto! - fix(types): accept current and legacy Segment Analytics SDK types in the Segment integration config(2026-08-11)
deb6bb0]:v1.415.3Compare Source
1.415.3
Patch Changes
#4488
23db844Thanks @TueHaulund! - fix(replay): never ship a buffer swapped in by a re-entrant session rotation mid-flush(2026-08-11)
#4474
e06bf52Thanks @dependabot! - dependencies updates: - Updated dependencydompurify@^3.4.13↗︎ (from^3.4.12, independencies) (2026-08-11)#4435
1cbbe6aThanks @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 viashadowRoot.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.2Compare Source
1.415.2
Patch Changes
f999394Thanks @dustinbyrne! - Support removing multiple persisted properties in one operation.(2026-08-11)
f999394]:v1.415.1Compare Source
1.415.1
Patch Changes
6f9adf8Thanks @TueHaulund! - fix(replay): don't open a recording that holds only idle lifecycle markers(2026-08-10)
v1.415.0Compare Source
1.415.0
Minor Changes
#4436
80f15a3Thanks @jakesciotto! - feat(surveys): optional intro screen shown before the first questionSurveys can now display an intro screen before question 1, configured via the new
displayIntroScreen,introScreenHeader,introScreenDescription,introScreenDescriptionContentType, andintroScreenButtonTextappearance 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.
renderSurveysPreviewacceptspreviewPageIndex: -1(exported asINTRO_SCREEN_PREVIEW_INDEX) to preview theintro screen. (2026-08-10)
Patch Changes
80f15a3]:Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 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.
This PR has been generated by Mend Renovate CLI.