Skip to content

fix(iterate-com): bump posthog-js to 1.359.1 to fix cross-origin iframe recording error#1173

Merged
iterate[bot] merged 1 commit intomainfrom
agent/ses_32178b3baffebgTAPCwm1mzL87/bump-posthog-js-iterate-com
Mar 11, 2026
Merged

fix(iterate-com): bump posthog-js to 1.359.1 to fix cross-origin iframe recording error#1173
iterate[bot] merged 1 commit intomainfrom
agent/ses_32178b3baffebgTAPCwm1mzL87/bump-posthog-js-iterate-com

Conversation

@iterate
Copy link
Contributor

@iterate iterate bot commented Mar 11, 2026

Summary

  • Bumps posthog-js from 1.282.0 to 1.359.1 in the marketing site (apps/iterate-com)
  • Fixes a DOMException: SecurityError in PostHog's session recording where rrweb's CrossOriginIframeMirror tries to access removeEventListener on a cross-origin iframe window — fixed upstream in rrweb-io/rrweb#1695
  • Fixes ThemeProvider types that broke due to updated dependency graph (next-themes PropsWithChildren resolution)

Context


Note

Medium Risk
Upgrades a third-party analytics/session-replay library (posthog-js) with significant transitive dependency changes, which can affect runtime behavior and bundle size. Also tweaks ThemeProvider prop typing/rendering, which could impact theming if props/children handling differs.

Overview
Updates the marketing site to use posthog-js@1.359.1 (from 1.282.0), pulling in updated transitive deps via pnpm-lock.yaml to address session-recording issues.

Adjusts ThemeProvider to accept React.PropsWithChildren<ThemeProviderProps> and forward props directly to next-themesThemeProvider (<NextThemesProvider {...props} />) instead of explicitly wrapping children.

Written by Cursor Bugbot for commit 09fc226. This will update automatically on new commits. Configure here.

…me recording error

Upgrades posthog-js from 1.282.0 to 1.359.1 in the marketing site.
This resolves a DOMException (SecurityError) in PostHog's session recording
where rrweb's CrossOriginIframeMirror tries to access removeEventListener
on a cross-origin iframe window. Fixed upstream in rrweb-io/rrweb#1695.

Also fixes ThemeProvider types for compatibility with updated dependency graph.
@iterate iterate bot merged commit 379b2fd into main Mar 11, 2026
7 checks passed
@iterate iterate bot deleted the agent/ses_32178b3baffebgTAPCwm1mzL87/bump-posthog-js-iterate-com branch March 11, 2026 21:10
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.

1 participant