Packages

@posthog/next

0.11.1 · 17 Nov 2026MIT95k / weekRepositorynpmAtom feed

Upgrading @posthog/next From 0.4.68 to 0.11.1

45 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.4.68yours
  2. 29 releases
  3. 0.5.0major
  4. 0.6.0major
  5. 0.7.0major
  6. 2 releases
  7. 0.8.0major
  8. 6 releases
  9. 0.9.0major
  10. 0.10.0major
  11. 0.11.0major
  12. 0.11.1target

Before you upgrade

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

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)

  6. 0.8.5

    19 Aug 20261 fix
    • Fixed

      Fix request routing in the Next.js middleware proxy. (2026-08-19)

  7. 0.8.4

    16 Jul 20262 fixes
    • Fixed

      Let Next.js dynamic rendering bailouts propagate when bootstrapping flags. (2026-07-16)

    • Fixed

      Require the Pages Router request context in server identity resolver types. (2026-07-16)

  8. 0.8.3

    Migration needed16 Jul 2026
    • Breaking

      Remove the Pages Router PostHogProvider.bootstrap prop; move its value to clientOptions.bootstrap. For App Router server-evaluated bootstrap, use fresh evaluated flags and payloads while preserving configured identity and session fields. (2026-07-16)

104 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.