Packages

@posthog/next

0.11.1 · 17 Nov 2026MIT95k / weekRepositorynpmAtom feed

Upgrading @posthog/next From 0.8.5 to 0.11.1

5 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.8.5yours
  2. 0.8.6breaking
  3. 0.9.0major
  4. 0.10.0major
  5. 0.11.0major
  6. 0.11.1target
2
changes to make
0
advisories fixed
3
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.11.1
  • Breaking0.8.6

Release by release

  1. 0.11.1

    Migration needed17 Nov 2026
    • Breaking

      Require posthog-node 5.58.0 or later, the first version with the span-context helpers they use. (2026-11-17)

  2. 0.11.0

    3 Nov 20261 new
    • New

      onRequestError takes identity from PostHog tracing headers before the cookie, drops a cookie session that posthog-js would have ended, and adds the request URL, method, path and user agent. New withPostHogProxy captures errors thrown in proxy.ts or middleware without delaying the response. Errors that escape middleware or a proxy are marked unhandled. (2026-11-03)

  3. 0.10.0

    28 Oct 20261 new
    • New

      Add an optional Node.js App Router span context bridge that reuses the configured PostHog client and request identity. (2026-10-28)

  4. 0.9.0

    1 Sep 20261 new
    • New

      Add opt-in $route template capture for App Router and Pages Router pageviews. (2026-09-01)

  5. 0.8.6

    Migration needed20 Aug 2026
    • Breaking

      Drop events when a before-send hook throws instead of sending the unmodified event. (2026-08-20)

11 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.