Skip to content

Update dependency posthog-js to v1.391.2#715

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/posthog-js-1.x-lockfile
Jun 19, 2026
Merged

Update dependency posthog-js to v1.391.2#715
renovate[bot] merged 1 commit into
mainfrom
renovate/posthog-js-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

PostHog/posthog-js (posthog-js)

v1.391.2

Compare Source

1.391.2

Patch Changes

v1.391.1

Compare Source

1.391.1

Patch Changes
  • #​3899 d090a7c Thanks @​lucasheriques! - Surveys: re-check eligibility when a popover's display delay elapses, instead of only re-checking the URL.

    A survey with a display delay could be queued while a visitor was still anonymous (the targeting flag passed for the anonymous profile), and then displayed after the delay even though identify() had reloaded feature flags and the survey's internal targeting flag was now false for the identified profile (e.g. a "show once per user" survey the person had already dismissed). The delayed display now re-runs the full display predicate (eligibility, URL/device/selector conditions, event/action trigger, and feature flags) before rendering, so a survey that became ineligible during the delay is no longer shown. Pending delayed surveys are also cancelled promptly when a later evaluation cycle finds them ineligible. (2026-06-19)

v1.391.0

Compare Source

1.391.0

Minor Changes
  • #​3885 5392a55 Thanks @​pauldambra! - feat(replay): capture canvas at reduced resolution

    Adds session_recording.canvasCapture.resolutionScale - a (0, 1] fraction of the canvas display size to capture replay frames at. The captured bitmap is downscaled (pixel-area savings are quadratic) while the canvas's true display size is still recorded, so playback stretches the smaller frame back to the correct dimensions and aspect ratio - only sharpness drops, never layout. It defaults to 1 (full resolution, matching today's behaviour), and the latest defaults bundle (2026-05-30) opts new installs into 0.6.

    The canvas's true display size travels with each frame through the encode worker (as required message fields), so the encoded reply is always drawn back to the correct dimensions — no per-canvas state is retained on the main thread, and downscaling can never mislabel a canvas's dimensions. At full resolution the captured pixels are unchanged (the quality resampling hint is only applied when actually downscaling); the emitted drawImage now always uses the explicit destination-size form, which is pixel-equivalent on replay.

    Mechanically, @posthog/rrweb's canvas FPS-snapshot observer takes an optional canvasResolutionScale record option and downscales each captured frame accordingly. (2026-06-19)

Patch Changes

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • Between 12:00 AM and 11:59 PM (* 0-23 * * *)
  • 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 was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
inventory Ready Ready Preview, Comment Jun 19, 2026 5:04pm

Request Review

@renovate renovate Bot force-pushed the renovate/posthog-js-1.x-lockfile branch from 838accb to 36d2693 Compare June 19, 2026 15:52
@renovate renovate Bot changed the title Update dependency posthog-js to v1.391.0 Update dependency posthog-js to v1.391.1 Jun 19, 2026
@renovate renovate Bot force-pushed the renovate/posthog-js-1.x-lockfile branch from 36d2693 to b544e88 Compare June 19, 2026 17:01
@renovate renovate Bot changed the title Update dependency posthog-js to v1.391.1 Update dependency posthog-js to v1.391.2 Jun 19, 2026
@renovate renovate Bot merged commit 9af1c04 into main Jun 19, 2026
4 checks passed
@renovate renovate Bot deleted the renovate/posthog-js-1.x-lockfile branch June 19, 2026 20:48
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