Skip to content

build(deps): bump posthog-js from 1.373.4 to 1.374.2#762

Open
dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/posthog-js-1.374.2
Open

build(deps): bump posthog-js from 1.373.4 to 1.374.2#762
dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/posthog-js-1.374.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Bumps posthog-js from 1.373.4 to 1.374.2.

Release notes

Sourced from posthog-js's releases.

posthog-js@1.374.2

1.374.2

Patch Changes

  • #3550 df91995 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 []:

    • @​posthog/types@​1.374.2
    • @​posthog/core@​1.29.5

posthog-js@1.374.1

1.374.1

Patch Changes

  • #3627 07a0f5f Thanks @​marandaneto! - Respect transport overrides passed to posthog.capture. (2026-05-18)
  • Updated dependencies []:
    • @​posthog/types@​1.374.1
    • @​posthog/core@​1.29.4

posthog-js@1.374.0

1.374.0

Minor Changes

  • #3620 594ea11 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

  • #3621 3c0a09f 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]:
    • @​posthog/types@​1.374.0
    • @​posthog/core@​1.29.3

posthog-js@1.373.5

... (truncated)

Commits
  • 44b9d2a chore: update versions and lockfile [version bump]
  • df91995 fix(replay): preserve recording remote config across posthog.reset() (#3550)
  • 6fbda2e chore: update versions and lockfile [version bump]
  • 07a0f5f fix: respect capture transport option (#3627)
  • f8ef554 chore: update versions and lockfile [version bump]
  • 9920e8b fix(react-native): survey modal close-flash and Modal snapshot-reuse flash (#...
  • 6d79a97 docs: clarify session idle config descriptions (#3626)
  • 5b4eda1 chore: update versions and lockfile [version bump]
  • 3c0a09f feat(dead-clicks): ignore clicks inside an interactive ancestor (#3621)
  • 594ea11 feat(dead-clicks): support .ph-no-deadclick css class (#3620)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.373.4 to 1.374.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/posthog-js@1.373.4...posthog-js@1.374.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-version: 1.374.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 18, 2026
@github-actions
Copy link
Copy Markdown

⚠️ Branch preview setup failed

Check the workflow run for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants