Skip to content

build(deps): bump posthog-js from 1.386.6 to 1.398.0#826

Merged
jthrilly merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/posthog-js-1.398.0
Jul 11, 2026
Merged

build(deps): bump posthog-js from 1.386.6 to 1.398.0#826
jthrilly merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/posthog-js-1.398.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps posthog-js from 1.386.6 to 1.398.0.

Release notes

Sourced from posthog-js's releases.

posthog-js@1.398.0

1.398.0

Minor Changes

  • #4070 ef119bf Thanks @​posthog! - Add a disableAutofocus survey appearance option. When set, open-text survey questions no longer steal focus when they render, which is useful for embedded (inline) surveys that shouldn't grab the caret or scroll the page on load. Defaults to false, preserving the existing autofocus behavior. (2026-07-06)

posthog-js@1.397.0

1.397.0

Minor Changes

  • #4089 cc340db Thanks @​bs1180! - feat(web): add a posthog-js/customizations subpath entry point exposing the optional customizations (setAllPersonProfilePropertiesAsPersonPropertiesForFlags, the before-send sampling helpers, and the redux/kea loggers) as a proper ES module with bundled types, replacing the internal posthog-js/lib/src/customizations deep import. Also fixes the TypeScript definitions so setAllPersonProfilePropertiesAsPersonPropertiesForFlags accepts the instance passed to the loaded callback (the documented usage), and the loaded callback's instance type now includes config. (2026-07-06)

posthog-js@1.396.9

1.396.9

Patch Changes

  • #4077 2595440 Thanks @​pauldambra! - fix(web): stop retrying log batches forever when requests die before an HTTP response (status 0, e.g. an ad blocker) — after 3 consecutive such failures while the browser reports itself online, the logs pipeline stops sending and drops batches instead of buffering and retrying for the life of the page; the online event reopens it, and genuine offline periods still queue for the reconnect flush (2026-07-06)

posthog-js@1.396.8

1.396.8

Patch Changes

  • #4062 2af0026 Thanks @​posthog! - fix(web): prevent an infinite-recursion stack overflow in the logs console capture. The console wrapper's own capture path can emit internal debug lines through PostHog's logger, which wrote back to the wrapped console and re-entered capture until the stack blew (RangeError: Maximum call stack size exceeded). The wrapper now exposes the original console method via __rrweb_original__ (so the internal logger bypasses it) and guards against re-entrancy from any code that logs mid-capture. (2026-07-06)

posthog-js@1.396.7

1.396.7

Patch Changes

  • #4080 08cd27b Thanks @​marandaneto! - fix(web): stop repeatedly hitting blocked feature flag and conversations polling endpoints after consecutive status-0 failures (2026-07-06)

posthog-js@1.396.6

1.396.6

Patch Changes

  • #4053 45d1b36 Thanks @​posthog! - feat(web): add a graceful shutdown() to the browser client for parity with posthog-node, so isomorphic teardown code (e.g. the Nuxt module) that calls posthog.shutdown() on the client no longer throws TypeError: shutdown is not a function. It best-effort flushes the queued events and always resolves. (2026-07-03)

  • #4054 f0657eb Thanks @​posthog! - fix(web): detect our own feature-flag request timeouts via a timedOut flag instead of the abort reason, so they are logged at warn (not error) on browsers that don't propagate controller.abort(reason) — keeping benign timeouts out of error tracking's console-error capture (2026-07-03)

... (truncated)

Commits
  • f937d5d chore: update versions and lockfile [version bump]
  • ef119bf feat(surveys): add disableAutofocus appearance option (#4070)
  • 781ea3b feat: add official PostHog OpenFeature web provider (browser) (#4069)
  • 4ca562a chore: update versions and lockfile [version bump]
  • cc340db feat: add posthog-js/customizations subpath entry point (#4089)
  • 3c7f95a chore: update versions and lockfile [version bump]
  • 2595440 fix(web): stop retrying log batches forever on status-0 failures (#4077)
  • 26b92fe chore: update PostHog watcher action (#4088)
  • bd55d32 chore: update versions and lockfile [version bump]
  • 2af0026 fix(web): guard logs console capture against infinite recursion (#4062)
  • 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.386.6 to 1.398.0.
- [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.386.6...posthog-js@1.398.0)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-version: 1.398.0
  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 Jul 8, 2026
@jthrilly
jthrilly merged commit c2377a6 into next Jul 11, 2026
7 of 8 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/next/posthog-js-1.398.0 branch July 11, 2026 11:26
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.

1 participant